Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

30
gcloud-projects Normal file
View File

@@ -0,0 +1,30 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# gcloud projects
> Manage project access policies in Google Cloud.
> See also: `gcloud`.
> More information: <https://cloud.google.com/sdk/gcloud/reference/projects>.
- Create a new project:
`gcloud projects create {{project_id|project_number}}`
- List all active projects:
`gcloud projects list`
- Display metadata for a project:
`gcloud projects describe {{project_id}}`
- Delete a project:
`gcloud projects delete {{project_id|project_number}}`
- Add an IAM policy binding to a specified project:
`gcloud projects add-iam-policy-binding {{project_id}} --member {{principal}} --role {{role}}`