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



9678
9679
9680
# File 'generated/google/apis/compute_beta/classes.rb', line 9678

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)


9658
9659
9660
# File 'generated/google/apis/compute_beta/classes.rb', line 9658

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)


9664
9665
9666
# File 'generated/google/apis/compute_beta/classes.rb', line 9664

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)


9670
9671
9672
# File 'generated/google/apis/compute_beta/classes.rb', line 9670

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)


9676
9677
9678
# File 'generated/google/apis/compute_beta/classes.rb', line 9676

def restarting
  @restarting
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9683
9684
9685
9686
9687
9688
# File 'generated/google/apis/compute_beta/classes.rb', line 9683

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