If set, service usage is checked when disabling the service. If a
service, or its dependents, has usage in the last 30 days, the request
returns a FAILED_PRECONDITION error.
Skip
If set, skip checking service usage when disabling a service.
Unspecified
When unset, the default behavior is used, which is SKIP.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe webpage details different versions of the \u003ccode\u003eCheckIfServiceHasUsage\u003c/code\u003e enum within the \u003ccode\u003eGoogle.Cloud.ServiceUsage.V1\u003c/code\u003e namespace, with the latest version being 2.5.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCheckIfServiceHasUsage\u003c/code\u003e enum is used to determine whether to check for service usage when disabling a service, with options including \u003ccode\u003eCheck\u003c/code\u003e, \u003ccode\u003eSkip\u003c/code\u003e, and \u003ccode\u003eUnspecified\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCheck\u003c/code\u003e field option returns a \u003ccode\u003eFAILED_PRECONDITION\u003c/code\u003e error if usage is detected in the last 30 days when disabling, whereas \u003ccode\u003eSkip\u003c/code\u003e bypasses this check.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUnspecified\u003c/code\u003e field defaults to \u003ccode\u003eSKIP\u003c/code\u003e behavior when left unset, meaning service usage will be ignored in this state.\u003c/p\u003e\n"]]],[],null,[]]