Class: Google::Apis::GkeonpremV1::BareMetalAdminSecurityConfig
- Inherits:
-
Object
- Object
- Google::Apis::GkeonpremV1::BareMetalAdminSecurityConfig
- 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
-
#authorization ⇒ Google::Apis::GkeonpremV1::Authorization
Authorization defines the On-Prem cluster authorization configuration to bootstrap onto the admin cluster.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BareMetalAdminSecurityConfig
constructor
A new instance of BareMetalAdminSecurityConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BareMetalAdminSecurityConfig
Returns a new instance of BareMetalAdminSecurityConfig.
672 673 674 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 672 def initialize(**args) update!(**args) end |
Instance Attribute Details
#authorization ⇒ Google::Apis::GkeonpremV1::Authorization
Authorization defines the On-Prem cluster authorization configuration to
bootstrap onto the admin cluster.
Corresponds to the JSON property authorization
670 671 672 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 670 def @authorization end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
677 678 679 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 677 def update!(**args) @authorization = args[:authorization] if args.key?(:authorization) end |