class Google::Apis::ComputeBeta::ResourcePolicyDailyCycle

Time window specified for daily operations.

Attributes

days_in_cycle[RW]

Defines a schedule with units measured in months. The value determines how many months pass between the start of each cycle. Corresponds to the JSON property `daysInCycle` @return [Fixnum]

duration[RW]
Output only

A predetermined duration for the window, automatically chosen to

be the smallest possible in the given scenario. Corresponds to the JSON property `duration` @return [String]

start_time[RW]

Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08: 00 are valid. 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 28293
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 28298
def update!(**args)
  @days_in_cycle = args[:days_in_cycle] if args.key?(:days_in_cycle)
  @duration = args[:duration] if args.key?(:duration)
  @start_time = args[:start_time] if args.key?(:start_time)
end