Service Control API V1 API - Module Google::Cloud::ServiceControl::V1::CheckError::Code (v1.0.1)

Reference documentation and code samples for the Service Control API V1 API module Google::Cloud::ServiceControl::V1::CheckError::Code.

Error codes for Check responses.

Constants

ERROR_CODE_UNSPECIFIED

value: 0
This is never used in CheckResponse.

NOT_FOUND

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

PERMISSION_DENIED

value: 7
The consumer doesn't have access to the specified resource. Same as [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED].

RESOURCE_EXHAUSTED

value: 8
Quota check failed. Same as [google.rpc.Code.RESOURCE_EXHAUSTED][google.rpc.Code.RESOURCE_EXHAUSTED].

SERVICE_NOT_ACTIVATED

value: 104
The consumer hasn't activated the service.

BILLING_DISABLED

value: 107
The consumer cannot access the service because billing is disabled.

PROJECT_DELETED

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

PROJECT_INVALID

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

CONSUMER_INVALID

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

IP_ADDRESS_BLOCKED

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

REFERER_BLOCKED

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

CLIENT_APP_BLOCKED

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

API_TARGET_BLOCKED

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

API_KEY_INVALID

value: 105
The consumer's API key is invalid.

API_KEY_EXPIRED

value: 112
The consumer's API Key has expired.

API_KEY_NOT_FOUND

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

INVALID_CREDENTIAL

value: 123
The credential in the request can not be verified.

NAMESPACE_LOOKUP_UNAVAILABLE

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

SERVICE_STATUS_UNAVAILABLE

value: 301
The backend server for checking service status is unavailable.

BILLING_STATUS_UNAVAILABLE

value: 302
The backend server for checking billing status is unavailable.

CLOUD_RESOURCE_MANAGER_BACKEND_UNAVAILABLE

value: 305
Cloud Resource Manager backend server is unavailable.