Difference between revisions of "Gcloud config set project"
Jump to navigation
Jump to search
(15 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
− | [[gcloud config set]] project | + | [[gcloud config set]] project YOUR_PROJECT_NAME_CASE_SENSITIVE |
− | [[gcloud config set compute]] | + | |
− | [[gcloud config set | + | gcloud config set project YOUR_PROJECT_NAME_CASE_SENSITIVE |
+ | Updated property [core/project]. | ||
+ | |||
+ | gcloud config set project YOUR-PROJECT | ||
+ | WARNING: You do not appear to have access to project [YOUR-PROJECT] or it does not exist. | ||
+ | Are you sure you wish to set property [core/project] to elucidate-co? | ||
+ | |||
+ | Do you want to continue (Y/n)? | ||
+ | [[Updated property]] [core/project]. | ||
+ | |||
+ | gcloud config set project YOUR_PROJECT | ||
+ | |||
+ | 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]. | ||
+ | |||
+ | |||
+ | Updates are available for some Google Cloud CLI components. To install them, please run: | ||
+ | $ [[gcloud components update]] | ||
+ | |||
+ | |||
+ | |||
+ | [[gcloud compute images]] list | ||
+ | ERROR: (gcloud.compute.images.list) [[The required property]] [project] is not currently set. | ||
+ | It can be set on a per-command basis by re-running your command with the [--project] flag. | ||
+ | |||
+ | You may set it for your current workspace by running: | ||
+ | |||
+ | $ [[gcloud config set project]] VALUE | ||
+ | |||
+ | or it can be set temporarily by the environment variable [CLOUDSDK_CORE_PROJECT] | ||
+ | |||
+ | |||
+ | == Related == | ||
+ | * [[Google Cloud projects]] | ||
+ | * <code>[[gcloud projects list]]</code> | ||
+ | * <code>[[gcloud auth login]]</code> | ||
+ | * <code>[[gcloud config configurations list]]</code> | ||
+ | * <code>[[gcloud init]]</code> | ||
== See also == | == See also == | ||
− | * {{gcloud}} | + | * {{gcloud config set}} |
+ | * {{gcloud config}} | ||
[[Category:GCP]] | [[Category:GCP]] |
Latest revision as of 08:58, 10 October 2024
gcloud config set project YOUR_PROJECT_NAME_CASE_SENSITIVE
gcloud config set project YOUR_PROJECT_NAME_CASE_SENSITIVE Updated property [core/project].
gcloud config set project YOUR-PROJECT WARNING: You do not appear to have access to project [YOUR-PROJECT] or it does not exist. Are you sure you wish to set property [core/project] to elucidate-co? Do you want to continue (Y/n)? Updated property [core/project].
gcloud config set project YOUR_PROJECT 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].
Updates are available for some Google Cloud CLI components. To install them, please run: $ gcloud components update
gcloud compute images list ERROR: (gcloud.compute.images.list) The required property [project] is not currently set. It can be set on a per-command basis by re-running your command with the [--project] flag. You may set it for your current workspace by running: $ gcloud config set project VALUE or it can be set temporarily by the environment variable [CLOUDSDK_CORE_PROJECT]
Related[edit]
- Google Cloud projects
gcloud projects list
gcloud auth login
gcloud config configurations list
gcloud init
See also[edit]
gcloud config set
: [account | compute | project | disable prompts
]gcloud config
[set | list | get-value | configurations | --help
],~/.config/gcloud/, gcloud config set account
Advertising: