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.



3081
3082
3083
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3081

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)


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_minuteString

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

Returns:

  • (String)


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_millisFixnum

End time in milliseconds. Corresponds to the JSON property endTimeInMillis

Returns:

  • (Fixnum)


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_dayString

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

Returns:

  • (String)


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_minuteString

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

Returns:

  • (String)


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_millisFixnum

Start time in milliseconds. Corresponds to the JSON property startTimeInMillis

Returns:

  • (Fixnum)


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