class Google::Apis::CalendarV3::Event
Attributes
Whether anyone can invite themselves to the event (deprecated). Optional. The default is False. Corresponds to the JSON property `anyoneCanAddSelf` @return [Boolean]
Whether anyone can invite themselves to the event (deprecated). Optional. The default is False. Corresponds to the JSON property `anyoneCanAddSelf` @return [Boolean]
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, Corresponds to the JSON property `attachments` @return [Array<Google::Apis::CalendarV3::EventAttachment>]
The attendees of the event. See the Events
with attendees guide for more information on scheduling events with other calendar users. Service accounts need to use domain-wide delegation of authority to populate the attendee list. Corresponds to the JSON property `attendees` @return [Array<Google::Apis::CalendarV3::EventAttendee>]
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. Corresponds to the JSON property `attendeesOmitted` @return [Boolean]
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. Corresponds to the JSON property `attendeesOmitted` @return [Boolean]
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. Corresponds to the JSON property `colorId` @return [String]
The conference-related information, such as details of a Google
Meet conference. To create new conference details use the createRequest field. To persist your changes, remember to set the conferenceDataVersion request parameter to 1 for all event modification requests. Corresponds to the JSON property `conferenceData` @return [Google::Apis::CalendarV3::ConferenceData]
Creation time of the event (as a RFC3339 timestamp). Read-only. Corresponds to the JSON property `created` @return [DateTime]
The creator of the event. Read-only. Corresponds to the JSON property `creator` @return [Google::Apis::CalendarV3::Event::Creator]
Description of the event. Can contain HTML. Optional. Corresponds to the JSON property `description` @return [String]
The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance. Corresponds to the JSON property `end` @return [Google::Apis::CalendarV3::EventDateTime]
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. Corresponds to the JSON property `endTimeUnspecified` @return [Boolean]
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. Corresponds to the JSON property `endTimeUnspecified` @return [Boolean]
ETag of the resource. Corresponds to the JSON property `etag` @return [String]
Specific type of the event. Read-only. Possible values are:
-
“default” - A regular event or not further specified.
-
“outOfOffice” - An out-of-office event.
Corresponds to the JSON property `eventType` @return [String]
Extended properties of the event. Corresponds to the JSON property `extendedProperties` @return [Google::Apis::CalendarV3::Event::ExtendedProperties]
A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata. Corresponds to the JSON property `gadget` @return [Google::Apis::CalendarV3::Event::Gadget]
Whether attendees other than the organizer can invite others to the event. Optional. The default is True. Corresponds to the JSON property `guestsCanInviteOthers` @return [Boolean]
Whether attendees other than the organizer can invite others to the event. Optional. The default is True. Corresponds to the JSON property `guestsCanInviteOthers` @return [Boolean]
Whether attendees other than the organizer can modify the event. Optional. The default is False. Corresponds to the JSON property `guestsCanModify` @return [Boolean]
Whether attendees other than the organizer can modify the event. Optional. The default is False. Corresponds to the JSON property `guestsCanModify` @return [Boolean]
Whether attendees other than the organizer can see who the event's attendees are. Optional. The default is True. Corresponds to the JSON property `guestsCanSeeOtherGuests` @return [Boolean]
Whether attendees other than the organizer can see who the event's attendees are. Optional. The default is True. Corresponds to the JSON property `guestsCanSeeOtherGuests` @return [Boolean]
An absolute link to the Google
Hangout associated with this event. Read-only. Corresponds to the JSON property `hangoutLink` @return [String]
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. Corresponds to the JSON property `iCalUID` @return [String]
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. Corresponds to the JSON property `id` @return [String]
Type of the resource (“calendar#event”). Corresponds to the JSON property `kind` @return [String]
Geographic location of the event as free-form text. Optional. Corresponds to the JSON property `location` @return [String]
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. Corresponds to the JSON property `locked` @return [Boolean]
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. Corresponds to the JSON property `locked` @return [Boolean]
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. Corresponds to the JSON property `organizer` @return [Google::Apis::CalendarV3::Event::Organizer]
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. It uniquely identifies the instance within the recurring event series even if the instance was moved to a different time. Immutable. Corresponds to the JSON property `originalStartTime` @return [Google::Apis::CalendarV3::EventDateTime]
If set to True, Event
propagation is disabled. Note that it is not the same thing as Private event properties. Optional. Immutable. The default is False. Corresponds to the JSON property `privateCopy` @return [Boolean]
If set to True, Event
propagation is disabled. Note that it is not the same thing as Private event properties. Optional. Immutable. The default is False. Corresponds to the JSON property `privateCopy` @return [Boolean]
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. Corresponds to the JSON property `recurrence` @return [Array<String>]
For an instance of a recurring event, this is the id of the recurring event to which this instance belongs. Immutable. Corresponds to the JSON property `recurringEventId` @return [String]
Information about the event's reminders for the authenticated user. Corresponds to the JSON property `reminders` @return [Google::Apis::CalendarV3::Event::Reminders]
Sequence number as per iCalendar. Corresponds to the JSON property `sequence` @return [Fixnum]
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. Corresponds to the JSON property `source` @return [Google::Apis::CalendarV3::Event::Source]
The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance. Corresponds to the JSON property `start` @return [Google::Apis::CalendarV3::EventDateTime]
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 (deleted). The list method returns
cancelled events only on incremental sync (when syncToken or updatedMin are specified) or if the showDeleted flag is set to true. The get method always returns them. A cancelled status represents two different states depending on the event type:
-
Cancelled exceptions of an uncancelled recurring event indicate that this
instance should no longer be presented to the user. Clients should store these events for the lifetime of the parent recurring event. Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
-
All other cancelled events represent deleted events. Clients should remove
their locally synced copies. Such cancelled events will eventually disappear, so do not rely on them being available indefinitely. Deleted events are only guaranteed to have the id field populated. On the organizer's calendar, cancelled events continue to expose event details ( summary, location, etc.) so that they can be restored (undeleted). Similarly, the events to which the user was invited and that they manually removed continue to provide details. However, incremental sync requests with showDeleted set to false will not return these details. If an event changes its organizer (for example via the move operation) and the original organizer is not on the attendee list, it will leave behind a cancelled event where only the id field is guaranteed to be populated. Corresponds to the JSON property `status` @return [String]
Title of the event. Corresponds to the JSON property `summary` @return [String]
Whether the event blocks time on the calendar. Optional. Possible values are:
-
“opaque” - Default value. The event does block time on the calendar. This is
equivalent to setting Show me as to Busy in the Calendar
UI.
-
“transparent” - The event does not block time on the calendar. This is
equivalent to setting Show me as to Available in the Calendar
UI. Corresponds to the JSON property `transparency` @return [String]
Last modification time of the event (as a RFC3339 timestamp). Read-only. Corresponds to the JSON property `updated` @return [DateTime]
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. Corresponds to the JSON property `visibility` @return [String]
Public Class Methods
# File lib/google/apis/calendar_v3/classes.rb, line 1335 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/calendar_v3/classes.rb, line 1340 def update!(**args) @anyone_can_add_self = args[:anyone_can_add_self] if args.key?(:anyone_can_add_self) @attachments = args[:attachments] if args.key?(:attachments) @attendees = args[:attendees] if args.key?(:attendees) @attendees_omitted = args[:attendees_omitted] if args.key?(:attendees_omitted) @color_id = args[:color_id] if args.key?(:color_id) @conference_data = args[:conference_data] if args.key?(:conference_data) @created = args[:created] if args.key?(:created) @creator = args[:creator] if args.key?(:creator) @description = args[:description] if args.key?(:description) @end = args[:end] if args.key?(:end) @end_time_unspecified = args[:end_time_unspecified] if args.key?(:end_time_unspecified) @etag = args[:etag] if args.key?(:etag) @event_type = args[:event_type] if args.key?(:event_type) @extended_properties = args[:extended_properties] if args.key?(:extended_properties) @gadget = args[:gadget] if args.key?(:gadget) @guests_can_invite_others = args[:guests_can_invite_others] if args.key?(:guests_can_invite_others) @guests_can_modify = args[:guests_can_modify] if args.key?(:guests_can_modify) @guests_can_see_other_guests = args[:guests_can_see_other_guests] if args.key?(:guests_can_see_other_guests) @hangout_link = args[:hangout_link] if args.key?(:hangout_link) @html_link = args[:html_link] if args.key?(:html_link) @i_cal_uid = args[:i_cal_uid] if args.key?(:i_cal_uid) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @location = args[:location] if args.key?(:location) @locked = args[:locked] if args.key?(:locked) @organizer = args[:organizer] if args.key?(:organizer) @original_start_time = args[:original_start_time] if args.key?(:original_start_time) @private_copy = args[:private_copy] if args.key?(:private_copy) @recurrence = args[:recurrence] if args.key?(:recurrence) @recurring_event_id = args[:recurring_event_id] if args.key?(:recurring_event_id) @reminders = args[:reminders] if args.key?(:reminders) @sequence = args[:sequence] if args.key?(:sequence) @source = args[:source] if args.key?(:source) @start = args[:start] if args.key?(:start) @status = args[:status] if args.key?(:status) @summary = args[:summary] if args.key?(:summary) @transparency = args[:transparency] if args.key?(:transparency) @updated = args[:updated] if args.key?(:updated) @visibility = args[:visibility] if args.key?(:visibility) end