apiKeyIpAddressBlocked constant

ErrorReason const apiKeyIpAddressBlocked

The request is denied because it violates API key IP address restrictions.

Example of an ErrorInfo when the consumer "projects/123" fails to call "storage.googleapis.com" service because the caller IP of the request violates API key IP address restrictions:

{ "reason": "API_KEY_IP_ADDRESS_BLOCKED",
  "domain": "googleapis.com",
  "metadata": {
    "consumer": "projects/123",
    "service": "storage.googleapis.com",
  }
}

Implementation

static const apiKeyIpAddressBlocked = ErrorReason(
  'API_KEY_IP_ADDRESS_BLOCKED',
);