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.
863 864 865 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 863 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
861 862 863 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 861 def 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) = args[:authorization] if args.key?(:authorization) end |