Skip to content

Commit d396ffb

Browse files
author
Ace Nassri
authored
chore(quickstart): clarify private pools instructions (#268)
1 parent 692eddf commit d396ffb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cloudbuild/snippets/quickstart.py

+2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ def quickstart():
2323
print the in-progress status and print the completed status."""
2424

2525
# Authorize the client with Google defaults
26+
# If you're using Private Pools, add a regional `api_endpoint` to `CloudBuildClient()`
27+
# For example, '<YOUR_POOL_REGION>-cloudbuild.googleapis.com'
2628
credentials, project_id = google.auth.default()
2729
client = cloudbuild_v1.services.cloud_build.CloudBuildClient()
2830

0 commit comments

Comments
 (0)