Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedCalendarEventAnnotationDataCalendarEventTime
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::AppsDynamiteSharedCalendarEventAnnotationDataCalendarEventTime
- 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
-
#all_day ⇒ Google::Apis::CloudsearchV1::Date
Represents a whole calendar date, for example a date of birth.
-
#timed ⇒ String
Non all day event.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AppsDynamiteSharedCalendarEventAnnotationDataCalendarEventTime
constructor
A new instance of AppsDynamiteSharedCalendarEventAnnotationDataCalendarEventTime.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AppsDynamiteSharedCalendarEventAnnotationDataCalendarEventTime
Returns a new instance of AppsDynamiteSharedCalendarEventAnnotationDataCalendarEventTime.
1295 1296 1297 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1295 def initialize(**args) update!(**args) end |
Instance Attribute Details
#all_day ⇒ Google::Apis::CloudsearchV1::Date
Represents a whole calendar date, for example a date of birth. The time of day
and time zone are either specified elsewhere or are not significant. The date
is relative to the Proleptic Gregorian Calendar. The date must be a valid calendar date
between the year 1 and 9999.
Corresponds to the JSON property allDay
1288 1289 1290 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1288 def all_day @all_day end |
#timed ⇒ String
Non all day event.
Corresponds to the JSON property timed
1293 1294 1295 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1293 def timed @timed end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1300 1301 1302 1303 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1300 def update!(**args) @all_day = args[:all_day] if args.key?(:all_day) @timed = args[:timed] if args.key?(:timed) end |