Class: Google::Apis::ComputeAlpha::InstanceGroupManagerActionsSummary

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InstanceGroupManagerActionsSummary

Returns a new instance of InstanceGroupManagerActionsSummary.



14200
14201
14202
# File 'generated/google/apis/compute_alpha/classes.rb', line 14200

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#abandoningFixnum

[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

Returns:

  • (Fixnum)


14140
14141
14142
# File 'generated/google/apis/compute_alpha/classes.rb', line 14140

def abandoning
  @abandoning
end

#creatingFixnum

[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

Returns:

  • (Fixnum)


14150
14151
14152
# File 'generated/google/apis/compute_alpha/classes.rb', line 14150

def creating
  @creating
end

#creating_without_retriesFixnum

[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

Returns:

  • (Fixnum)


14158
14159
14160
# File 'generated/google/apis/compute_alpha/classes.rb', line 14158

def creating_without_retries
  @creating_without_retries
end

#deletingFixnum

[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

Returns:

  • (Fixnum)


14164
14165
14166
# File 'generated/google/apis/compute_alpha/classes.rb', line 14164

def deleting
  @deleting
end

#noneFixnum

[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

Returns:

  • (Fixnum)


14170
14171
14172
# File 'generated/google/apis/compute_alpha/classes.rb', line 14170

def none
  @none
end

#recreatingFixnum

[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

Returns:

  • (Fixnum)


14178
14179
14180
# File 'generated/google/apis/compute_alpha/classes.rb', line 14178

def recreating
  @recreating
end

#refreshingFixnum

[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

Returns:

  • (Fixnum)


14185
14186
14187
# File 'generated/google/apis/compute_alpha/classes.rb', line 14185

def refreshing
  @refreshing
end

#restartingFixnum

[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

Returns:

  • (Fixnum)


14191
14192
14193
# File 'generated/google/apis/compute_alpha/classes.rb', line 14191

def restarting
  @restarting
end

#verifyingFixnum

[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

Returns:

  • (Fixnum)


14198
14199
14200
# File 'generated/google/apis/compute_alpha/classes.rb', line 14198

def verifying
  @verifying
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14205
14206
14207
14208
14209
14210
14211
14212
14213
14214
14215
# File 'generated/google/apis/compute_alpha/classes.rb', line 14205

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