Interface TagHoldsGrpc.AsyncService (1.51.0)

public static interface TagHoldsGrpc.AsyncService

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.

Methods

createTagHold(CreateTagHoldRequest request, StreamObserver<Operation> responseObserver)

public default void createTagHold(CreateTagHoldRequest request, StreamObserver<Operation> responseObserver)

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

Parameters
Name Description
request CreateTagHoldRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteTagHold(DeleteTagHoldRequest request, StreamObserver<Operation> responseObserver)

public default void deleteTagHold(DeleteTagHoldRequest request, StreamObserver<Operation> responseObserver)

Deletes a TagHold.

Parameters
Name Description
request DeleteTagHoldRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

listTagHolds(ListTagHoldsRequest request, StreamObserver<ListTagHoldsResponse> responseObserver)

public default void listTagHolds(ListTagHoldsRequest request, StreamObserver<ListTagHoldsResponse> responseObserver)

Lists TagHolds under a TagValue.

Parameters
Name Description
request ListTagHoldsRequest
responseObserver io.grpc.stub.StreamObserver<ListTagHoldsResponse>