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.
3948 3949 3950 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3948 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
3946 3947 3948 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3946 def viewer_users @viewer_users end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3953 3954 3955 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3953 def update!(**args) @viewer_users = args[:viewer_users] if args.key?(:viewer_users) end |