class Google::Apis::CalendarV3::CalendarList

Attributes

etag[RW]

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

items[RW]

Calendars that are present on the user's calendar list. Corresponds to the JSON property `items` @return [Array<Google::Apis::CalendarV3::CalendarListEntry>]

kind[RW]

Type of the collection (“calendar#calendarList”). 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]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/calendar_v3/classes.rb, line 243
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 248
def update!(**args)
  @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)
end