Class: Google::Apis::ContainerV1::DataplaneV2Config

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

Overview

DataplaneV2Config is the configuration for DPv2.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DataplaneV2Config

Returns a new instance of DataplaneV2Config.



3298
3299
3300
# File 'lib/google/apis/container_v1/classes.rb', line 3298

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

Instance Attribute Details

#scalability_modeString

Optional. Scalability mode for the cluster. Corresponds to the JSON property scalabilityMode

Returns:

  • (String)


3296
3297
3298
# File 'lib/google/apis/container_v1/classes.rb', line 3296

def scalability_mode
  @scalability_mode
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3303
3304
3305
# File 'lib/google/apis/container_v1/classes.rb', line 3303

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