Skip to content
This repository was archived by the owner on Mar 3, 2026. It is now read-only.

Commit 97e6f2d

Browse files
authored
chore: update transfer manager sample region tags (#2287)
1 parent 14b5ea8 commit 97e6f2d

5 files changed

Lines changed: 10 additions & 10 deletions

samples/downloadFileInChunksWithTransferManager.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ function main(
2929
destFileName = path.join(cwd, fileName),
3030
chunkSize = 1024
3131
) {
32-
// [START storage_download_many_files_transfer_manager]
32+
// [START storage_transfer_manager_download_chunks_concurrently]
3333
/**
3434
* TODO(developer): Uncomment the following lines before running the sample.
3535
*/
@@ -67,7 +67,7 @@ function main(
6767
}
6868

6969
downloadFileInChunksWithTransferManager().catch(console.error);
70-
// [END storage_download_many_files_transfer_manager]
70+
// [END storage_transfer_manager_download_chunks_concurrently]
7171
}
7272

7373
process.on('unhandledRejection', err => {

samples/downloadFolderWithTransferManager.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
// usage: node downloadFolderWithTransferManager.js <BUCKET_NAME> <FOLDER_NAME>
2222

2323
function main(bucketName = 'my-bucket', folderName = 'my-folder') {
24-
// [START storage_download_folder_transfer_manager]
24+
// [START storage_transfer_manager_download_folder]
2525
/**
2626
* TODO(developer): Uncomment the following lines before running the sample.
2727
*/
@@ -50,7 +50,7 @@ function main(bucketName = 'my-bucket', folderName = 'my-folder') {
5050
}
5151

5252
downloadFolderWithTransferManager().catch(console.error);
53-
// [END storage_download_folder_transfer_manager]
53+
// [END storage_transfer_manager_download_folder]
5454
}
5555

5656
process.on('unhandledRejection', err => {

samples/downloadManyFilesWithTransferManager.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function main(
2525
firstFileName = 'file1.txt',
2626
secondFileName = 'file2.txt'
2727
) {
28-
// [START storage_download_many_files_transfer_manager]
28+
// [START storage_transfer_manager_download_many]
2929
/**
3030
* TODO(developer): Uncomment the following lines before running the sample.
3131
*/
@@ -57,7 +57,7 @@ function main(
5757
}
5858

5959
downloadManyFilesWithTransferManager().catch(console.error);
60-
// [END storage_download_many_files_transfer_manager]
60+
// [END storage_transfer_manager_download_many]
6161
}
6262

6363
process.on('unhandledRejection', err => {

samples/uploadDirectoryWithTransferManager.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
// usage: node uploadFolderWithTransferManager.js <BUCKET_NAME> <DIRECTORY_NAME>
2222

2323
function main(bucketName = 'my-bucket', directoryName = 'my-directory') {
24-
// [START storage_upload_directory_transfer_manager]
24+
// [START storage_transfer_manager_upload_directory]
2525
/**
2626
* TODO(developer): Uncomment the following lines before running the sample.
2727
*/
@@ -48,7 +48,7 @@ function main(bucketName = 'my-bucket', directoryName = 'my-directory') {
4848
}
4949

5050
uploadDirectoryWithTransferManager().catch(console.error);
51-
// [END storage_upload_directory_transfer_manager]
51+
// [END storage_transfer_manager_upload_directory]
5252
}
5353

5454
process.on('unhandledRejection', err => {

samples/uploadManyFilesWithTransferManager.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function main(
2525
firstFilePath = './local/path/to/file1.txt',
2626
secondFilePath = './local/path/to/file2.txt'
2727
) {
28-
// [START storage_upload_many_files_transfer_manager]
28+
// [START storage_transfer_manager_upload_many]
2929
/**
3030
* TODO(developer): Uncomment the following lines before running the sample.
3131
*/
@@ -57,7 +57,7 @@ function main(
5757
}
5858

5959
uploadManyFilesWithTransferManager().catch(console.error);
60-
// [END storage_upload_many_files_transfer_manager]
60+
// [END storage_transfer_manager_upload_many]
6161
}
6262

6363
process.on('unhandledRejection', err => {

0 commit comments

Comments
 (0)