Class AttachedClustersAuthorization.Builder (0.54.0)

public static final class AttachedClustersAuthorization.Builder extends GeneratedMessageV3.Builder<AttachedClustersAuthorization.Builder> implements AttachedClustersAuthorizationOrBuilder

Configuration related to the cluster RBAC settings.

Protobuf type google.cloud.gkemulticloud.v1.AttachedClustersAuthorization

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAdminGroups(AttachedClusterGroup value)

public AttachedClustersAuthorization.Builder addAdminGroups(AttachedClusterGroup value)

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

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

repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AttachedClusterGroup
Returns
Type Description
AttachedClustersAuthorization.Builder

addAdminGroups(AttachedClusterGroup.Builder builderForValue)

public AttachedClustersAuthorization.Builder addAdminGroups(AttachedClusterGroup.Builder builderForValue)

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

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

repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue AttachedClusterGroup.Builder
Returns
Type Description
AttachedClustersAuthorization.Builder

addAdminGroups(int index, AttachedClusterGroup value)

public AttachedClustersAuthorization.Builder addAdminGroups(int index, AttachedClusterGroup value)

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

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

repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value AttachedClusterGroup
Returns
Type Description
AttachedClustersAuthorization.Builder

addAdminGroups(int index, AttachedClusterGroup.Builder builderForValue)

public AttachedClustersAuthorization.Builder addAdminGroups(int index, AttachedClusterGroup.Builder builderForValue)

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

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

repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue AttachedClusterGroup.Builder
Returns
Type Description
AttachedClustersAuthorization.Builder

addAdminGroupsBuilder()

public AttachedClusterGroup.Builder addAdminGroupsBuilder()

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

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

repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AttachedClusterGroup.Builder

addAdminGroupsBuilder(int index)

public AttachedClusterGroup.Builder addAdminGroupsBuilder(int index)

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

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

repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AttachedClusterGroup.Builder

addAdminUsers(AttachedClusterUser value)

public AttachedClustersAuthorization.Builder addAdminUsers(AttachedClusterUser value)

Optional. 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

repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AttachedClusterUser
Returns
Type Description
AttachedClustersAuthorization.Builder

addAdminUsers(AttachedClusterUser.Builder builderForValue)

public AttachedClustersAuthorization.Builder addAdminUsers(AttachedClusterUser.Builder builderForValue)

Optional. 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

repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue AttachedClusterUser.Builder
Returns
Type Description
AttachedClustersAuthorization.Builder

addAdminUsers(int index, AttachedClusterUser value)

public AttachedClustersAuthorization.Builder addAdminUsers(int index, AttachedClusterUser value)

Optional. 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

repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value AttachedClusterUser
Returns
Type Description
AttachedClustersAuthorization.Builder

addAdminUsers(int index, AttachedClusterUser.Builder builderForValue)

public AttachedClustersAuthorization.Builder addAdminUsers(int index, AttachedClusterUser.Builder builderForValue)

Optional. 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

repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue AttachedClusterUser.Builder
Returns
Type Description
AttachedClustersAuthorization.Builder

addAdminUsersBuilder()

public AttachedClusterUser.Builder addAdminUsersBuilder()

Optional. 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

repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AttachedClusterUser.Builder

addAdminUsersBuilder(int index)

public AttachedClusterUser.Builder addAdminUsersBuilder(int index)

Optional. 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

repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AttachedClusterUser.Builder

addAllAdminGroups(Iterable<? extends AttachedClusterGroup> values)

public AttachedClustersAuthorization.Builder addAllAdminGroups(Iterable<? extends AttachedClusterGroup> values)

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

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

repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.cloud.gkemulticloud.v1.AttachedClusterGroup>
Returns
Type Description
AttachedClustersAuthorization.Builder

addAllAdminUsers(Iterable<? extends AttachedClusterUser> values)

public AttachedClustersAuthorization.Builder addAllAdminUsers(Iterable<? extends AttachedClusterUser> values)

Optional. 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

repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.cloud.gkemulticloud.v1.AttachedClusterUser>
Returns
Type Description
AttachedClustersAuthorization.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AttachedClustersAuthorization.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AttachedClustersAuthorization.Builder
Overrides

build()

public AttachedClustersAuthorization build()
Returns
Type Description
AttachedClustersAuthorization

buildPartial()

public AttachedClustersAuthorization buildPartial()
Returns
Type Description
AttachedClustersAuthorization

clear()

public AttachedClustersAuthorization.Builder clear()
Returns
Type Description
AttachedClustersAuthorization.Builder
Overrides

clearAdminGroups()

public AttachedClustersAuthorization.Builder clearAdminGroups()

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

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

repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AttachedClustersAuthorization.Builder

clearAdminUsers()

public AttachedClustersAuthorization.Builder clearAdminUsers()

Optional. 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

repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AttachedClustersAuthorization.Builder

clearField(Descriptors.FieldDescriptor field)

