public sealed class JobNotification : IMessage<JobNotification>, IEquatable<JobNotification>, IDeepCloneable<JobNotification>, IBufferMessage, IMessage
Reference documentation and code samples for the Batch v1alpha API class JobNotification.
The Pub/Sub topic where notifications for the job, like state
changes, will be published. If undefined, no Pub/Sub notifications
are sent for this job.
Specify the topic using the following format:
projects/{project}/topics/{topic}.
Notably, if you want to specify a Pub/Sub topic that is in a
different project than the job, your administrator must grant your
project's Batch service agent permission to publish to that topic.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eJobNotification\u003c/code\u003e class in the Google Cloud Batch v1alpha API is used for configuring notifications, as it is used to receive updates.\u003c/p\u003e\n"],["\u003cp\u003eThis 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.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eJobNotification\u003c/code\u003e class includes a \u003ccode\u003eMessage\u003c/code\u003e property that defines the message attribute requirements for sending notifications to a Pub/Sub topic.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePubsubTopic\u003c/code\u003e property allows specification of a Pub/Sub topic for job-related notifications, where if it is not specified, no notifications will be sent.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the documentation is \u003ccode\u003e1.0.0-alpha31\u003c/code\u003e which can be located in the first link provided, with \u003ccode\u003e1.0.0-alpha30\u003c/code\u003e being a previous version.\u003c/p\u003e\n"]]],[],null,[]]