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 v1 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"]],[["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."],[[["The documentation pertains to the `JobNotification.Types.Message` class within the Google Cloud Batch v1 API, specifically focusing on version 2.9.0."],["`JobNotification.Types.Message` details the conditions for sending messages, allowing specification of job or task-level attributes, but not both simultaneously, with default behavior being no messages sent if no attributes are defined."],["This class implements interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, providing functionalities for message handling, comparison, deep cloning, and buffer management."],["The `JobNotification.Types.Message` class includes properties for `NewJobState`, `NewTaskState`, and `Type`, which represent the new state of a job, new state of a task, and the message type, respectively."],["This page provides access to documentation for multiple versions, ranging from version 1.0.0 up to the most recent 2.13.0, enabling users to refer to relevant documentation depending on their version needs."]]],[]]