This guide describes the Vertex AI Translation API.
Service: {TRANSLATION_GDC_ENDPOINT}
Service endpoint
A service endpoint is a base URL that specifies the network address of an API service.
{TRANSLATION_GDC_ENDPOINT} is a service that might have multiple service endpoints. Its service endpoint is https://{TRANSLATION_GDC_ENDPOINT}. Replace TRANSLATION_GDC_ENDPOINT with the endpoint used to access the Vertex AI Translation API. For more information, see View service statuses and endpoints.
All URIs on this page are relative to the {TRANSLATION_GDC_ENDPOINT} service endpoint.
REST Resource: v3.projects
| Methods | |
|---|---|
batchTranslateDocument | POST /v3/{parent}:batchTranslateDocument Translates a large volume of document in asynchronous batch mode. |
detectLanguage | POST /v3/{parent}:detectLanguage Detects the language of text within a request. |
getSupportedLanguages | GET /v3/{parent}:getSupportedLanguages Returns a list of supported languages for translation. |
translateDocument | POST /v3/{parent}:translateDocument Translates documents in synchronous mode. |
translateText | POST /v3/{parent}:translateText Translates input text and returns translated text. |
REST Resource: v3.projects.glossaries
| Methods | |
|---|---|
create | POST /v3/{parent}/glossaries Creates a glossary and returns the long-running operation. |
delete | DELETE /v3/{name} Deletes a glossary if the glossary hasn't been created. |
get | GET /v3/{name} Gets a glossary. |
list | GET /v3/{parent}/glossaries Lists glossaries in a project. |
REST Resource: v3.projects.operations
| Methods | |
|---|---|
cancel | POST https://{TRANSLATION_GDC_ENDPOINT}/v3/{name}:cancel Starts asynchronous cancellation on a long-running operation. |
delete | DELETE https://{TRANSLATION_GDC_ENDPOINT}/v3/{name} Deletes a long-running operation. |
get | GET /v3/{name} Gets the state of a long-running operation. |
list | GET /v3/{name}/operationsLists operations that match the specified filter in the request. |
wait | POST https://{TRANSLATION_GDC_ENDPOINT}/v3/{name}:waitWaits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. |