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.
 
  • Method Details

    • build

      protected TagBindingsGrpc.TagBindingsBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.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

      public Operation createTagBinding(CreateTagBindingRequest request) throws io.grpc.StatusException
       Creates a TagBinding between a TagValue and a Google Cloud resource.
       
      Throws:
      io.grpc.StatusException
    • deleteTagBinding

      public Operation deleteTagBinding(DeleteTagBindingRequest request) throws io.grpc.StatusException
       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