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.



8001
8002
8003
# File 'lib/google/apis/container_v1beta1/classes.rb', line 8001

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)


7999
8000
8001
# File 'lib/google/apis/container_v1beta1/classes.rb', line 7999

def max_count
  @max_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8006
8007
8008
# File 'lib/google/apis/container_v1beta1/classes.rb', line 8006

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