Class DocumentTranslation
A translated document message.
Implements
Inherited Members
Namespace: Google.Apis.Translate.v3beta1.Data
Assembly: Google.Apis.Translate.v3beta1.dll
Syntax
public class DocumentTranslation : IDirectResponseSchema
Properties
ByteStreamOutputs
The array of translated documents. It is expected to be size 1 for now. We may produce multiple translated documents in the future for other type of file formats.
Declaration
[JsonProperty("byteStreamOutputs")]
public virtual IList<string> ByteStreamOutputs { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
DetectedLanguageCode
The detected language for the input document. If the user did not provide the source language for the input document, this field will have the language code automatically detected. If the source language was passed, auto-detection of the language does not occur and this field is empty.
Declaration
[JsonProperty("detectedLanguageCode")]
public virtual string DetectedLanguageCode { 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 |
MimeType
The translated document's mime type.
Declaration
[JsonProperty("mimeType")]
public virtual string MimeType { get; set; }
Property Value
Type | Description |
---|---|
string |