# Service Usage V1 API - Module Google::Cloud::ServiceUsage::V1::DisableServiceRequest::CheckIfServiceHasUsage (v1.8.0)

1.8.0 (latest) 1.7.1 1.6.0 1.5.1 1.4.0 1.3.0 1.2.1 1.1.0 1.0.1 0.7.0 0.6.2 0.5.0 0.4.0 0.3.1 0.2.1 0.1.4 Reference documentation and code samples for the Service Usage V1 API module Google::Cloud::ServiceUsage::V1::DisableServiceRequest::CheckIfServiceHasUsage.

Enum to determine if service usage should be checked when disabling a
service.

## Constants

### CHECK_IF_SERVICE_HAS_USAGE_UNSPECIFIED

**value:** 0  
When unset, the default behavior is used, which is SKIP.

### SKIP

**value:** 1  
If set, skip checking service usage when disabling a service.

### CHECK

**value:** 2  
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.