class Google::Apis::BaremetalsolutionV1alpha1::Schedule
A snapshot schedule.
Attributes
crontab_spec[RW]
The crontab-like specification that this Schedule
will use to take snapshots. Corresponds to the JSON property `crontabSpec` @return [String]
prefix[RW]
A string to prefix names of snapshots created under this Schedule
. Corresponds to the JSON property `prefix` @return [String]
retention_count[RW]
The maximum number of snapshots to retain under this Schedule
. Corresponds to the JSON property `retentionCount` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/baremetalsolution_v1alpha1/classes.rb, line 804 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 809 def update!(**args) @crontab_spec = args[:crontab_spec] if args.key?(:crontab_spec) @prefix = args[:prefix] if args.key?(:prefix) @retention_count = args[:retention_count] if args.key?(:retention_count) end