Enum DisableServiceRequest.CheckIfServiceHasUsage (2.3.1)

public enum DisableServiceRequest.CheckIfServiceHasUsage extends Enum<DisableServiceRequest.CheckIfServiceHasUsage> implements ProtocolMessageEnum

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

Protobuf enum google.api.serviceusage.v1.DisableServiceRequest.CheckIfServiceHasUsage

Implements

ProtocolMessageEnum

Static Fields

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

CHECK = 2;

CHECK_IF_SERVICE_HAS_USAGE_UNSPECIFIED

When unset, the default behavior is used, which is SKIP.

CHECK_IF_SERVICE_HAS_USAGE_UNSPECIFIED = 0;

CHECK_IF_SERVICE_HAS_USAGE_UNSPECIFIED_VALUE

When unset, the default behavior is used, which is SKIP.

CHECK_IF_SERVICE_HAS_USAGE_UNSPECIFIED = 0;

CHECK_VALUE

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.

CHECK = 2;

SKIP

If set, skip checking service usage when disabling a service.

SKIP = 1;

SKIP_VALUE

If set, skip checking service usage when disabling a service.

SKIP = 1;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()