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



10324
10325
10326
# File 'generated/google/apis/compute_alpha/classes.rb', line 10324

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

Instance Attribute Details

#creatingFixnum

[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)


10304
10305
10306
# File 'generated/google/apis/compute_alpha/classes.rb', line 10304

def creating
  @creating
end

#deletingFixnum

[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)


10310
10311
10312
# File 'generated/google/apis/compute_alpha/classes.rb', line 10310

def deleting
  @deleting
end

#recreatingFixnum

[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)


10316
10317
10318
# File 'generated/google/apis/compute_alpha/classes.rb', line 10316

def recreating
  @recreating
end

#restartingFixnum

[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)


10322
10323
10324
# File 'generated/google/apis/compute_alpha/classes.rb', line 10322

def restarting
  @restarting
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10329
10330
10331
10332
10333
10334
# File 'generated/google/apis/compute_alpha/classes.rb', line 10329

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