Skip to content

Commit b70f803

Browse files
author
Ace Nassri
authored
chore(quickstart): mention private pool caveats (#317)
1 parent aadaf7b commit b70f803

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

generated,README.md,.eslintrc.yml/quickstart.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ async function quickstart(
2727
// Creates a client
2828
const cb = new CloudBuildClient();
2929

30+
// Note: for Private Pools, you'll have to specify an API endpoint value
31+
// For example:
32+
// const cb = new CloudBuildClient({ apiEndpoint: '<YOUR_POOL_REGION>-cloudbuild.googleapis.com' });
33+
3034
// Starts a build against the branch provided.
3135
const [resp] = await cb.runBuildTrigger({
3236
projectId,

0 commit comments

Comments
 (0)