translate.v3 library Null safety

Cloud Translation API - v3

Integrates text translation into your website or application.

For more information, see cloud.google.com/translate/docs/quickstarts

Create an instance of TranslateApi to access these resources:

Classes

BatchTranslateTextRequest
The batch translation request.
CancelOperationRequest
The request message for Operations.CancelOperation.
DetectedLanguage
The response message for language detection.
DetectLanguageRequest
The request message for language detection.
DetectLanguageResponse
The response message for language detection.
Empty
A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. [...]
GcsDestination
The Google Cloud Storage location for the output content.
GcsSource
The Google Cloud Storage location for the input content.
Glossary
Represents a glossary built from user provided data.
GlossaryInputConfig
Input configuration for glossaries.
InputConfig
Input configuration for BatchTranslateText request.
LanguageCodePair
Used with unidirectional glossaries.
LanguageCodesSet
Used with equivalent term set glossaries.
ListGlossariesResponse
Response message for ListGlossaries.
ListLocationsResponse
The response message for Locations.ListLocations.
ListOperationsResponse
The response message for Operations.ListOperations.
Location
A resource that represents Google Cloud Platform location.
Operation
This resource represents a long-running operation that is the result of a network API call.
OutputConfig
Output configuration for BatchTranslateText request.
ProjectsLocationsGlossariesResource
ProjectsLocationsOperationsResource
ProjectsLocationsResource
ProjectsResource
Status
The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. [...]
SupportedLanguage
A single supported language response corresponds to information related to one supported language.
SupportedLanguages
The response message for discovering supported languages.
TranslateApi
Integrates text translation into your website or application.
TranslateTextGlossaryConfig
Configures which glossary should be used for a specific target language, and defines options for applying that glossary.
TranslateTextRequest
The request message for synchronous translation.
TranslateTextResponse
Translation
A single translation response.
WaitOperationRequest
The request message for Operations.WaitOperation.

Exceptions / Errors

ApiRequestError
Represents a general error reported by the API endpoint.
DetailedApiRequestError
Represents a specific error reported by the API endpoint.