Class TagHoldsGrpc.TagHoldsStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<TagHoldsGrpc.TagHoldsStub>
com.google.cloud.resourcemanager.v3.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 Summary

    Modifier and Type
    Method
    Description
    build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
     
    void
    createTagHold(CreateTagHoldRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
    Creates a TagHold.
    void
    deleteTagHold(DeleteTagHoldRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
    Deletes a TagHold.
    void
    listTagHolds(ListTagHoldsRequest request, io.grpc.stub.StreamObserver<ListTagHoldsResponse> responseObserver)
    Lists TagHolds under a TagValue.

    Methods inherited from class io.grpc.stub.AbstractAsyncStub

    newStub, newStub

    Methods inherited from class io.grpc.stub.AbstractStub

    getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • build

      protected TagHoldsGrpc.TagHoldsStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<TagHoldsGrpc.TagHoldsStub>
    • createTagHold

      public void createTagHold(CreateTagHoldRequest request, io.grpc.stub.StreamObserver<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<Operation> responseObserver)
       Deletes a TagHold.
       
    • listTagHolds

      public void listTagHolds(ListTagHoldsRequest request, io.grpc.stub.StreamObserver<ListTagHoldsResponse> responseObserver)
       Lists TagHolds under a TagValue.