class Google::Apis::ComputeV1::ResourcePolicySnapshotSchedulePolicySchedule

A schedule for disks where the schedueled operations are performed.

Attributes

daily_schedule[RW]

Time window specified for daily operations. Corresponds to the JSON property `dailySchedule` @return [Google::Apis::ComputeV1::ResourcePolicyDailyCycle]

hourly_schedule[RW]

Time window specified for hourly operations. Corresponds to the JSON property `hourlySchedule` @return [Google::Apis::ComputeV1::ResourcePolicyHourlyCycle]

weekly_schedule[RW]

Time window specified for weekly operations. Corresponds to the JSON property `weeklySchedule` @return [Google::Apis::ComputeV1::ResourcePolicyWeeklyCycle]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/compute_v1/classes.rb, line 29049
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_v1/classes.rb, line 29054
def update!(**args)
  @daily_schedule = args[:daily_schedule] if args.key?(:daily_schedule)
  @hourly_schedule = args[:hourly_schedule] if args.key?(:hourly_schedule)
  @weekly_schedule = args[:weekly_schedule] if args.key?(:weekly_schedule)
end