- 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 SearchTargetPolicyBindingsRequest.Builder extends GeneratedMessage.Builder<SearchTargetPolicyBindingsRequest.Builder> implements SearchTargetPolicyBindingsRequestOrBuilderRequest message for SearchTargetPolicyBindings method.
Protobuf type google.iam.v3beta.SearchTargetPolicyBindingsRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SearchTargetPolicyBindingsRequest.BuilderImplements
SearchTargetPolicyBindingsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public SearchTargetPolicyBindingsRequest build()| Returns | |
|---|---|
| Type | Description |
SearchTargetPolicyBindingsRequest |
|
buildPartial()
public SearchTargetPolicyBindingsRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
SearchTargetPolicyBindingsRequest |
|
clear()
public SearchTargetPolicyBindingsRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
SearchTargetPolicyBindingsRequest.Builder |
|
clearPageSize()
public SearchTargetPolicyBindingsRequest.Builder clearPageSize()Optional. The maximum number of policy bindings to return. The service may return fewer than this value.
If unspecified, at most 50 policy bindings will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SearchTargetPolicyBindingsRequest.Builder |
This builder for chaining. |
clearPageToken()
public SearchTargetPolicyBindingsRequest.Builder clearPageToken() Optional. A page token, received from a previous
SearchTargetPolicyBindingsRequest call. Provide this to retrieve the
subsequent page.
When paginating, all other parameters provided to
SearchTargetPolicyBindingsRequest must match the call that provided the
page token.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SearchTargetPolicyBindingsRequest.Builder |
This builder for chaining. |
clearParent()
public SearchTargetPolicyBindingsRequest.Builder clearParent()Required. The parent resource where this search will be performed. This should be the nearest Resource Manager resource (project, folder, or organization) to the target.
Format:
projects/{project_id}/locations/{location}projects/{project_number}/locations/{location}folders/{folder_id}/locations/{location}organizations/{organization_id}/locations/{location}
string parent = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
SearchTargetPolicyBindingsRequest.Builder |
This builder for chaining. |
clearTarget()
public SearchTargetPolicyBindingsRequest.Builder clearTarget()Required. The target resource, which is bound to the policy in the binding.
Format:
//iam.googleapis.com/locations/global/workforcePools/POOL_ID//iam.googleapis.com/projects/PROJECT_NUMBER/locations/global/workloadIdentityPools/POOL_ID//iam.googleapis.com/locations/global/workspace/WORKSPACE_ID//cloudresourcemanager.googleapis.com/projects/{project_number}//cloudresourcemanager.googleapis.com/folders/{folder_id}//cloudresourcemanager.googleapis.com/organizations/{organization_id}
string target = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SearchTargetPolicyBindingsRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public SearchTargetPolicyBindingsRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SearchTargetPolicyBindingsRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getPageSize()
public int getPageSize()Optional. The maximum number of policy bindings to return. The service may return fewer than this value.
If unspecified, at most 50 policy bindings will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The pageSize. |
getPageToken()
public String getPageToken() Optional. A page token, received from a previous
SearchTargetPolicyBindingsRequest call. Provide this to retrieve the
subsequent page.
When paginating, all other parameters provided to
SearchTargetPolicyBindingsRequest must match the call that provided the
page token.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The pageToken. |
getPageTokenBytes()
public ByteString getPageTokenBytes() Optional. A page token, received from a previous
SearchTargetPolicyBindingsRequest call. Provide this to retrieve the
subsequent page.
When paginating, all other parameters provided to
SearchTargetPolicyBindingsRequest must match the call that provided the
page token.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for pageToken. |
getParent()
public String getParent()Required. The parent resource where this search will be performed. This should be the nearest Resource Manager resource (project, folder, or organization) to the target.
Format:
projects/{project_id}/locations/{location}projects/{project_number}/locations/{location}folders/{folder_id}/locations/{location}organizations/{organization_id}/locations/{location}
string parent = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes()Required. The parent resource where this search will be performed. This should be the nearest Resource Manager resource (project, folder, or organization) to the target.
Format:
projects/{project_id}/locations/{location}projects/{project_number}/locations/{location}folders/{folder_id}/locations/{location}organizations/{organization_id}/locations/{location}
string parent = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
getTarget()
public String getTarget()Required. The target resource, which is bound to the policy in the binding.
Format:
//iam.googleapis.com/locations/global/workforcePools/POOL_ID//iam.googleapis.com/projects/PROJECT_NUMBER/locations/global/workloadIdentityPools/POOL_ID//iam.googleapis.com/locations/global/workspace/WORKSPACE_ID//cloudresourcemanager.googleapis.com/projects/{project_number}//cloudresourcemanager.googleapis.com/folders/{folder_id}//cloudresourcemanager.googleapis.com/organizations/{organization_id}
string target = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The target. |
getTargetBytes()
public ByteString getTargetBytes()Required. The target resource, which is bound to the policy in the binding.
Format:
//iam.googleapis.com/locations/global/workforcePools/POOL_ID//iam.googleapis.com/projects/PROJECT_NUMBER/locations/global/workloadIdentityPools/POOL_ID//iam.googleapis.com/locations/global/workspace/WORKSPACE_ID//cloudresourcemanager.googleapis.com/projects/{project_number}//cloudresourcemanager.googleapis.com/folders/{folder_id}//cloudresourcemanager.googleapis.com/organizations/{organization_id}
string target = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for target. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(SearchTargetPolicyBindingsRequest other)
public SearchTargetPolicyBindingsRequest.Builder mergeFrom(SearchTargetPolicyBindingsRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
SearchTargetPolicyBindingsRequest |
| Returns | |
|---|---|
| Type | Description |
SearchTargetPolicyBindingsRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SearchTargetPolicyBindingsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SearchTargetPolicyBindingsRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SearchTargetPolicyBindingsRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SearchTargetPolicyBindingsRequest.Builder |
|
setPageSize(int value)
public SearchTargetPolicyBindingsRequest.Builder setPageSize(int value)Optional. The maximum number of policy bindings to return. The service may return fewer than this value.
If unspecified, at most 50 policy bindings will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe pageSize to set. |
| Returns | |
|---|---|
| Type | Description |
SearchTargetPolicyBindingsRequest.Builder |
This builder for chaining. |
setPageToken(String value)
public SearchTargetPolicyBindingsRequest.Builder setPageToken(String value) Optional. A page token, received from a previous
SearchTargetPolicyBindingsRequest call. Provide this to retrieve the
subsequent page.
When paginating, all other parameters provided to
SearchTargetPolicyBindingsRequest must match the call that provided the
page token.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe pageToken to set. |
| Returns | |
|---|---|
| Type | Description |
SearchTargetPolicyBindingsRequest.Builder |
This builder for chaining. |
setPageTokenBytes(ByteString value)
public SearchTargetPolicyBindingsRequest.Builder setPageTokenBytes(ByteString value) Optional. A page token, received from a previous
SearchTargetPolicyBindingsRequest call. Provide this to retrieve the
subsequent page.
When paginating, all other parameters provided to
SearchTargetPolicyBindingsRequest must match the call that provided the
page token.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for pageToken to set. |
| Returns | |
|---|---|
| Type | Description |
SearchTargetPolicyBindingsRequest.Builder |
This builder for chaining. |
setParent(String value)
public SearchTargetPolicyBindingsRequest.Builder setParent(String value)Required. The parent resource where this search will be performed. This should be the nearest Resource Manager resource (project, folder, or organization) to the target.
Format:
projects/{project_id}/locations/{location}projects/{project_number}/locations/{location}folders/{folder_id}/locations/{location}organizations/{organization_id}/locations/{location}
string parent = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
SearchTargetPolicyBindingsRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public SearchTargetPolicyBindingsRequest.Builder setParentBytes(ByteString value)Required. The parent resource where this search will be performed. This should be the nearest Resource Manager resource (project, folder, or organization) to the target.
Format:
projects/{project_id}/locations/{location}projects/{project_number}/locations/{location}folders/{folder_id}/locations/{location}organizations/{organization_id}/locations/{location}
string parent = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
SearchTargetPolicyBindingsRequest.Builder |
This builder for chaining. |
setTarget(String value)
public SearchTargetPolicyBindingsRequest.Builder setTarget(String value)Required. The target resource, which is bound to the policy in the binding.
Format:
//iam.googleapis.com/locations/global/workforcePools/POOL_ID//iam.googleapis.com/projects/PROJECT_NUMBER/locations/global/workloadIdentityPools/POOL_ID//iam.googleapis.com/locations/global/workspace/WORKSPACE_ID//cloudresourcemanager.googleapis.com/projects/{project_number}//cloudresourcemanager.googleapis.com/folders/{folder_id}//cloudresourcemanager.googleapis.com/organizations/{organization_id}
string target = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe target to set. |
| Returns | |
|---|---|
| Type | Description |
SearchTargetPolicyBindingsRequest.Builder |
This builder for chaining. |
setTargetBytes(ByteString value)
public SearchTargetPolicyBindingsRequest.Builder setTargetBytes(ByteString value)Required. The target resource, which is bound to the policy in the binding.
Format:
//iam.googleapis.com/locations/global/workforcePools/POOL_ID//iam.googleapis.com/projects/PROJECT_NUMBER/locations/global/workloadIdentityPools/POOL_ID//iam.googleapis.com/locations/global/workspace/WORKSPACE_ID//cloudresourcemanager.googleapis.com/projects/{project_number}//cloudresourcemanager.googleapis.com/folders/{folder_id}//cloudresourcemanager.googleapis.com/organizations/{organization_id}
string target = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for target to set. |
| Returns | |
|---|---|
| Type | Description |
SearchTargetPolicyBindingsRequest.Builder |
This builder for chaining. |