Created
April 4, 2024 11:57
-
-
Save GuanacoDevs/fb825ad053aeeb1144159ea9a9570e9a to your computer and use it in GitHub Desktop.
Contents of a Google Cloud `CloudEvent`
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
'attributes': { | |
'specversion': '1.0', | |
'id': '{version_7_UUID}', | |
'source': '//firestore.googleapis.com/projects/{project_id}/databases/(default)', | |
'type': 'google.cloud.firestore.document.v1.{event_type}', | |
'datacontenttype': 'application/protobuf', | |
'dataschema': 'https://github.com/googleapis/google-cloudevents/blob/main/proto/google/events/cloud/firestore/v1/data.proto', | |
'subject': 'documents/{path_id}', | |
'time': '{timestamp_isoformat}', | |
'location': '{region}', | |
'database': '(default)', | |
'namespace': '(default)', | |
'document': '{path_id}', | |
'project': '{project_id}' | |
}, | |
'data': b'{data}' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment