Class: Google::Apis::ComputeV1::InstanceGroupManagerStatusAllInstancesConfig

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) ⇒ InstanceGroupManagerStatusAllInstancesConfig

Returns a new instance of InstanceGroupManagerStatusAllInstancesConfig.



23540
23541
23542
# File 'lib/google/apis/compute_v1/classes.rb', line 23540

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)


23531
23532
23533
# File 'lib/google/apis/compute_v1/classes.rb', line 23531

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)


23537
23538
23539
# File 'lib/google/apis/compute_v1/classes.rb', line 23537

def effective
  @effective
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



23545
23546
23547
23548
# File 'lib/google/apis/compute_v1/classes.rb', line 23545

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