Professional Cloud Security Engineer
The GCP resource hierarchy is a tree structure that starts with the organization node at the very top, representing your entire company or enterprise. Below the organization sit folders, which act as containers that can hold either projects or other folders, allowing you to create nested groupings that mirror your company's structure. Projects are the main units where resources like virtual machines, storage buckets, and databases actually live, and each project has its own billing account and set of permissions. When managing many projects at scale, folders let you group related projects together so you can apply policies and access controls to dozens or hundreds of projects at once rather than managing each one individually. The hierarchy flows downward: the organization contains folders, folders contain projects, and projects contain resources, so changes at a higher level can affect everything below it.
Organization policies are rules that you can set at any level of the hierarchy to control what people can do with resources. GCP provides pre-built policies for common restrictions, such as preventing public IP addresses on VMs or requiring disks to be encrypted with a specific key, and these can be applied immediately without configuration. You can also create custom policies that define your own constraints based on your security requirements, and these policies are written as constraints that the system enforces. When you set a policy at the organization level, it automatically applies to all folders and projects beneath it, but you can override it at a lower level if needed. The key relationship is that policies flow downward: a folder inherits policies from the organization, and a project inherits policies from its folder, unless a more specific policy explicitly replaces them.
IAM (Identity and Access Management) works closely with the resource hierarchy to control who can access what. When you grant someone access at the organization level, they automatically have access to everything inside it—every folder, project, and resource—because permissions inherit downward. You can also grant more limited access at the folder or project level, and these permissions apply to everything contained within that level. The inheritance works like a waterfall: if you give a team permission at the project level, they get access to all resources in that project, but they do not automatically get access to other projects in the same folder. This means you can grant broad access high up in the hierarchy for administrators while giving narrower access at lower levels for specific teams, and the system automatically combines all the permissions that apply to a user when they try to access a resource.
Prepare and test your skills
Prepare and test your skills
The GCP resource hierarchy is a tree structure that begins with the organization node at the top, followed downward by folders, projects, and individual resources. Folders can contain projects or other nested folders to group workloads, while projects are the containers where resources live with their own billing accounts and permissions.
Organization policies are rules set as constraints at any level of the hierarchy to control what actions can be taken with resources, available as pre-built restrictions or custom configurations. These policies automatically flow downward from the organization to folders and projects, but they can be overridden at a lower level if a more specific policy replaces them.
IAM permissions inherit downward from higher levels to lower levels, meaning access granted at the organization level automatically applies to all nested folders, projects, and resources. Granting access at a folder or project level restricts permissions to resources within that specific container and does not grant access to sibling projects in the same folder.