claude-on-vertex-ai changedbuild-with-claude/claude-on-vertex-ai
Nearest release: v2.1.286, published an hour after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+6added
Lines−6removed
From line
293
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits17to this page, all time
The whole hunk
from line 293, old and new numbered
/
from line 293
293293 use Anthropic\Vertex;
294294
295295 $client = Vertex\Client::fromEnvironment(
296 location: 'global',
296 region: 'global',
297297 projectId: 'MY_PROJECT_ID',
298298 );
299299
from line 415
415415
416416**Using global endpoints (recommended):**
417417
418Set the `region` (php: `location`) parameter to `"global"` when initializing the client:
418Set the `region` parameter to `"global"` when initializing the client:
419419
420420<CodeGroup>
421421 ```bash cURL
from line 568
568568 use Anthropic\Vertex;
569569
570570 $client = Vertex\Client::fromEnvironment(
571 location: 'global',
571 region: 'global',
572572 projectId: 'MY_PROJECT_ID',
573573 );
574574
from line 604
604604
605605**Using multi-region endpoints:**
606606
607Set the `region` (php: `location`) parameter to a multi-region identifier: `"us"` for the United States or `"eu"` for the European Union. The SDK routes requests to the corresponding multi-region endpoint (`https://aiplatform.us.rep.googleapis.com` or `https://aiplatform.eu.rep.googleapis.com`), which dynamically balances traffic across regions within that geography.
607Set the `region` parameter to a multi-region identifier: `"us"` for the United States or `"eu"` for the European Union. The SDK routes requests to the corresponding multi-region endpoint (`https://aiplatform.us.rep.googleapis.com` or `https://aiplatform.eu.rep.googleapis.com`), which dynamically balances traffic across regions within that geography.
608608
609609<CodeGroup>
610610 ```bash cURL
from line 758
758758 use Anthropic\Vertex;
759759
760760 $client = Vertex\Client::fromEnvironment(
761 location: 'us', // Multi-region identifier: "us" or "eu"
761 region: 'us', // Multi-region identifier: "us" or "eu"
762762 projectId: 'MY_PROJECT_ID',
763763 );
764764
from line 953
953953 use Anthropic\Vertex;
954954
955955 $client = Vertex\Client::fromEnvironment(
956 location: 'us-east5',
956 region: 'us-east5',
957957 projectId: 'MY_PROJECT_ID',
958958 );
959959
No line in this hunk matches that.