public sealed class 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 attribute that a message should have. Without specified message attributes, no message will be sent by default.
Implements
IMessage<JobNotification.Types.Message>, IEquatable<JobNotification.Types.Message>, IDeepCloneable<JobNotification.Types.Message>, IBufferMessage, IMessageNamespace
Google.Cloud.Batch.V1Assembly
Google.Cloud.Batch.V1.dll
Constructors
Message()
public Message()
Message(JobNotification.Types.Message)
public Message(JobNotification.Types.Message other)
Parameter | |
---|---|
Name | Description |
other | JobNotification.Types.Message |
Properties
NewJobState
public JobStatus.Types.State NewJobState { get; set; }
The new job state.
Property Value | |
---|---|
Type | Description |
JobStatus.Types.State |
NewTaskState
public TaskStatus.Types.State NewTaskState { get; set; }
The new task state.
Property Value | |
---|---|
Type | Description |
TaskStatus.Types.State |
Type
public JobNotification.Types.Type Type { get; set; }
The message type.
Property Value | |
---|---|
Type | Description |
JobNotification.Types.Type |