Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Update VM quotas programmatically

Hi,

I'm new to GCP and I've been struggling finding a way to limit VMs or other services.

Want I am looking for is similar to this post, https://www.googlecloudcommunity.com/gc/Infrastructure-Compute-Storage/Update-VM-quotas-with-gcloud/..., that focuses on "gcloud alpha services ..." and this is exactly the functionality I'm looking for but I want to to this programmatically with python.

I suspect that since it is an alpha release, there might not exist a fitting client for this but another way to do this in python.

I've found python documents and tried some python client libraries that seem relevant but it is hard to understand how to make it work.

Any help is much appreciated!

0 1 120
1 REPLY 1

Hello Lillfrallan,

Welcome to GCC!

Upon further checking, this feature is not yet supported. You may submit your query as a Feature Request in the Public Issue Tracker. However, for feature requests there is no guarantee of any time frame for updates or that the requested feature will be implemented.

Thanks!