Class: Google::Apis::ComputeBeta::InstanceGroupManagerPendingActionsSummary

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/compute_beta/classes.rb,
generated/google/apis/compute_beta/representations.rb,
generated/google/apis/compute_beta/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



10989
10990
10991
# File 'generated/google/apis/compute_beta/classes.rb', line 10989

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)


10963
10964
10965
# File 'generated/google/apis/compute_beta/classes.rb', line 10963

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)


10971
10972
10973
# File 'generated/google/apis/compute_beta/classes.rb', line 10971

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)


10979
10980
10981
# File 'generated/google/apis/compute_beta/classes.rb', line 10979

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)


10987
10988
10989
# File 'generated/google/apis/compute_beta/classes.rb', line 10987

def restarting
  @restarting
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10994
10995
10996
10997
10998
10999
# File 'generated/google/apis/compute_beta/classes.rb', line 10994

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