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 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-04-17 UTC."],[[["This webpage provides reference documentation for the `JobNotification` class within the Google Cloud Batch v1 API, specifically version 2.11.0."],["The `JobNotification` class is used for setting up notification configurations for batch jobs, allowing for the use of Pub/Sub topics to receive job state change updates."],["The page lists various versions of the `JobNotification` class, with version 2.13.0 being the latest available, and includes all the way back to version 1.0.0."],["`JobNotification` implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and inherits properties from `object`, providing various functionalities."],["Key properties of the `JobNotification` class include `Message`, which defines the requirements for sending messages, and `PubsubTopic`, which specifies the Pub/Sub topic for receiving job notifications."]]],[]]