Class: Google::Apis::CalendarV3::FreeBusyGroup

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FreeBusyGroup

Returns a new instance of FreeBusyGroup.



2161
2162
2163
# File 'lib/google/apis/calendar_v3/classes.rb', line 2161

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#calendarsArray<String>

List of calendars' identifiers within a group. Corresponds to the JSON property calendars

Returns:

  • (Array<String>)


2154
2155
2156
# File 'lib/google/apis/calendar_v3/classes.rb', line 2154

def calendars
  @calendars
end

#errorsArray<Google::Apis::CalendarV3::Error>

Optional error(s) (if computation for the group failed). Corresponds to the JSON property errors



2159
2160
2161
# File 'lib/google/apis/calendar_v3/classes.rb', line 2159

def errors
  @errors
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2166
2167
2168
2169
# File 'lib/google/apis/calendar_v3/classes.rb', line 2166

def update!(**args)
  @calendars = args[:calendars] if args.key?(:calendars)
  @errors = args[:errors] if args.key?(:errors)
end