Class: Google::Apis::ComputeAlpha::InstanceGroupManagerStatefulPolicyDiskPolicy
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::InstanceGroupManagerStatefulPolicyDiskPolicy
- Defined in:
- generated/google/apis/compute_alpha/classes.rb,
generated/google/apis/compute_alpha/representations.rb,
generated/google/apis/compute_alpha/representations.rb
Instance Attribute Summary collapse
-
#device_name ⇒ String
Device name of the disk to be preserved Corresponds to the JSON property
deviceName
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InstanceGroupManagerStatefulPolicyDiskPolicy
constructor
A new instance of InstanceGroupManagerStatefulPolicyDiskPolicy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ InstanceGroupManagerStatefulPolicyDiskPolicy
Returns a new instance of InstanceGroupManagerStatefulPolicyDiskPolicy
9675 9676 9677 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 9675 def initialize(**args) update!(**args) end |
Instance Attribute Details
#device_name ⇒ String
Device name of the disk to be preserved
Corresponds to the JSON property deviceName
9673 9674 9675 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 9673 def device_name @device_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9680 9681 9682 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 9680 def update!(**args) @device_name = args[:device_name] if args.key?(:device_name) end |