We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2073a8a commit 798f66cCopy full SHA for 798f66c
pubsub/api/src/subscribe_exactly_once_delivery.php
@@ -38,6 +38,8 @@ function subscribe_exactly_once_delivery(
38
): void {
39
$pubsub = new PubSubClient([
40
'projectId' => $projectId,
41
+ // use the apiEndpoint option to set a regional endpoint
42
+ 'apiEndpoint' => 'us-west1-pubsub.googleapis.com:443'
43
]);
44
45
$subscription = $pubsub->subscription($subscriptionId);
0 commit comments