G

gcloud beta ml translate

CLI discovered

Details
Command
gcloud beta ml translate
Docs
https://docs.cloud.google.com/sdk/gcloud/reference/beta/ml/translate/translate-text
Authentication
Google Cloud OAuth 2.0 access token oauth2 discovered Set up OAuth ↗
$ gcloud auth login

Create Google Cloud credentials for your environment, then mint an access token using Google Cloud auth. The easiest local path is to install the gcloud CLI and run `gcloud auth application-default login` or `gcloud auth login`, then use the resulting OAuth 2.0 access token in REST calls. For production/server use, Google Cloud docs direct you to use Application Default Credentials or a service account attached to the runtime. If you need to register your own OAuth client, use APIs & Services → Credentials.