Complete the code to specify the parent resource when creating a new project in GCP.
gcloud projects create my-project --[1]=123456789012
The --organization flag sets the parent organization for the new project, placing it correctly in the resource hierarchy.
Complete the code to list all projects under a specific folder in GCP.
gcloud projects list --filter='parent.type:folder AND parent.id:[1]'
The filter requires the folder ID only, not the full resource name.
Fix the error in the command to set IAM policy on a folder resource.
gcloud resource-manager folders set-iam-policy [1] policy.yamlThe folder ID must be prefixed with 'folders/' to specify the resource correctly.
Fill both blanks to create a folder under an organization with the correct parent and display name.
gcloud resource-manager folders create --[1]=[2] --display-name="My Folder"
The --parent flag requires the full resource name of the organization to create a folder under it.
Fill all three blanks to assign a project to a folder.
gcloud projects move [1] --[2]=[3]
The --folder flag with the numeric folder ID is used with gcloud projects move to assign the project to the folder in the resource hierarchy.