- Before you begin
- Samples
- Config.create_deployment
- Config.create_preview
- Config.delete_deployment
- Config.delete_preview
- Config.delete_statefile
- Config.export_deployment_statefile
- Config.export_lock_info
- Config.export_preview_result
- Config.export_revision_statefile
- Config.get_deployment
- Config.get_preview
- Config.get_resource
- Config.get_revision
- Config.get_terraform_version
- Config.import_statefile
- Config.list_deployments
- Config.list_previews
- Config.list_resources
- Config.list_revisions
- Config.list_terraform_versions
- Config.lock_deployment
- Config.unlock_deployment
- Config.update_deployment
- Quickstart
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-config/samples/generated/v1/config.create_deployment.js
View the source code.
Usage:
node packages/google-cloud-config/samples/generated/v1/config.create_preview.js
View the source code.
Usage:
node packages/google-cloud-config/samples/generated/v1/config.delete_deployment.js
View the source code.
Usage:
node packages/google-cloud-config/samples/generated/v1/config.delete_preview.js
View the source code.
Usage:
node packages/google-cloud-config/samples/generated/v1/config.delete_statefile.js
View the source code.
Usage:
node packages/google-cloud-config/samples/generated/v1/config.export_deployment_statefile.js
View the source code.
Usage:
node packages/google-cloud-config/samples/generated/v1/config.export_lock_info.js
View the source code.
Usage:
node packages/google-cloud-config/samples/generated/v1/config.export_preview_result.js
View the source code.
Usage:
node packages/google-cloud-config/samples/generated/v1/config.export_revision_statefile.js
View the source code.
Usage:
node packages/google-cloud-config/samples/generated/v1/config.get_deployment.js
View the source code.
Usage:
node packages/google-cloud-config/samples/generated/v1/config.get_preview.js
View the source code.
Usage:
node packages/google-cloud-config/samples/generated/v1/config.get_resource.js
View the source code.
Usage:
node packages/google-cloud-config/samples/generated/v1/config.get_revision.js
View the source code.
Usage:
node packages/google-cloud-config/samples/generated/v1/config.get_terraform_version.js
View the source code.
Usage:
node packages/google-cloud-config/samples/generated/v1/config.import_statefile.js
View the source code.
Usage:
node packages/google-cloud-config/samples/generated/v1/config.list_deployments.js
View the source code.
Usage:
node packages/google-cloud-config/samples/generated/v1/config.list_previews.js
View the source code.
Usage:
node packages/google-cloud-config/samples/generated/v1/config.list_resources.js
View the source code.
Usage:
node packages/google-cloud-config/samples/generated/v1/config.list_revisions.js
View the source code.
Usage:
node packages/google-cloud-config/samples/generated/v1/config.list_terraform_versions.js
View the source code.
Usage:
node packages/google-cloud-config/samples/generated/v1/config.lock_deployment.js
View the source code.
Usage:
node packages/google-cloud-config/samples/generated/v1/config.unlock_deployment.js
View the source code.
Usage:
node packages/google-cloud-config/samples/generated/v1/config.update_deployment.js
View the source code.
Usage:
node packages/google-cloud-config/samples/quickstart.js