Class: Google::Apis::BaremetalsolutionV1alpha1::SetVolumeSnapshotSchedulePolicyRequest
- Inherits:
-
Object
- Object
- Google::Apis::BaremetalsolutionV1alpha1::SetVolumeSnapshotSchedulePolicyRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/baremetalsolution_v1alpha1/classes.rb,
lib/google/apis/baremetalsolution_v1alpha1/representations.rb,
lib/google/apis/baremetalsolution_v1alpha1/representations.rb
Overview
Request for SetVolumeSnapshotSchedulePolicy.
Instance Attribute Summary collapse
-
#snapshot_schedule_policy ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SetVolumeSnapshotSchedulePolicyRequest
constructor
A new instance of SetVolumeSnapshotSchedulePolicyRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SetVolumeSnapshotSchedulePolicyRequest
Returns a new instance of SetVolumeSnapshotSchedulePolicyRequest.
831 832 833 |
# File 'lib/google/apis/baremetalsolution_v1alpha1/classes.rb', line 831 def initialize(**args) update!(**args) end |
Instance Attribute Details
#snapshot_schedule_policy ⇒ String
Required. The name of the policy to set on the volume.
Corresponds to the JSON property snapshotSchedulePolicy
829 830 831 |
# File 'lib/google/apis/baremetalsolution_v1alpha1/classes.rb', line 829 def snapshot_schedule_policy @snapshot_schedule_policy end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
836 837 838 |
# File 'lib/google/apis/baremetalsolution_v1alpha1/classes.rb', line 836 def update!(**args) @snapshot_schedule_policy = args[:snapshot_schedule_policy] if args.key?(:snapshot_schedule_policy) end |