Class AdaptiveMtTranslateRequest
The request for sending an AdaptiveMt translation query.
Implements
Inherited Members
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 |