Class: Google::Apis::ComputeAlpha::InstanceGroupManagerStatusAllInstancesConfig
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::InstanceGroupManagerStatusAllInstancesConfig
- 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
-
#current_revision ⇒ String
[Output Only] Current all-instances configuration revision.
-
#effective ⇒ Boolean
(also: #effective?)
[Output Only] A bit indicating whether this configuration has been applied to all managed instances in the group.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InstanceGroupManagerStatusAllInstancesConfig
constructor
A new instance of InstanceGroupManagerStatusAllInstancesConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InstanceGroupManagerStatusAllInstancesConfig
Returns a new instance of InstanceGroupManagerStatusAllInstancesConfig.
16312 16313 16314 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 16312 def initialize(**args) update!(**args) end |
Instance Attribute Details
#current_revision ⇒ String
[Output Only] Current all-instances configuration revision. This value is in
RFC3339 text format.
Corresponds to the JSON property currentRevision
16303 16304 16305 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 16303 def current_revision @current_revision end |
#effective ⇒ Boolean 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
16309 16310 16311 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 16309 def effective @effective end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16317 16318 16319 16320 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 16317 def update!(**args) @current_revision = args[:current_revision] if args.key?(:current_revision) @effective = args[:effective] if args.key?(:effective) end |