Class: Google::Apis::ContainerV1beta1::NodePoolUpgradeConcurrencyConfig

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/container_v1beta1/classes.rb,
lib/google/apis/container_v1beta1/representations.rb,
lib/google/apis/container_v1beta1/representations.rb

Overview

NodePoolUpgradeConcurrencyConfig is the configuration for the node pool auto upgrade concurrency.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ NodePoolUpgradeConcurrencyConfig

Returns a new instance of NodePoolUpgradeConcurrencyConfig.



7919
7920
7921
# File 'lib/google/apis/container_v1beta1/classes.rb', line 7919

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

Instance Attribute Details

#max_countFixnum

If set, no more than max_count node pools can be upgraded concurrently. Corresponds to the JSON property maxCount

Returns:

  • (Fixnum)


7917
7918
7919
# File 'lib/google/apis/container_v1beta1/classes.rb', line 7917

def max_count
  @max_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7924
7925
7926
# File 'lib/google/apis/container_v1beta1/classes.rb', line 7924

def update!(**args)
  @max_count = args[:max_count] if args.key?(:max_count)
end