translate  v2
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
Properties | List of all members
Google.Apis.Translate.v2.Data.TranslateTextRequest Class Reference

The main translation request message for the Cloud Translation API. More...

Inheritance diagram for Google.Apis.Translate.v2.Data.TranslateTextRequest:
Google::Apis::Requests::IDirectResponseSchema

Properties

virtual string Format [get, set]
 The format of the source text, in either HTML (default) or plain-text. A value of "html" indicates HTML and a value of "text" indicates plain-text.
virtual string Model [get, set]
 The model type requested for this translation. Valid values are listed in public documentation.
virtual
System.Collections.Generic.IList
< string > 
Q [get, set]
 The input text to translate. Repeat this parameter to perform translation operations on multiple text inputs.
virtual string Source [get, set]
 The language of the source text, set to one of the language codes listed in Language Support. If the source language is not specified, the API will attempt to identify the source language automatically and return it within the response.
virtual string Target [get, set]
 The language to use for translation of the input text, set to one of the language codes listed in Language Support.
virtual string ETag [get, set]
 The ETag of the item.
- Properties inherited from Google::Apis::Requests::IDirectResponseSchema
string ETag

Detailed Description

The main translation request message for the Cloud Translation API.

Property Documentation

virtual string Google.Apis.Translate.v2.Data.TranslateTextRequest.ETag
getset

The ETag of the item.

virtual string Google.Apis.Translate.v2.Data.TranslateTextRequest.Format
getset

The format of the source text, in either HTML (default) or plain-text. A value of "html" indicates HTML and a value of "text" indicates plain-text.

virtual string Google.Apis.Translate.v2.Data.TranslateTextRequest.Model
getset

The model type requested for this translation. Valid values are listed in public documentation.

virtual System.Collections.Generic.IList<string> Google.Apis.Translate.v2.Data.TranslateTextRequest.Q
getset

The input text to translate. Repeat this parameter to perform translation operations on multiple text inputs.

virtual string Google.Apis.Translate.v2.Data.TranslateTextRequest.Source
getset

The language of the source text, set to one of the language codes listed in Language Support. If the source language is not specified, the API will attempt to identify the source language automatically and return it within the response.

virtual string Google.Apis.Translate.v2.Data.TranslateTextRequest.Target
getset

The language to use for translation of the input text, set to one of the language codes listed in Language Support.


The documentation for this class was generated from the following file: