Integrates text translation into your website or application.
- REST Resource: v3beta1.projects
- REST Resource: v3beta1.projects.locations
- REST Resource: v3beta1.projects.locations.glossaries
- REST Resource: v3beta1.projects.locations.operations
- REST Resource: v3.projects
- REST Resource: v3.projects.locations
- REST Resource: v3.projects.locations.adaptiveMtDatasets
- REST Resource: v3.projects.locations.adaptiveMtDatasets.adaptiveMtFiles
- REST Resource: v3.projects.locations.adaptiveMtDatasets.adaptiveMtFiles.adaptiveMtSentences
- REST Resource: v3.projects.locations.adaptiveMtDatasets.adaptiveMtSentences
- REST Resource: v3.projects.locations.datasets
- REST Resource: v3.projects.locations.datasets.examples
- REST Resource: v3.projects.locations.glossaries
- REST Resource: v3.projects.locations.glossaries.glossaryEntries
- REST Resource: v3.projects.locations.models
- REST Resource: v3.projects.locations.operations
Service: translate.googleapis.com
To call this service, we recommend that you use the Google-provided client libraries. If your application needs to use your own libraries to call this service, use the following information when you make the API requests.
Discovery document
A Discovery Document is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery documents:
Service endpoint
A service endpoint is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:
- https://translate.googleapis.com
REST Resource: v3beta1.projects
| Methods | |
|---|---|
| detectLanguage | POST /v3beta1/{parent=projects/*}:detectLanguageDetects the language of text within a request. | 
| getSupportedLanguages | GET /v3beta1/{parent=projects/*}/supportedLanguagesReturns a list of supported languages for translation. | 
| translateText | POST /v3beta1/{parent=projects/*}:translateTextTranslates input text and returns translated text. | 
REST Resource: v3beta1.projects.locations
| Methods | |
|---|---|
| batchTranslateDocument | POST /v3beta1/{parent=projects/*/locations/*}:batchTranslateDocumentTranslates a large volume of document in asynchronous batch mode. | 
| batchTranslateText | POST /v3beta1/{parent=projects/*/locations/*}:batchTranslateTextTranslates a large volume of text in asynchronous batch mode. | 
| detectLanguage | POST /v3beta1/{parent=projects/*/locations/*}:detectLanguageDetects the language of text within a request. | 
| get | GET /v3beta1/{name=projects/*/locations/*}Gets information about a location. | 
| getSupportedLanguages | GET /v3beta1/{parent=projects/*/locations/*}/supportedLanguagesReturns a list of supported languages for translation. | 
| list | GET /v3beta1/{name=projects/*}/locationsLists information about the supported locations for this service. | 
| translateDocument | POST /v3beta1/{parent=projects/*/locations/*}:translateDocumentTranslates documents in synchronous mode. | 
| translateText | POST /v3beta1/{parent=projects/*/locations/*}:translateTextTranslates input text and returns translated text. | 
REST Resource: v3beta1.projects.locations.glossaries
| Methods | |
|---|---|
| create | POST /v3beta1/{parent=projects/*/locations/*}/glossariesCreates a glossary and returns the long-running operation. | 
| delete | DELETE /v3beta1/{name=projects/*/locations/*/glossaries/*}Deletes a glossary, or cancels glossary construction if the glossary isn't created yet. | 
| get | GET /v3beta1/{name=projects/*/locations/*/glossaries/*}Gets a glossary. | 
| list | GET /v3beta1/{parent=projects/*/locations/*}/glossariesLists glossaries in a project. | 
REST Resource: v3beta1.projects.locations.operations
| Methods | |
|---|---|
| cancel | POST /v3beta1/{name=projects/*/locations/*/operations/*}:cancelStarts asynchronous cancellation on a long-running operation. | 
| delete | DELETE /v3beta1/{name=projects/*/locations/*/operations/*}Deletes a long-running operation. | 
| get | GET /v3beta1/{name=projects/*/locations/*/operations/*}Gets the latest state of a long-running operation. | 
| list | GET /v3beta1/{name=projects/*/locations/*}/operationsLists operations that match the specified filter in the request. | 
| wait | POST /v3beta1/{name=projects/*/locations/*/operations/*}:waitWaits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. | 
REST Resource: v3.projects
| Methods | |
|---|---|
| detectLanguage | POST /v3/{parent=projects/*}:detectLanguageDetects the language of text within a request. | 
| getSupportedLanguages | GET /v3/{parent=projects/*}/supportedLanguagesReturns a list of supported languages for translation. | 
| romanizeText | POST /v3/{parent=projects/*}:romanizeTextRomanize input text written in non-Latin scripts to Latin text. | 
| translateText | POST /v3/{parent=projects/*}:translateTextTranslates input text and returns translated text. | 
REST Resource: v3.projects.locations
| Methods | |
|---|---|
| adaptiveMtTranslate | POST /v3/{parent=projects/*/locations/*}:adaptiveMtTranslateTranslate text using Adaptive MT. | 
| batchTranslateDocument | POST /v3/{parent=projects/*/locations/*}:batchTranslateDocumentTranslates a large volume of document in asynchronous batch mode. | 
| batchTranslateText | POST /v3/{parent=projects/*/locations/*}:batchTranslateTextTranslates a large volume of text in asynchronous batch mode. | 
| detectLanguage | POST /v3/{parent=projects/*/locations/*}:detectLanguageDetects the language of text within a request. | 
| get | GET /v3/{name=projects/*/locations/*}Gets information about a location. | 
| getSupportedLanguages | GET /v3/{parent=projects/*/locations/*}/supportedLanguagesReturns a list of supported languages for translation. | 
| list | GET /v3/{name=projects/*}/locationsLists information about the supported locations for this service. | 
| romanizeText | POST /v3/{parent=projects/*/locations/*}:romanizeTextRomanize input text written in non-Latin scripts to Latin text. | 
| translateDocument | POST /v3/{parent=projects/*/locations/*}:translateDocumentTranslates documents in synchronous mode. | 
| translateText | POST /v3/{parent=projects/*/locations/*}:translateTextTranslates input text and returns translated text. | 
REST Resource: v3.projects.locations.adaptiveMtDatasets
| Methods | |
|---|---|
| create | POST /v3/{parent=projects/*/locations/*}/adaptiveMtDatasetsCreates an Adaptive MT dataset. | 
| delete | DELETE /v3/{name=projects/*/locations/*/adaptiveMtDatasets/*}Deletes an Adaptive MT dataset, including all its entries and associated metadata. | 
| get | GET /v3/{name=projects/*/locations/*/adaptiveMtDatasets/*}Gets the Adaptive MT dataset. | 
| importAdaptiveMtFile | POST /v3/{parent=projects/*/locations/*/adaptiveMtDatasets/*}:importAdaptiveMtFileImports an AdaptiveMtFile and adds all of its sentences into the AdaptiveMtDataset. | 
| list | GET /v3/{parent=projects/*/locations/*}/adaptiveMtDatasetsLists all Adaptive MT datasets for which the caller has read permission. | 
REST Resource: v3.projects.locations.adaptiveMtDatasets.adaptiveMtFiles
| Methods | |
|---|---|
| delete | DELETE /v3/{name=projects/*/locations/*/adaptiveMtDatasets/*/adaptiveMtFiles/*}Deletes an AdaptiveMtFile along with its sentences. | 
| get | GET /v3/{name=projects/*/locations/*/adaptiveMtDatasets/*/adaptiveMtFiles/*}Gets and AdaptiveMtFile | 
| list | GET /v3/{parent=projects/*/locations/*/adaptiveMtDatasets/*}/adaptiveMtFilesLists all AdaptiveMtFiles associated to an AdaptiveMtDataset. | 
REST Resource: v3.projects.locations.adaptiveMtDatasets.adaptiveMtFiles.adaptiveMtSentences
| Methods | |
|---|---|
| list | GET /v3/{parent=projects/*/locations/*/adaptiveMtDatasets/*/adaptiveMtFiles/*}/adaptiveMtSentencesLists all AdaptiveMtSentences under a given file/dataset. | 
REST Resource: v3.projects.locations.adaptiveMtDatasets.adaptiveMtSentences
| Methods | |
|---|---|
| list | GET /v3/{parent=projects/*/locations/*/adaptiveMtDatasets/*}/adaptiveMtSentencesLists all AdaptiveMtSentences under a given file/dataset. | 
REST Resource: v3.projects.locations.datasets
| Methods | |
|---|---|
| create | POST /v3/{parent=projects/*/locations/*}/datasetsCreates a Dataset. | 
| delete | DELETE /v3/{name=projects/*/locations/*/datasets/*}Deletes a dataset and all of its contents. | 
| exportData | POST /v3/{dataset=projects/*/locations/*/datasets/*}:exportDataExports dataset's data to the provided output location. | 
| get | GET /v3/{name=projects/*/locations/*/datasets/*}Gets a Dataset. | 
| importData | POST /v3/{dataset=projects/*/locations/*/datasets/*}:importDataImport sentence pairs into translation Dataset. | 
| list | GET /v3/{parent=projects/*/locations/*}/datasetsLists datasets. | 
REST Resource: v3.projects.locations.datasets.examples
| Methods | |
|---|---|
| list | GET /v3/{parent=projects/*/locations/*/datasets/*}/examplesLists sentence pairs in the dataset. | 
REST Resource: v3.projects.locations.glossaries
| Methods | |
|---|---|
| create | POST /v3/{parent=projects/*/locations/*}/glossariesCreates a glossary and returns the long-running operation. | 
| delete | DELETE /v3/{name=projects/*/locations/*/glossaries/*}Deletes a glossary, or cancels glossary construction if the glossary isn't created yet. | 
| get | GET /v3/{name=projects/*/locations/*/glossaries/*}Gets a glossary. | 
| list | GET /v3/{parent=projects/*/locations/*}/glossariesLists glossaries in a project. | 
| patch | PATCH /v3/{glossary.name=projects/*/locations/*/glossaries/*}Updates a glossary. | 
REST Resource: v3.projects.locations.glossaries.glossaryEntries
| Methods | |
|---|---|
| create | POST /v3/{parent=projects/*/locations/*/glossaries/*}/glossaryEntriesCreates a glossary entry. | 
| delete | DELETE /v3/{name=projects/*/locations/*/glossaries/*/glossaryEntries/*}Deletes a single entry from the glossary | 
| get | GET /v3/{name=projects/*/locations/*/glossaries/*/glossaryEntries/*}Gets a single glossary entry by the given id. | 
| list | GET /v3/{parent=projects/*/locations/*/glossaries/*}/glossaryEntriesList the entries for the glossary. | 
| patch | PATCH /v3/{glossaryEntry.name=projects/*/locations/*/glossaries/*/glossaryEntries/*}Updates a glossary entry. | 
REST Resource: v3.projects.locations.models
| Methods | |
|---|---|
| create | POST /v3/{parent=projects/*/locations/*}/modelsCreates a Model. | 
| delete | DELETE /v3/{name=projects/*/locations/*/models/*}Deletes a model. | 
| get | GET /v3/{name=projects/*/locations/*/models/*}Gets a model. | 
| list | GET /v3/{parent=projects/*/locations/*}/modelsLists models. | 
REST Resource: v3.projects.locations.operations
| Methods | |
|---|---|
| cancel | POST /v3/{name=projects/*/locations/*/operations/*}:cancelStarts asynchronous cancellation on a long-running operation. | 
| delete | DELETE /v3/{name=projects/*/locations/*/operations/*}Deletes a long-running operation. | 
| get | GET /v3/{name=projects/*/locations/*/operations/*}Gets the latest state of a long-running operation. | 
| list | GET /v3/{name=projects/*/locations/*}/operationsLists operations that match the specified filter in the request. | 
| wait | POST /v3/{name=projects/*/locations/*/operations/*}:waitWaits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. |