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.
3048 3049 3050 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3048 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
3021 3022 3023 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3021 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
3026 3027 3028 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3026 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
3031 3032 3033 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3031 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
3036 3037 3038 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3036 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
3041 3042 3043 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3041 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
3046 3047 3048 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3046 def start_time_in_millis @start_time_in_millis end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3053 3054 3055 3056 3057 3058 3059 3060 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3053 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 |