# Vertex AI Translation API

This guide describes the Vertex AI Translation API.

## Service: {TRANSLATION_GDC_ENDPOINT}

The Service name `{TRANSLATION_GDC_ENDPOINT}` is needed to create RPC client stubs.

## `https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/vertex-ai/translation/rpc/google.cloud.translation.v3#google.cloud.translation.v3.TranslationService`

| Methods ||
|---|---|
| `` `https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/vertex-ai/translation/rpc/google.cloud.translation.v3#google.cloud.translation.v3.TranslationService.CreateGlossary` `` | Creates a glossary and returns the long-running operation. |
| `` `https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/vertex-ai/translation/rpc/google.cloud.translation.v3#google.cloud.translation.v3.TranslationService.DeleteGlossary` `` | Deletes a glossary if the glossary hasn't been created. |
| `` `https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/vertex-ai/translation/rpc/google.cloud.translation.v3#google.cloud.translation.v3.TranslationService.DetectLanguage` `` | Detects the language of text within a request. |
| `` `https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/vertex-ai/translation/rpc/google.cloud.translation.v3#google.cloud.translation.v3.TranslationService.GetGlossary` `` | Gets a glossary. |
| `` `https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/vertex-ai/translation/rpc/google.cloud.translation.v3#google.cloud.translation.v3.TranslationService.GetSupportedLanguages` `` | Returns a list of supported languages for translation. |
| `` `https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/vertex-ai/translation/rpc/google.cloud.translation.v3#google.cloud.translation.v3.TranslationService.ListGlossaries` `` | Lists glossaries in a project. |
| `` `https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/vertex-ai/translation/rpc/google.cloud.translation.v3#google.cloud.translation.v3.TranslationService.TranslateDocument` `` | Translates documents in synchronous mode. |
| `` `https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/vertex-ai/translation/rpc/google.cloud.translation.v3beta1#google.cloud.translation.v3beta1.TranslationService.BatchTranslateDocument` `` | Translates a large volume of document in asynchronous batch mode. |
| `` `https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/vertex-ai/translation/rpc/google.cloud.translation.v3#google.cloud.translation.v3.TranslationService.TranslateText` `` | Translates input text and returns translated text. |

## `https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/vertex-ai/translation/rpc/google.longrunning#google.longrunning.Operations`

| Methods ||
|---|---|
| `` `https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/vertex-ai/translation/rpc/google.longrunning#google.longrunning.Operations.DeleteOperation` `` | Deletes a long-running operation. |
| `` `https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/vertex-ai/translation/rpc/google.longrunning#google.longrunning.Operations.GetOperation` `` | Gets the latest state of a long-running operation. |
| `` `https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/vertex-ai/translation/rpc/google.longrunning#google.longrunning.Operations.ListOperations` `` | Lists operations that match the specified filter in the request. |