Class PolicyBindingsGrpc.PolicyBindingsBlockingV2Stub

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

public static final class PolicyBindingsGrpc.PolicyBindingsBlockingV2Stub extends io.grpc.stub.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.
 
  • Method Details

    • build

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

      public Operation createPolicyBinding(CreatePolicyBindingRequest request) throws io.grpc.StatusException
       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.
       
      Throws:
      io.grpc.StatusException
    • getPolicyBinding

      public PolicyBinding getPolicyBinding(GetPolicyBindingRequest request) throws io.grpc.StatusException
       Gets a policy binding.
       
      Throws:
      io.grpc.StatusException
    • updatePolicyBinding

      public Operation updatePolicyBinding(UpdatePolicyBindingRequest request) throws io.grpc.StatusException
       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.
       
      Throws:
      io.grpc.StatusException
    • deletePolicyBinding

      public Operation deletePolicyBinding(DeletePolicyBindingRequest request) throws io.grpc.StatusException
       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.
       
      Throws:
      io.grpc.StatusException
    • listPolicyBindings

      public ListPolicyBindingsResponse listPolicyBindings(ListPolicyBindingsRequest request) throws io.grpc.StatusException
       Lists policy bindings.
       
      Throws:
      io.grpc.StatusException
    • searchTargetPolicyBindings

      public SearchTargetPolicyBindingsResponse searchTargetPolicyBindings(SearchTargetPolicyBindingsRequest request) throws io.grpc.StatusException
       Search policy bindings by target. Returns all policy binding objects bound
       directly to target.
       
      Throws:
      io.grpc.StatusException