public sealed class JobNotification.Types.Message : IMessage<JobNotification.Types.Message>, IEquatable<JobNotification.Types.Message>, IDeepCloneable<JobNotification.Types.Message>, IBufferMessage, IMessage
Reference documentation and code samples for the Batch v1alpha API class JobNotification.Types.Message.
Message details.
Describe the conditions under which messages will be sent.
If no attribute is defined, no message will be sent by default.
One message should specify either the job or the task level attributes,
but not both. For example,
job level: JOB_STATE_CHANGED and/or a specified new_job_state;
task level: TASK_STATE_CHANGED and/or a specified new_task_state.
[[["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 information for the \u003ccode\u003eJobNotification.Types.Message\u003c/code\u003e class within the Batch v1alpha API, detailing its structure and functionality.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eJobNotification.Types.Message\u003c/code\u003e class describes the conditions under which messages will be sent, allowing specification of either job-level or task-level attributes, like state changes.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, with inheritance from the \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties such as \u003ccode\u003eNewJobState\u003c/code\u003e, \u003ccode\u003eNewTaskState\u003c/code\u003e, and \u003ccode\u003eType\u003c/code\u003e, which define the new state of the job or task and the message type, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe available constructors for the class are \u003ccode\u003eMessage()\u003c/code\u003e and \u003ccode\u003eMessage(JobNotification.Types.Message other)\u003c/code\u003e, allowing for the creation of default instances and copies of other messages.\u003c/p\u003e\n"]]],[],null,[]]