Class TagBindingsGrpc.TagBindingsBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<TagBindingsGrpc.TagBindingsBlockingV2Stub>
com.google.cloud.resourcemanager.v3.TagBindingsGrpc.TagBindingsBlockingV2Stub
- Enclosing class:
- TagBindingsGrpc
public static final class TagBindingsGrpc.TagBindingsBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<TagBindingsGrpc.TagBindingsBlockingV2Stub>
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) createTagBinding(CreateTagBindingRequest request) Creates a TagBinding between a TagValue and a Google Cloud resource.deleteTagBinding(DeleteTagBindingRequest request) Deletes a TagBinding.Return a list of effective tags for the given Google Cloud resource, as specified in `parent`.listTagBindings(ListTagBindingsRequest request) Lists the TagBindings for the given Google Cloud resource, as specified with `parent`.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected TagBindingsGrpc.TagBindingsBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<TagBindingsGrpc.TagBindingsBlockingV2Stub>
-
listTagBindings
public ListTagBindingsResponse listTagBindings(ListTagBindingsRequest request) throws io.grpc.StatusException 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
- Throws:
io.grpc.StatusException
-
createTagBinding
Creates a TagBinding between a TagValue and a Google Cloud resource.
- Throws:
io.grpc.StatusException
-
deleteTagBinding
Deletes a TagBinding.
- Throws:
io.grpc.StatusException
-
listEffectiveTags
public ListEffectiveTagsResponse listEffectiveTags(ListEffectiveTagsRequest request) throws io.grpc.StatusException Return a list of effective tags for the given Google Cloud resource, as specified in `parent`.
- Throws:
io.grpc.StatusException
-