Cloud Services

Enterprise Marketplace

Google Cloud Platform (GCP) pricing API
Published On Nov 06, 2024 - 7:20 AM

Google Cloud Platform (GCP) pricing API

Generate API keys in Google Cloud Platform.

Creating an API Key in GCP

To generate the API key in GCP, go to https://cloud.google.com/docs/ and locate the topic "Using API Keys." Follow the instructions.

Enabling the cloud billing API

To enable the cloud billing API, refer to the reference documentation:
  1. Locate the file entitled "Get Google Cloud Platform Pricing Information."
Visit the following reference link to test the cloud billing API:
https://cloudbilling.googleapis.com/v1/services?key={API KEY HERE}
.
This action returns valid data if the cloud billing API is enabled and the API key is valid.
Do you have two minutes for a quick survey?
Take Survey