gcloud beta ml translate get-supported-languages - returns a list of supported languages for translation
gcloud beta ml translate get-supported-languages [--display-language-code=DISPLAY_LANGUAGE_CODE] [--model=MODEL] [--zone=ZONE; default="global"] [GCLOUD_WIDE_FLAG ...]
(BETA) List supported languages for translation.
The following command lists supported languages.
$ gcloud beta ml translate get-supported-languages --zone=global
- --display-language-code=DISPLAY_LANGUAGE_CODE
The language to use to return localized, human-readable name of supported languages. If missing, then display names aren't returned in the response.
- --model=MODEL
Get supported languages of specified model.
Authorization requires one or more of the following Google IAM permissions on the specified resource model:
cloudtranslate.generalModels.get
automl.models.get
Defaults to 'general/base'.
Usage:
AutoML models: '--model=TRL321456789'
General models: '--model=general/nmt'
- --zone=ZONE; default="global"
Location to make calls. Non-global location is required for requests using AutoML models. Currently, only 'us-central1' is supported as a non-global location. Defaults to 'global'.
These flags are available to all commands: --access-token-file, --account, --billing-project, --configuration, --flags-file, --flatten, --format, --help, --impersonate-service-account, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity.
Run $ gcloud help for details.
This command uses the translate/v3 API. The full documentation for this API can be found at: https://cloud.google.com/translate/docs/quickstarts
This command is currently in beta and might change without notice. This variant is also available:
$ gcloud alpha ml translate get-supported-languages