-
Notifications
You must be signed in to change notification settings - Fork 10
New GCalendarEventObj
Creates a new Calendar API Event object.
New-GCalendarEventObj [[-AnyoneCanAddSelf] <Boolean>] [[-Attachments] <EventAttachment[]>]
[[-Attendees] <EventAttendee[]>] [[-AttendeesOmitted] <Boolean>] [[-ColorId] <String>] [[-Created] <DateTime>]
[[-Creator] <CreatorData>] [[-Description] <String>] [[-End] <EventDateTime>]
[[-EndTimeUnspecified] <Boolean>] [[-ExtendedProperties] <ExtendedPropertiesData>] [[-Gadget] <GadgetData>]
[[-GuestsCanInviteOthers] <Boolean>] [[-GuestsCanModify] <Boolean>] [[-GuestsCanSeeOtherGuests] <Boolean>]
[[-HangoutLink] <String>] [[-HtmlLink] <String>] [[-ICalUID] <String>] [[-Id] <String>] [[-Location] <String>]
[[-Locked] <Boolean>] [[-Organizer] <OrganizerData>] [[-OriginalStartTime] <EventDateTime>]
[[-PrivateCopy] <Boolean>] [[-Recurrence] <String[]>] [[-RecurringEventId] <String>]
[[-Reminders] <RemindersData>] [[-Sequence] <Int32>] [[-Source] <SourceData>] [[-Start] <EventDateTime>]
[[-Status] <String>] [[-Summary] <String>] [[-Transparency] <String>] [[-Updated] <DateTime>]
[[-Visibility] <String>] [-WhatIf] [-Confirm]
This provides a Cmdlet-Based approach to creating a Event object which may be required as a parameter for some other Cmdlets in the Calendar API category.
You could alternately create this object by calling New-Object -TypeName Google.Apis.Calendar.v3.Data.Event
PS C:\> New-GCalendarEventObj
This automatically generated example serves to show the bare minimum required to call this Cmdlet.
Additional examples may be added, viewed and edited by users on the community wiki at the URL found in the related links.
Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 0
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseFile attachments for the event. Currently only Google Drive attachments are supported.In order to modify attachments the supportsAttachments request parameter should be set to true.There can be at most 25 attachments per event,
Type: EventAttachment[]
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseThe attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users.
Type: EventAttendee[]
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseWhether attendees may have been omitted from the event's representation. When retrieving an event, this may be due to a restriction specified by the maxAttendee query parameter. When updating an event, this can be used to only update the participant's response. Optional. The default is False.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseThe color of the event. This is an ID referring to an entry in the event section of the colors definition (see the colors endpoint). Optional.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseCreation time of the event (as a RFC3339 timestamp). Read-only.
Type: DateTime
Parameter Sets: (All)
Aliases:
Required: False
Position: 5
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseThe creator of the event. Read-only.
Type: CreatorData
Parameter Sets: (All)
Aliases:
Required: False
Position: 6
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseDescription of the event. Optional.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 7
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseThe (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
Type: EventDateTime
Parameter Sets: (All)
Aliases:
Required: False
Position: 8
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseWhether the end time is actually unspecified. An end time is still provided for compatibility reasons, even if this attribute is set to True. The default is False.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 9
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseExtended properties of the event.
Type: ExtendedPropertiesData
Parameter Sets: (All)
Aliases:
Required: False
Position: 10
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseA gadget that extends this event.
Type: GadgetData
Parameter Sets: (All)
Aliases:
Required: False
Position: 11
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseWhether attendees other than the organizer can invite others to the event. Optional. The default is True.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 12
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseWhether attendees other than the organizer can modify the event. Optional. The default is False.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 13
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseWhether attendees other than the organizer can see who the event's attendees are. Optional. The default is True.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 14
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseAn absolute link to the Google+ hangout associated with this event. Read-only.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 15
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseAn absolute link to this event in the Google Calendar Web UI. Read-only.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 16
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseEvent unique identifier as defined in RFC5545. It is used to uniquely identify events accross calendaring systems and must be supplied when importing events via the import method.Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 17
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseOpaque identifier of the event. When creating new single or recurring events, you can specify their IDs. Provided IDs must follow these rules:- characters allowed in the ID are those used in base32hex encoding, i.e. lowercase letters a-v and digits 0-9, see section 3.1.2 in RFC2938- the length of the ID must be between 5 and 1024 characters- the ID must be unique per calendar Due to the globally distributed nature of the system, we cannot guarantee that ID collisions will be detected at event creation time. To minimize the risk of collisions we recommend using an established UUID algorithm such as one described in RFC4122.If you do not specify an ID, it will be automatically generated by the server.Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 18
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseGeographic location of the event as free-form text. Optional.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 19
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseWhether this is a locked event copy where no changes can be made to the main event fields "summary", "description", "location", "start", "end" or "recurrence". The default is False. Read-Only.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 20
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseThe organizer of the event. If the organizer is also an attendee, this is indicated with a separate entry in attendees with the organizer field set to True. To change the organizer, use the move operation. Read-only, except when importing an event.
Type: OrganizerData
Parameter Sets: (All)
Aliases:
Required: False
Position: 21
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseFor an instance of a recurring event, this is the time at which this event would start according to the recurrence data in the recurring event identified by recurringEventId. Immutable.
Type: EventDateTime
Parameter Sets: (All)
Aliases:
Required: False
Position: 22
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseWhether this is a private event copy where changes are not shared with other copies on other calendars. Optional. Immutable. The default is False.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 23
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseList of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event, as specified in RFC5545. Note that DTSTART and DTEND lines are not allowed in this field; event start and end times are specified in the start and end fields. This field is omitted for single events or instances of recurring events.
Type: String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: 24
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseFor an instance of a recurring event, this is the id of the recurring event to which this instance belongs. Immutable.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 25
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseInformation about the event's reminders for the authenticated user.
Type: RemindersData
Parameter Sets: (All)
Aliases:
Required: False
Position: 26
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseSequence number as per iCalendar.
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: 27
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseSource from which the event was created. For example, a web page, an email message or any document identifiable by an URL with HTTP or HTTPS scheme. Can only be seen or modified by the creator of the event.
Type: SourceData
Parameter Sets: (All)
Aliases:
Required: False
Position: 28
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseThe (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
Type: EventDateTime
Parameter Sets: (All)
Aliases:
Required: False
Position: 29
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseStatus of the event. Optional. Possible values are:- "confirmed" - The event is confirmed. This is the default status.- "tentative" - The event is tentatively confirmed.- "cancelled" - The event is cancelled.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 30
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseTitle of the event.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 31
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseWhether the event blocks time on the calendar. Optional. Possible values are:- "opaque" - The event blocks time on the calendar. This is the default value.- "transparent" - The event does not block time on the calendar.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 32
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseLast modification time of the event (as a RFC3339 timestamp). Read-only.
Type: DateTime
Parameter Sets: (All)
Aliases:
Required: False
Position: 33
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseVisibility of the event. Optional. Possible values are:- "default" - Uses the default visibility for events on the calendar. This is the default value.- "public" - The event is public and event details are visible to all readers of the calendar.- "private" - The event is private and only event attendees may view event details.- "confidential" - The event is private. This value is provided for compatibility reasons.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 34
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseWhether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
File attachments for the event. Currently only Google Drive attachments are supported.In order to modify attachments the supportsAttachments request parameter should be set to true.There can be at most 25 attachments per event,
The attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users.
Whether attendees may have been omitted from the event's representation. When retrieving an event, this may be due to a restriction specified by the maxAttendee query parameter. When updating an event, this can be used to only update the participant's response. Optional. The default is False.
The color of the event. This is an ID referring to an entry in the event section of the colors definition (see the colors endpoint). Optional.
Creation time of the event (as a RFC3339 timestamp). Read-only.
The creator of the event. Read-only.
Description of the event. Optional.
The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
Whether the end time is actually unspecified. An end time is still provided for compatibility reasons, even if this attribute is set to True. The default is False.
Extended properties of the event.
A gadget that extends this event.
Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
Whether attendees other than the organizer can modify the event. Optional. The default is False.
Whether attendees other than the organizer can see who the event's attendees are. Optional. The default is True.
An absolute link to the Google+ hangout associated with this event. Read-only.
An absolute link to this event in the Google Calendar Web UI. Read-only.
Event unique identifier as defined in RFC5545. It is used to uniquely identify events accross calendaring systems and must be supplied when importing events via the import method.Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs.
Opaque identifier of the event. When creating new single or recurring events, you can specify their IDs. Provided IDs must follow these rules:- characters allowed in the ID are those used in base32hex encoding, i.e. lowercase letters a-v and digits 0-9, see section 3.1.2 in RFC2938- the length of the ID must be between 5 and 1024 characters- the ID must be unique per calendar Due to the globally distributed nature of the system, we cannot guarantee that ID collisions will be detected at event creation time. To minimize the risk of collisions we recommend using an established UUID algorithm such as one described in RFC4122.If you do not specify an ID, it will be automatically generated by the server.Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs.
Geographic location of the event as free-form text. Optional.
Whether this is a locked event copy where no changes can be made to the main event fields "summary", "description", "location", "start", "end" or "recurrence". The default is False. Read-Only.
The organizer of the event. If the organizer is also an attendee, this is indicated with a separate entry in attendees with the organizer field set to True. To change the organizer, use the move operation. Read-only, except when importing an event.
For an instance of a recurring event, this is the time at which this event would start according to the recurrence data in the recurring event identified by recurringEventId. Immutable.
Whether this is a private event copy where changes are not shared with other copies on other calendars. Optional. Immutable. The default is False.
List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event, as specified in RFC5545. Note that DTSTART and DTEND lines are not allowed in this field; event start and end times are specified in the start and end fields. This field is omitted for single events or instances of recurring events.
For an instance of a recurring event, this is the id of the recurring event to which this instance belongs. Immutable.
Information about the event's reminders for the authenticated user.
Sequence number as per iCalendar.
Source from which the event was created. For example, a web page, an email message or any document identifiable by an URL with HTTP or HTTPS scheme. Can only be seen or modified by the creator of the event.
The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
Status of the event. Optional. Possible values are:- "confirmed" - The event is confirmed. This is the default status.- "tentative" - The event is tentatively confirmed.- "cancelled" - The event is cancelled.
Title of the event.
Whether the event blocks time on the calendar. Optional. Possible values are:- "opaque" - The event blocks time on the calendar. This is the default value.- "transparent" - The event does not block time on the calendar.
Last modification time of the event (as a RFC3339 timestamp). Read-only.
Visibility of the event. Optional. Possible values are:- "default" - Uses the default visibility for events on the calendar. This is the default value.- "public" - The event is public and event details are visible to all readers of the calendar.- "private" - The event is private and only event attendees may view event details.- "confidential" - The event is private. This value is provided for compatibility reasons.
Part of the gShell Project, relating to the Google Calendar API; see Related Links or use the -Online parameter.
News - Get Started - Cmdlet Index - FAQ - Discussion - Downloads