Answer: Claude Code needs the `roles/aiplatform.user` role, which includes the required permission `aiplatform.endpoints.predict` for model invocation and token counting. Status: Confirmed Entry: tool/claude-code/permissions-and-security/iam-configuration Revision: 2 Digest: sha256:8b3be9863fb2721e (changes whenever the content changes) Timeline: Created: 2026-11-13T03:04:19Z Last changed: 2026-11-16T12:09:19Z (IAM role: — → roles/aiplatform.user) Last verified: 2026-11-20T12:21:10Z Next check: 2026-11-21T12:21:10Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of IAM role | roles/aiplatform.user | [1] | 2026-11-20 Required permission | aiplatform.endpoints.predict | [1] | 2026-11-20 Sources: [1] Anthropic. "Claude Code on Google Cloud's Agent Platform". https://code.claude.com/docs/en/google-vertex-ai.md Role: primary. Accessed: 2026-11-20T12:21:10Z Quote: "Assign the `roles/aiplatform.user` role, which includes the required permissions:" (Supports: IAM role) Quote: "`aiplatform.endpoints.predict` - Required for model invocation and token counting" (Supports: Required permission) Published: 2026-11-20T02:59:45Z Snapshot SHA-256: c290994e64b6ae8c7898f8c69dca71fd3b57689ac882155fedcf5a8d2ceab5ca (captured 2026-11-15T12:21:08Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-15T12:21:08Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:21:10Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:21:10Z Last attempt: 2026-11-20T12:21:10Z Notes and limitations: Extracted automatically from a single official source (section "IAM configuration"). Related: https://latestn.com/tool/claude-code/permissions-and-security/iam-permissions What IAM permissions are required for Claude Code on Amazon Bedrock? https://latestn.com/tool/claude-code/permissions-and-security/isolation-technologies What isolation technologies can I use to securely deploy Claude Code agents? https://latestn.com/tool/claude-code/permissions-and-security/limit-access-permission-rules-sandbox How do I limit Claude Code's access with permission rules and the sandbox? https://latestn.com/tool/claude-code/permissions-and-security/foundry-azure-credentials How do I authenticate Claude Code with Microsoft Foundry using an API key, Microsoft Entra ID, or a bearer token? https://latestn.com/tool/claude-code/permissions-and-security/gate-inbound-messages How do I gate inbound messages in a Claude Code channel to only trusted senders? https://latestn.com/tool/claude-code/permissions-and-security/hold-tool-call-for-user How do I make a Claude Code mod hook hold a tool call until the user decides? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-16T12:09:19Z | changed | IAM role: — → roles/aiplatform.user | [1] 2026-11-16T12:09:19Z | changed | Role: roles/aiplatform.user → — | [1] 2026-11-13T03:04:19Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/claude-code/permissions-and-security/iam-configuration/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/claude-code/permissions-and-security/iam-configuration POST: https://latestn.com/dispute/tool/claude-code/permissions-and-security/iam-configuration with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/claude-code/permissions-and-security/iam-configuration?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). What IAM permissions does Claude Code need on Google Cloud's Agent Platform? Revision 2, last verified 2026-11-20T12:21:10Z. https://latestn.com/tool/claude-code/permissions-and-security/iam-configuration (accessed 2026-11-21T09:58:25Z). @misc{LatestN_tool_claude_code_permissions_and_security_iam_configuration_r2, title = {What IAM permissions does Claude Code need on Google Cloud's Agent Platform?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/claude-code/permissions-and-security/iam-configuration}}, note = {Revision 2; digest sha256:8b3be9863fb2721e; last verified 2026-11-20T12:21:10Z; accessed 2026-11-21T09:58:25Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/claude-code/permissions-and-security/iam-configuration