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
more...

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.

[View source]

678
679
680
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 678

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


676
677
678
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 676

def authorization
  @authorization
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object

[View source]

683
684
685
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 683

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