Class: Google::Apis::CalendarV3::Event::ExtendedProperties

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

Overview

Extended properties of the event.

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

Returns a new instance of ExtendedProperties.


998
999
1000
# File 'generated/google/apis/calendar_v3/classes.rb', line 998

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

Instance Attribute Details

#privateHash<String,String>

Properties that are private to the copy of the event that appears on this calendar. Corresponds to the JSON property private

Returns:

  • (Hash<String,String>)

990
991
992
# File 'generated/google/apis/calendar_v3/classes.rb', line 990

def private
  @private
end

#sharedHash<String,String>

Properties that are shared between copies of the event on other attendees' calendars. Corresponds to the JSON property shared

Returns:

  • (Hash<String,String>)

996
997
998
# File 'generated/google/apis/calendar_v3/classes.rb', line 996

def shared
  @shared
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


1003
1004
1005
1006
# File 'generated/google/apis/calendar_v3/classes.rb', line 1003

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