Package com.google.iam.v3
Class PolicyBindingsGrpc.PolicyBindingsFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<PolicyBindingsGrpc.PolicyBindingsFutureStub>
com.google.iam.v3.PolicyBindingsGrpc.PolicyBindingsFutureStub
- Enclosing class:
- PolicyBindingsGrpc
public static final class PolicyBindingsGrpc.PolicyBindingsFutureStub
extends io.grpc.stub.AbstractFutureStub<PolicyBindingsGrpc.PolicyBindingsFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service PolicyBindings.
An interface for managing Identity and Access Management (IAM) policy bindings.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<Operation>Creates a policy binding and returns a long-running operation.com.google.common.util.concurrent.ListenableFuture<Operation>Deletes a policy binding and returns a long-running operation.com.google.common.util.concurrent.ListenableFuture<PolicyBinding>getPolicyBinding(GetPolicyBindingRequest request) Gets a policy binding.com.google.common.util.concurrent.ListenableFuture<ListPolicyBindingsResponse>Lists policy bindings.com.google.common.util.concurrent.ListenableFuture<SearchTargetPolicyBindingsResponse>Search policy bindings by target.com.google.common.util.concurrent.ListenableFuture<Operation>Updates a policy binding and returns a long-running operation.Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected PolicyBindingsGrpc.PolicyBindingsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<PolicyBindingsGrpc.PolicyBindingsFutureStub>
-
createPolicyBinding
public com.google.common.util.concurrent.ListenableFuture<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.
-
getPolicyBinding
public com.google.common.util.concurrent.ListenableFuture<PolicyBinding> getPolicyBinding(GetPolicyBindingRequest request) Gets a policy binding.
-
updatePolicyBinding
public com.google.common.util.concurrent.ListenableFuture<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.
-
deletePolicyBinding
public com.google.common.util.concurrent.ListenableFuture<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.
-
listPolicyBindings
public com.google.common.util.concurrent.ListenableFuture<ListPolicyBindingsResponse> listPolicyBindings(ListPolicyBindingsRequest request) Lists policy bindings.
-
searchTargetPolicyBindings
public com.google.common.util.concurrent.ListenableFuture<SearchTargetPolicyBindingsResponse> searchTargetPolicyBindings(SearchTargetPolicyBindingsRequest request) Search policy bindings by target. Returns all policy binding objects bound directly to target.
-