Create and update labels for projects

This document provides details on how to create and update labels for projects using the Resource Manager API and the Google Cloud console. It provides details on how to understand costs using labels and the services that support labels.

Create labels for projects

Console

To add labels to a single project:

  1. Open the Labelspage in the Google Cloud console.

    Open the Labels page

  2. Select your project from the Select a projectdrop-down.

  3. To add a new label entry, click + Add labeland enter a label key and value for each label you want to add.

  4. When you're finished adding labels, click Save.

To add labels for more than one project at the same time:

  1. Open the Manage resourcespage in the Google Cloud console.

    Open the Manage resources page

  2. On the Manage resourcespage, select the projects for which you want to add labels.

  3. In the info panel, in the Labelstab, click + Add labeland enter a label key and value for each label you want to add.

  4. When you're finished adding labels, click Save.

After you add labels, you can filter projects by typing a label key or value in the filter box above the projects list. The filter box will suggest keys and values so you can preview results.