Enum CheckError.Code (1.54.0)

public enum CheckError.Code extends Enum<CheckError.Code> implements ProtocolMessageEnum

Error codes for Check responses.

Protobuf enum google.api.servicecontrol.v1.CheckError.Code

Implements

ProtocolMessageEnum

Static Fields

Name Description
API_KEY_EXPIRED

The consumer's API Key has expired.

API_KEY_EXPIRED = 112;

API_KEY_EXPIRED_VALUE

The consumer's API Key has expired.

API_KEY_EXPIRED = 112;

API_KEY_INVALID

The consumer's API key is invalid.

API_KEY_INVALID = 105;

API_KEY_INVALID_VALUE

The consumer's API key is invalid.

API_KEY_INVALID = 105;

API_KEY_NOT_FOUND

The consumer's API Key was not found in config record.

API_KEY_NOT_FOUND = 113;

API_KEY_NOT_FOUND_VALUE

The consumer's API Key was not found in config record.

API_KEY_NOT_FOUND = 113;

API_TARGET_BLOCKED

The API targeted by this request is invalid for the specified consumer project.

API_TARGET_BLOCKED = 122;

API_TARGET_BLOCKED_VALUE

The API targeted by this request is invalid for the specified consumer project.

API_TARGET_BLOCKED = 122;

BILLING_DISABLED

The consumer cannot access the service because billing is disabled.

BILLING_DISABLED = 107;

BILLING_DISABLED_VALUE

The consumer cannot access the service because billing is disabled.

BILLING_DISABLED = 107;

BILLING_STATUS_UNAVAILABLE

The backend server for checking billing status is unavailable.

BILLING_STATUS_UNAVAILABLE = 302;

BILLING_STATUS_UNAVAILABLE_VALUE

The backend server for checking billing status is unavailable.

BILLING_STATUS_UNAVAILABLE = 302;

CLIENT_APP_BLOCKED

The client application of the consumer request is invalid for the specific consumer project.

CLIENT_APP_BLOCKED = 111;

CLIENT_APP_BLOCKED_VALUE

The client application of the consumer request is invalid for the specific consumer project.

CLIENT_APP_BLOCKED = 111;

CLOUD_RESOURCE_MANAGER_BACKEND_UNAVAILABLE

Cloud Resource Manager backend server is unavailable.

CLOUD_RESOURCE_MANAGER_BACKEND_UNAVAILABLE = 305;

CLOUD_RESOURCE_MANAGER_BACKEND_UNAVAILABLE_VALUE

Cloud Resource Manager backend server is unavailable.

CLOUD_RESOURCE_MANAGER_BACKEND_UNAVAILABLE = 305;

CONSUMER_INVALID

The input consumer info does not represent a valid consumer folder or organization.

CONSUMER_INVALID = 125;

CONSUMER_INVALID_VALUE

The input consumer info does not represent a valid consumer folder or organization.

CONSUMER_INVALID = 125;

ERROR_CODE_UNSPECIFIED

This is never used in CheckResponse.

ERROR_CODE_UNSPECIFIED = 0;

ERROR_CODE_UNSPECIFIED_VALUE

This is never used in CheckResponse.

ERROR_CODE_UNSPECIFIED = 0;

INVALID_CREDENTIAL

The credential in the request can not be verified.

INVALID_CREDENTIAL = 123;

INVALID_CREDENTIAL_VALUE

The credential in the request can not be verified.

INVALID_CREDENTIAL = 123;

IP_ADDRESS_BLOCKED

The IP address of the consumer is invalid for the specific consumer project.

IP_ADDRESS_BLOCKED = 109;

IP_ADDRESS_BLOCKED_VALUE

The IP address of the consumer is invalid for the specific consumer project.

IP_ADDRESS_BLOCKED = 109;

NAMESPACE_LOOKUP_UNAVAILABLE

The backend server for looking up project id/number is unavailable.

NAMESPACE_LOOKUP_UNAVAILABLE = 300;

NAMESPACE_LOOKUP_UNAVAILABLE_VALUE

The backend server for looking up project id/number is unavailable.

NAMESPACE_LOOKUP_UNAVAILABLE = 300;

NOT_FOUND

The consumer's project id, network container, or resource container was not found. Same as google.rpc.Code.NOT_FOUND.

NOT_FOUND = 5;

NOT_FOUND_VALUE

The consumer's project id, network container, or resource container was not found. Same as google.rpc.Code.NOT_FOUND.

NOT_FOUND = 5;

PERMISSION_DENIED

The consumer doesn't have access to the specified resource. Same as google.rpc.Code.PERMISSION_DENIED.

PERMISSION_DENIED = 7;

PERMISSION_DENIED_VALUE

The consumer doesn't have access to the specified resource. Same as google.rpc.Code.PERMISSION_DENIED.

PERMISSION_DENIED = 7;

PROJECT_DELETED

The consumer's project has been marked as deleted (soft deletion).

PROJECT_DELETED = 108;

PROJECT_DELETED_VALUE

The consumer's project has been marked as deleted (soft deletion).

PROJECT_DELETED = 108;

PROJECT_INVALID

The consumer's project number or id does not represent a valid project.

PROJECT_INVALID = 114;

PROJECT_INVALID_VALUE

The consumer's project number or id does not represent a valid project.

PROJECT_INVALID = 114;

REFERER_BLOCKED

The referer address of the consumer request is invalid for the specific consumer project.

REFERER_BLOCKED = 110;

REFERER_BLOCKED_VALUE

The referer address of the consumer request is invalid for the specific consumer project.

REFERER_BLOCKED = 110;

RESOURCE_EXHAUSTED

Quota check failed. Same as google.rpc.Code.RESOURCE_EXHAUSTED.

RESOURCE_EXHAUSTED = 8;

RESOURCE_EXHAUSTED_VALUE

Quota check failed. Same as google.rpc.Code.RESOURCE_EXHAUSTED.

RESOURCE_EXHAUSTED = 8;

SERVICE_NOT_ACTIVATED

The consumer hasn't activated the service.

SERVICE_NOT_ACTIVATED = 104;

SERVICE_NOT_ACTIVATED_VALUE

The consumer hasn't activated the service.

SERVICE_NOT_ACTIVATED = 104;

SERVICE_STATUS_UNAVAILABLE

The backend server for checking service status is unavailable.

SERVICE_STATUS_UNAVAILABLE = 301;

SERVICE_STATUS_UNAVAILABLE_VALUE

The backend server for checking service status is unavailable.

SERVICE_STATUS_UNAVAILABLE = 301;

UNRECOGNIZED

Static Methods

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

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()