ORG_RESTRICTION_VIOLATION
com.google.api.error_reason.ErrorReason$.ORG_RESTRICTION_VIOLATION$
The request is denied because it violates Org Restriction: the requested resource does not belong to allowed organizations specified in "X-Goog-Allowed-Resources" header.
Example of an ErrorInfo when accessing a GCP resource that is restricted by Org Restriction for "pubsub.googleapis.com" service.
{ reason: "ORG_RESTRICTION_VIOLATION" domain: "googleapis.com" metadata { "consumer":"projects/123456" "service": "pubsub.googleapis.com" } }
Attributes
- Source:
- ErrorReason.scala
- Graph
- Supertypes
- trait Singletontrait Producttrait Mirrortrait Recognizedclass ErrorReasontrait GeneratedEnumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
- Self type