Required. The Pub/Sub topic where notifications like the resource allowance
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 document provides reference documentation for the \u003ccode\u003eNotification\u003c/code\u003e class within the Google Cloud Batch v1alpha API, detailing its structure and functionality.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNotification\u003c/code\u003e class is used for setting up notifications on resource state changes via a specified Pub/Sub topic.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNotification\u003c/code\u003e class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e interfaces.\u003c/p\u003e\n"],["\u003cp\u003eIt contains two constructors, \u003ccode\u003eNotification()\u003c/code\u003e and \u003ccode\u003eNotification(Notification other)\u003c/code\u003e, and one property, \u003ccode\u003ePubsubTopic\u003c/code\u003e, which defines the Pub/Sub topic for notifications.\u003c/p\u003e\n"],["\u003cp\u003eNotifications are sent as Pub/Sub messages to a project-specific topic in the format of \u003ccode\u003eprojects/{project}/topics/{topic}\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Batch v1alpha API - Class Notification (1.0.0-alpha31)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-alpha31 (latest)](/dotnet/docs/reference/Google.Cloud.Batch.V1Alpha/latest/Google.Cloud.Batch.V1Alpha.Notification)\n- [1.0.0-alpha30](/dotnet/docs/reference/Google.Cloud.Batch.V1Alpha/1.0.0-alpha30/Google.Cloud.Batch.V1Alpha.Notification) \n\n public sealed class Notification : IMessage\u003cNotification\u003e, IEquatable\u003cNotification\u003e, IDeepCloneable\u003cNotification\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Batch v1alpha API class Notification.\n\nNotification on resource state change. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Notification \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Notification](/dotnet/docs/reference/Google.Cloud.Batch.V1Alpha/latest/Google.Cloud.Batch.V1Alpha.Notification), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Notification](/dotnet/docs/reference/Google.Cloud.Batch.V1Alpha/latest/Google.Cloud.Batch.V1Alpha.Notification), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Notification](/dotnet/docs/reference/Google.Cloud.Batch.V1Alpha/latest/Google.Cloud.Batch.V1Alpha.Notification), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Batch.V1Alpha](/dotnet/docs/reference/Google.Cloud.Batch.V1Alpha/latest/Google.Cloud.Batch.V1Alpha)\n\nAssembly\n--------\n\nGoogle.Cloud.Batch.V1Alpha.dll\n\nConstructors\n------------\n\n### Notification()\n\n public Notification()\n\n### Notification(Notification)\n\n public Notification(Notification other)\n\nProperties\n----------\n\n### PubsubTopic\n\n public string PubsubTopic { get; set; }\n\nRequired. The Pub/Sub topic where notifications like the resource allowance\nstate changes will be published. The topic must exist in the same project\nas the job and billings will be charged to this project. If not specified,\nno Pub/Sub messages will be sent. Topic format:\n`projects/{project}/topics/{topic}`."]]