Google Anthos Multi Cloud V1 Client - Class AttachedClustersAuthorization (0.4.4)

Reference documentation and code samples for the Google Anthos Multi Cloud V1 Client class AttachedClustersAuthorization.

Configuration related to the cluster RBAC settings.

Generated from protobuf message google.cloud.gkemulticloud.v1.AttachedClustersAuthorization

Namespace

Google \ Cloud \ GkeMultiCloud \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ admin_users array<Google\Cloud\GkeMultiCloud\V1\AttachedClusterUser>

Required. Users that can perform operations as a cluster admin. A managed ClusterRoleBinding will be created to grant the cluster-admin ClusterRole to the users. Up to ten admin users can be provided. For more info on RBAC, see https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles

getAdminUsers

Required. Users that can perform operations as a cluster admin. A managed ClusterRoleBinding will be created to grant the cluster-admin ClusterRole to the users. Up to ten admin users can be provided.

For more info on RBAC, see https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setAdminUsers

Required. Users that can perform operations as a cluster admin. A managed ClusterRoleBinding will be created to grant the cluster-admin ClusterRole to the users. Up to ten admin users can be provided.

For more info on RBAC, see https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles

Parameter
NameDescription
var array<Google\Cloud\GkeMultiCloud\V1\AttachedClusterUser>
Returns
TypeDescription
$this