mcpServerDisabled constant

ErrorReason const mcpServerDisabled

The request is denied because the MCP activation check fails.

Example of an ErrorInfo when the container "projects/123" contacting "pubsub.googleapis.com" service which is disabled by MCP:

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

This response indicates the "pubsub.googleapis.com" has been disabled in "projects/123" for MCP.

Implementation

static const mcpServerDisabled = ErrorReason('MCP_SERVER_DISABLED');