I’ll like to wait a job execution which was triggered by a API call, like the following example:
curl --location 'https://run.googleapis.com/v2/projects/foo/locations/southamerica-east1/jobs/my-job:run'
Gloud CLI, have the --wait
argument to it:
gcloud run jobs execute JOB_NAME --region=REGION --wait
Is there a way to do the same with API call?