Class TagBindingsGrpc.TagBindingsFutureStub (1.50.0)

public static final class TagBindingsGrpc.TagBindingsFutureStub extends AbstractFutureStub<TagBindingsGrpc.TagBindingsFutureStub>

A stub to allow clients to do ListenableFuture-style 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.AbstractFutureStub > TagBindingsGrpc.TagBindingsFutureStub

Methods

build(Channel channel, CallOptions callOptions)

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

createTagBinding(CreateTagBindingRequest request)

public ListenableFuture<Operation> createTagBinding(CreateTagBindingRequest request)

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

Parameter
Name Description
request CreateTagBindingRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteTagBinding(DeleteTagBindingRequest request)

public ListenableFuture<Operation> deleteTagBinding(DeleteTagBindingRequest request)

Deletes a TagBinding.

Parameter
Name Description
request DeleteTagBindingRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

listEffectiveTags(ListEffectiveTagsRequest request)

public ListenableFuture<ListEffectiveTagsResponse> listEffectiveTags(ListEffectiveTagsRequest request)

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

Parameter
Name Description
request ListEffectiveTagsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListEffectiveTagsResponse>

listTagBindings(ListTagBindingsRequest request)

public ListenableFuture<ListTagBindingsResponse> listTagBindings(ListTagBindingsRequest request)

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

Parameter
Name Description
request ListTagBindingsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListTagBindingsResponse>