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 Pub/Sub'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\u003eThe \u003ccode\u003ePubsubTarget\u003c/code\u003e class in the Google Cloud Scheduler v1 API is designed to deliver jobs by publishing messages to a specified Pub/Sub topic.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePubsubTarget\u003c/code\u003e implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, enhancing its functionality and usability within the .NET framework.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003ePubsubTarget\u003c/code\u003e include \u003ccode\u003eAttributes\u003c/code\u003e (key-value pairs for the message), \u003ccode\u003eData\u003c/code\u003e (the message payload), and \u003ccode\u003eTopicName\u003c/code\u003e (the target Pub/Sub topic), with the ability to view the TopicName as a \u003ccode\u003eTopicName\u003c/code\u003e resource.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTopicName\u003c/code\u003e must be formatted as specified in the Pub/Sub API and must be in the same project as the Cloud Scheduler job.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors, one default, and one for cloning objects of the same type.\u003c/p\u003e\n"]]],[],null,[]]