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. This topic 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\u003eThe documentation covers the \u003ccode\u003eJobNotification\u003c/code\u003e class within the Google Cloud Batch v1 API, detailing its usage and properties across multiple versions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eJobNotification\u003c/code\u003e class is designed for configuring notifications about job status changes via Pub/Sub, which can be set to target a specific topic with specific message requirements.\u003c/p\u003e\n"],["\u003cp\u003eThis \u003ccode\u003eJobNotification\u003c/code\u003e class implements several interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, indicating its role in managing structured data and its compatibility with Google's protocol buffer system.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the Batch API referenced is 2.13.0, with versions down to 1.0.0 also listed.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eJobNotification\u003c/code\u003e has two constructors, a default one \u003ccode\u003eJobNotification()\u003c/code\u003e and another one that clones an existing \u003ccode\u003eJobNotification\u003c/code\u003e instance via \u003ccode\u003eJobNotification(JobNotification other)\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]