Class AttachedClustersAuthorization.Builder (0.32.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
TypeDescription
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
NameDescription
valueAttachedClusterGroup
Returns
TypeDescription
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
NameDescription
builderForValueAttachedClusterGroup.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueAttachedClusterGroup
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAttachedClusterGroup.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueAttachedClusterUser
Returns
TypeDescription
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
NameDescription
builderForValueAttachedClusterUser.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueAttachedClusterUser
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAttachedClusterUser.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.gkemulticloud.v1.AttachedClusterGroup>
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.gkemulticloud.v1.AttachedClusterUser>
Returns
TypeDescription
AttachedClustersAuthorization.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AttachedClustersAuthorization.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AttachedClustersAuthorization.Builder
Overrides

build()

public AttachedClustersAuthorization build()
Returns
TypeDescription
AttachedClustersAuthorization

buildPartial()

public AttachedClustersAuthorization buildPartial()
Returns
TypeDescription
AttachedClustersAuthorization

clear()

public AttachedClustersAuthorization.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
AttachedClustersAuthorization.Builder

clearField(Descriptors.FieldDescriptor field)

public AttachedClustersAuthorization.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AttachedClustersAuthorization.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AttachedClustersAuthorization.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AttachedClustersAuthorization.Builder
Overrides

clone()

public AttachedClustersAuthorization.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.gkemulticloud.v1.AttachedClusterUserOrBuilder>

getDefaultInstanceForType()

public AttachedClustersAuthorization getDefaultInstanceForType()
Returns
TypeDescription
AttachedClustersAuthorization

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AttachedClustersAuthorization other)

public AttachedClustersAuthorization.Builder mergeFrom(AttachedClustersAuthorization other)
Parameter
NameDescription
otherAttachedClustersAuthorization
Returns
TypeDescription
AttachedClustersAuthorization.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AttachedClustersAuthorization.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AttachedClustersAuthorization.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AttachedClustersAuthorization.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AttachedClustersAuthorization.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AttachedClustersAuthorization.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueAttachedClusterGroup
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAttachedClusterGroup.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueAttachedClusterUser
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAttachedClusterUser.Builder
Returns
TypeDescription
AttachedClustersAuthorization.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AttachedClustersAuthorization.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AttachedClustersAuthorization.Builder
Overrides

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

public AttachedClustersAuthorization.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AttachedClustersAuthorization.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AttachedClustersAuthorization.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AttachedClustersAuthorization.Builder
Overrides