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"]],[["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-04-17 UTC."],[[["This documentation page covers the `JobNotification` 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."],["The `JobNotification` class allows users to configure notifications, specifically for job state changes, through the `PubsubTopic` property, defining where messages are published."],["`JobNotification` class implements `IMessage`, `IEquatable`, `IDeepCloneable`, `IBufferMessage`, and `IMessage` interfaces, inheriting members like `GetHashCode`, `GetType`, and `ToString` from the `object` class."],["The `Message` property, of type `JobNotification.Types.Message`, 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."],["There are two constructors available for creating a `JobNotification` object: a default constructor and a constructor that takes another `JobNotification` instance as a parameter to copy it."]]],[]]