class Google::Apis::BaremetalsolutionV1alpha1::SnapshotSchedulePolicy
A snapshot schedule policy.
Attributes
description[RW]
The description of this SnapshotSchedulePolicy
. Corresponds to the JSON property `description` @return [String]
name[RW]
Output only. The name of this SnapshotSchedulePolicy
. Corresponds to the JSON property `name` @return [String]
schedules[RW]
The snapshot Schedules contained in this Policy. At most 5 Schedules may be specified. Corresponds to the JSON property `schedules` @return [Array<Google::Apis::BaremetalsolutionV1alpha1::Schedule>]
volumes[RW]
The names of the Volumes this policy is associated with. Corresponds to the JSON property `volumes` @return [Array<String>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/baremetalsolution_v1alpha1/classes.rb, line 905 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/baremetalsolution_v1alpha1/classes.rb, line 910 def update!(**args) @description = args[:description] if args.key?(:description) @name = args[:name] if args.key?(:name) @schedules = args[:schedules] if args.key?(:schedules) @volumes = args[:volumes] if args.key?(:volumes) end