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

Programmatically check whether a GCP api is enabled

Hello GCP community members

Is there a way to check whether a GCP API is enabled using an API?

Solved Solved
1 1 863
1 ACCEPTED SOLUTION

Hi Ravikiran,

you can simply write a short script that automatically control for enabled services on GCP.

You can refer to official documentation to use the appropriate gcloud command

--> https://cloud.google.com/service-usage/docs/list-services#org-list-enabled

View solution in original post

1 REPLY 1

Hi Ravikiran,

you can simply write a short script that automatically control for enabled services on GCP.

You can refer to official documentation to use the appropriate gcloud command

--> https://cloud.google.com/service-usage/docs/list-services#org-list-enabled

Top Labels in this Space
Top Solution Authors