Class: Google::Apis::ComputeAlpha::InstanceGroupManagerActionsSummary
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::InstanceGroupManagerActionsSummary
- 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
-
#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_atomically ⇒ Fixnum
[Output Only] The number of instances that the managed instance group will attempt to create atomically, in a batch mode.
-
#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.
-
#queuing ⇒ Fixnum
[Output Only] The number of instances that the managed instance group is currently queuing.
-
#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.
-
#resuming ⇒ Fixnum
[Output Only] The number of instances in the managed instance group that are scheduled to be resumed or are currently being resumed.
-
#starting ⇒ Fixnum
[Output Only] The number of instances in the managed instance group that are scheduled to be started or are currently being started.
-
#stopping ⇒ Fixnum
[Output Only] The number of instances in the managed instance group that are scheduled to be stopped or are currently being stopped.
-
#suspending ⇒ Fixnum
[Output Only] The number of instances in the managed instance group that are scheduled to be suspended or are currently being suspended.
-
#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.
Constructor Details
#initialize(**args) ⇒ InstanceGroupManagerActionsSummary
Returns a new instance of InstanceGroupManagerActionsSummary.
16297 16298 16299 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 16297 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
16200 16201 16202 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 16200 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
16209 16210 16211 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 16209 def creating @creating end |
#creating_atomically ⇒ Fixnum
[Output Only] The number of instances that the managed instance group will
attempt to create atomically, in a batch mode. If the desired count of
instances can not be created, entire batch will be deleted and the group will
decrease its targetSize value accordingly.
Corresponds to the JSON property creatingAtomically
16217 16218 16219 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 16217 def creating_atomically @creating_atomically 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
16225 16226 16227 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 16225 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
16231 16232 16233 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 16231 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
16237 16238 16239 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 16237 def none @none end |
#queuing ⇒ Fixnum
[Output Only] The number of instances that the managed instance group is
currently queuing.
Corresponds to the JSON property queuing
16243 16244 16245 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 16243 def queuing @queuing 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
16251 16252 16253 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 16251 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
16258 16259 16260 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 16258 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
16264 16265 16266 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 16264 def restarting @restarting end |
#resuming ⇒ Fixnum
[Output Only] The number of instances in the managed instance group that are
scheduled to be resumed or are currently being resumed.
Corresponds to the JSON property resuming
16270 16271 16272 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 16270 def resuming @resuming end |
#starting ⇒ Fixnum
[Output Only] The number of instances in the managed instance group that are
scheduled to be started or are currently being started.
Corresponds to the JSON property starting
16276 16277 16278 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 16276 def starting @starting end |
#stopping ⇒ Fixnum
[Output Only] The number of instances in the managed instance group that are
scheduled to be stopped or are currently being stopped.
Corresponds to the JSON property stopping
16282 16283 16284 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 16282 def stopping @stopping end |
#suspending ⇒ Fixnum
[Output Only] The number of instances in the managed instance group that are
scheduled to be suspended or are currently being suspended.
Corresponds to the JSON property suspending
16288 16289 16290 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 16288 def suspending @suspending 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
16295 16296 16297 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 16295 def @verifying end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16302 16303 16304 16305 16306 16307 16308 16309 16310 16311 16312 16313 16314 16315 16316 16317 16318 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 16302 def update!(**args) @abandoning = args[:abandoning] if args.key?(:abandoning) @creating = args[:creating] if args.key?(:creating) @creating_atomically = args[:creating_atomically] if args.key?(:creating_atomically) @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) @queuing = args[:queuing] if args.key?(:queuing) @recreating = args[:recreating] if args.key?(:recreating) @refreshing = args[:refreshing] if args.key?(:refreshing) @restarting = args[:restarting] if args.key?(:restarting) @resuming = args[:resuming] if args.key?(:resuming) @starting = args[:starting] if args.key?(:starting) @stopping = args[:stopping] if args.key?(:stopping) @suspending = args[:suspending] if args.key?(:suspending) @verifying = args[:verifying] if args.key?(:verifying) end |