Skip to content

Commit a0112d2

Browse files
committed
fix(PubSub): Add locational endpoint to SubscribeExactlyOnceDelivery sample
1 parent ff3d936 commit a0112d2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pubsub/api/src/subscribe_exactly_once_delivery.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ function subscribe_exactly_once_delivery(
3838
): void {
3939
$pubsub = new PubSubClient([
4040
'projectId' => $projectId,
41+
'apiEndpoint' => 'us-west1-pubsub.googleapis.com:443'
4142
]);
4243

4344
$subscription = $pubsub->subscription($subscriptionId);

0 commit comments

Comments
 (0)