Enum to determine if service usage should be checked when
disabling a service.
Enums
Name
Description
CHECK_IF_SERVICE_HAS_USAGE_UNSPECIFIED
When unset, the default behavior is used, which is SKIP.
SKIP
If set, skip checking service usage when disabling a service.
CHECK
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.
[[["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."],[],[],null,["# Class CheckIfServiceHasUsage (1.13.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.13.0 (latest)](/python/docs/reference/serviceusage/latest/google.cloud.service_usage_v1.types.DisableServiceRequest.CheckIfServiceHasUsage)\n- [1.12.0](/python/docs/reference/serviceusage/1.12.0/google.cloud.service_usage_v1.types.DisableServiceRequest.CheckIfServiceHasUsage)\n- [1.11.1](/python/docs/reference/serviceusage/1.11.1/google.cloud.service_usage_v1.types.DisableServiceRequest.CheckIfServiceHasUsage)\n- [1.10.5](/python/docs/reference/serviceusage/1.10.5/google.cloud.service_usage_v1.types.DisableServiceRequest.CheckIfServiceHasUsage)\n- [1.9.0](/python/docs/reference/serviceusage/1.9.0/google.cloud.service_usage_v1.types.DisableServiceRequest.CheckIfServiceHasUsage)\n- [1.7.2](/python/docs/reference/serviceusage/1.7.2/google.cloud.service_usage_v1.types.DisableServiceRequest.CheckIfServiceHasUsage)\n- [1.6.1](/python/docs/reference/serviceusage/1.6.1/google.cloud.service_usage_v1.types.DisableServiceRequest.CheckIfServiceHasUsage)\n- [1.5.0](/python/docs/reference/serviceusage/1.5.0/google.cloud.service_usage_v1.types.DisableServiceRequest.CheckIfServiceHasUsage)\n- [1.4.3](/python/docs/reference/serviceusage/1.4.3/google.cloud.service_usage_v1.types.DisableServiceRequest.CheckIfServiceHasUsage)\n- [1.3.2](/python/docs/reference/serviceusage/1.3.2/google.cloud.service_usage_v1.types.DisableServiceRequest.CheckIfServiceHasUsage)\n- [1.2.1](/python/docs/reference/serviceusage/1.2.1/google.cloud.service_usage_v1.types.DisableServiceRequest.CheckIfServiceHasUsage)\n- [1.1.0](/python/docs/reference/serviceusage/1.1.0/google.cloud.service_usage_v1.types.DisableServiceRequest.CheckIfServiceHasUsage)\n- [1.0.1](/python/docs/reference/serviceusage/1.0.1/google.cloud.service_usage_v1.types.DisableServiceRequest.CheckIfServiceHasUsage)\n- [0.2.2](/python/docs/reference/serviceusage/0.2.2/google.cloud.service_usage_v1.types.DisableServiceRequest.CheckIfServiceHasUsage)\n- [0.1.0](/python/docs/reference/serviceusage/0.1.0/google.cloud.service_usage_v1.types.DisableServiceRequest.CheckIfServiceHasUsage) \n\n CheckIfServiceHasUsage(value)\n\nEnum to determine if service usage should be checked when\ndisabling a service."]]