class Google::Apis::ComputeBeta::InstanceGroupManagerStatusStateful

Attributes

has_stateful_config[RW]
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` @return [Boolean]

has_stateful_config?[RW]
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` @return [Boolean]

is_stateful[RW]
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` @return [Boolean]

is_stateful?[RW]
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` @return [Boolean]

per_instance_configs[RW]
Output Only

Status of per-instance configs on the instance.

Corresponds to the JSON property `perInstanceConfigs` @return [Google::Apis::ComputeBeta::InstanceGroupManagerStatusStatefulPerInstanceConfigs]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/compute_beta/classes.rb, line 13834
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/compute_beta/classes.rb, line 13839
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