Class: Google::Apis::ComputeAlpha::InstanceGroupManagerStatusStateful

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
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

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ InstanceGroupManagerStatusStateful

Returns a new instance of InstanceGroupManagerStatusStateful



12324
12325
12326
# File 'generated/google/apis/compute_alpha/classes.rb', line 12324

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#is_statefulBoolean 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

Returns:

  • (Boolean)


12321
12322
12323
# File 'generated/google/apis/compute_alpha/classes.rb', line 12321

def is_stateful
  @is_stateful
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12329
12330
12331
# File 'generated/google/apis/compute_alpha/classes.rb', line 12329

def update!(**args)
  @is_stateful = args[:is_stateful] if args.key?(:is_stateful)
end