Skip to content

Commit 2af3748

Browse files
author
Joanna Grycz
committed
refactor: add missing doc for projectId
1 parent f7f7b15 commit 2af3748

8 files changed

+8
-0
lines changed

batch/create/create_batch_custom_events.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ async function main() {
2828
/**
2929
* TODO(developer): Update these variables before running the sample.
3030
*/
31+
// Project ID or project number of the Google Cloud project you want to use.
3132
const projectId = await batchClient.getProjectId();
3233
// Name of the region you want to use to run the job. Regions that are
3334
// available for Batch are listed on: https://cloud.google.com/batch/docs/get-started#locations

batch/create/create_batch_labels_allocation.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ async function main() {
2828
/**
2929
* TODO(developer): Update these variables before running the sample.
3030
*/
31+
// Project ID or project number of the Google Cloud project you want to use.
3132
const projectId = await batchClient.getProjectId();
3233
// Name of the region you want to use to run the job. Regions that are
3334
// available for Batch are listed on: https://cloud.google.com/batch/docs/get-started#locations

batch/create/create_batch_labels_job.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ async function main() {
2828
/**
2929
* TODO(developer): Update these variables before running the sample.
3030
*/
31+
// Project ID or project number of the Google Cloud project you want to use.
3132
const projectId = await batchClient.getProjectId();
3233
// Name of the region you want to use to run the job. Regions that are
3334
// available for Batch are listed on: https://cloud.google.com/batch/docs/get-started#locations

batch/create/create_batch_labels_runnable.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ async function main() {
2828
/**
2929
* TODO(developer): Update these variables before running the sample.
3030
*/
31+
// Project ID or project number of the Google Cloud project you want to use.
3132
const projectId = await batchClient.getProjectId();
3233
// Name of the region you want to use to run the job. Regions that are
3334
// available for Batch are listed on: https://cloud.google.com/batch/docs/get-started#locations

batch/create/create_batch_notifications.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ async function main() {
2828
/**
2929
* TODO(developer): Update these variables before running the sample.
3030
*/
31+
// Project ID or project number of the Google Cloud project you want to use.
3132
const PROJECT_ID = await batchClient.getProjectId();
3233
// Name of the region you want to use to run the job. Regions that are
3334
// available for Batch are listed on: https://cloud.google.com/batch/docs/get-started#locations

batch/create/create_gpu_job.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ async function main() {
2828
/**
2929
* TODO(developer): Update these variables before running the sample.
3030
*/
31+
// Project ID or project number of the Google Cloud project you want to use.
3132
const projectId = await batchClient.getProjectId();
3233
// Name of the region you want to use to run the job. Regions that are
3334
// available for Batch are listed on: https://cloud.google.com/batch/docs/get-started#locations

batch/create/create_gpu_job_n1.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ async function main() {
2828
/**
2929
* TODO(developer): Update these variables before running the sample.
3030
*/
31+
// Project ID or project number of the Google Cloud project you want to use.
3132
const projectId = await batchClient.getProjectId();
3233
// Name of the region you want to use to run the job. Regions that are
3334
// available for Batch are listed on: https://cloud.google.com/batch/docs/get-started#locations

batch/create/create_local_ssd_job.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ async function main() {
2828
/**
2929
* TODO(developer): Update these variables before running the sample.
3030
*/
31+
// Project ID or project number of the Google Cloud project you want to use.
3132
const projectId = await batchClient.getProjectId();
3233
// Name of the region you want to use to run the job. Regions that are
3334
// available for Batch are listed on: https://cloud.google.com/batch/docs/get-started#locations

0 commit comments

Comments
 (0)