Class TagBindingsGrpc.TagBindingsStub (1.15.0)

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

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

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > TagBindingsGrpc.TagBindingsStub
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withWaitForReady()

Methods

build(Channel channel, CallOptions callOptions)

protected TagBindingsGrpc.TagBindingsStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
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 cloud resource (currently project, folder, or organization).

Parameters
NameDescription
requestCreateTagBindingRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteTagBinding(DeleteTagBindingRequest request, StreamObserver<Operation> responseObserver)

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

Deletes a TagBinding.

Parameters
NameDescription
requestDeleteTagBindingRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

listTagBindings(ListTagBindingsRequest request, StreamObserver<ListTagBindingsResponse> responseObserver)

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

Lists the TagBindings for the given 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
NameDescription
requestListTagBindingsRequest
responseObserverio.grpc.stub.StreamObserver<ListTagBindingsResponse>