Output only. The name of the Pub/Sub subscription created and managed by Eventarc
as a transport for the event delivery. Format:
projects/{PROJECT_ID}/subscriptions/{SUBSCRIPTION_NAME}.
Optional. The name of the Pub/Sub topic created and managed by Eventarc as
a transport for the event delivery. Format:
projects/{PROJECT_ID}/topics/{TOPIC_NAME}.
You can set an existing topic for triggers of the type
google.cloud.pubsub.topic.v1.messagePublished. The topic you provide
here is not deleted by Eventarc at trigger deletion.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version available for \u003ccode\u003eGoogle.Cloud.Eventarc.V1.Pubsub\u003c/code\u003e is 2.6.0, while this page is documenting version 1.3.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePubsub\u003c/code\u003e class represents a Pub/Sub transport and inherits from \u003ccode\u003eObject\u003c/code\u003e, implementing multiple interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors, \u003ccode\u003ePubsub()\u003c/code\u003e and \u003ccode\u003ePubsub(Pubsub other)\u003c/code\u003e, allowing for the creation of new instances, and the copying of existing ones.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePubsub\u003c/code\u003e class includes two properties: \u003ccode\u003eSubscription\u003c/code\u003e, which is an output-only field representing the name of the Pub/Sub subscription, and \u003ccode\u003eTopic\u003c/code\u003e, an optional field for specifying the Pub/Sub topic for event delivery.\u003c/p\u003e\n"],["\u003cp\u003eThis specific version allows the use of an existing topic for \u003ccode\u003egoogle.cloud.pubsub.topic.v1.messagePublished\u003c/code\u003e type triggers, without it being deleted on trigger deletion.\u003c/p\u003e\n"]]],[],null,[]]