Class: Google::Apis::CalendarV3::FreeBusyRequest
- Inherits:
-
Object
- Object
- Google::Apis::CalendarV3::FreeBusyRequest
- Defined in:
- generated/google/apis/calendar_v3/classes.rb,
generated/google/apis/calendar_v3/representations.rb,
generated/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.
-
#time_min ⇒ DateTime
The start of the interval for the query.
-
#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.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ FreeBusyRequest
Returns a new instance of FreeBusyRequest.
1555 1556 1557 |
# File 'generated/google/apis/calendar_v3/classes.rb', line 1555 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.
Corresponds to the JSON property calendarExpansionMax
1526 1527 1528 |
# File 'generated/google/apis/calendar_v3/classes.rb', line 1526 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 will be returned for a group with more members than this
value.
Corresponds to the JSON property groupExpansionMax
1533 1534 1535 |
# File 'generated/google/apis/calendar_v3/classes.rb', line 1533 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
1538 1539 1540 |
# File 'generated/google/apis/calendar_v3/classes.rb', line 1538 def items @items end |
#time_max ⇒ DateTime
The end of the interval for the query.
Corresponds to the JSON property timeMax
1543 1544 1545 |
# File 'generated/google/apis/calendar_v3/classes.rb', line 1543 def time_max @time_max end |
#time_min ⇒ DateTime
The start of the interval for the query.
Corresponds to the JSON property timeMin
1548 1549 1550 |
# File 'generated/google/apis/calendar_v3/classes.rb', line 1548 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
1553 1554 1555 |
# File 'generated/google/apis/calendar_v3/classes.rb', line 1553 def time_zone @time_zone end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1560 1561 1562 1563 1564 1565 1566 1567 |
# File 'generated/google/apis/calendar_v3/classes.rb', line 1560 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 |