class Google::Apis::ComputeBeta::ResourcePolicyWeeklyCycleDayOfWeek
Attributes
day[RW]
Defines a schedule that runs on specific days of the week. Specify one or more days. The following options are available: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY. Corresponds to the JSON property `day` @return [String]
duration[RW]
- Output only
-
Duration
of the time window, automatically chosen to be smallest
possible in the given scenario. Corresponds to the JSON property `duration` @return [String]
start_time[RW]
Time within the window to start the operations. It must be in format “HH:MM”, where HH : [00-23] and MM : [00-00] GMT. Corresponds to the JSON property `startTime` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/compute_beta/classes.rb, line 28785 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/compute_beta/classes.rb, line 28790 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