Class TagBindingsGrpc.TagBindingsStub (1.47.0)

public static final class TagBindingsGrpc.TagBindingsStub extends AbstractAsyncStub<TagBindingsGrpc.TagBindingsStub>

A stub to allow clients to do asynchronous rpc calls to service TagBindings.

Allow users to create and manage TagBindings between TagValues and different Google Cloud resources throughout the GCP resource hierarchy.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > TagBindingsGrpc.TagBindingsStub

Methods

build(Channel channel, CallOptions callOptions)

protected TagBindingsGrpc.TagBindingsStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
TagBindingsGrpc.TagBindingsStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createTagBinding(CreateTagBindingRequest request, StreamObserver<Operation> responseObserver)

public void createTagBinding(CreateTagBindingRequest request, StreamObserver<Operation> responseObserver)

Creates a TagBinding between a TagValue and a Google Cloud resource.

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

deleteTagBinding(DeleteTagBindingRequest request, StreamObserver<Operation> responseObserver)

public void deleteTagBinding(DeleteTagBindingRequest request, StreamObserver<Operation> responseObserver)

Deletes a TagBinding.

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

listEffectiveTags(ListEffectiveTagsRequest request, StreamObserver<ListEffectiveTagsResponse> responseObserver)

public void listEffectiveTags(ListEffectiveTagsRequest request, StreamObserver<ListEffectiveTagsResponse> responseObserver)

Return a list of effective tags for the given Google Cloud resource, as specified in parent.

Parameters
Name Description
request ListEffectiveTagsRequest
responseObserver io.grpc.stub.StreamObserver<ListEffectiveTagsResponse>

listTagBindings(ListTagBindingsRequest request, StreamObserver<ListTagBindingsResponse> responseObserver)

public void listTagBindings(ListTagBindingsRequest request, StreamObserver<ListTagBindingsResponse> responseObserver)

Lists the TagBindings for the given Google Cloud resource, as specified with parent. NOTE: The parent field is expected to be a full resource name: https://cloud.google.com/apis/design/resource_names#full_resource_name

Parameters
Name Description
request ListTagBindingsRequest
responseObserver io.grpc.stub.StreamObserver<ListTagBindingsResponse>