Batch v1alpha API - Class JobNotification.Types.Message (1.0.0-alpha21)

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.

Inheritance

object > JobNotification.Types.Message

Namespace

Google.Cloud.Batch.V1Alpha

Assembly

Google.Cloud.Batch.V1Alpha.dll

Constructors

Message()

public Message()

Message(Message)

public Message(JobNotification.Types.Message other)
Parameter
NameDescription
otherJobNotificationTypesMessage

Properties

NewJobState

public JobStatus.Types.State NewJobState { get; set; }

The new job state.

Property Value
TypeDescription
JobStatusTypesState

NewTaskState

public TaskStatus.Types.State NewTaskState { get; set; }

The new task state.

Property Value
TypeDescription
TaskStatusTypesState

Type

public JobNotification.Types.Type Type { get; set; }

The message type.

Property Value
TypeDescription
JobNotificationTypesType