Enable the Workload Manager API

Enable the Workload Manager API to use its rule-based validation, guided deployment automation, and observability services for your workloads running on Google Cloud. Workload Manager lets you automate workload deployment, detect deviations from best practices, and monitor system health to help you improve system quality, reliability, and performance.

This document describes how to enable the Workload Manager API.

For information about Workload Manager and its features, see About Workload Manager .

Before you begin

Before you enable the Workload Manager API, do the following:

  • Ensure that you have the serviceusage.services.enable IAM permission. If you don't have this permission, ask your administrator to grant you the Service Usage Admin ( roles/serviceusage.serviceUsageAdmin ) role on your project. For more information about granting roles, see Manage access to projects, folders, and organizations .
  • Ensure that billing is enabled for your Google Cloud project. Verify billing is enabled .

Enable the API

You can enable the Workload Manager API by using the Google Cloud console or the gcloud CLI.

Console

  1. In the Google Cloud console, on the project selector page, select the project in which you want to enable Workload Manager.

  2. Enable the Workload Manager API.

    Enable the API

gcloud

To enable the API, use the gcloud services enable command :

gcloud services enable workloadmanager.googleapis.com \
  --project= PROJECT_ID 

Replace PROJECT_ID with the project ID of the consumer project in which you create and run Workload Manager evaluations or the project in which you deploy workloads by using Workload Manager.

What's next

Design a Mobile Site
View Site in Mobile | Classic
Share by: