[BindServiceMethod(typeof(TagBindings), "BindService")]
public abstract class TagBindingsBase
Base class for server-side implementations of TagBindings
Namespace
Google.Cloud.ResourceManager.V3Assembly
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 | |
---|---|
Name | Description |
request | CreateTagBindingRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | DeleteTagBindingRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListTagBindingsRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<ListTagBindingsResponse> | The response to send back to the client (wrapped by a task). |