Google Cloud Translation v3 API - Class Example (3.8.0)

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

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

A sentence pair.

Inheritance

object > Example

Namespace

Google.Cloud.Translate.V3

Assembly

Google.Cloud.Translate.V3.dll

Constructors

Example()

public Example()

Example(Example)

public Example(Example other)
Parameter
Name Description
other Example

Properties

ExampleName

public ExampleName ExampleName { get; set; }

ExampleName-typed view over the Name resource name property.

Property Value
Type Description
ExampleName

Name

public string Name { get; set; }

Output only. The resource name of the example, in form of projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_id}/examples/{example_id}

Property Value
Type Description
string

SourceText

public string SourceText { get; set; }

Sentence in source language.

Property Value
Type Description
string

TargetText

public string TargetText { get; set; }

Sentence in target language.

Property Value
Type Description
string

Usage

public string Usage { get; set; }

Output only. Usage of the sentence pair. Options are TRAIN|VALIDATION|TEST.

Property Value
Type Description
string