class Google::Apis::CalendarV3::FreeBusyRequest

Attributes

calendar_expansion_max[RW]

Maximal number of calendars for which FreeBusy information is to be provided. Optional. Maximum value is 50. Corresponds to the JSON property `calendarExpansionMax` @return [Fixnum]

group_expansion_max[RW]

Maximal number of calendar identifiers to be provided for a single group. Optional. An error is returned for a group with more members than this value. Maximum value is 100. Corresponds to the JSON property `groupExpansionMax` @return [Fixnum]

items[RW]

List of calendars and/or groups to query. Corresponds to the JSON property `items` @return [Array<Google::Apis::CalendarV3::FreeBusyRequestItem>]

time_max[RW]

The end of the interval for the query formatted as per RFC3339. Corresponds to the JSON property `timeMax` @return [DateTime]

time_min[RW]

The start of the interval for the query formatted as per RFC3339. Corresponds to the JSON property `timeMin` @return [DateTime]

time_zone[RW]

Time zone used in the response. Optional. The default is UTC. Corresponds to the JSON property `timeZone` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/calendar_v3/classes.rb, line 2001
def update!(**args)
  @calendar_expansion_max = args[:calendar_expansion_max] if args.key?(:calendar_expansion_max)
  @group_expansion_max = args[:group_expansion_max] if args.key?(:group_expansion_max)
  @items = args[:items] if args.key?(:items)
  @time_max = args[:time_max] if args.key?(:time_max)
  @time_min = args[:time_min] if args.key?(:time_min)
  @time_zone = args[:time_zone] if args.key?(:time_zone)
end