Class: Google::Apis::ComputeAlpha::InstanceGroupManagerStatusStateful
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::InstanceGroupManagerStatusStateful
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb
Instance Attribute Summary collapse
-
#has_stateful_config ⇒ Boolean
(also: #has_stateful_config?)
[Output Only] A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs.
-
#is_stateful ⇒ Boolean
(also: #is_stateful?)
[Output Only] A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs.
-
#per_instance_configs ⇒ Google::Apis::ComputeAlpha::InstanceGroupManagerStatusStatefulPerInstanceConfigs
[Output Only] Status of per-instance configs on the instance.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InstanceGroupManagerStatusStateful
constructor
A new instance of InstanceGroupManagerStatusStateful.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InstanceGroupManagerStatusStateful
Returns a new instance of InstanceGroupManagerStatusStateful.
15944 15945 15946 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 15944 def initialize(**args) update!(**args) end |
Instance Attribute Details
#has_stateful_config ⇒ Boolean Also known as: has_stateful_config?
[Output Only] A bit indicating whether the managed instance group has stateful
configuration, that is, if you have configured any items in a stateful policy
or in per-instance configs. The group might report that it has no stateful
config even when there is still some preserved state on a managed instance,
for example, if you have deleted all PICs but not yet applied those deletions.
Corresponds to the JSON property hasStatefulConfig
15925 15926 15927 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 15925 def has_stateful_config @has_stateful_config end |
#is_stateful ⇒ Boolean Also known as: is_stateful?
[Output Only] A bit indicating whether the managed instance group has stateful
configuration, that is, if you have configured any items in a stateful policy
or in per-instance configs. The group might report that it has no stateful
config even when there is still some preserved state on a managed instance,
for example, if you have deleted all PICs but not yet applied those deletions.
This field is deprecated in favor of has_stateful_config.
Corresponds to the JSON property isStateful
15936 15937 15938 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 15936 def is_stateful @is_stateful end |
#per_instance_configs ⇒ Google::Apis::ComputeAlpha::InstanceGroupManagerStatusStatefulPerInstanceConfigs
[Output Only] Status of per-instance configs on the instance.
Corresponds to the JSON property perInstanceConfigs
15942 15943 15944 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 15942 def per_instance_configs @per_instance_configs end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
15949 15950 15951 15952 15953 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 15949 def update!(**args) @has_stateful_config = args[:has_stateful_config] if args.key?(:has_stateful_config) @is_stateful = args[:is_stateful] if args.key?(:is_stateful) @per_instance_configs = args[:per_instance_configs] if args.key?(:per_instance_configs) end |