orgRestrictionHeaderInvalid constant

ErrorReason const orgRestrictionHeaderInvalid

The request is denied because "X-Goog-Allowed-Resources" header is in a bad format.

Example of an ErrorInfo when accessing "pubsub.googleapis.com" service with an invalid "X-Goog-Allowed-Resources" request header.

{ reason: "ORG_RESTRICTION_HEADER_INVALID" domain: "googleapis.com" metadata { "consumer":"projects/123456" "service": "pubsub.googleapis.com" } }

Implementation

static const orgRestrictionHeaderInvalid = ErrorReason(
  'ORG_RESTRICTION_HEADER_INVALID',
);