Show / Hide Table of Contents

Class DocumentTranslation

A translated document message.

Inheritance
System.Object
DocumentTranslation
Implements
IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Translate.v3.Data
Assembly: Google.Apis.Translate.v3.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
System.Collections.Generic.IList<System.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
System.String

ETag

The ETag of the item.

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

MimeType

The translated document's mime type.

Declaration
[JsonProperty("mimeType")]
public virtual string MimeType { get; set; }
Property Value
Type Description
System.String

Implements

IDirectResponseSchema
In This Article
Back to top Generated by DocFX