Class: Google::Apis::ComputeAlpha::InstanceGroupManagerPendingActionsSummary

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

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ InstanceGroupManagerPendingActionsSummary

Returns a new instance of InstanceGroupManagerPendingActionsSummary



12340
12341
12342
# File 'generated/google/apis/compute_alpha/classes.rb', line 12340

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

Instance Attribute Details

#creatingFixnum

[Deprecated] This field is deprecated and will be removed. Prefer using the status field instead. Please contact cloud-updater-feedback@google.com to leave feedback if your workload relies on this field. [Output Only] The number of instances in the managed instance group that are pending to be created. Corresponds to the JSON property creating

Returns:

  • (Fixnum)


12314
12315
12316
# File 'generated/google/apis/compute_alpha/classes.rb', line 12314

def creating
  @creating
end

#deletingFixnum

[Deprecated] This field is deprecated and will be removed. Prefer using the status field instead. Please contact cloud-updater-feedback@google.com to leave feedback if your workload relies on this field. [Output Only] The number of instances in the managed instance group that are pending to be deleted. Corresponds to the JSON property deleting

Returns:

  • (Fixnum)


12322
12323
12324
# File 'generated/google/apis/compute_alpha/classes.rb', line 12322

def deleting
  @deleting
end

#recreatingFixnum

[Deprecated] This field is deprecated and will be removed. Prefer using the status field instead. Please contact cloud-updater-feedback@google.com to leave feedback if your workload relies on this field. [Output Only] The number of instances in the managed instance group that are pending to be recreated. Corresponds to the JSON property recreating

Returns:

  • (Fixnum)


12330
12331
12332
# File 'generated/google/apis/compute_alpha/classes.rb', line 12330

def recreating
  @recreating
end

#restartingFixnum

[Deprecated] This field is deprecated and will be removed. Prefer using the status field instead. Please contact cloud-updater-feedback@google.com to leave feedback if your workload relies on this field. [Output Only] The number of instances in the managed instance group that are pending to be restarted. Corresponds to the JSON property restarting

Returns:

  • (Fixnum)


12338
12339
12340
# File 'generated/google/apis/compute_alpha/classes.rb', line 12338

def restarting
  @restarting
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12345
12346
12347
12348
12349
12350
# File 'generated/google/apis/compute_alpha/classes.rb', line 12345

def update!(**args)
  @creating = args[:creating] if args.key?(:creating)
  @deleting = args[:deleting] if args.key?(:deleting)
  @recreating = args[:recreating] if args.key?(:recreating)
  @restarting = args[:restarting] if args.key?(:restarting)
end