Class: Google::Apis::ComputeAlpha::InstanceGroupManagerStatusAllInstancesConfig

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InstanceGroupManagerStatusAllInstancesConfig

Returns a new instance of InstanceGroupManagerStatusAllInstancesConfig.



15452
15453
15454
# File 'lib/google/apis/compute_alpha/classes.rb', line 15452

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

Instance Attribute Details

#current_revisionString

[Output Only] Current instances' config revision. This value is in RFC3339 text format. Corresponds to the JSON property currentRevision

Returns:

  • (String)


15443
15444
15445
# File 'lib/google/apis/compute_alpha/classes.rb', line 15443

def current_revision
  @current_revision
end

#effectiveBoolean Also known as: effective?

[Output Only] A bit indicating whether instances' config has been applied to all managed instances in managed instance group. Corresponds to the JSON property effective

Returns:

  • (Boolean)


15449
15450
15451
# File 'lib/google/apis/compute_alpha/classes.rb', line 15449

def effective
  @effective
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15457
15458
15459
15460
# File 'lib/google/apis/compute_alpha/classes.rb', line 15457

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