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 TagTemplateField : IMessage<TagTemplateField>, IEquatable<TagTemplateField>, IDeepCloneable<TagTemplateField>, IBufferMessage, IMessage

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

The template for an individual field within a tag template.

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[TagTemplateField](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.TagTemplateField.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[TagTemplateField](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.TagTemplateField.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[TagTemplateField](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.TagTemplateField.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

### TagTemplateField()

    public TagTemplateField()

### TagTemplateField(TagTemplateField)

    public TagTemplateField(TagTemplateField other)

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

## Properties

### Description

    public string Description { get; set; }

The description for this field. Defaults to an empty string.

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

### DisplayName

    public string DisplayName { get; set; }

The display name for this field. Defaults to an empty string.

The name must contain only Unicode letters, numbers (0-9), underscores (_),
dashes (-), spaces ( ), and can't start or end with spaces.
The maximum length is 200 characters.

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

### IsRequired

    public bool IsRequired { get; set; }

If true, this field is required. Defaults to false.

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

### Name

    public string Name { get; set; }

Identifier. The resource name of the tag template field in URL format.
Example:

`projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE}/fields/{FIELD}`

Note: The tag template field itself might not be stored in the location
specified in its name.

The name must contain only letters (a-z, A-Z), numbers (0-9),
or underscores (_), and must start with a letter or underscore.
The maximum length is 64 characters.

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

### Order

    public int Order { get; set; }

The order of this field with respect to other fields in this tag
template.

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` |   |

### TagTemplateFieldName

    public TagTemplateFieldName TagTemplateFieldName { get; set; }

[TagTemplateFieldName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.TagTemplateFieldName.md.txt)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.TagTemplateField.md.txt#Google_Cloud_DataCatalog_V1_TagTemplateField_Name) resource name property.

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

### Type

    public FieldType Type { get; set; }

Required. The type of value this tag field can contain.

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