Class: Google::Apis::GkeonpremV1::Authorization
- Inherits:
-
Object
- Object
- Google::Apis::GkeonpremV1::Authorization
- 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
Authorization defines the On-Prem cluster authorization configuration to bootstrap onto the admin cluster.
Instance Attribute Summary collapse
-
#admin_users ⇒ Array<Google::Apis::GkeonpremV1::ClusterUser>
For VMware and bare metal user clusters, users will be granted the cluster- admin role on the cluster, which provides full administrative access to the cluster.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Authorization
constructor
A new instance of Authorization.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Authorization
Returns a new instance of Authorization.
38 39 40 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 38 def initialize(**args) update!(**args) end |
Instance Attribute Details
#admin_users ⇒ Array<Google::Apis::GkeonpremV1::ClusterUser>
For VMware and bare metal user clusters, users will be granted the cluster-
admin role on the cluster, which provides full administrative access to the
cluster. For bare metal admin clusters, users will be granted the cluster-view
role, which limits users to read-only access.
Corresponds to the JSON property adminUsers
36 37 38 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 36 def admin_users @admin_users end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
43 44 45 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 43 def update!(**args) @admin_users = args[:admin_users] if args.key?(:admin_users) end |