Class TagHoldsGrpc.TagHoldsStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractAsyncStub<TagHoldsGrpc.TagHoldsStub>
-
- com.google.cloud.resourcemanager.v3.TagHoldsGrpc.TagHoldsStub
-
- Enclosing class:
- TagHoldsGrpc
public static final class TagHoldsGrpc.TagHoldsStub extends io.grpc.stub.AbstractAsyncStub<TagHoldsGrpc.TagHoldsStub>
A stub to allow clients to do asynchronous 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.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.
-
-
-
Method Detail
-
build
protected TagHoldsGrpc.TagHoldsStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<TagHoldsGrpc.TagHoldsStub>
-
createTagHold
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.
-
deleteTagHold
public void deleteTagHold(DeleteTagHoldRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes a TagHold.
-
listTagHolds
public void listTagHolds(ListTagHoldsRequest request, io.grpc.stub.StreamObserver<ListTagHoldsResponse> responseObserver)
Lists TagHolds under a TagValue.
-
-