Class: Google::Apis::GkeonpremV1::BareMetalSecurityConfig

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 security related settings for the bare metal user cluster.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BareMetalSecurityConfig

Returns a new instance of BareMetalSecurityConfig.



2152
2153
2154
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 2152

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

Instance Attribute Details

#authorizationGoogle::Apis::GkeonpremV1::Authorization

Authorization defines the On-Prem cluster authorization configuration to bootstrap onto the admin cluster. Corresponds to the JSON property authorization



2150
2151
2152
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 2150

def authorization
  @authorization
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2157
2158
2159
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 2157

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