Class TagHoldsGrpc.TagHoldsFutureStub (1.34.0)

public static final class TagHoldsGrpc.TagHoldsFutureStub extends 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.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > TagHoldsGrpc.TagHoldsFutureStub
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withWaitForReady()

Methods

build(Channel channel, CallOptions callOptions)

protected TagHoldsGrpc.TagHoldsFutureStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
TagHoldsGrpc.TagHoldsFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createTagHold(CreateTagHoldRequest request)

public ListenableFuture<Operation> createTagHold(CreateTagHoldRequest request)

Creates a TagHold. Returns ALREADY_EXISTS if a TagHold with the same resource and origin exists under the same TagValue.

Parameter
NameDescription
requestCreateTagHoldRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteTagHold(DeleteTagHoldRequest request)

public ListenableFuture<Operation> deleteTagHold(DeleteTagHoldRequest request)

Deletes a TagHold.

Parameter
NameDescription
requestDeleteTagHoldRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

listTagHolds(ListTagHoldsRequest request)

public ListenableFuture<ListTagHoldsResponse> listTagHolds(ListTagHoldsRequest request)

Lists TagHolds under a TagValue.

Parameter
NameDescription
requestListTagHoldsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListTagHoldsResponse>