This workflow receives events from Eventarc and stores their payload (the data field of the event) to a Cloud Storage bucket.
Run setup.sh to enable required services, deploy the event-payload-storer workflow defined in event-payload-storer.yaml and create a bucket for the workflow to save event payloads to.
Run test_pubsub.sh to create a Pub/Sub trigger and publish a message to the Pub/Sub topic. After the script runs, you should see the event payload of the Pub/Sub event saved to the bucket.
Run test_storage.sh to create a Cloud Storage bucket and trigger and save a file to the bucket. After the script runs, you should see the event payload of the Cloud Storage event saved to the bucket.