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.



1862
1863
1864
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1862

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



1860
1861
1862
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1860

def authorization
  @authorization
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1867
1868
1869
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1867

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