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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage provides reference documentation for the \u003ccode\u003eDisableServiceRequest.Types.CheckIfServiceHasUsage\u003c/code\u003e enum in the Google Cloud Service Usage v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this documentation is for version 2.5.0, with older versions available for 2.4.0 down to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCheckIfServiceHasUsage\u003c/code\u003e enum controls whether service usage is checked before a service is disabled, allowing either checking for recent usage or skipping the check.\u003c/p\u003e\n"],["\u003cp\u003eThe enum includes three possible values: \u003ccode\u003eCheck\u003c/code\u003e to verify usage, \u003ccode\u003eSkip\u003c/code\u003e to bypass the usage check, and \u003ccode\u003eUnspecified\u003c/code\u003e which defaults to skipping the check.\u003c/p\u003e\n"]]],[],null,[]]