- 1.60.0 (latest)
- 1.59.1
- 1.58.2
- 1.57.0
- 1.56.3
- 1.55.0
- 1.54.2
- 1.53.0
- 1.52.0
- 1.51.0
- 1.49.1
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.1
- 1.44.0
- 1.43.0
- 1.41.0
- 1.40.1
- 1.39.0
- 1.38.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.1
- 1.33.0
- 1.32.1
- 1.31.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.1
- 1.19.0
- 1.18.1
- 1.17.1
- 1.16.1
- 1.10.0
- 1.9.3
- 1.8.0
- 1.7.0
- 1.6.23
- 1.5.1
- 1.4.1
- 1.3.4
- 1.2.12
public static final class PolicyBinding.Target.Builder extends GeneratedMessage.Builder<PolicyBinding.Target.Builder> implements PolicyBinding.TargetOrBuilderTarget is the full resource name of the resource to which the policy will be bound. Immutable once set.
Protobuf type google.iam.v3beta.PolicyBinding.Target
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > PolicyBinding.Target.BuilderImplements
PolicyBinding.TargetOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public PolicyBinding.Target build()| Returns | |
|---|---|
| Type | Description |
PolicyBinding.Target |
|
buildPartial()
public PolicyBinding.Target buildPartial()| Returns | |
|---|---|
| Type | Description |
PolicyBinding.Target |
|
clear()
public PolicyBinding.Target.Builder clear()| Returns | |
|---|---|
| Type | Description |
PolicyBinding.Target.Builder |
|
clearPrincipalSet()
public PolicyBinding.Target.Builder clearPrincipalSet()Immutable. Full Resource Name used for principal access boundary policy bindings. The principal set must be directly parented by the policy binding's parent or same as the parent if the target is a project/folder/organization.
Examples:
- For binding's parented by an organization:
- Organization:
//cloudresourcemanager.googleapis.com/organizations/ORGANIZATION_ID - Workforce Identity:
//iam.googleapis.com/locations/global/workforcePools/WORKFORCE_POOL_ID - Workspace Identity:
//iam.googleapis.com/locations/global/workspace/WORKSPACE_ID - For binding's parented by a folder:
- Folder:
//cloudresourcemanager.googleapis.com/folders/FOLDER_ID - For binding's parented by a project:
- Project:
//cloudresourcemanager.googleapis.com/projects/PROJECT_NUMBER//cloudresourcemanager.googleapis.com/projects/PROJECT_ID- Workload Identity Pool:
//iam.googleapis.com/projects/PROJECT_NUMBER/locations/LOCATION/workloadIdentityPools/WORKLOAD_POOL_ID
string principal_set = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
PolicyBinding.Target.Builder |
This builder for chaining. |
clearTarget()
public PolicyBinding.Target.Builder clearTarget()| Returns | |
|---|---|
| Type | Description |
PolicyBinding.Target.Builder |
|
getDefaultInstanceForType()
public PolicyBinding.Target getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
PolicyBinding.Target |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getPrincipalSet()
public String getPrincipalSet()Immutable. Full Resource Name used for principal access boundary policy bindings. The principal set must be directly parented by the policy binding's parent or same as the parent if the target is a project/folder/organization.
Examples:
- For binding's parented by an organization:
- Organization:
//cloudresourcemanager.googleapis.com/organizations/ORGANIZATION_ID - Workforce Identity:
//iam.googleapis.com/locations/global/workforcePools/WORKFORCE_POOL_ID - Workspace Identity:
//iam.googleapis.com/locations/global/workspace/WORKSPACE_ID - For binding's parented by a folder:
- Folder:
//cloudresourcemanager.googleapis.com/folders/FOLDER_ID - For binding's parented by a project:
- Project:
//cloudresourcemanager.googleapis.com/projects/PROJECT_NUMBER//cloudresourcemanager.googleapis.com/projects/PROJECT_ID- Workload Identity Pool:
//iam.googleapis.com/projects/PROJECT_NUMBER/locations/LOCATION/workloadIdentityPools/WORKLOAD_POOL_ID
string principal_set = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
String |
The principalSet. |
getPrincipalSetBytes()
public ByteString getPrincipalSetBytes()Immutable. Full Resource Name used for principal access boundary policy bindings. The principal set must be directly parented by the policy binding's parent or same as the parent if the target is a project/folder/organization.
Examples:
- For binding's parented by an organization:
- Organization:
//cloudresourcemanager.googleapis.com/organizations/ORGANIZATION_ID - Workforce Identity:
//iam.googleapis.com/locations/global/workforcePools/WORKFORCE_POOL_ID - Workspace Identity:
//iam.googleapis.com/locations/global/workspace/WORKSPACE_ID - For binding's parented by a folder:
- Folder:
//cloudresourcemanager.googleapis.com/folders/FOLDER_ID - For binding's parented by a project:
- Project:
//cloudresourcemanager.googleapis.com/projects/PROJECT_NUMBER//cloudresourcemanager.googleapis.com/projects/PROJECT_ID- Workload Identity Pool:
//iam.googleapis.com/projects/PROJECT_NUMBER/locations/LOCATION/workloadIdentityPools/WORKLOAD_POOL_ID
string principal_set = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for principalSet. |
getTargetCase()
public PolicyBinding.Target.TargetCase getTargetCase()| Returns | |
|---|---|
| Type | Description |
PolicyBinding.Target.TargetCase |
|
hasPrincipalSet()
public boolean hasPrincipalSet()Immutable. Full Resource Name used for principal access boundary policy bindings. The principal set must be directly parented by the policy binding's parent or same as the parent if the target is a project/folder/organization.
Examples:
- For binding's parented by an organization:
- Organization:
//cloudresourcemanager.googleapis.com/organizations/ORGANIZATION_ID - Workforce Identity:
//iam.googleapis.com/locations/global/workforcePools/WORKFORCE_POOL_ID - Workspace Identity:
//iam.googleapis.com/locations/global/workspace/WORKSPACE_ID - For binding's parented by a folder:
- Folder:
//cloudresourcemanager.googleapis.com/folders/FOLDER_ID - For binding's parented by a project:
- Project:
//cloudresourcemanager.googleapis.com/projects/PROJECT_NUMBER//cloudresourcemanager.googleapis.com/projects/PROJECT_ID- Workload Identity Pool:
//iam.googleapis.com/projects/PROJECT_NUMBER/locations/LOCATION/workloadIdentityPools/WORKLOAD_POOL_ID
string principal_set = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the principalSet field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(PolicyBinding.Target other)
public PolicyBinding.Target.Builder mergeFrom(PolicyBinding.Target other)| Parameter | |
|---|---|
| Name | Description |
other |
PolicyBinding.Target |
| Returns | |
|---|---|
| Type | Description |
PolicyBinding.Target.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PolicyBinding.Target.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PolicyBinding.Target.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public PolicyBinding.Target.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
PolicyBinding.Target.Builder |
|
setPrincipalSet(String value)
public PolicyBinding.Target.Builder setPrincipalSet(String value)Immutable. Full Resource Name used for principal access boundary policy bindings. The principal set must be directly parented by the policy binding's parent or same as the parent if the target is a project/folder/organization.
Examples:
- For binding's parented by an organization:
- Organization:
//cloudresourcemanager.googleapis.com/organizations/ORGANIZATION_ID - Workforce Identity:
//iam.googleapis.com/locations/global/workforcePools/WORKFORCE_POOL_ID - Workspace Identity:
//iam.googleapis.com/locations/global/workspace/WORKSPACE_ID - For binding's parented by a folder:
- Folder:
//cloudresourcemanager.googleapis.com/folders/FOLDER_ID - For binding's parented by a project:
- Project:
//cloudresourcemanager.googleapis.com/projects/PROJECT_NUMBER//cloudresourcemanager.googleapis.com/projects/PROJECT_ID- Workload Identity Pool:
//iam.googleapis.com/projects/PROJECT_NUMBER/locations/LOCATION/workloadIdentityPools/WORKLOAD_POOL_ID
string principal_set = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe principalSet to set. |
| Returns | |
|---|---|
| Type | Description |
PolicyBinding.Target.Builder |
This builder for chaining. |
setPrincipalSetBytes(ByteString value)
public PolicyBinding.Target.Builder setPrincipalSetBytes(ByteString value)Immutable. Full Resource Name used for principal access boundary policy bindings. The principal set must be directly parented by the policy binding's parent or same as the parent if the target is a project/folder/organization.
Examples:
- For binding's parented by an organization:
- Organization:
//cloudresourcemanager.googleapis.com/organizations/ORGANIZATION_ID - Workforce Identity:
//iam.googleapis.com/locations/global/workforcePools/WORKFORCE_POOL_ID - Workspace Identity:
//iam.googleapis.com/locations/global/workspace/WORKSPACE_ID - For binding's parented by a folder:
- Folder:
//cloudresourcemanager.googleapis.com/folders/FOLDER_ID - For binding's parented by a project:
- Project:
//cloudresourcemanager.googleapis.com/projects/PROJECT_NUMBER//cloudresourcemanager.googleapis.com/projects/PROJECT_ID- Workload Identity Pool:
//iam.googleapis.com/projects/PROJECT_NUMBER/locations/LOCATION/workloadIdentityPools/WORKLOAD_POOL_ID
string principal_set = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for principalSet to set. |
| Returns | |
|---|---|
| Type | Description |
PolicyBinding.Target.Builder |
This builder for chaining. |