public AttachedClustersAuthorization.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AttachedClustersAuthorization.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AttachedClustersAuthorization.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AttachedClustersAuthorization.Builder
Overrides

clone()

public AttachedClustersAuthorization.Builder clone()
Returns
Type Description
AttachedClustersAuthorization.Builder
Overrides

getAdminGroups(int index)

public AttachedClusterGroup getAdminGroups(int index)

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

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

repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AttachedClusterGroup

getAdminGroupsBuilder(int index)

public AttachedClusterGroup.Builder getAdminGroupsBuilder(int index)

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

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

repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AttachedClusterGroup.Builder

getAdminGroupsBuilderList()

public List<AttachedClusterGroup.Builder> getAdminGroupsBuilderList()

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

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

repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getAdminGroupsCount()

public int getAdminGroupsCount()

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

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

repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getAdminGroupsList()

public List<AttachedClusterGroup> getAdminGroupsList()

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

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

repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<AttachedClusterGroup>

getAdminGroupsOrBuilder(int index)

public AttachedClusterGroupOrBuilder getAdminGroupsOrBuilder(int index)

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

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

repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AttachedClusterGroupOrBuilder

getAdminGroupsOrBuilderList()

public List<? extends AttachedClusterGroupOrBuilder> getAdminGroupsOrBuilderList()

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

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

repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.gkemulticloud.v1.AttachedClusterGroupOrBuilder>

getAdminUsers(int index)

public AttachedClusterUser getAdminUsers(int index)

Optional. 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

repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AttachedClusterUser

getAdminUsersBuilder(int index)

public AttachedClusterUser.Builder getAdminUsersBuilder(int index)

Optional. 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

repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AttachedClusterUser.Builder

getAdminUsersBuilderList()

public List<AttachedClusterUser.Builder> getAdminUsersBuilderList()

Optional. 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

repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getAdminUsersCount()

public int getAdminUsersCount()

Optional. 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

repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getAdminUsersList()

public List<AttachedClusterUser> getAdminUsersList()

Optional. 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

repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<AttachedClusterUser>

getAdminUsersOrBuilder(int index)

public AttachedClusterUserOrBuilder getAdminUsersOrBuilder(int index)

Optional. 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

repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AttachedClusterUserOrBuilder

getAdminUsersOrBuilderList()

public List<? extends AttachedClusterUserOrBuilder> getAdminUsersOrBuilderList()

Optional. 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

repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.gkemulticloud.v1.AttachedClusterUserOrBuilder>

getDefaultInstanceForType()

public AttachedClustersAuthorization getDefaultInstanceForType()
Returns
Type Description
AttachedClustersAuthorization

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AttachedClustersAuthorization other)

public AttachedClustersAuthorization.Builder mergeFrom(AttachedClustersAuthorization other)
Parameter
Name Description
other AttachedClustersAuthorization
Returns
Type Description
AttachedClustersAuthorization.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AttachedClustersAuthorization.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AttachedClustersAuthorization.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AttachedClustersAuthorization.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AttachedClustersAuthorization.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AttachedClustersAuthorization.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AttachedClustersAuthorization.Builder
Overrides

removeAdminGroups(int index)

public AttachedClustersAuthorization.Builder removeAdminGroups(int index)

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

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

repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AttachedClustersAuthorization.Builder

removeAdminUsers(int index)

public AttachedClustersAuthorization.Builder removeAdminUsers(int index)

Optional. 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

repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AttachedClustersAuthorization.Builder

setAdminGroups(int index, AttachedClusterGroup value)

public AttachedClustersAuthorization.Builder setAdminGroups(int index, AttachedClusterGroup value)

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

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

repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value AttachedClusterGroup
Returns
Type Description
AttachedClustersAuthorization.Builder

setAdminGroups(int index, AttachedClusterGroup.Builder builderForValue)

public AttachedClustersAuthorization.Builder setAdminGroups(int index, AttachedClusterGroup.Builder builderForValue)

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

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

repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue AttachedClusterGroup.Builder
Returns
Type Description
AttachedClustersAuthorization.Builder

setAdminUsers(int index, AttachedClusterUser value)

public AttachedClustersAuthorization.Builder setAdminUsers(int index, AttachedClusterUser value)

Optional. 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

repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value AttachedClusterUser
Returns
Type Description
AttachedClustersAuthorization.Builder

setAdminUsers(int index, AttachedClusterUser.Builder builderForValue)

public AttachedClustersAuthorization.Builder setAdminUsers(int index, AttachedClusterUser.Builder builderForValue)

Optional. 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

repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue AttachedClusterUser.Builder
Returns
Type Description
AttachedClustersAuthorization.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AttachedClustersAuthorization.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AttachedClustersAuthorization.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AttachedClustersAuthorization.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AttachedClustersAuthorization.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AttachedClustersAuthorization.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AttachedClustersAuthorization.Builder
Overrides