Class PolicyBindingsGrpc.PolicyBindingsStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<PolicyBindingsGrpc.PolicyBindingsStub>
com.google.iam.v3.PolicyBindingsGrpc.PolicyBindingsStub
Enclosing class:
PolicyBindingsGrpc

public static final class PolicyBindingsGrpc.PolicyBindingsStub extends io.grpc.stub.AbstractAsyncStub<PolicyBindingsGrpc.PolicyBindingsStub>
A stub to allow clients to do asynchronous rpc calls to service PolicyBindings.
 An interface for managing Identity and Access Management (IAM) policy
 bindings.
 
  • Method Details

    • build

      protected PolicyBindingsGrpc.PolicyBindingsStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<PolicyBindingsGrpc.PolicyBindingsStub>
    • createPolicyBinding

      public void createPolicyBinding(CreatePolicyBindingRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
       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 void getPolicyBinding(GetPolicyBindingRequest request, io.grpc.stub.StreamObserver<PolicyBinding> responseObserver)
       Gets a policy binding.
       
    • updatePolicyBinding

      public void updatePolicyBinding(UpdatePolicyBindingRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
       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 void deletePolicyBinding(DeletePolicyBindingRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
       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 void listPolicyBindings(ListPolicyBindingsRequest request, io.grpc.stub.StreamObserver<ListPolicyBindingsResponse> responseObserver)
       Lists policy bindings.
       
    • searchTargetPolicyBindings

      public void searchTargetPolicyBindings(SearchTargetPolicyBindingsRequest request, io.grpc.stub.StreamObserver<SearchTargetPolicyBindingsResponse> responseObserver)
       Search policy bindings by target. Returns all policy binding objects bound
       directly to target.