0.0.37 • Published 8 months ago

@google-cloud-suite/cloud-functions-zip-archive v0.0.37

Weekly downloads
-
License
MIT
Repository
-
Last release
8 months ago

@google-cloud-suite/cloud-functions-zip-archive

Create zip file on Cloud Storage

  1. Install
npm install @google-cloud-suite/cloud-functions-zip-archive
  1. Handle http trigger

You can use handle(params?: InitParams) to initialize trigger. The followings are the property of InitParams:

  • bucketName: string
  • clientSecret?: string
    • defaults: undefined

Examples:

const zipArchive = require("@google-cloud-suite/cloud-functions-zip-archive");
exports.zipArchive = zipArchive.handle();
  1. Deploy
gcloud functions deploy zipArchive \
--runtime nodejs14 \
--project YOUR_PROJECT
0.0.37

8 months ago

0.0.30

2 years ago

0.0.31

2 years ago

0.0.29

3 years ago

0.0.28

3 years ago

0.0.27

3 years ago

0.0.26

3 years ago

0.0.25

3 years ago

0.0.24

3 years ago

0.0.23

3 years ago

0.0.22

3 years ago