Class RefineTextRequest
Request message for RefineText.
Implements
Inherited Members
Namespace: Google.Apis.Translate.v3.Data
Assembly: Google.Apis.Translate.v3.dll
Syntax
public class RefineTextRequest : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RefinementEntries
Required. The source texts and original translations in the source and target languages.
Declaration
[JsonProperty("refinementEntries")]
public virtual IList<RefinementEntry> RefinementEntries { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<RefinementEntry> |
SourceLanguageCode
Required. The BCP-47 language code of the source text in the request, for example, "en-US".
Declaration
[JsonProperty("sourceLanguageCode")]
public virtual string SourceLanguageCode { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TargetLanguageCode
Required. The BCP-47 language code for translation output, for example, "zh-CN".
Declaration
[JsonProperty("targetLanguageCode")]
public virtual string TargetLanguageCode { get; set; }
Property Value
| Type | Description |
|---|---|
| string |