Class: Google::Apis::CalendarV3::FreeBusyRequest
- Inherits:
-
Object
- Object
- Google::Apis::CalendarV3::FreeBusyRequest
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/calendar_v3/classes.rb,
lib/google/apis/calendar_v3/representations.rb,
lib/google/apis/calendar_v3/representations.rb
Instance Attribute Summary collapse
-
#calendar_expansion_max ⇒ Fixnum
Maximal number of calendars for which FreeBusy information is to be provided.
-
#group_expansion_max ⇒ Fixnum
Maximal number of calendar identifiers to be provided for a single group.
-
#items ⇒ Array<Google::Apis::CalendarV3::FreeBusyRequestItem>
List of calendars and/or groups to query.
-
#time_max ⇒ DateTime
The end of the interval for the query formatted as per RFC3339.
-
#time_min ⇒ DateTime
The start of the interval for the query formatted as per RFC3339.
-
#time_zone ⇒ String
Time zone used in the response.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FreeBusyRequest
constructor
A new instance of FreeBusyRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ FreeBusyRequest
Returns a new instance of FreeBusyRequest.
2203 2204 2205 |
# File 'lib/google/apis/calendar_v3/classes.rb', line 2203 def initialize(**args) update!(**args) end |
Instance Attribute Details
#calendar_expansion_max ⇒ Fixnum
Maximal number of calendars for which FreeBusy information is to be provided.
Optional. Maximum value is 50.
Corresponds to the JSON property calendarExpansionMax
2174 2175 2176 |
# File 'lib/google/apis/calendar_v3/classes.rb', line 2174 def calendar_expansion_max @calendar_expansion_max end |
#group_expansion_max ⇒ Fixnum
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
2181 2182 2183 |
# File 'lib/google/apis/calendar_v3/classes.rb', line 2181 def group_expansion_max @group_expansion_max end |
#items ⇒ Array<Google::Apis::CalendarV3::FreeBusyRequestItem>
List of calendars and/or groups to query.
Corresponds to the JSON property items
2186 2187 2188 |
# File 'lib/google/apis/calendar_v3/classes.rb', line 2186 def items @items end |
#time_max ⇒ DateTime
The end of the interval for the query formatted as per RFC3339.
Corresponds to the JSON property timeMax
2191 2192 2193 |
# File 'lib/google/apis/calendar_v3/classes.rb', line 2191 def time_max @time_max end |
#time_min ⇒ DateTime
The start of the interval for the query formatted as per RFC3339.
Corresponds to the JSON property timeMin
2196 2197 2198 |
# File 'lib/google/apis/calendar_v3/classes.rb', line 2196 def time_min @time_min end |
#time_zone ⇒ String
Time zone used in the response. Optional. The default is UTC.
Corresponds to the JSON property timeZone
2201 2202 2203 |
# File 'lib/google/apis/calendar_v3/classes.rb', line 2201 def time_zone @time_zone end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2208 2209 2210 2211 2212 2213 2214 2215 |
# File 'lib/google/apis/calendar_v3/classes.rb', line 2208 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 |