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\u003eThe \u003ccode\u003ePubsubTarget\u003c/code\u003e class in the Google Cloud Scheduler v1 API is designed for delivering jobs by publishing messages to a specified Pub/Sub topic.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, enabling a variety of functionalities like deep cloning and message handling.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003ePubsubTarget\u003c/code\u003e include \u003ccode\u003eAttributes\u003c/code\u003e (key-value pairs for the Pub/Sub message), \u003ccode\u003eData\u003c/code\u003e (the message payload), and \u003ccode\u003eTopicName\u003c/code\u003e (the target Pub/Sub topic).\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTopicName\u003c/code\u003e property requires a specific format, such as \u003ccode\u003eprojects/PROJECT_ID/topics/TOPIC_ID\u003c/code\u003e, and the topic must reside in the same project as the Cloud Scheduler job.\u003c/p\u003e\n"],["\u003cp\u003eThe Pubsub message must contain either non-empty data or at least one attribute.\u003c/p\u003e\n"]]],[],null,[]]