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

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
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

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ FreeBusyGroup

Returns a new instance of FreeBusyGroup.



1948
1949
1950
# File 'generated/google/apis/calendar_v3/classes.rb', line 1948

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>)


1941
1942
1943
# File 'generated/google/apis/calendar_v3/classes.rb', line 1941

def calendars
  @calendars
end

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

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



1946
1947
1948
# File 'generated/google/apis/calendar_v3/classes.rb', line 1946

def errors
  @errors
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1953
1954
1955
1956
# File 'generated/google/apis/calendar_v3/classes.rb', line 1953

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