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.
3743 3744 3745 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3743 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
3741 3742 3743 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3741 def viewer_users @viewer_users end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3748 3749 3750 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3748 def update!(**args) @viewer_users = args[:viewer_users] if args.key?(:viewer_users) end |