I am trying to connect to a google cloud storage project/bucket using gcloud config set project XXX
, and get the message:
WARNING: Your active project does not match the quota project in your local Application Default Credentials file. This might result in unexpected quota issues.
To update your Application Default Credentials quota project, use the
gcloud auth application-default set-quota-project
command. Updated property [core/project].
What is not clear to me is:
- Does this mean that, say, downloading data, will be accounted against the project quota, or my own quota?
- How can I see my current "quota project"? I see that I can set it with
gcloud auth application-default set-quota-project
, but how can I get it?
quota_project_id
is stored in a JSON file: WindowsC:\Users\USERNAME\AppData\Roaming\gcloud\application_default_credentials.json
. Linux~/.config/gcloud/application_default_credentials.json
. I am not aware of a CLI command to print that key/value.