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.



3743
3744
3745
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3743

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



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