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

BatchDocumentInputConfig
Input configuration for BatchTranslateDocument request.
BatchDocumentOutputConfig
Output configuration for BatchTranslateDocument request.
BatchTranslateDocumentRequest
The BatchTranslateDocument request.
BatchTranslateTextRequest
The batch translation request.
DetectedLanguage
The response message for language detection.
DetectLanguageRequest
The request message for language detection.
DetectLanguageResponse
The response message for language detection.
DocumentInputConfig
A document translation request input config.
DocumentOutputConfig
A document translation request output config.
DocumentTranslation
A translated document message.
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.
GlossaryEntry
Represents a single entry in a glossary.
GlossaryInputConfig
Input configuration for glossaries.
GlossaryTerm
Represents a single glossary term
GlossaryTermsPair
Represents a single entry for an unidirectional glossary.
GlossaryTermsSet
Represents a single entry for an equivalent term set glossary.
InputConfig
Input configuration for BatchTranslateText request.
LanguageCodePair
Used with unidirectional glossaries.
LanguageCodesSet
Used with equivalent term set glossaries.
ListGlossariesResponse
Response message for ListGlossaries.
ListGlossaryEntriesResponse
Response message for ListGlossaryEntries
ListLocationsResponse
The response message for Locations.ListLocations.
ListOperationsResponse
The response message for Operations.ListOperations.
Operation
This resource represents a long-running operation that is the result of a network API call.
OutputConfig
Output configuration for BatchTranslateText request.
ProjectsLocationsGlossariesGlossaryEntriesResource
ProjectsLocationsGlossariesResource
ProjectsLocationsOperationsResource
ProjectsLocationsResource
ProjectsResource
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.
TranslateDocumentRequest
A document translation request.
TranslateDocumentResponse
A translated document response message.
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.

Typedefs

CancelOperationRequest = $Empty
The request message for Operations.CancelOperation.
Empty = $Empty
A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs.
Location = $Location00
A resource that represents Google Cloud Platform location.
Status = $Status
The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs.

Exceptions / Errors

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