in lib/google/serverless/exec/tasks.rb [317:341]
def verify_gcloud_and_report_errors
Exec::Gcloud.verify!
rescue Exec::Gcloud::BinaryNotFound
report_error <<~MESSAGE
Could not find the `gcloud` binary in your system path.
This tool requires the Google Cloud SDK. To download and install it,
visit https://cloud.google.com/sdk/downloads
MESSAGE
rescue Exec::Gcloud::GcloudNotAuthenticated
report_error <<~MESSAGE
The gcloud authorization has not been completed. If you have not yet
initialized the Google Cloud SDK, we recommend running the `gcloud init`
command as described at https://cloud.google.com/sdk/docs/initializing
Alternately, you may log in directly by running `gcloud auth login`.
MESSAGE
rescue Exec::Gcloud::ProjectNotSet
report_error <<~MESSAGE
The gcloud project configuration has not been set. If you have not yet
initialized the Google Cloud SDK, we recommend running the `gcloud init`
command as described at https://cloud.google.com/sdk/docs/initializing
Alternately, you may set the default project configuration directly by
running `gcloud config set project <project-name>`.
MESSAGE
end