class Google::Apis::CoordinateV1::Schedule

Job schedule.

Attributes

all_day[RW]

Whether the job is scheduled for the whole day. Time of day in start/end times is ignored if this is true. Corresponds to the JSON property `allDay` @return [Boolean]

all_day?[RW]

Whether the job is scheduled for the whole day. Time of day in start/end times is ignored if this is true. Corresponds to the JSON property `allDay` @return [Boolean]

duration[RW]

Job duration in milliseconds. Corresponds to the JSON property `duration` @return [String]

end_time[RW]

Scheduled end time in milliseconds since epoch. Corresponds to the JSON property `endTime` @return [String]

kind[RW]

Identifies this object as a job schedule. Corresponds to the JSON property `kind` @return [String]

start_time[RW]

Scheduled start time in milliseconds since epoch. Corresponds to the JSON property `startTime` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/coordinate_v1/classes.rb, line 515
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/coordinate_v1/classes.rb, line 520
def update!(**args)
  @all_day = args[:all_day] if args.key?(:all_day)
  @duration = args[:duration] if args.key?(:duration)
  @end_time = args[:end_time] if args.key?(:end_time)
  @kind = args[:kind] if args.key?(:kind)
  @start_time = args[:start_time] if args.key?(:start_time)
end