public static final class TagHoldsGrpc.TagHoldsStub extends io.grpc.stub.AbstractAsyncStub<TagHoldsGrpc.TagHoldsStub>
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.
| Modifier and Type | Method and Description |
|---|---|
protected TagHoldsGrpc.TagHoldsStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
void |
createTagHold(CreateTagHoldRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a TagHold.
|
void |
deleteTagHold(DeleteTagHoldRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes a TagHold.
|
void |
listTagHolds(ListTagHoldsRequest request,
io.grpc.stub.StreamObserver<ListTagHoldsResponse> responseObserver)
Lists TagHolds under a TagValue.
|
protected TagHoldsGrpc.TagHoldsStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<TagHoldsGrpc.TagHoldsStub>public void createTagHold(CreateTagHoldRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a TagHold. Returns ALREADY_EXISTS if a TagHold with the same resource and origin exists under the same TagValue.
public void deleteTagHold(DeleteTagHoldRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes a TagHold.
public void listTagHolds(ListTagHoldsRequest request, io.grpc.stub.StreamObserver<ListTagHoldsResponse> responseObserver)
Lists TagHolds under a TagValue.
Copyright © 2024 Google LLC. All rights reserved.