Class: Google::Apis::CloudsearchV1::EnterpriseTopazSidekickTimeSlot

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

Overview

Slot of time.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_dayString

Day end time at the user's timezone. Corresponds to the JSON property endTimeDay

Returns:

  • (String)


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_minuteString

Hour and minute of the end time at the user's timezone. Corresponds to the JSON property endTimeHourAndMinute

Returns:

  • (String)


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_millisFixnum

End time in milliseconds. Corresponds to the JSON property endTimeInMillis

Returns:

  • (Fixnum)


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_dayString

Day start time at user's timezone. Corresponds to the JSON property startTimeDay

Returns:

  • (String)


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_minuteString

Hour and minute of the start time at the user's timezone. Corresponds to the JSON property startTimeHourAndMinute

Returns:

  • (String)


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_millisFixnum

Start time in milliseconds. Corresponds to the JSON property startTimeInMillis

Returns:

  • (Fixnum)


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