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.



1115
1116
1117
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1115

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



1108
1109
1110
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1108

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



1113
1114
1115
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1113

def control_plane_node_pool_config
  @control_plane_node_pool_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1120
1121
1122
1123
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1120

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