gcloud projects Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud projects - create and manage project access policies
- SYNOPSIS
gcloud projectsCOMMAND[GCLOUD_WIDE_FLAG …]
- DESCRIPTION
- The gcloud projects group lets you create and manage IAM policies for projectson the Google Cloud Platform. Resources are organized hierarchically andassigned to a particular project. A Project resource is required to use GoogleCloud Platform, and forms the basis for creating, enabling and using all CloudPlatform services, managing APIs, enabling billing, adding and removingcollaborators, and managing permissions.
More information on the Cloud Platform Resource Hierarchy and the projectresource can be found here:https://cloud.google.com/resource-manager/docs/creating-managing-organizationand detailed documentation on creating and managing projects can be found here:https://cloud.google.com/resource-manager/docs/creating-managing-projects
- GCLOUD WIDE FLAGS
- These flags are available to all commands:
--help.Run
$gcloud helpfor details. - COMMANDS
is one of the following:COMMANDadd-iam-policy-binding- Add IAM policy binding for a project.
create- Create a new project.
delete- Delete a project.
describe- Show metadata for a project.
get-ancestors- Get the ancestors for a project.
get-ancestors-iam-policy- Get IAM policies for a project and its ancestors.
get-iam-policy- Get IAM policy for a project.
list- List projects accessible by the active account.
remove-iam-policy-binding- Remove IAM policy binding for a project.
set-iam-policy- Set IAM policy for a project.
undelete- Undelete a project.
update- Update the name of a project.
- NOTES
- These variants are also available:
gcloudalphaprojectsgcloudbetaprojects
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-07 UTC.