Class TagHoldsGrpc.TagHoldsBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<TagHoldsGrpc.TagHoldsBlockingV2Stub>
com.google.cloud.resourcemanager.v3.TagHoldsGrpc.TagHoldsBlockingV2Stub
- Enclosing class:
- TagHoldsGrpc
public static final class TagHoldsGrpc.TagHoldsBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<TagHoldsGrpc.TagHoldsBlockingV2Stub>
A stub to allow clients to do synchronous 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.TagHoldsBlockingV2Stubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) createTagHold(CreateTagHoldRequest request) Creates a TagHold.deleteTagHold(DeleteTagHoldRequest request) Deletes a TagHold.listTagHolds(ListTagHoldsRequest request) Lists TagHolds under a TagValue.Methods inherited from class io.grpc.stub.AbstractBlockingStub
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
protected TagHoldsGrpc.TagHoldsBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<TagHoldsGrpc.TagHoldsBlockingV2Stub>
-
createTagHold
Creates a TagHold. Returns ALREADY_EXISTS if a TagHold with the same resource and origin exists under the same TagValue.
- Throws:
io.grpc.StatusException
-
deleteTagHold
Deletes a TagHold.
- Throws:
io.grpc.StatusException
-
listTagHolds
public ListTagHoldsResponse listTagHolds(ListTagHoldsRequest request) throws io.grpc.StatusException Lists TagHolds under a TagValue.
- Throws:
io.grpc.StatusException
-