Pedro Jacinto
Pedro Jacinto

Reputation: 1004

Managing GCP quotas through an API

Is there any way to manage API / Service quotas (https://console.cloud.google.com/iam-admin/quotas) through an API?

Upvotes: 1

Views: 781

Answers (2)

gonzaloriestra
gonzaloriestra

Reputation: 733

I think there is no API yet to manage project or API-specific quotas, but you can set limits per billing account (or subaccount) and it can be done through the Cloud Billing Budget API (beta).

Upvotes: 0

Alioua
Alioua

Reputation: 1776

You can't manage service quotas through API, If you may want to adjust your project's quota limits up or down. This section describes how to change your provided quota limits.

  • You can Request a higher quota.
  • You can limit usage of a particular resource by setting your own quota limits by going API-specific quota page, then click the edit icon, and enter your preferred total quota.
  • there is a beta Monitoring quota metrics this is throught using using Stackdriver API

Upvotes: 1

Related Questions