class Google::Apis::CalendarV3::Events

Attributes

access_role[RW]

The user's access role for this calendar. Read-only. Possible values are:

  • “none” - The user has no access.

  • “freeBusyReader” - The user has read access to free/busy information.

  • “reader” - The user has read access to the calendar. Private events will

appear to users with reader access, but event details will be hidden.

  • “writer” - The user has read and write access to the calendar. Private

events will appear to users with writer access, and event details will be visible.

  • “owner” - The user has ownership of the calendar. This role has all of the

permissions of the writer role with the additional ability to see and manipulate ACLs. Corresponds to the JSON property `accessRole` @return [String]

default_reminders[RW]

The default reminders on the calendar for the authenticated user. These reminders apply to all events on this calendar that do not explicitly override them (i.e. do not have reminders.useDefault set to True). Corresponds to the JSON property `defaultReminders` @return [Array<Google::Apis::CalendarV3::EventReminder>]

description[RW]

Description of the calendar. Read-only. Corresponds to the JSON property `description` @return [String]

etag[RW]

ETag of the collection. Corresponds to the JSON property `etag` @return [String]

items[RW]

List of events on the calendar. Corresponds to the JSON property `items` @return [Array<Google::Apis::CalendarV3::Event>]

kind[RW]

Type of the collection (“calendar#events”). Corresponds to the JSON property `kind` @return [String]

next_page_token[RW]

Token used to access the next page of this result. Omitted if no further results are available, in which case nextSyncToken is provided. Corresponds to the JSON property `nextPageToken` @return [String]

next_sync_token[RW]

Token used at a later point in time to retrieve only the entries that have changed since this result was returned. Omitted if further results are available, in which case nextPageToken is provided. Corresponds to the JSON property `nextSyncToken` @return [String]

summary[RW]

Title of the calendar. Read-only. Corresponds to the JSON property `summary` @return [String]

time_zone[RW]

The time zone of the calendar. Read-only. Corresponds to the JSON property `timeZone` @return [String]

updated[RW]

Last modification time of the calendar (as a RFC3339 timestamp). Read-only. Corresponds to the JSON property `updated` @return [DateTime]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/calendar_v3/classes.rb, line 1448
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/calendar_v3/classes.rb, line 1453
def update!(**args)
  @access_role = args[:access_role] if args.key?(:access_role)
  @default_reminders = args[:default_reminders] if args.key?(:default_reminders)
  @description = args[:description] if args.key?(:description)
  @etag = args[:etag] if args.key?(:etag)
  @items = args[:items] if args.key?(:items)
  @kind = args[:kind] if args.key?(:kind)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @next_sync_token = args[:next_sync_token] if args.key?(:next_sync_token)
  @summary = args[:summary] if args.key?(:summary)
  @time_zone = args[:time_zone] if args.key?(:time_zone)
  @updated = args[:updated] if args.key?(:updated)
end