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.



1160
1161
1162
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1160

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



1153
1154
1155
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1153

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



1158
1159
1160
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1158

def control_plane_node_pool_config
  @control_plane_node_pool_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1165
1166
1167
1168
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1165

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