Class TagHoldsGrpc.TagHoldsStub

  • Enclosing class:
    TagHoldsGrpc

    public static final class TagHoldsGrpc.TagHoldsStub
    extends io.grpc.stub.AbstractAsyncStub<TagHoldsGrpc.TagHoldsStub>
    A stub to allow clients to do asynchronous rpc calls to service TagHolds.
     Allow users to create and manage TagHolds for TagValues. TagHolds represent
     the use of a Tag Value that is not captured by TagBindings but
     should still block TagValue deletion (such as a reference in a policy
     condition). This service provides isolated failure domains by cloud location
     so that TagHolds can be managed in the same location as their usage.
     
    • 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 Detail

      • createTagHold

        public void createTagHold​(CreateTagHoldRequest request,
                                  io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Creates a TagHold. Returns ALREADY_EXISTS if a TagHold with the same
         resource and origin exists under the same TagValue.
         
      • deleteTagHold

        public void deleteTagHold​(DeleteTagHoldRequest request,
                                  io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Deletes a TagHold.