![]() ![]() In this section, you will use the Cloud SDK to create a service account and then create credentials you will need to authenticate as the service account.įirst, set a PROJECT_ID environment variable: export PROJECT_ID=$(gcloud config get-value core/project) Like any other user account, a service account is represented by an email address. A Service Account belongs to your project and it is used by the Python client library to make Text-to-Speech API requests. To make requests to the Text-to-Speech API, you need to use a Service Account. Note: In case of error, go back to the previous step and check your setup. Using Cloud Shell, you can enable the API with the following command: gcloud services enable īefore you can begin using the Text-to-Speech API, you must enable it. If it is not, you can set it with this command: gcloud config set project Ĭommand output Updated property. Run the following command in Cloud Shell to confirm that the gcloud command knows about your project:. ![]() For more information, see gcloud command-line tool overview. You will notice its support for tab completion. Note: The gcloud command-line tool is the powerful and unified command-line tool in Google Cloud.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |