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 webpage details the \u003ccode\u003eCheckIfServiceHasUsage\u003c/code\u003e enum, a component of the Google Cloud Service Usage API, specifically within the \u003ccode\u003eGoogle.Cloud.ServiceUsage.V1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCheckIfServiceHasUsage\u003c/code\u003e enum is used to manage service usage checks when disabling a service, offering options to \u003ccode\u003eCheck\u003c/code\u003e, \u003ccode\u003eSkip\u003c/code\u003e, or use the \u003ccode\u003eUnspecified\u003c/code\u003e default.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this API element is 2.5.0, and there are also several previous versions of the API element, such as 2.4.0, 2.3.0, 2.2.0, 2.1.0, 2.0.0, 1.2.0, 1.1.0, and 1.0.0 available.\u003c/p\u003e\n"],["\u003cp\u003eWhen set to \u003ccode\u003eCheck\u003c/code\u003e, the system will verify if the service, or its dependents, have been used in the last 30 days, returning an error if there is usage, whereas \u003ccode\u003eSkip\u003c/code\u003e avoids this check.\u003c/p\u003e\n"],["\u003cp\u003eBy default, when the \u003ccode\u003eCheckIfServiceHasUsage\u003c/code\u003e parameter is \u003ccode\u003eUnspecified\u003c/code\u003e, the system skips the service usage check during service disabling operations.\u003c/p\u003e\n"]]],[],null,[]]