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.



1084
1085
1086
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1084

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

Instance Attribute Details

#calendar_eventGoogle::Apis::CloudsearchV1::AppsDynamiteSharedCalendarEventAnnotationDataCalendarEvent

Corresponds to the JSON property calendarEvent



1077
1078
1079
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1077

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



1082
1083
1084
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1082

def event_creation
  @event_creation
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1089
1090
1091
1092
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1089

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