The payload is stored as a base64-encoded string in the data attribute of the
PubsubMessage. To extract the payload of the
PubsubMessage you need to decode the data attribute.
For simplicity I have omitted this detail.
Try out the gcloud `— format` argument and gcloud projections and let me know.