Class: Google::Apis::CalendarV3::FreeBusyCalendar
- Inherits:
-
Object
- Object
- Google::Apis::CalendarV3::FreeBusyCalendar
- 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
-
#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.
Constructor Details
#initialize(**args) ⇒ FreeBusyCalendar
Returns a new instance of FreeBusyCalendar.
2136 2137 2138 |
# File 'lib/google/apis/calendar_v3/classes.rb', line 2136 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
2129 2130 2131 |
# File 'lib/google/apis/calendar_v3/classes.rb', line 2129 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
2134 2135 2136 |
# File 'lib/google/apis/calendar_v3/classes.rb', line 2134 def errors @errors end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2141 2142 2143 2144 |
# File 'lib/google/apis/calendar_v3/classes.rb', line 2141 def update!(**args) @busy = args[:busy] if args.key?(:busy) @errors = args[:errors] if args.key?(:errors) end |