Cloud Functions is a lightweight, event-based, asynchronous compute solution that allows you to create small, single-purpose functions that respond to Cloud events without the need to manage a server or a runtime environment.
- Read Prerequisites and How to run a sample first.
- Hello World
- Background
- Callbacks
- Cloud Datastore
- Cloud Pub/Sub
- Cloud Spanner
- Cloud Storage
- Dependencies
- Error Reporting
- HTTP
- Logging & Monitoring
- OCR (Optical Character Recognition)
- SendGrid
- Slack
The samples in the node8
directory are designed for use with Node.js 8.x.x
only. Unless otherwise noted, all other samples are designed for both Node.js 6.x.x
and Node.js 8.x.x
.