[BindServiceMethod(typeof(TagBindings), "BindService")]
public abstract class TagBindings.TagBindingsBase
Reference documentation and code samples for the Cloud Resource Manager v3 API class TagBindings.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 Google Cloud resource.
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 |
TaskOperation | 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 |
TaskOperation | The response to send back to the client (wrapped by a task). |
ListEffectiveTags(ListEffectiveTagsRequest, ServerCallContext)
public virtual Task<ListEffectiveTagsResponse> ListEffectiveTags(ListEffectiveTagsRequest request, ServerCallContext context)
Return a list of effective tags for the given Google Cloud resource, as
specified in parent
.
Parameters | |
---|---|
Name | Description |
request | ListEffectiveTagsRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskListEffectiveTagsResponse | 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 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
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 |
TaskListTagBindingsResponse | The response to send back to the client (wrapped by a task). |