code property
The error code. Possible string values are:
- "ERROR_CODE_UNSPECIFIED" : This is never used in
CheckResponse
. - "NOT_FOUND" : The consumer's project id, network container, or resource container was not found. Same as google.rpc.Code.NOT_FOUND.
- "PERMISSION_DENIED" : The consumer doesn't have access to the specified resource. Same as google.rpc.Code.PERMISSION_DENIED.
- "RESOURCE_EXHAUSTED" : Quota check failed. Same as google.rpc.Code.RESOURCE_EXHAUSTED.
- "BUDGET_EXCEEDED" : Budget check failed.
- "DENIAL_OF_SERVICE_DETECTED" : The consumer's request has been flagged as a DoS attack.
- "LOAD_SHEDDING" : The consumer's request should be rejected in order to protect the service from being overloaded.
- "ABUSER_DETECTED" : The consumer has been flagged as an abuser.
- "SERVICE_NOT_ACTIVATED" : The consumer hasn't activated the service.
- "VISIBILITY_DENIED" : The consumer cannot access the service due to visibility configuration.
- "BILLING_DISABLED" : The consumer cannot access the service because billing is disabled.
- "PROJECT_DELETED" : The consumer's project has been marked as deleted (soft deletion).
- "PROJECT_INVALID" : The consumer's project number or id does not represent a valid project.
- "CONSUMER_INVALID" : The input consumer info does not represent a valid consumer folder or organization.
- "IP_ADDRESS_BLOCKED" : The IP address of the consumer is invalid for the specific consumer project.
- "REFERER_BLOCKED" : The referer address of the consumer request is invalid for the specific consumer project.
- "CLIENT_APP_BLOCKED" : The client application of the consumer request is invalid for the specific consumer project.
- "API_TARGET_BLOCKED" : The API targeted by this request is invalid for the specified consumer project.
- "API_KEY_INVALID" : The consumer's API key is invalid.
- "API_KEY_EXPIRED" : The consumer's API Key has expired.
- "API_KEY_NOT_FOUND" : The consumer's API Key was not found in config record.
- "SPATULA_HEADER_INVALID" : The consumer's spatula header is invalid.
- "LOAS_ROLE_INVALID" : The consumer's LOAS role is invalid.
- "NO_LOAS_PROJECT" : The consumer's LOAS role has no associated project.
- "LOAS_PROJECT_DISABLED" : The consumer's LOAS project is not
ACTIVE
in LoquatV2. - "SECURITY_POLICY_VIOLATED" : Request is not allowed as per security policies defined in Org Policy.
- "INVALID_CREDENTIAL" : The credential in the request can not be verified.
- "LOCATION_POLICY_VIOLATED" : Request is not allowed as per location policies defined in Org Policy.
- "NAMESPACE_LOOKUP_UNAVAILABLE" : The backend server for looking up project id/number is unavailable.
- "SERVICE_STATUS_UNAVAILABLE" : The backend server for checking service status is unavailable.
- "BILLING_STATUS_UNAVAILABLE" : The backend server for checking billing status is unavailable.
- "QUOTA_CHECK_UNAVAILABLE" : The backend server for checking quota limits is unavailable.
- "LOAS_PROJECT_LOOKUP_UNAVAILABLE" : The Spanner for looking up LOAS project is unavailable.
- "CLOUD_RESOURCE_MANAGER_BACKEND_UNAVAILABLE" : Cloud Resource Manager backend server is unavailable.
- "SECURITY_POLICY_BACKEND_UNAVAILABLE" : NOTE: for customers in the scope of Beta/GA of https://cloud.google.com/vpc-service-controls, this error is no longer returned. If the security backend is unavailable, rpc UNAVAILABLE status will be returned instead. It should be ignored and should not be used to reject client requests.
- "LOCATION_POLICY_BACKEND_UNAVAILABLE" : Backend server for evaluating location policy is unavailable.
- "INJECTED_ERROR" : Part of the project of fault injection: go/chemist-slo-validation. To distinguish between artificially injected errors and organic ones, this value will be exported for the per_service_check_error_count streamz. http://google3/apiserving/servicecontrol/server/controller_service.cc;l=196 Rpcinjectz2 works by injecting errors early in the rpc life cycle, before any of the chemist business logic runs.
Implementation
core.String? code;