Class TagHoldsGrpc.TagHoldsFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<TagHoldsGrpc.TagHoldsFutureStub>
-
- com.google.cloud.resourcemanager.v3.TagHoldsGrpc.TagHoldsFutureStub
-
- Enclosing class:
- TagHoldsGrpc
public static final class TagHoldsGrpc.TagHoldsFutureStub extends io.grpc.stub.AbstractFutureStub<TagHoldsGrpc.TagHoldsFutureStub>
A stub to allow clients to do ListenableFuture-style 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.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected TagHoldsGrpc.TagHoldsFutureStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
createTagHold(CreateTagHoldRequest request)
Creates a TagHold.com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
deleteTagHold(DeleteTagHoldRequest request)
Deletes a TagHold.com.google.common.util.concurrent.ListenableFuture<ListTagHoldsResponse>
listTagHolds(ListTagHoldsRequest request)
Lists TagHolds under a TagValue.
-
-
-
Method Detail
-
build
protected TagHoldsGrpc.TagHoldsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<TagHoldsGrpc.TagHoldsFutureStub>
-
createTagHold
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> createTagHold(CreateTagHoldRequest request)
Creates a TagHold. Returns ALREADY_EXISTS if a TagHold with the same resource and origin exists under the same TagValue.
-
deleteTagHold
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> deleteTagHold(DeleteTagHoldRequest request)
Deletes a TagHold.
-
listTagHolds
public com.google.common.util.concurrent.ListenableFuture<ListTagHoldsResponse> listTagHolds(ListTagHoldsRequest request)
Lists TagHolds under a TagValue.
-
-