📁 Repository Archived This repository has been archived as part of ongoing changes to align with ONS GitHub usage policies. No further updates will be made.
Useful generic code to interact with Cloud Native tools on Google Cloud Platform.
The code in gcp_utility.py includes functions that could be used in Cloud Functions and Cloud Run to interact with
This Python code builds on the https://github.com/googleapis/google-api-python-client library, but wraps some common functions for easier error handling and logging to StackDriver. This can make developing and working wih Cloud Functions much easier. Examples of using these can be found in the cloud functions example. There is also an example of streaming large files to Google Cloud Storage
Example generic cloud functions to move, decrypt and unzip files.