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 more...
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.
678 679 680 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 678 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
676 677 678 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 676 def @authorization end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
683 684 685 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 683 def update!(**args) @authorization = args[:authorization] if args.key?(:authorization) end |