# TaggedValue

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Reference](https://developer.m-files.com/APIs/gRPC-API/Reference/index.md) > [Messages](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.TaggedValue/

Struct for a tagged value.

- **Full name:** `MFiles.TaggedValue`
- **Proto file:** [`mfiles/structs.proto`](https://developer.m-files.com/APIs/gRPC-API/downloads/proto/mfiles/structs.proto)

<a id="fields"></a>

## Fields

| Field | Type | Number | Description |
|---|---|---|---|
| <a id="f-tag"></a>`tag` | `string` | 1 | The name of the tagged value. |
| <a id="f-value_type"></a>`value_type` | [`TaggedValueType`](https://developer.m-files.com/APIs/gRPC-API/Reference/Enums/MFiles.TaggedValueType/index.md) | 2 | The value type of the tagged value. Values: `TAGGED_VALUE_TYPE_DEFAULT` (0), `TAGGED_VALUE_TYPE_STRING` (1), `TAGGED_VALUE_TYPE_INTEGER` (2), `TAGGED_VALUE_TYPE_FLOAT` (3), `TAGGED_VALUE_TYPE_BOOLEAN` (4), `TAGGED_VALUE_TYPE_DATETIME` (5), `TAGGED_VALUE_TYPE_INT64` (6). |
| <a id="f-value"></a>`value` | `string` | 3 | The string representation of the tagged value. |

<a id="used-in-fields"></a>

## Used in fields

- [`MonitoringIndicator.value`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.MonitoringIndicator/index.md#f-value): The indicator value.
- [`MonitoringSource.descriptors`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.MonitoringSource/index.md#f-descriptors): The descriptors of the monitoring source as a tagged value array.
