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.



16156
16157
16158
# File 'lib/google/apis/compute_alpha/classes.rb', line 16156

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)


16059
16060
16061
# File 'lib/google/apis/compute_alpha/classes.rb', line 16059

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)


16068
16069
16070
# File 'lib/google/apis/compute_alpha/classes.rb', line 16068

def creating
  @creating
end

#creating_atomicallyFixnum

[Output Only] The number of instances that the managed instance group will attempt to create atomically, in a batch mode. If the desired count of instances can not be created, entire batch will be deleted and the group will decrease its targetSize value accordingly. Corresponds to the JSON property creatingAtomically

Returns:

  • (Fixnum)


16076
16077
16078
# File 'lib/google/apis/compute_alpha/classes.rb', line 16076

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


16084
16085
16086
# File 'lib/google/apis/compute_alpha/classes.rb', line 16084

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)


16090
16091
16092
# File 'lib/google/apis/compute_alpha/classes.rb', line 16090

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)


16096
16097
16098
# File 'lib/google/apis/compute_alpha/classes.rb', line 16096

def none
  @none
end

#queuingFixnum

[Output Only] The number of instances that the managed instance group is currently queuing. Corresponds to the JSON property queuing

Returns:

  • (Fixnum)


16102
16103
16104
# File 'lib/google/apis/compute_alpha/classes.rb', line 16102

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


16110
16111
16112
# File 'lib/google/apis/compute_alpha/classes.rb', line 16110

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)


16117
16118
16119
# File 'lib/google/apis/compute_alpha/classes.rb', line 16117

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)


16123
16124
16125
# File 'lib/google/apis/compute_alpha/classes.rb', line 16123

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)


16129
16130
16131
# File 'lib/google/apis/compute_alpha/classes.rb', line 16129

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)


16135
16136
16137
# File 'lib/google/apis/compute_alpha/classes.rb', line 16135

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)


16141
16142
16143
# File 'lib/google/apis/compute_alpha/classes.rb', line 16141

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)


16147
16148
16149
# File 'lib/google/apis/compute_alpha/classes.rb', line 16147

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)


16154
16155
16156
# File 'lib/google/apis/compute_alpha/classes.rb', line 16154

def verifying
  @verifying
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16161
16162
16163
16164
16165
16166
16167
16168
16169
16170
16171
16172
16173
16174
16175
16176
16177
# File 'lib/google/apis/compute_alpha/classes.rb', line 16161

def update!(**args)
  @abandoning = args[:abandoning] if args.key?(:abandoning)
  @creating = args[:creating] if args.key?(:creating)
  @creating_atomically = args[:creating_atomically] if args.key?(:creating_atomically)
  @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)
  @queuing = args[:queuing] if args.key?(:queuing)
  @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