Class TranslationsResource
Inheritance
System.Object
TranslationsResource
Implements
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.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 |
---|---|
System.String |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
System.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 |
---|---|
System.String |
TranslatedText
Text translated into the target language.
Declaration
[JsonProperty("translatedText")]
public virtual string TranslatedText { get; set; }
Property Value
Type | Description |
---|---|
System.String |