Class: Google::Apis::ComputeBeta::StatefulPolicy
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::StatefulPolicy
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- generated/google/apis/compute_beta/classes.rb,
generated/google/apis/compute_beta/representations.rb,
generated/google/apis/compute_beta/representations.rb
Instance Attribute Summary collapse
-
#preserved_state ⇒ Google::Apis::ComputeBeta::StatefulPolicyPreservedState
Configuration of preserved resources.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StatefulPolicy
constructor
A new instance of StatefulPolicy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ StatefulPolicy
Returns a new instance of StatefulPolicy.
31462 31463 31464 |
# File 'generated/google/apis/compute_beta/classes.rb', line 31462 def initialize(**args) update!(**args) end |
Instance Attribute Details
#preserved_state ⇒ Google::Apis::ComputeBeta::StatefulPolicyPreservedState
Configuration of preserved resources.
Corresponds to the JSON property preservedState
31460 31461 31462 |
# File 'generated/google/apis/compute_beta/classes.rb', line 31460 def preserved_state @preserved_state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
31467 31468 31469 |
# File 'generated/google/apis/compute_beta/classes.rb', line 31467 def update!(**args) @preserved_state = args[:preserved_state] if args.key?(:preserved_state) end |