3.11.0 (latest) 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.4.0 2.3.0 2.2.0

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

Reference documentation and code samples for the Google Cloud Translation v3 API class Dataset.

A dataset that hosts the examples (sentence pairs) used for translation
models.

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.Translate.V3.dll

## Constructors

### Dataset()

    public Dataset()

### Dataset(Dataset)

    public Dataset(Dataset other)

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

## Properties

### CreateTime

    public Timestamp CreateTime { get; set; }

Output only. Timestamp when this dataset was created.

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

### DatasetName

    public DatasetName DatasetName { get; set; }

[DatasetName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.DatasetName.md.txt)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.Dataset.md.txt#Google_Cloud_Translate_V3_Dataset_Name) resource name property.

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

### DisplayName

    public string DisplayName { get; set; }

The name of the dataset to show in the interface. The name can be
up to 32 characters long and can consist only of ASCII Latin letters A-Z
and a-z, underscores (_), and ASCII digits 0-9.

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

### ExampleCount

    public int ExampleCount { get; set; }

Output only. The number of examples in the dataset.

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

### Name

    public string Name { get; set; }

The resource name of the dataset, in form of
`projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_id}`

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

### SourceLanguageCode

    public string SourceLanguageCode { get; set; }

The BCP-47 language code of the source language.

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

### TargetLanguageCode

    public string TargetLanguageCode { get; set; }

The BCP-47 language code of the target language.

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

### TestExampleCount

    public int TestExampleCount { get; set; }

Output only. Number of test examples (sentence pairs).

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

### TrainExampleCount

    public int TrainExampleCount { get; set; }

Output only. Number of training examples (sentence pairs).

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

### UpdateTime

    public Timestamp UpdateTime { get; set; }

Output only. Timestamp when this dataset was last updated.

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

### ValidateExampleCount

    public int ValidateExampleCount { get; set; }

Output only. Number of validation examples (sentence pairs).

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