Class: Google::Apis::CloudsearchV1::EnterpriseTopazSidekickTimeSlot
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::EnterpriseTopazSidekickTimeSlot
- 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
Overview
Slot of time.
Instance Attribute Summary collapse
-
#end_time_day ⇒ String
Day end time at the user's timezone.
-
#end_time_hour_and_minute ⇒ String
Hour and minute of the end time at the user's timezone.
-
#end_time_in_millis ⇒ Fixnum
End time in milliseconds.
-
#start_time_day ⇒ String
Day start time at user's timezone.
-
#start_time_hour_and_minute ⇒ String
Hour and minute of the start time at the user's timezone.
-
#start_time_in_millis ⇒ Fixnum
Start time in milliseconds.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EnterpriseTopazSidekickTimeSlot
constructor
A new instance of EnterpriseTopazSidekickTimeSlot.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EnterpriseTopazSidekickTimeSlot
Returns a new instance of EnterpriseTopazSidekickTimeSlot.
3081 3082 3083 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3081 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end_time_day ⇒ String
Day end time at the user's timezone.
Corresponds to the JSON property endTimeDay
3054 3055 3056 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3054 def end_time_day @end_time_day end |
#end_time_hour_and_minute ⇒ String
Hour and minute of the end time at the user's timezone.
Corresponds to the JSON property endTimeHourAndMinute
3059 3060 3061 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3059 def end_time_hour_and_minute @end_time_hour_and_minute end |
#end_time_in_millis ⇒ Fixnum
End time in milliseconds.
Corresponds to the JSON property endTimeInMillis
3064 3065 3066 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3064 def end_time_in_millis @end_time_in_millis end |
#start_time_day ⇒ String
Day start time at user's timezone.
Corresponds to the JSON property startTimeDay
3069 3070 3071 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3069 def start_time_day @start_time_day end |
#start_time_hour_and_minute ⇒ String
Hour and minute of the start time at the user's timezone.
Corresponds to the JSON property startTimeHourAndMinute
3074 3075 3076 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3074 def start_time_hour_and_minute @start_time_hour_and_minute end |
#start_time_in_millis ⇒ Fixnum
Start time in milliseconds.
Corresponds to the JSON property startTimeInMillis
3079 3080 3081 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3079 def start_time_in_millis @start_time_in_millis end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3086 3087 3088 3089 3090 3091 3092 3093 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3086 def update!(**args) @end_time_day = args[:end_time_day] if args.key?(:end_time_day) @end_time_hour_and_minute = args[:end_time_hour_and_minute] if args.key?(:end_time_hour_and_minute) @end_time_in_millis = args[:end_time_in_millis] if args.key?(:end_time_in_millis) @start_time_day = args[:start_time_day] if args.key?(:start_time_day) @start_time_hour_and_minute = args[:start_time_hour_and_minute] if args.key?(:start_time_hour_and_minute) @start_time_in_millis = args[:start_time_in_millis] if args.key?(:start_time_in_millis) end |