Class TranslationsResource
Inheritance
object
TranslationsResource
Implements
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.v2.Data
Assembly: Google.Apis.Translate.v2.dll
Syntax
public class TranslationsResource : IDirectResponseSchema
Properties
DetectedSourceLanguage
The source language of the initial request, detected automatically, if no source language was passed within the initial request. If the source language was passed, auto-detection of the language will not occur and this field will be empty.
Declaration
[JsonProperty("detectedSourceLanguage")]
public virtual string DetectedSourceLanguage { 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 |
Model
The model
type used for this translation. Valid values are listed in public documentation. Can be
different from requested model
. Present only if specific model type was explicitly requested.
Declaration
[JsonProperty("model")]
public virtual string Model { get; set; }
Property Value
Type | Description |
---|---|
string |
TranslatedText
Text translated into the target language.
Declaration
[JsonProperty("translatedText")]
public virtual string TranslatedText { get; set; }
Property Value
Type | Description |
---|---|
string |