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 documentation page covers the \u003ccode\u003eJobNotification\u003c/code\u003e class within the Google Cloud Batch v1 API, which is part of the .NET library, offering reference information for various versions of the API, from 1.0.0 to the latest, 2.13.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eJobNotification\u003c/code\u003e class allows users to configure notifications, specifically for job state changes, through the \u003ccode\u003ePubsubTopic\u003c/code\u003e property, defining where messages are published.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eJobNotification\u003c/code\u003e class implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, \u003ccode\u003eIBufferMessage\u003c/code\u003e, and \u003ccode\u003eIMessage\u003c/code\u003e interfaces, inheriting members like \u003ccode\u003eGetHashCode\u003c/code\u003e, \u003ccode\u003eGetType\u003c/code\u003e, and \u003ccode\u003eToString\u003c/code\u003e from the \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMessage\u003c/code\u003e property, of type \u003ccode\u003eJobNotification.Types.Message\u003c/code\u003e, is crucial for defining the specific requirements for the messages that are sent to a Pub/Sub topic, with no message sent if this is empty.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available for creating a \u003ccode\u003eJobNotification\u003c/code\u003e object: a default constructor and a constructor that takes another \u003ccode\u003eJobNotification\u003c/code\u003e instance as a parameter to copy it.\u003c/p\u003e\n"]]],[],null,[]]