Class: Google::Apis::GkeonpremV1::BareMetalAdminSecurityConfig

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 admin cluster.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BareMetalAdminSecurityConfig

Returns a new instance of BareMetalAdminSecurityConfig.



863
864
865
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 863

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



861
862
863
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 861

def authorization
  @authorization
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



868
869
870
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 868

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