Required. The name of the Cloud Pub/Sub topic to which messages will
be published when a job is delivered. The topic name must be in the
same format as required by PubSub's
PublishRequest.name,
for example projects/PROJECT_ID/topics/TOPIC_ID.
The topic must be in the same project as the Cloud Scheduler job.
[[["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\u003eThis webpage provides documentation for the \u003ccode\u003ePubsubTarget\u003c/code\u003e class within the Google Cloud Scheduler V1 library, specifically version 2.2.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePubsubTarget\u003c/code\u003e class is used to configure a job to publish a message to a specified Pub/Sub topic, as defined by the \u003ccode\u003eTopicName\u003c/code\u003e property, which must be in the same project as the Cloud Scheduler job.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePubsubTarget\u003c/code\u003e class offers properties for configuring message content, including \u003ccode\u003eData\u003c/code\u003e for the message payload and \u003ccode\u003eAttributes\u003c/code\u003e for key-value attributes.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePubsubTarget\u003c/code\u003e class implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e as well as inheriting from \u003ccode\u003eObject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest release of this class is 3.5.0, with several previous releases going back to 2.2.0, available via hyperlinks to each corresponding version's documentation.\u003c/p\u003e\n"]]],[],null,[]]