Configure the Google Cloud account¶
In order to gather data from the Google Pub/Sub, Google Cloud Monitoring, and Google Cloud Billing using this add-on, create a Google Cloud Service or External account for each project from the Google Cloud Console. For more information, see the Create Service Accounts, Create and delete service account keys, and Configure workload identity federation with AWS or Azure topics in the Google Cloud documentation. A service account’s credentials, obtained from the Google API Console, include a uniquely generated email address, a client ID, and at least one public/private key pair. You might also need to add a predefined role to your service account. After you have your new public/private key pair, save it to your machine.
An external account’s credentials obtained from the Google API Console, includes credential source info, impersonated service account url, token url, audience. After you have your credential, save it to your machine. These credentials are only supported for the AWS and Azure virtual machines.
Your new public/private key pair is generated and downloaded to your machine, and it serves as the only copy of this key. You are responsible for storing it securely.
To get data from Google Cloud Platform, you need to enable related APIs in Google Cloud Platform. For more information, see the Google Cloud storage APIs & Reference and Getting Endpoints Quickstart documentation.