Class TagBindingsGrpc.TagBindingsBlockingStub (1.21.0)

public static final class TagBindingsGrpc.TagBindingsBlockingStub extends AbstractBlockingStub<TagBindingsGrpc.TagBindingsBlockingStub>

A stub to allow clients to do synchronous 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.AbstractBlockingStub > TagBindingsGrpc.TagBindingsBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

protected TagBindingsGrpc.TagBindingsBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
TagBindingsGrpc.TagBindingsBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createTagBinding(CreateTagBindingRequest request)

public Operation createTagBinding(CreateTagBindingRequest request)

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

Parameter
NameDescription
requestCreateTagBindingRequest
Returns
TypeDescription
Operation

deleteTagBinding(DeleteTagBindingRequest request)

public Operation deleteTagBinding(DeleteTagBindingRequest request)

Deletes a TagBinding.

Parameter
NameDescription
requestDeleteTagBindingRequest
Returns
TypeDescription
Operation

listEffectiveTags(ListEffectiveTagsRequest request)

public ListEffectiveTagsResponse listEffectiveTags(ListEffectiveTagsRequest request)

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

Parameter
NameDescription
requestListEffectiveTagsRequest
Returns
TypeDescription
ListEffectiveTagsResponse

listTagBindings(ListTagBindingsRequest request)

public 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
NameDescription
requestListTagBindingsRequest
Returns
TypeDescription
ListTagBindingsResponse