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.



29569
29570
29571
# File 'lib/google/apis/compute_alpha/classes.rb', line 29569

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)


29560
29561
29562
# File 'lib/google/apis/compute_alpha/classes.rb', line 29560

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)


29566
29567
29568
# File 'lib/google/apis/compute_alpha/classes.rb', line 29566

def effective
  @effective
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



29574
29575
29576
29577
# File 'lib/google/apis/compute_alpha/classes.rb', line 29574

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