Complete the code to create a new GCP project using gcloud CLI.
gcloud projects create [1] --name="My Project"
The project ID is a unique identifier for your GCP project. Here, my-project-id is used as the project ID.
Complete the code to list all projects under your GCP account.
gcloud projects [1]The gcloud projects list command shows all projects you have access to.
Fix the error in the command to set the active project.
gcloud config set project [1]The project ID must be used without spaces or underscores. It is usually lowercase with hyphens.
Fill both blanks to create a project and set it as active.
gcloud projects create [1] --name="[2]"
The first blank is the project ID (lowercase, no spaces). The second blank is the project name (can have spaces and uppercase letters).
Fill all three blanks to list projects, filter by name, and format output.
gcloud projects list --filter='name:[1]' --format='[2](projectId, [3])'
The filter uses the project name to find projects containing 'Test'. The format outputs a table showing projectId and name.