2.17.0 (latest) 2.16.0 2.15.0 2.14.0 2.13.0 2.12.0 2.11.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0

    public sealed class TagField : IMessage<TagField>, IEquatable<TagField>, IDeepCloneable<TagField>, IBufferMessage, IMessage

Reference documentation and code samples for the Data Catalog v1 API class TagField.

Contains the value and additional information on a field within
a \[Tag\]\[google.cloud.datacatalog.v1.Tag\].

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[TagField](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.TagField.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[TagField](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.TagField.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[TagField](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.TagField.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## 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.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

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

## Assembly

Google.Cloud.DataCatalog.V1.dll

## Constructors

### TagField()

    public TagField()

### TagField(TagField)

    public TagField(TagField other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `TagField` |

## Properties

### BoolValue

    public bool BoolValue { get; set; }

The value of a tag field with a boolean type.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### DisplayName

    public string DisplayName { get; set; }

Output only. The display name of this field.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### DoubleValue

    public double DoubleValue { get; set; }

The value of a tag field with a double type.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `double` |   |

### EnumValue

    public TagField.Types.EnumValue EnumValue { get; set; }

The value of a tag field with an enum type.

This value must be one of the allowed values listed in this enum.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `TagFieldTypesEnumValue` |   |

### HasBoolValue

    public bool HasBoolValue { get; }

Gets whether the "bool_value" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### HasDoubleValue

    public bool HasDoubleValue { get; }

Gets whether the "double_value" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### HasRichtextValue

    public bool HasRichtextValue { get; }

Gets whether the "richtext_value" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### HasStringValue

    public bool HasStringValue { get; }

Gets whether the "string_value" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### KindCase

    public TagField.KindOneofCase KindCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `TagFieldKindOneofCase` |   |

### Order

    public int Order { get; set; }

Output only. The order of this field with respect to other fields in this
tag. Can be set by
\[Tag\]\[google.cloud.datacatalog.v1.TagTemplateField.order\].

For example, a higher value can indicate a more important field.
The value can be negative. Multiple fields can have the same order, and
field orders within a tag don't have to be sequential.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### RichtextValue

    public string RichtextValue { get; set; }

The value of a tag field with a rich text type.

The maximum length is 10 MiB as this value holds HTML descriptions
including encoded images. The maximum length of the text without images
is 100 KiB.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### StringValue

    public string StringValue { get; set; }

The value of a tag field with a string type.

The maximum length is 2000 UTF-8 characters.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### TimestampValue

    public Timestamp TimestampValue { get; set; }

The value of a tag field with a timestamp type.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `Timestamp` |   |