Class: Google::Apis::ComputeBeta::InstanceGroupManagerStatusStateful
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::InstanceGroupManagerStatusStateful
- 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
-
#is_stateful ⇒ Boolean
(also: #is_stateful?)
[Output Only] A bit indicating whether the managed instance group is stateful, i.e.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InstanceGroupManagerStatusStateful
constructor
A new instance of InstanceGroupManagerStatusStateful.
-
#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) ⇒ InstanceGroupManagerStatusStateful
Returns a new instance of InstanceGroupManagerStatusStateful.
12018 12019 12020 |
# File 'generated/google/apis/compute_beta/classes.rb', line 12018 def initialize(**args) update!(**args) end |
Instance Attribute Details
#is_stateful ⇒ Boolean Also known as: is_stateful?
[Output Only] A bit indicating whether the managed instance group is stateful,
i.e. has any disks in Stateful Policy or at least one per-instance config.
This is determined based on the user intent, the group may be reported as not
stateful even when there is still some preserved state on managed instances.
Corresponds to the JSON property isStateful
12015 12016 12017 |
# File 'generated/google/apis/compute_beta/classes.rb', line 12015 def is_stateful @is_stateful end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12023 12024 12025 |
# File 'generated/google/apis/compute_beta/classes.rb', line 12023 def update!(**args) @is_stateful = args[:is_stateful] if args.key?(:is_stateful) end |