Skip to content

Latest commit

 

History

History

storage-transfer

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Google Cloud Platform logo

Google Cloud Storage Transfer API Node.js Samples

Build

Table of Contents

Setup

  1. Read Prerequisites and How to run a sample first.

  2. Install dependencies:

    npm install
    

Samples

Storage Transfer API

View the documentation or the source code.

Usage: node transfer.js --help

Commands:
  jobs <cmd> [args]        Run a job command.
  operations <cmd> [args]  Run an operation command.

Options:
  --help  Show help                                                                        [boolean]

Examples:
  node transfer.js jobs --help        Show job commands.
  node transfer.js operations --help  Show operations commands.

For more information, see https://cloud.google.com/storage/transfer

Running the tests

  1. Set the GCLOUD_PROJECT and GOOGLE_APPLICATION_CREDENTIALS environment variables.

  2. Run the tests:

    npm test