Google Cloud Service Usage V1 Client - Class CheckIfServiceHasUsage (1.1.1)

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

Namespace

Google \ Cloud \ ServiceUsage \ V1 \ DisableServiceRequest

Methods

static::name

Parameter
NameDescription
value mixed

static::value

Parameter
NameDescription
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.

Generated from protobuf enum CHECK = 2;