Gemini Enterprise Agent Platform Semantic Governance Policy Configuration Guide
Configure semantic governance policies
Google Cloud provides a semantic governance policy configuration guide for Gemini Enterprise Agent Platform, using natural-language constraints to set technical and behavioral guardrails for an agent's tool calls. The agent's reasoning engine must set both identity_type=AGENT_IDENTITY and agent_gateway_config at deployment to be eligible; these two fields are immutable, and if missing, the agent must be redeployed. Policies can be scoped to the entire agent or to specific MCP servers and tools, constraints can be up to 5,000 characters, and a rejection message can be configured; dry-run mode only records the decision without blocking the operation, making it easier to validate rules before enforcement. The policy engine calls Gemini models through multi-region endpoints to evaluate tool calls, does not support streaming model calls, and writes evaluation logs to Cloud Logging, including the decision rationale and token usage.