Interface PolicyBindingsGrpc.AsyncService

All Known Implementing Classes:
PolicyBindingsGrpc.PolicyBindingsImplBase
Enclosing class:
PolicyBindingsGrpc

public static interface PolicyBindingsGrpc.AsyncService
 An interface for managing Identity and Access Management (IAM) policy
 bindings.
 
  • Method Details

    • createPolicyBinding

      default 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

      default void getPolicyBinding(GetPolicyBindingRequest request, io.grpc.stub.StreamObserver<PolicyBinding> responseObserver)
       Gets a policy binding.
       
    • updatePolicyBinding

      default 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

      default 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

      default void listPolicyBindings(ListPolicyBindingsRequest request, io.grpc.stub.StreamObserver<ListPolicyBindingsResponse> responseObserver)
       Lists policy bindings.
       
    • searchTargetPolicyBindings

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