Pub/Sub target. The job will be delivered by publishing a message to
the given Pub/Sub topic.
.. attribute:: topic_name
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 <https://cloud.google.com/pubsub/docs/ref
erence/rpc/google.pubsub.v1#publishrequest>__, for example
projects/PROJECT_ID/topics/TOPIC_ID. The topic must be in
the same project as the Cloud Scheduler job.
Attributes for PubsubMessage. Pubsub message must contain
either non-empty data, or at least one attribute.
Classes
AttributesEntry
API documentation for scheduler_v1beta1.types.PubsubTarget.AttributesEntry class.
[[["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-28 UTC."],[],[],null,[]]