google_api_translate v0.9.0 API Reference
Modules
API calls for all endpoints tagged Detections
.
API calls for all endpoints tagged Languages
.
API calls for all endpoints tagged Translations
.
Handle Tesla connections for GoogleApi.Translate.V2.
The request message for language detection.
The request message for discovering supported languages.
Attributes
languages
(type:list(GoogleApi.Translate.V2.Model.LanguagesResource.t)
, default:nil
) - List of source/target languages supported by the translation API. If target parameter is unspecified, the list is sorted by the ASCII code point order of the language code. If target parameter is specified, the list is sorted by the collation order of the language name in the target language.
Attributes
language
(type:String.t
, default:nil
) - Supported language code, generally consisting of its ISO 639-1 identifier. (E.g. 'en', 'ja'). In certain cases, BCP-47 codes including language + region identifiers are returned (e.g. 'zh-TW' and 'zh-CH')name
(type:String.t
, default:nil
) - Human readable name of the language localized to the target language.
The main translation request message for the Cloud Translation API.
The main language translation response message.
Attributes
detectedSourceLanguage
(type:String.t
, default:nil
) - 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.model
(type:String.t
, default:nil
) - Themodel
type used for this translation. Valid values are listed in public documentation. Can be different from requestedmodel
. Present only if specific model type was explicitly requested.translatedText
(type:String.t
, default:nil
) - Text translated into the target language.
API calls for all endpoints tagged Projects
.
Handle Tesla connections for GoogleApi.Translate.V3.
The batch translation request.
The request message for Operations.CancelOperation.
The request message for language detection.
The response message for language detection.
The response message for language detection.
A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance
The Google Cloud Storage location for the output content.
The Google Cloud Storage location for the input content.
Represents a glossary built from user provided data.
Input configuration for glossaries.
Input configuration for BatchTranslateText request.
Used with unidirectional glossaries.
Used with equivalent term set glossaries.
Response message for ListGlossaries.
The response message for Locations.ListLocations.
The response message for Operations.ListOperations.
A resource that represents Google Cloud Platform location.
This resource represents a long-running operation that is the result of a network API call.
Output configuration for BatchTranslateText request.
The Status
type defines a logical error model that is suitable for
different programming environments, including REST APIs and RPC APIs. It is
used by gRPC. Each Status
message contains
three pieces of data: error code, error message, and error details.
A single supported language response corresponds to information related to one supported language.
The response message for discovering supported languages.
Configures which glossary should be used for a specific target language, and defines options for applying that glossary.
The request message for synchronous translation.
Attributes
glossaryTranslations
(type:list(GoogleApi.Translate.V3.Model.Translation.t)
, default:nil
) - Text translation responses if a glossary is provided in the request. This can be the same astranslations
if no terms apply. This field has the same length ascontents
.translations
(type:list(GoogleApi.Translate.V3.Model.Translation.t)
, default:nil
) - Text translation responses with no glossary applied. This field has the same length ascontents
.
A single translation response.
The request message for Operations.WaitOperation.