Show / Hide Table of Contents

Class AdaptiveMtTranslateRequest

The request for sending an AdaptiveMt translation query.

Inheritance
object
AdaptiveMtTranslateRequest
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Translate.v3.Data
Assembly: Google.Apis.Translate.v3.dll
Syntax
public class AdaptiveMtTranslateRequest : IDirectResponseSchema

Properties

Content

Required. The content of the input in string format.

Declaration
[JsonProperty("content")]
public virtual IList<string> Content { get; set; }
Property Value
Type Description
IList<string>

Dataset

Required. The resource name for the dataset to use for adaptive MT. projects/{project}/locations/{location-id}/adaptiveMtDatasets/{dataset}

Declaration
[JsonProperty("dataset")]
public virtual string Dataset { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

GlossaryConfig

Optional. Glossary to be applied. The glossary must be within the same region (have the same location-id) as the model, otherwise an INVALID_ARGUMENT (400) error is returned.

Declaration
[JsonProperty("glossaryConfig")]
public virtual GlossaryConfig GlossaryConfig { get; set; }
Property Value
Type Description
GlossaryConfig

ReferenceSentenceConfig

Configuration for caller provided reference sentences.

Declaration
[JsonProperty("referenceSentenceConfig")]
public virtual ReferenceSentenceConfig ReferenceSentenceConfig { get; set; }
Property Value
Type Description
ReferenceSentenceConfig

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX