{"version":"2.1.213","anchor":"claude-platform-on-google-cloud","canonical_anchor":"claude-platform-on-google-cloud","heading":"Claude Platform on Google Cloud","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.213\/e\/claude-platform-on-google-cloud","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.213","markdown":"### Claude Platform on Google Cloud\n\n**What**\n\nClaude Code can now connect to Claude running on Google Cloud infrastructure via `claude.googleapis.com`, using Application Default Credentials or an explicit bearer token provider.\n\n**Usage**\n\n`# Set your GCP project and let Claude Code discover the workspace export ANTHROPIC_GOOGLE_CLOUD_PROJECT=my-gcp-project export ANTHROPIC_GOOGLE_CLOUD_LOCATION=us-east5 # optional, defaults to global export ANTHROPIC_GOOGLE_CLOUD_WORKSPACE_ID=my-workspace # Or provide a full base URL directly export ANTHROPIC_GOOGLE_CLOUD_BASE_URL=https:\/\/claude.googleapis.com\/v1alpha\/projects\/... # Enable the Google Cloud path export CLAUDE_CODE_USE_ANTHROPIC_GOOGLE_CLOUD=true # Skip auth entirely (if your infrastructure handles it externally) export CLAUDE_CODE_SKIP_ANTHROPIC_GOOGLE_CLOUD_AUTH=true` **Details** - Routes to `https:\/\/claude.googleapis.com\/v1alpha\/projects\/{project}\/locations\/{location}\/workspaces\/{workspace}\/invoke` - Authenticates using Google Application Default Credentials (ADC) automatically when no other auth is provided \u2014 no API key required - Accepts an explicit `bearerTokenProvider` callback, a `googleAuth` object, or an `authClient` directly - The deprecated text Completions API is not available on this provider - GCP environment variable values for project, workspace, and location are validated to only contain letters, digits, hyphens, and underscores \u2014 URL metacharacters that could rewrite the request path are rejected with a clear error - The `anthropicGoogleCloud` provider is now recognized in the provider enum in SessionStart hooks and other SDK schema positions **Evidence** `AnthropicGoogleCloud` client implementation (search for `\"Claude Platform on Google Cloud\"`, `\"https:\/\/claude.googleapis.com\"`, `ANTHROPIC_GOOGLE_CLOUD_PROJECT`)"}