Anyone can help me how to enable monitoring in google cloud through restapi.? just like in gcloud sdk
gcloud services enable monitoring
while creating a dashboard, able to see some metrics through rest api but not enable monitoring
Anyone can help me how to enable monitoring in google cloud through restapi.? just like in gcloud sdk
gcloud services enable monitoring
while creating a dashboard, able to see some metrics through rest api but not enable monitoring
Certain Google APIs are not publically accessible. As per the docs, Enabling the Monitoring API can be done only via Cloud Console or Cloud SDK. Only after enabling it, you can interact with it either directly or using client libraries. But it's not possible to enable this API via direct call to Google API.