This document explains how to disable the Service Health API and stop event and log processing.
You can disable the Service Health API through the Google Cloud console or Google Cloud CLI. Event and log processing may take up to 24 hours to stop.
To disable the API through the Google Cloud console:
In the APIs and Services library, go to the Service Health API.
Alternatively, you can go to the API Library and search "Service Health API".
Select the project.
Select the DISABLE API button.
To disable the API using the gcloud CLI:
Install and initialize the gcloud CLI if you have not already done so.
Disable the Service Health API.
gcloud services disable servicehealth.googleapis.com --project PROJECT_ID