Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Ce document explique comment désactiver l'API Service Health et arrêter le traitement des événements et des journaux.
Vous pouvez désactiver l'API Service Health via la console Google Cloud ou Google Cloud CLI. L'arrêt du traitement des événements et des journaux peut prendre jusqu'à 24 heures.
Pour désactiver l'API via la console Google Cloud :
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/09/04 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Difficile à comprendre","hardToUnderstand","thumb-down"],["Informations ou exemple de code incorrects","incorrectInformationOrSampleCode","thumb-down"],["Il n'y a pas l'information/les exemples dont j'ai besoin","missingTheInformationSamplesINeed","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/09/04 (UTC)."],[],[],null,["# Disable the Service Health API and processing\n\nThis document explains how to disable the Service Health API and stop event and\nlog processing.\n\nYou can disable the Service Health API through the Google Cloud console or\nGoogle Cloud CLI. Event and log processing may take up to 24 hours to stop.\n\nTo disable the API through the Google Cloud console:\n\n1. In the APIs and Services library, go to the\n [Service Health API](https://console.cloud.google.com/apis/library/servicehealth.googleapis.com).\n\n Alternatively, you can go to the\n [API Library](https://console.cloud.google.com/apis/library) and search\n \"Service Health API\".\n2. Select the project.\n\n3. Select the **DISABLE API** button.\n\nTo disable the API using the gcloud CLI:\n\n1. [Install](https://cloud.google.com/sdk/docs/install) and [initialize](https://cloud.google.com/sdk/docs/initializing) the gcloud CLI if you have not already done so.\n\n2. Disable the Service Health API.\n\n gcloud services disable servicehealth.googleapis.com --project \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e"]]