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.



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

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

Instance Attribute Details

#calendar_eventGoogle::Apis::CloudsearchV1::AppsDynamiteSharedCalendarEventAnnotationDataCalendarEvent

Corresponds to the JSON property calendarEvent



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

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



1201
1202
1203
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1201

def event_creation
  @event_creation
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1208
1209
1210
1211
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1208

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