Before running the samples, make sure you've followed the steps outlined in Using the client library.
cd samples
npm install
cd ..
View the source code.
Usage:
node packages/google-cloud-shell/samples/generated/v1/cloud_shell_service.add_public_key.js
View the source code.
Usage:
node packages/google-cloud-shell/samples/generated/v1/cloud_shell_service.authorize_environment.js
View the source code.
Usage:
node packages/google-cloud-shell/samples/generated/v1/cloud_shell_service.get_environment.js
View the source code.
Usage:
node packages/google-cloud-shell/samples/generated/v1/cloud_shell_service.remove_public_key.js
View the source code.
Usage:
node packages/google-cloud-shell/samples/generated/v1/cloud_shell_service.start_environment.js
View the source code.
Usage:
node packages/google-cloud-shell/samples/quickstart.js
