public static final class PolicyBindingsGrpc.PolicyBindingsBlockingV2Stub extends AbstractBlockingStub<PolicyBindingsGrpc.PolicyBindingsBlockingV2Stub>A stub to allow clients to do synchronous rpc calls to service PolicyBindings.
An interface for managing Identity and Access Management (IAM) policy bindings.
Inheritance
java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > PolicyBindingsGrpc.PolicyBindingsBlockingV2StubMethods
build(Channel channel, CallOptions callOptions)
protected PolicyBindingsGrpc.PolicyBindingsBlockingV2Stub build(Channel channel, CallOptions callOptions)| Parameters | |
|---|---|
| Name | Description |
channel |
io.grpc.Channel |
callOptions |
io.grpc.CallOptions |
| Returns | |
|---|---|
| Type | Description |
PolicyBindingsGrpc.PolicyBindingsBlockingV2Stub |
|
createPolicyBinding(CreatePolicyBindingRequest request)
public Operation createPolicyBinding(CreatePolicyBindingRequest request)Creates a policy binding and returns a long-running operation. Callers will need the IAM permissions on both the policy and target. Once the binding is created, the policy is applied to the target.
| Parameter | |
|---|---|
| Name | Description |
request |
CreatePolicyBindingRequest |
| Returns | |
|---|---|
| Type | Description |
Operation |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
deletePolicyBinding(DeletePolicyBindingRequest request)
public Operation deletePolicyBinding(DeletePolicyBindingRequest request)Deletes a policy binding and returns a long-running operation. Callers will need the IAM permissions on both the policy and target. Once the binding is deleted, the policy no longer applies to the target.
| Parameter | |
|---|---|
| Name | Description |
request |
DeletePolicyBindingRequest |
| Returns | |
|---|---|
| Type | Description |
Operation |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
getPolicyBinding(GetPolicyBindingRequest request)
public PolicyBinding getPolicyBinding(GetPolicyBindingRequest request)Gets a policy binding.
| Parameter | |
|---|---|
| Name | Description |
request |
GetPolicyBindingRequest |
| Returns | |
|---|---|
| Type | Description |
PolicyBinding |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
listPolicyBindings(ListPolicyBindingsRequest request)
public ListPolicyBindingsResponse listPolicyBindings(ListPolicyBindingsRequest request)Lists policy bindings.
| Parameter | |
|---|---|
| Name | Description |
request |
ListPolicyBindingsRequest |
| Returns | |
|---|---|
| Type | Description |
ListPolicyBindingsResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
searchTargetPolicyBindings(SearchTargetPolicyBindingsRequest request)
public SearchTargetPolicyBindingsResponse searchTargetPolicyBindings(SearchTargetPolicyBindingsRequest request)Search policy bindings by target. Returns all policy binding objects bound directly to target.
| Parameter | |
|---|---|
| Name | Description |
request |
SearchTargetPolicyBindingsRequest |
| Returns | |
|---|---|
| Type | Description |
SearchTargetPolicyBindingsResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
updatePolicyBinding(UpdatePolicyBindingRequest request)
public Operation updatePolicyBinding(UpdatePolicyBindingRequest request)Updates a policy binding and returns a long-running operation. Callers will need the IAM permissions on the policy and target in the binding to update, and the IAM permission to remove the existing policy from the binding. Target is immutable and cannot be updated. Once the binding is updated, the new policy is applied to the target.
| Parameter | |
|---|---|
| Name | Description |
request |
UpdatePolicyBindingRequest |
| Returns | |
|---|---|
| Type | Description |
Operation |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|