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.



1140
1141
1142
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1140

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

Instance Attribute Details

#calendar_eventGoogle::Apis::CloudsearchV1::AppsDynamiteSharedCalendarEventAnnotationDataCalendarEvent

Corresponds to the JSON property calendarEvent



1133
1134
1135
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1133

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



1138
1139
1140
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1138

def event_creation
  @event_creation
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1145
1146
1147
1148
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1145

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