Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedCalendarEventAnnotationData

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AppsDynamiteSharedCalendarEventAnnotationData

Returns a new instance of AppsDynamiteSharedCalendarEventAnnotationData.



1198
1199
1200
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1198

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

Instance Attribute Details

#calendar_eventGoogle::Apis::CloudsearchV1::AppsDynamiteSharedCalendarEventAnnotationDataCalendarEvent

Corresponds to the JSON property calendarEvent



1191
1192
1193
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1191

def calendar_event
  @calendar_event
end

#event_creationGoogle::Apis::CloudsearchV1::AppsDynamiteSharedCalendarEventAnnotationDataEventCreation

Creation of an event (no extra data for now). Corresponds to the JSON property eventCreation



1196
1197
1198
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1196

def event_creation
  @event_creation
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1203
1204
1205
1206
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1203

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