2.6.0 (latest) 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.2.0 1.1.0 1.0.0

    [BindServiceMethod(typeof(TagValues), "BindService")]
    public abstract class TagValues.TagValuesBase

Reference documentation and code samples for the Cloud Resource Manager v3 API class TagValues.TagValuesBase.

Base class for server-side implementations of TagValues

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> TagValues.TagValuesBase

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.ResourceManager.V3](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ResourceManager.V3/latest/Google.Cloud.ResourceManager.V3.md.txt)

## Assembly

Google.Cloud.ResourceManager.V3.dll

## Methods

### CreateTagValue(CreateTagValueRequest, ServerCallContext)

    public virtual Task<Operation> CreateTagValue(CreateTagValueRequest request, ServerCallContext context)

Creates a TagValue as a child of the specified TagKey. If a another
request with the same parameters is sent while the original request is in
process the second request will receive an error. A maximum of 1000
TagValues can exist under a TagKey at any given time.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateTagValueRequest` 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). |

### DeleteTagValue(DeleteTagValueRequest, ServerCallContext)

    public virtual Task<Operation> DeleteTagValue(DeleteTagValueRequest request, ServerCallContext context)

Deletes a TagValue. The TagValue cannot have any bindings when it is
deleted.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteTagValueRequest` 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). |

### GetIamPolicy(GetIamPolicyRequest, ServerCallContext)

    public virtual Task<Policy> GetIamPolicy(GetIamPolicyRequest request, ServerCallContext context)

Gets the access control policy for a TagValue. The returned policy may be
empty if no such policy or resource exists. The `resource` field should
be the TagValue's resource name. For example: `tagValues/1234`.
The caller must have the
`cloudresourcemanager.googleapis.com/tagValues.getIamPolicy` permission on
the identified TagValue to get the access control policy.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetIamPolicyRequest` The request received from the client. |
| `context` | `ServerCallContext` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskPolicy` | The response to send back to the client (wrapped by a task). |

### GetNamespacedTagValue(GetNamespacedTagValueRequest, ServerCallContext)

    public virtual Task<TagValue> GetNamespacedTagValue(GetNamespacedTagValueRequest request, ServerCallContext context)

Retrieves a TagValue by its namespaced name.
This method will return `PERMISSION_DENIED` if the value does not exist
or the user does not have permission to view it.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetNamespacedTagValueRequest` The request received from the client. |
| `context` | `ServerCallContext` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskTagValue` | The response to send back to the client (wrapped by a task). |

### GetTagValue(GetTagValueRequest, ServerCallContext)

    public virtual Task<TagValue> GetTagValue(GetTagValueRequest request, ServerCallContext context)

Retrieves a TagValue. This method will return `PERMISSION_DENIED` if the
value does not exist or the user does not have permission to view it.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetTagValueRequest` The request received from the client. |
| `context` | `ServerCallContext` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskTagValue` | The response to send back to the client (wrapped by a task). |

### ListTagValues(ListTagValuesRequest, ServerCallContext)

    public virtual Task<ListTagValuesResponse> ListTagValues(ListTagValuesRequest request, ServerCallContext context)

Lists all TagValues for a specific TagKey.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListTagValuesRequest` The request received from the client. |
| `context` | `ServerCallContext` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskListTagValuesResponse` | The response to send back to the client (wrapped by a task). |

### SetIamPolicy(SetIamPolicyRequest, ServerCallContext)

    public virtual Task<Policy> SetIamPolicy(SetIamPolicyRequest request, ServerCallContext context)

Sets the access control policy on a TagValue, replacing any existing
policy. The `resource` field should be the TagValue's resource name.
For example: `tagValues/1234`.
The caller must have `resourcemanager.tagValues.setIamPolicy` permission
on the identified tagValue.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `SetIamPolicyRequest` The request received from the client. |
| `context` | `ServerCallContext` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskPolicy` | The response to send back to the client (wrapped by a task). |

### TestIamPermissions(TestIamPermissionsRequest, ServerCallContext)

    public virtual Task<TestIamPermissionsResponse> TestIamPermissions(TestIamPermissionsRequest request, ServerCallContext context)

Returns permissions that a caller has on the specified TagValue.
The `resource` field should be the TagValue's resource name. For example:
`tagValues/1234`.

There are no permissions required for making this API call.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `TestIamPermissionsRequest` The request received from the client. |
| `context` | `ServerCallContext` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskTestIamPermissionsResponse` | The response to send back to the client (wrapped by a task). |

### UpdateTagValue(UpdateTagValueRequest, ServerCallContext)

    public virtual Task<Operation> UpdateTagValue(UpdateTagValueRequest request, ServerCallContext context)

Updates the attributes of the TagValue resource.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `UpdateTagValueRequest` 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). |