Class: Google::Apis::ComputeBeta::InstanceGroupManagerStatusAllInstancesConfig

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InstanceGroupManagerStatusAllInstancesConfig

Returns a new instance of InstanceGroupManagerStatusAllInstancesConfig.



14264
14265
14266
# File 'lib/google/apis/compute_beta/classes.rb', line 14264

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

Instance Attribute Details

#current_revisionString

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

Returns:

  • (String)


14255
14256
14257
# File 'lib/google/apis/compute_beta/classes.rb', line 14255

def current_revision
  @current_revision
end

#effectiveBoolean Also known as: effective?

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

Returns:

  • (Boolean)


14261
14262
14263
# File 'lib/google/apis/compute_beta/classes.rb', line 14261

def effective
  @effective
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14269
14270
14271
14272
# File 'lib/google/apis/compute_beta/classes.rb', line 14269

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