Class: Google::Apis::CalendarV3::FreeBusyCalendar
- Inherits:
-
Object
- Object
- Google::Apis::CalendarV3::FreeBusyCalendar
- 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
-
#busy ⇒ Array<Google::Apis::CalendarV3::TimePeriod>
List of time ranges during which this calendar should be regarded as busy.
-
#errors ⇒ Array<Google::Apis::CalendarV3::Error>
Optional error(s) (if computation for the calendar failed).
Instance Method Summary collapse
-
#initialize(**args) ⇒ FreeBusyCalendar
constructor
A new instance of FreeBusyCalendar.
-
#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) ⇒ FreeBusyCalendar
Returns a new instance of FreeBusyCalendar.
1482 1483 1484 |
# File 'generated/google/apis/calendar_v3/classes.rb', line 1482 def initialize(**args) update!(**args) end |
Instance Attribute Details
#busy ⇒ Array<Google::Apis::CalendarV3::TimePeriod>
List of time ranges during which this calendar should be regarded as busy.
Corresponds to the JSON property busy
1475 1476 1477 |
# File 'generated/google/apis/calendar_v3/classes.rb', line 1475 def busy @busy end |
#errors ⇒ Array<Google::Apis::CalendarV3::Error>
Optional error(s) (if computation for the calendar failed).
Corresponds to the JSON property errors
1480 1481 1482 |
# File 'generated/google/apis/calendar_v3/classes.rb', line 1480 def errors @errors end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1487 1488 1489 1490 |
# File 'generated/google/apis/calendar_v3/classes.rb', line 1487 def update!(**args) @busy = args[:busy] if args.key?(:busy) @errors = args[:errors] if args.key?(:errors) end |