Class: Google::Apis::ComputeV1::InstanceGroupManagerStatusVersionTarget

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InstanceGroupManagerStatusVersionTarget

Returns a new instance of InstanceGroupManagerStatusVersionTarget.



16709
16710
16711
# File 'lib/google/apis/compute_v1/classes.rb', line 16709

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

Instance Attribute Details

#is_reachedBoolean Also known as: is_reached?

[Output Only] A bit indicating whether version target has been reached in this managed instance group, i.e. all instances are in their target version. Instances' target version are specified by version field on Instance Group Manager. Corresponds to the JSON property isReached

Returns:

  • (Boolean)


16706
16707
16708
# File 'lib/google/apis/compute_v1/classes.rb', line 16706

def is_reached
  @is_reached
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16714
16715
16716
# File 'lib/google/apis/compute_v1/classes.rb', line 16714

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