Difference between revisions of "Gcloud projects list"
Jump to navigation
Jump to search
Line 13: | Line 13: | ||
your-projectname-1 YourProjectName 120007758888 | your-projectname-1 YourProjectName 120007758888 | ||
your-projectname-2 YourProjectName 450007757777 | your-projectname-2 YourProjectName 450007757777 | ||
+ | |||
+ | gcloud projects list | ||
+ | Listed 0 items. | ||
== Errors not authenticated == | == Errors not authenticated == |
Revision as of 15:10, 21 June 2022
https://cloud.google.com/sdk/gcloud/reference/projects
gcloud projects list PROJECT_ID NAME PROJECT_NUMBER your-projectname-328717 YourName 660007759999
gcloud projects list PROJECT_ID NAME PROJECT_NUMBER your-projectname-1 YourProjectName 120007758888 your-projectname-2 YourProjectName 450007757777
gcloud projects list Listed 0 items.
Errors not authenticated
gcloud projects list WARNING: Could not open the configuration file: [/your_path/.config/gcloud/configurations/config_default]. ERROR: (gcloud.projects.list) You do not currently have an active account selected. Please run: $ gcloud auth login to obtain new credentials. If you have already logged in with a different account: $ gcloud config set account ACCOUNT to select an already authenticated account to use.
Related
- Google Cloud projects
az devops project list
gcloud projects get-iam-policy
gcloud organizations list
See also
- Google Cloud projects:
gcloud projects [ list | describe | create | get-iam-policy | set-iam-policy ]
gcloud
[config | scheduler | auth | asset | services | gcloud auth login | iam | sql | projects | container
|compute | kms
|source
],gcloud composer environments create
|build
|gcloud config set project
,gcloud source repos create
,gcloud composer environments create
,gcloud version
,gcloud --help
Advertising: