Quickstart: Receive events using Pub/Sub message (Google Cloud CLI) | Eventarc
Preview This product is covered by the Pre-GA Offerings Terms of the Google Cloud Terms of Service. Pre-GA products might have limited support, and changes to pre-GA products might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
https://cloud.google.com/eventarc/docs/gke/quickstart-pubsub#new-pubsub-topic