Class: Google::Apis::ComputeAlpha::InstanceGroupManagerActionsSummary
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::InstanceGroupManagerActionsSummary
- Defined in:
- generated/google/apis/compute_alpha/classes.rb,
generated/google/apis/compute_alpha/representations.rb,
generated/google/apis/compute_alpha/representations.rb
Instance Attribute Summary collapse
-
#abandoning ⇒ Fixnum
[Output Only] The total number of instances in the managed instance group that are scheduled to be abandoned.
-
#creating ⇒ Fixnum
[Output Only] The number of instances in the managed instance group that are scheduled to be created or are currently being created.
-
#creating_without_retries ⇒ Fixnum
[Output Only] The number of instances that the managed instance group will attempt to create.
-
#deleting ⇒ Fixnum
[Output Only] The number of instances in the managed instance group that are scheduled to be deleted or are currently being deleted.
-
#none ⇒ Fixnum
[Output Only] The number of instances in the managed instance group that are running and have no scheduled actions.
-
#recreating ⇒ Fixnum
[Output Only] The number of instances in the managed instance group that are scheduled to be recreated or are currently being being recreated.
-
#refreshing ⇒ Fixnum
[Output Only] The number of instances in the managed instance group that are being reconfigured with properties that do not require a restart or a recreate action.
-
#restarting ⇒ Fixnum
[Output Only] The number of instances in the managed instance group that are scheduled to be restarted or are currently being restarted.
-
#verifying ⇒ Fixnum
[Output Only] The number of instances in the managed instance group that are being verified.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InstanceGroupManagerActionsSummary
constructor
A new instance of InstanceGroupManagerActionsSummary.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ InstanceGroupManagerActionsSummary
Returns a new instance of InstanceGroupManagerActionsSummary
11162 11163 11164 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 11162 def initialize(**args) update!(**args) end |
Instance Attribute Details
#abandoning ⇒ Fixnum
[Output Only] The total number of instances in the managed instance group that
are scheduled to be abandoned. Abandoning an instance removes it from the
managed instance group without deleting it.
Corresponds to the JSON property abandoning
11102 11103 11104 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 11102 def abandoning @abandoning end |
#creating ⇒ Fixnum
[Output Only] The number of instances in the managed instance group that are
scheduled to be created or are currently being created. If the group fails to
create any of these instances, it tries again until it creates the instance
successfully.
If you have disabled creation retries, this field will not be populated;
instead, the creatingWithoutRetries field will be populated.
Corresponds to the JSON property creating
11112 11113 11114 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 11112 def creating @creating end |
#creating_without_retries ⇒ Fixnum
[Output Only] The number of instances that the managed instance group will
attempt to create. The group attempts to create each instance only once. If
the group fails to create any of these instances, it decreases the group's
targetSize value accordingly.
Corresponds to the JSON property creatingWithoutRetries
11120 11121 11122 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 11120 def creating_without_retries @creating_without_retries end |
#deleting ⇒ Fixnum
[Output Only] The number of instances in the managed instance group that are
scheduled to be deleted or are currently being deleted.
Corresponds to the JSON property deleting
11126 11127 11128 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 11126 def deleting @deleting end |
#none ⇒ Fixnum
[Output Only] The number of instances in the managed instance group that are
running and have no scheduled actions.
Corresponds to the JSON property none
11132 11133 11134 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 11132 def none @none end |
#recreating ⇒ Fixnum
[Output Only] The number of instances in the managed instance group that are
scheduled to be recreated or are currently being being recreated. Recreating
an instance deletes the existing root persistent disk and creates a new disk
from the image that is defined in the instance template.
Corresponds to the JSON property recreating
11140 11141 11142 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 11140 def recreating @recreating end |
#refreshing ⇒ Fixnum
[Output Only] The number of instances in the managed instance group that are
being reconfigured with properties that do not require a restart or a recreate
action. For example, setting or removing target pools for the instance.
Corresponds to the JSON property refreshing
11147 11148 11149 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 11147 def refreshing @refreshing end |
#restarting ⇒ Fixnum
[Output Only] The number of instances in the managed instance group that are
scheduled to be restarted or are currently being restarted.
Corresponds to the JSON property restarting
11153 11154 11155 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 11153 def restarting @restarting end |
#verifying ⇒ Fixnum
[Output Only] The number of instances in the managed instance group that are
being verified. See the managedInstances[].currentAction property in the
listManagedInstances method documentation.
Corresponds to the JSON property verifying
11160 11161 11162 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 11160 def @verifying end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11167 11168 11169 11170 11171 11172 11173 11174 11175 11176 11177 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 11167 def update!(**args) @abandoning = args[:abandoning] if args.key?(:abandoning) @creating = args[:creating] if args.key?(:creating) @creating_without_retries = args[:creating_without_retries] if args.key?(:creating_without_retries) @deleting = args[:deleting] if args.key?(:deleting) @none = args[:none] if args.key?(:none) @recreating = args[:recreating] if args.key?(:recreating) @refreshing = args[:refreshing] if args.key?(:refreshing) @restarting = args[:restarting] if args.key?(:restarting) @verifying = args[:verifying] if args.key?(:verifying) end |