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\u003eThis page provides reference documentation for the \u003ccode\u003eDisableServiceRequest.Types.CheckIfServiceHasUsage\u003c/code\u003e enum within the Google Cloud Service Usage v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version documented is 2.5.0, with versions ranging back to 1.0.0 available for review.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCheckIfServiceHasUsage\u003c/code\u003e enum determines whether service usage should be validated when disabling a service, with options to \u003ccode\u003eCheck\u003c/code\u003e, \u003ccode\u003eSkip\u003c/code\u003e, or \u003ccode\u003eUnspecified\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eChecking service usage will cause a \u003ccode\u003eFAILED_PRECONDITION\u003c/code\u003e error if the service, or its dependents, has had usage in the past 30 days.\u003c/p\u003e\n"],["\u003cp\u003eBy default, \u003ccode\u003eUnspecified\u003c/code\u003e behavior is used which will skip the usage check when disabling a service.\u003c/p\u003e\n"]]],[],null,[]]