[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Service Control V1 Client - Class Code (2.0.4)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.4 (latest)](/php/docs/reference/cloud-service-control/latest/V1.CheckError.Code)\n- [2.0.3](/php/docs/reference/cloud-service-control/2.0.3/V1.CheckError.Code)\n- [1.4.4](/php/docs/reference/cloud-service-control/1.4.4/V1.CheckError.Code)\n- [1.3.0](/php/docs/reference/cloud-service-control/1.3.0/V1.CheckError.Code)\n- [1.2.1](/php/docs/reference/cloud-service-control/1.2.1/V1.CheckError.Code)\n- [1.1.1](/php/docs/reference/cloud-service-control/1.1.1/V1.CheckError.Code)\n- [1.0.6](/php/docs/reference/cloud-service-control/1.0.6/V1.CheckError.Code) \nReference documentation and code samples for the Google Cloud Service Control V1 Client class Code.\n\nError codes for Check responses.\n\nProtobuf type `google.api.servicecontrol.v1.CheckError.Code`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ ServiceControl \\\\ V1 \\\\ CheckError\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### ERROR_CODE_UNSPECIFIED\n\n Value: 0\n\nThis is never used in `CheckResponse`.\n\nGenerated from protobuf enum `ERROR_CODE_UNSPECIFIED = 0;`\n\n### NOT_FOUND\n\n Value: 5\n\nThe consumer's project id, network container, or resource container was\nnot found. Same as [google.rpc.Code.NOT_FOUND](https://cloud.google.com/php/docs/reference/common-protos/latest/Rpc.Code.html#_Google_Rpc_Code__NOT_FOUND).\n\nGenerated from protobuf enum `NOT_FOUND = 5;`\n\n### PERMISSION_DENIED\n\n Value: 7\n\nThe consumer doesn't have access to the specified resource.\n\nSame as [google.rpc.Code.PERMISSION_DENIED](https://cloud.google.com/php/docs/reference/common-protos/latest/Rpc.Code.html#_Google_Rpc_Code__PERMISSION_DENIED).\n\nGenerated from protobuf enum `PERMISSION_DENIED = 7;`\n\n### RESOURCE_EXHAUSTED\n\n Value: 8\n\nQuota check failed. Same as [google.rpc.Code.RESOURCE_EXHAUSTED](https://cloud.google.com/php/docs/reference/common-protos/latest/Rpc.Code.html#_Google_Rpc_Code__RESOURCE_EXHAUSTED).\n\nGenerated from protobuf enum `RESOURCE_EXHAUSTED = 8;`\n\n### SERVICE_NOT_ACTIVATED\n\n Value: 104\n\nThe consumer hasn't activated the service.\n\nGenerated from protobuf enum `SERVICE_NOT_ACTIVATED = 104;`\n\n### BILLING_DISABLED\n\n Value: 107\n\nThe consumer cannot access the service because billing is disabled.\n\nGenerated from protobuf enum `BILLING_DISABLED = 107;`\n\n### PROJECT_DELETED\n\n Value: 108\n\nThe consumer's project has been marked as deleted (soft deletion).\n\nGenerated from protobuf enum `PROJECT_DELETED = 108;`\n\n### PROJECT_INVALID\n\n Value: 114\n\nThe consumer's project number or id does not represent a valid project.\n\nGenerated from protobuf enum `PROJECT_INVALID = 114;`\n\n### CONSUMER_INVALID\n\n Value: 125\n\nThe input consumer info does not represent a valid consumer folder or\norganization.\n\nGenerated from protobuf enum `CONSUMER_INVALID = 125;`\n\n### IP_ADDRESS_BLOCKED\n\n Value: 109\n\nThe IP address of the consumer is invalid for the specific consumer\nproject.\n\nGenerated from protobuf enum `IP_ADDRESS_BLOCKED = 109;`\n\n### REFERER_BLOCKED\n\n Value: 110\n\nThe referer address of the consumer request is invalid for the specific\nconsumer project.\n\nGenerated from protobuf enum `REFERER_BLOCKED = 110;`\n\n### CLIENT_APP_BLOCKED\n\n Value: 111\n\nThe client application of the consumer request is invalid for the\nspecific consumer project.\n\nGenerated from protobuf enum `CLIENT_APP_BLOCKED = 111;`\n\n### API_TARGET_BLOCKED\n\n Value: 122\n\nThe API targeted by this request is invalid for the specified consumer\nproject.\n\nGenerated from protobuf enum `API_TARGET_BLOCKED = 122;`\n\n### API_KEY_INVALID\n\n Value: 105\n\nThe consumer's API key is invalid.\n\nGenerated from protobuf enum `API_KEY_INVALID = 105;`\n\n### API_KEY_EXPIRED\n\n Value: 112\n\nThe consumer's API Key has expired.\n\nGenerated from protobuf enum `API_KEY_EXPIRED = 112;`\n\n### API_KEY_NOT_FOUND\n\n Value: 113\n\nThe consumer's API Key was not found in config record.\n\nGenerated from protobuf enum `API_KEY_NOT_FOUND = 113;`\n\n### INVALID_CREDENTIAL\n\n Value: 123\n\nThe credential in the request can not be verified.\n\nGenerated from protobuf enum `INVALID_CREDENTIAL = 123;`\n\n### NAMESPACE_LOOKUP_UNAVAILABLE\n\n Value: 300\n\nThe backend server for looking up project id/number is unavailable.\n\nGenerated from protobuf enum `NAMESPACE_LOOKUP_UNAVAILABLE = 300;`\n\n### SERVICE_STATUS_UNAVAILABLE\n\n Value: 301\n\nThe backend server for checking service status is unavailable.\n\nGenerated from protobuf enum `SERVICE_STATUS_UNAVAILABLE = 301;`\n\n### BILLING_STATUS_UNAVAILABLE\n\n Value: 302\n\nThe backend server for checking billing status is unavailable.\n\nGenerated from protobuf enum `BILLING_STATUS_UNAVAILABLE = 302;`\n\n### CLOUD_RESOURCE_MANAGER_BACKEND_UNAVAILABLE\n\n Value: 305\n\nCloud Resource Manager backend server is unavailable.\n\nGenerated from protobuf enum `CLOUD_RESOURCE_MANAGER_BACKEND_UNAVAILABLE = 305;`"]]