To use the Cloud Quotas API, you must first enable it for your Cloud de Confiance project. This document describes how to enable the Cloud Quotas API.
Enable the API
You can enable the Cloud Quotas API by using the Cloud de Confiance console or the Google Cloud CLI.
Console
Go to the Cloud de Confiance console API Library page.
Select the Cloud de Confiance project that you want to access the API.
On the API Library page, enable Cloud Quotas API.
Make sure that your user account has the required IAM roles.
gcloud
Before you begin
Authenticate to the gcloud CLI before you use it to enable APIs. For more information about the authentication process, see Authorize the gcloud CLI.
Enable the API
Run the
gcloud services enablecommand and specify the Cloud Quotas API:gcloud services enable cloudquotas.googleapis.com --project=PROJECT_IDReplace
PROJECT_IDwith the ID of the project that needs access to the Cloud Quotas API. You can find your project ID on the Welcome page of the Cloud de Confiance console.To confirm that the Cloud Quotas API is enabled in your project, run the
gcloud services listcommand and filter forcloudquotas.googleapis.comby passing the output to a command such asgrepor using a gcloud CLIfilter:gcloud services list --filter="cloudquotas.googleapis.com"
What's next
About the Cloud Quotas API
Cloud Quotas API reference