Skip to content

Instantly share code, notes, and snippets.

@jdyke

jdyke/main.py Secret

Created March 25, 2020 13:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jdyke/250931ca5331105825c4912ff758a4a4 to your computer and use it in GitHub Desktop.
Save jdyke/250931ca5331105825c4912ff758a4a4 to your computer and use it in GitHub Desktop.
def process_log_entry(data, context):
data_buffer = base64.b64decode(data['data'])
log_entry = json.loads(data_buffer)
service = create_service()
def create_service():
return googleapiclient.discovery.build('cloudresourcemanager', 'v1')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment