Reference documentation and code samples for the Google Cloud Service Usage V1 Client class CheckIfServiceHasUsage.
Enum to determine if service usage should be checked when disabling a
service.
Protobuf type google.api.serviceusage.v1.DisableServiceRequest.CheckIfServiceHasUsage
Methods
name
Parameter
Name
Description
value
mixed
value
Parameter
Name
Description
name
mixed
Constants
CHECK_IF_SERVICE_HAS_USAGE_UNSPECIFIED
Value: 0
When unset, the default behavior is used, which is SKIP.
Generated from protobuf enum CHECK_IF_SERVICE_HAS_USAGE_UNSPECIFIED = 0;
SKIP
Value: 1
If set, skip checking service usage when disabling a service.
Generated from protobuf enum SKIP = 1;
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.
[[["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-07-31 UTC."],[],[]]