# 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/appliance/apis/service/vertex-ai/translation/rpc/google.cloud.translation.v3#google.cloud.translation.v3.TranslationService`

| Methods ||
|---|---|
| `` `https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/appliance/apis/service/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/appliance/apis/service/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/appliance/apis/service/vertex-ai/translation/rpc/google.cloud.translation.v3#google.cloud.translation.v3.TranslationService.TranslateText` `` | Translates input text and returns translated text. |