Detects the language of text within a request.
The request message for language detection.
Type: object
{
"q" : [ "string" ]
}
Data format for response.
Type: string
Potential values: json, media, proto
JSONP
Type: string
Selector specifying which fields to include in a partial response.
Type: string
Pretty-print response.
Type: boolean
Returns response with indentations and line breaks.
Type: boolean
Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
Type: string
Legacy upload protocol for media (e.g. "media", "multipart").
Type: string
Upload protocol for media (e.g. "raw", "multipart").
Type: string
Returns a list of supported languages for translation.
Data format for response.
Type: string
Potential values: json, media, proto
JSONP
Type: string
Selector specifying which fields to include in a partial response.
Type: string
The model type for which supported languages should be returned.
Type: string
Pretty-print response.
Type: boolean
Returns response with indentations and line breaks.
Type: boolean
Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
Type: string
The language to use to return localized, human readable names of supported
languages.
Type: string
Legacy upload protocol for media (e.g. "media", "multipart").
Type: string
Upload protocol for media (e.g. "raw", "multipart").
Type: string
Translates input text, returning translated text.
The main translation request message for the Cloud Translation API.
Type: object
{
"q" : [ "string" ],
"format" : "The format of the source text, in either HTML (default) or plain-text. A\nvalue of \"html\" indicates HTML and a value of \"text\" indicates plain-text.",
"model" : "The `model` type requested for this translation. Valid values are\nlisted in public documentation.",
"source" : "The language of the source text, set to one of the language codes listed in\nLanguage Support. If the source language is not specified, the API will\nattempt to identify the source language automatically and return it within\nthe response.",
"target" : "The language to use for translation of the input text, set to one of the\nlanguage codes listed in Language Support."
}
Data format for response.
Type: string
Potential values: json, media, proto
JSONP
Type: string
Selector specifying which fields to include in a partial response.
Type: string
Pretty-print response.
Type: boolean
Returns response with indentations and line breaks.
Type: boolean
Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
Type: string
Legacy upload protocol for media (e.g. "media", "multipart").
Type: string
Upload protocol for media (e.g. "raw", "multipart").
Type: string