public sealed class JobNotification : IMessage<JobNotification>, IEquatable<JobNotification>, IDeepCloneable<JobNotification>, IBufferMessage, IMessage
Reference documentation and code samples for the Batch v1 API class JobNotification.
The Pub/Sub topic where notifications like the job state changes
will be published. The topic must exist in the same project as
the job and billings will be charged to this project.
If not specified, no Pub/Sub messages will be sent.
Topic format: projects/{project}/topics/{topic}.
[[["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 document provides reference documentation for the \u003ccode\u003eJobNotification\u003c/code\u003e class within the Google Cloud Batch v1 API, detailing its properties, constructors, inheritance, and implemented interfaces.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the API available in this list is 2.13.0, and the page includes version history back to version 1.0.0, each with a link to their documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eJobNotification\u003c/code\u003e class is designed for configuring notifications for Google Cloud Batch jobs, such as job state changes, and can be set up to send messages to a Pub/Sub topic.\u003c/p\u003e\n"],["\u003cp\u003eThe 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, and inherits from the \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eJobNotification\u003c/code\u003e has properties like \u003ccode\u003eMessage\u003c/code\u003e and \u003ccode\u003ePubsubTopic\u003c/code\u003e allowing to dictate the requirement for messages to be sent, as well as to what topic.\u003c/p\u003e\n"]]],[],null,[]]