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 TypeMethodDescriptionprotected TagHoldsGrpc.TagHoldsStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidcreateTagHold(CreateTagHoldRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Creates a TagHold.voiddeleteTagHold(DeleteTagHoldRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Deletes a TagHold.voidlistTagHolds(ListTagHoldsRequest request, io.grpc.stub.StreamObserver<ListTagHoldsResponse> responseObserver) Lists TagHolds under a TagValue.Methods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
- Specified by:
buildin classio.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.
-