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

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InstanceGroupManagerActionsSummary

Returns a new instance of InstanceGroupManagerActionsSummary.



15243
15244
15245
# File 'lib/google/apis/compute_alpha/classes.rb', line 15243

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)


15160
15161
15162
# File 'lib/google/apis/compute_alpha/classes.rb', line 15160

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)


15169
15170
15171
# File 'lib/google/apis/compute_alpha/classes.rb', line 15169

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)


15177
15178
15179
# File 'lib/google/apis/compute_alpha/classes.rb', line 15177

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)


15183
15184
15185
# File 'lib/google/apis/compute_alpha/classes.rb', line 15183

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)


15189
15190
15191
# File 'lib/google/apis/compute_alpha/classes.rb', line 15189

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)


15197
15198
15199
# File 'lib/google/apis/compute_alpha/classes.rb', line 15197

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)


15204
15205
15206
# File 'lib/google/apis/compute_alpha/classes.rb', line 15204

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)


15210
15211
15212
# File 'lib/google/apis/compute_alpha/classes.rb', line 15210

def restarting
  @restarting
end

#resumingFixnum

[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

Returns:

  • (Fixnum)


15216
15217
15218
# File 'lib/google/apis/compute_alpha/classes.rb', line 15216

def resuming
  @resuming
end

#startingFixnum

[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

Returns:

  • (Fixnum)


15222
15223
15224
# File 'lib/google/apis/compute_alpha/classes.rb', line 15222

def starting
  @starting
end

#stoppingFixnum

[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

Returns:

  • (Fixnum)


15228
15229
15230
# File 'lib/google/apis/compute_alpha/classes.rb', line 15228

def stopping
  @stopping
end

#suspendingFixnum

[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

Returns:

  • (Fixnum)


15234
15235
15236
# File 'lib/google/apis/compute_alpha/classes.rb', line 15234

def suspending
  @suspending
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)


15241
15242
15243
# File 'lib/google/apis/compute_alpha/classes.rb', line 15241

def verifying
  @verifying
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15248
15249
15250
15251
15252
15253
15254
15255
15256
15257
15258
15259
15260
15261
15262
# File 'lib/google/apis/compute_alpha/classes.rb', line 15248

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