Class: Google::Apis::GkeonpremV1::VmwareAdminAuthorizationConfig

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_usersArray<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