I have been following this article to configure Endpoints for functions.
I am stuck at the following command
gcloud beta run configurations update \
--service CLOUD_RUN_SERVICE_NAME \
--set-env-vars ENDPOINTS_SERVICE_NAME=YOUR_SERVICE_NAME \
--project ESP_PROJECT_ID
which is mentioned in the article as I am getting error
ERROR: (gcloud.beta.run.configurations) Invalid choice: 'update'.
I have tried to do gcloud components update as well but nothing seems to work.
Any help will be appreciated. Thanks...