Reference documentation and code samples for the Google Cloud Service Control V1 Client class Code.
Error codes for Check responses.
Protobuf type google.api.servicecontrol.v1.CheckError.Code
Namespace
Google \ Cloud \ ServiceControl \ V1 \ CheckErrorMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
ERROR_CODE_UNSPECIFIED
Value: 0
This is never used in CheckResponse
.
Generated from protobuf enum ERROR_CODE_UNSPECIFIED = 0;
NOT_FOUND
Value: 5
The consumer's project id, network container, or resource container was not found. Same as google.rpc.Code.NOT_FOUND.
Generated from protobuf enum NOT_FOUND = 5;
PERMISSION_DENIED
Value: 7
The consumer doesn't have access to the specified resource.
Same as google.rpc.Code.PERMISSION_DENIED.
Generated from protobuf enum PERMISSION_DENIED = 7;
RESOURCE_EXHAUSTED
Value: 8
Quota check failed. Same as google.rpc.Code.RESOURCE_EXHAUSTED.
Generated from protobuf enum RESOURCE_EXHAUSTED = 8;
SERVICE_NOT_ACTIVATED
Value: 104
The consumer hasn't activated the service.
Generated from protobuf enum SERVICE_NOT_ACTIVATED = 104;
BILLING_DISABLED
Value: 107
The consumer cannot access the service because billing is disabled.
Generated from protobuf enum BILLING_DISABLED = 107;
PROJECT_DELETED
Value: 108
The consumer's project has been marked as deleted (soft deletion).
Generated from protobuf enum PROJECT_DELETED = 108;
PROJECT_INVALID
Value: 114
The consumer's project number or id does not represent a valid project.
Generated from protobuf enum PROJECT_INVALID = 114;
CONSUMER_INVALID
Value: 125
The input consumer info does not represent a valid consumer folder or organization.
Generated from protobuf enum CONSUMER_INVALID = 125;
IP_ADDRESS_BLOCKED
Value: 109
The IP address of the consumer is invalid for the specific consumer project.
Generated from protobuf enum IP_ADDRESS_BLOCKED = 109;
REFERER_BLOCKED
Value: 110
The referer address of the consumer request is invalid for the specific consumer project.
Generated from protobuf enum REFERER_BLOCKED = 110;
CLIENT_APP_BLOCKED
Value: 111
The client application of the consumer request is invalid for the specific consumer project.
Generated from protobuf enum CLIENT_APP_BLOCKED = 111;
API_TARGET_BLOCKED
Value: 122
The API targeted by this request is invalid for the specified consumer project.
Generated from protobuf enum API_TARGET_BLOCKED = 122;
API_KEY_INVALID
Value: 105
The consumer's API key is invalid.
Generated from protobuf enum API_KEY_INVALID = 105;
API_KEY_EXPIRED
Value: 112
The consumer's API Key has expired.
Generated from protobuf enum API_KEY_EXPIRED = 112;
API_KEY_NOT_FOUND
Value: 113
The consumer's API Key was not found in config record.
Generated from protobuf enum API_KEY_NOT_FOUND = 113;
INVALID_CREDENTIAL
Value: 123
The credential in the request can not be verified.
Generated from protobuf enum INVALID_CREDENTIAL = 123;
NAMESPACE_LOOKUP_UNAVAILABLE
Value: 300
The backend server for looking up project id/number is unavailable.
Generated from protobuf enum NAMESPACE_LOOKUP_UNAVAILABLE = 300;
SERVICE_STATUS_UNAVAILABLE
Value: 301
The backend server for checking service status is unavailable.
Generated from protobuf enum SERVICE_STATUS_UNAVAILABLE = 301;
BILLING_STATUS_UNAVAILABLE
Value: 302
The backend server for checking billing status is unavailable.
Generated from protobuf enum BILLING_STATUS_UNAVAILABLE = 302;
CLOUD_RESOURCE_MANAGER_BACKEND_UNAVAILABLE
Value: 305
Cloud Resource Manager backend server is unavailable.
Generated from protobuf enum CLOUD_RESOURCE_MANAGER_BACKEND_UNAVAILABLE = 305;