Class: Google::Apis::ContainerV1beta1::DataplaneV2Config
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1beta1::DataplaneV2Config
- 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
DataplaneV2Config is the configuration for DPv2.
Instance Attribute Summary collapse
-
#scalability_mode ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DataplaneV2Config
constructor
A new instance of DataplaneV2Config.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DataplaneV2Config
Returns a new instance of DataplaneV2Config.
3622 3623 3624 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 3622 def initialize(**args) update!(**args) end |
Instance Attribute Details
#scalability_mode ⇒ String
Optional. Scalability mode for the cluster.
Corresponds to the JSON property scalabilityMode
3620 3621 3622 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 3620 def scalability_mode @scalability_mode end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3627 3628 3629 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 3627 def update!(**args) @scalability_mode = args[:scalability_mode] if args.key?(:scalability_mode) end |