Class TagBindings.TagBindingsBase (1.0.0)

[BindServiceMethod(typeof(TagBindings), "BindService")]
public abstract class TagBindingsBase

Base class for server-side implementations of TagBindings

Inheritance

Object > TagBindings.TagBindingsBase

Namespace

Google.Cloud.ResourceManager.V3

Assembly

Google.Cloud.ResourceManager.V3.dll

Methods

CreateTagBinding(CreateTagBindingRequest, ServerCallContext)

public virtual Task<Operation> CreateTagBinding(CreateTagBindingRequest request, ServerCallContext context)

Creates a TagBinding between a TagValue and a cloud resource (currently project, folder, or organization).

Parameters
NameDescription
requestCreateTagBindingRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

DeleteTagBinding(DeleteTagBindingRequest, ServerCallContext)

public virtual Task<Operation> DeleteTagBinding(DeleteTagBindingRequest request, ServerCallContext context)

Deletes a TagBinding.

Parameters
NameDescription
requestDeleteTagBindingRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

ListTagBindings(ListTagBindingsRequest, ServerCallContext)

public virtual Task<ListTagBindingsResponse> ListTagBindings(ListTagBindingsRequest request, ServerCallContext context)

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

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<ListTagBindingsResponse>

The response to send back to the client (wrapped by a task).