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.



1961
1962
1963
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1961

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



1959
1960
1961
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1959

def authorization
  @authorization
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1966
1967
1968
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1966

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