Google Cloud API client - How to enable specific API programmatically?

Refresh

4 weeks ago

Views

3 time

0

I am trying to automate few steps for a google cloud project. I will be receiving project ID and service account credentials (json) as input to my program. I would like to enable few APIs like 'Cloud Machine Learning API' or 'Resource Management API' for this service account programmatically.

[Console way to do this is select project, API&Services, locate API, click on enable]

Can anyone please point me to correct API library to achieve this goal or may be some example?

PST

0 answers