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_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.
-
#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.
15410 15411 15412 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 15410 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
15327 15328 15329 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 15327 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
15336 15337 15338 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 15336 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
15344 15345 15346 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 15344 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
15350 15351 15352 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 15350 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
15356 15357 15358 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 15356 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
15364 15365 15366 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 15364 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
15371 15372 15373 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 15371 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
15377 15378 15379 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 15377 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
15383 15384 15385 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 15383 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
15389 15390 15391 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 15389 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
15395 15396 15397 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 15395 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
15401 15402 15403 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 15401 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
15408 15409 15410 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 15408 def @verifying end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
15415 15416 15417 15418 15419 15420 15421 15422 15423 15424 15425 15426 15427 15428 15429 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 15415 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) @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 |