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.



7906
7907
7908
# File 'lib/google/apis/container_v1beta1/classes.rb', line 7906

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)


7904
7905
7906
# File 'lib/google/apis/container_v1beta1/classes.rb', line 7904

def max_count
  @max_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7911
7912
7913
# File 'lib/google/apis/container_v1beta1/classes.rb', line 7911

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