Class: Google::Apis::ComputeAlpha::StatefulPolicy
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::StatefulPolicy
- 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
-
#preserved_resources ⇒ Google::Apis::ComputeAlpha::StatefulPolicyPreservedResources
Configuration of all preserved resources.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StatefulPolicy
constructor
A new instance of StatefulPolicy.
-
#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) ⇒ StatefulPolicy
Returns a new instance of StatefulPolicy
23580 23581 23582 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 23580 def initialize(**args) update!(**args) end |
Instance Attribute Details
#preserved_resources ⇒ Google::Apis::ComputeAlpha::StatefulPolicyPreservedResources
Configuration of all preserved resources.
Corresponds to the JSON property preservedResources
23578 23579 23580 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 23578 def preserved_resources @preserved_resources end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
23585 23586 23587 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 23585 def update!(**args) @preserved_resources = args[:preserved_resources] if args.key?(:preserved_resources) end |