Google Cloud Translation v3 API - Class Dataset (3.8.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 > Dataset

Namespace

Google.Cloud.Translate.V3

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-typed view over the 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