Class: Google::Apis::GkeonpremV1::BareMetalControlPlaneConfig

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

Overview

Specifies the control plane configuration.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BareMetalControlPlaneConfig

Returns a new instance of BareMetalControlPlaneConfig.



1351
1352
1353
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1351

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

Instance Attribute Details

#api_server_argsArray<Google::Apis::GkeonpremV1::BareMetalApiServerArgument>

Customizes the default API server args. Only a subset of customized flags are supported. For the exact format, refer to the API server documentation. Corresponds to the JSON property apiServerArgs



1344
1345
1346
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1344

def api_server_args
  @api_server_args
end

#control_plane_node_pool_configGoogle::Apis::GkeonpremV1::BareMetalControlPlaneNodePoolConfig

Specifies the control plane node pool configuration. Corresponds to the JSON property controlPlaneNodePoolConfig



1349
1350
1351
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1349

def control_plane_node_pool_config
  @control_plane_node_pool_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1356
1357
1358
1359
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1356

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