tlsCipherRestrictionViolated constant

ErrorReason const tlsCipherRestrictionViolated

The request is denied because the TLS Cipher Suite is restricted by administrators according to the organization policy constraint. For more information see https://cloud.google.com/assured-workloads/docs/restrict-tls-cipher-suites

Example of an ErrorInfo when access to Google Cloud BigQuery service is restricted by Restrict TLS Cipher Suites policy:

{
  "reason": "TLS_CIPHER_RESTRICTION_VIOLATED",
  "domain": "googleapis.com/policies/tlsCipherRestriction",
  "metadata": {
    "policy_name": "constraints/gcp.restrictTLSCipherSuites",
    "checked_value": "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
    "consumer": "organization/123"
    "service": "bigquery.googleapis.com"
   }
}

Implementation

static const tlsCipherRestrictionViolated = ErrorReason(
  'TLS_CIPHER_RESTRICTION_VIOLATED',
);