Class: Google::Apis::GkeonpremV1::VmwareAdminAuthorizationConfig
- Inherits:
-
Object
- Object
- Google::Apis::GkeonpremV1::VmwareAdminAuthorizationConfig
- 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
VmwareAdminAuthorizationConfig represents configuration for admin cluster authorization.
Instance Attribute Summary collapse
-
#viewer_users ⇒ Array<Google::Apis::GkeonpremV1::ClusterUser>
For VMware admin clusters, users will be granted the cluster-viewer role on the cluster.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VmwareAdminAuthorizationConfig
constructor
A new instance of VmwareAdminAuthorizationConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VmwareAdminAuthorizationConfig
Returns a new instance of VmwareAdminAuthorizationConfig.
3651 3652 3653 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3651 def initialize(**args) update!(**args) end |
Instance Attribute Details
#viewer_users ⇒ Array<Google::Apis::GkeonpremV1::ClusterUser>
For VMware admin clusters, users will be granted the cluster-viewer role on
the cluster.
Corresponds to the JSON property viewerUsers
3649 3650 3651 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3649 def viewer_users @viewer_users end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3656 3657 3658 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3656 def update!(**args) @viewer_users = args[:viewer_users] if args.key?(:viewer_users) end |