tlsOrgPolicyViolated constant
ErrorReason
const tlsOrgPolicyViolated
The request is denied because it access data of regulated customers using TLS 1.0 and 1.1.
Example of an ErrorInfo when accessing a GCP resource "projects/123" that is restricted by TLS Version Restriction for "pubsub.googleapis.com" service.
{
"reason": "TLS_ORG_POLICY_VIOLATED",
"domain": "googleapis.com",
"metadata": {
"service": "pubsub.googleapis.com"
"resource": "projects/123",
"policyName": "constraints/gcp.restrictTLSVersion",
"tlsVersion": "TLS_VERSION_1"
}
}
Implementation
static const tlsOrgPolicyViolated = ErrorReason('TLS_ORG_POLICY_VIOLATED');