Manage projects and billing in your organization

This page explains how to view and manage projects and billing accounts within your Google Cloud organization.

View billing accounts

You can view the existing billing accounts under an organization using the Google Cloud console.

Console

  1. Open the Google Cloud console:

    Open the Billing page

  2. In the organization picker at the top of the page, select your organization. All billing accounts associated with that organization are listed.

Create projects in your organization

Console

You can create a project in the organization using the Google Cloud console once the organization resource is provisioned for your domain.

To create a new project, do the following:

  1. Go to the Manage resources page in the Google Cloud console.

    Go to Manage Resources

    The remaining steps appear in the Google Cloud console.

  2. On the Select organization drop-down list at the top of the page, select the organization resource in which you want to create a project. If you are a free trial user, skip this step, as this list does not appear.
  3. Click Create Project.
  4. In the New Project window that appears, enter a project name and select a billing account as applicable. A project name can contain only letters, numbers, single quotes, hyphens, spaces, or exclamation points, and must be between 4 and 30 characters.
  5. Enter the parent organization or folder resource in the Location box. That resource will be the hierarchical parent of the new project. If No organization is an option, you can select it to create your new project as the top level of its own resource hierarchy.
  6. When you're finished entering new project details, click Create.

REST

To create a new project in your organization, use the projects.create() method and set the project's parent field to the organizationId of the organization.

The following code snippet demonstrates how to create a project in an organization:

  project = crm.projects().create(
      body={
          'project_id': flags.projectId,
          'name': 'My New Project',
          'parent': {
              'type': 'organization',
              'id': flags.organizationId
           }
  }).execute()

View all projects in an organization

Console

To view all projects under an organization, follow these steps:

  1. Go to the Google Cloud console:

    Go to Google Cloud console

  2. From the project picker at the top of the page, select your organization.

  3. The Recent tab will show recently accessed projects and folders. Click the All tab to view all projects and folders.

The No organization option in the organization picker displays two types of projects:

  • Unassociated projects: Projects that have not yet been migrated into your organization.
  • Inaccessible parent: Projects where you have access to the project itself, but don't have permissions to view the parent organization.

gcloud

To view all projects directly under the organization, run the following command:

gcloud projects list --filter 'parent.id=[ORGANIZATION_ID] AND \
    parent.type=organization'

This command does not show every project in your hierarchy, only the projects that are directly under your organization resource. To list every resource in your hierarchy, see Listing all Resources in your Hierarchy.

REST

Use the projects.list() method to list all the projects directly under the organization resource, as shown in the following code snippet:

filter = 'parent.type:organization parent.id:%s' % flags.organizationId
projects = crm.projects().list(filter=filter).execute()

This method does not show every project in your hierarchy, only the projects that are directly under your organization resource. To list every resource in your hierarchy, see Listing all Resources in your Hierarchy.

Delete projects in an organization

To delete a project in an organization, follow these steps:

Console

To delete a project using the Google Cloud console:

  1. Go to the Projects page in the IAM & Admin section:

    Open the Projects page

  2. Click the Organization drop-down on top of the page.
  3. Select your organization. All projects in the organization are listed on the page.
  4. In the list of projects, select the project you want to delete, and click Delete Project.
  5. Enter the project ID and click Shut down.