securityPolicyViolated constant
ErrorReason
const securityPolicyViolated
The request is denied because it violates VPC Service Controls. The 'uid' field is a random generated identifier that customer can use it to search the audit log for a request rejected by VPC Service Controls. For more information, please refer VPC Service Controls Troubleshooting
Example of an ErrorInfo when the consumer "projects/123" fails to call Cloud Storage service because the request is prohibited by the VPC Service Controls.
{ "reason": "SECURITY_POLICY_VIOLATED",
"domain": "googleapis.com",
"metadata": {
"uid": "123456789abcde",
"consumer": "projects/123",
"service": "storage.googleapis.com"
}
}
Implementation
static const securityPolicyViolated = ErrorReason('SECURITY_POLICY_VIOLATED');