class Google::Apis::FileV1::Schedule

Configure the schedule.

Attributes

day[RW]

Allows to define schedule that runs specified day of the week. Corresponds to the JSON property `day` @return [String]

duration[RW]

Output only. Duration of the time window, set by service producer. Corresponds to the JSON property `duration` @return [String]

start_time[RW]

Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. Corresponds to the JSON property `startTime` @return [Google::Apis::FileV1::TimeOfDay]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/file_v1/classes.rb, line 1299
def update!(**args)
  @day = args[:day] if args.key?(:day)
  @duration = args[:duration] if args.key?(:duration)
  @start_time = args[:start_time] if args.key?(:start_time)
end