Batch v1 API - Class JobNotification.Types.Message (2.12.0)

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.

Inheritance

object > JobNotification.Types.Message

Namespace

Google.Cloud.Batch.V1

Assembly

Google.Cloud.Batch.V1.dll

Constructors

Message()

public Message()

Message(Message)

public Message(JobNotification.Types.Message other)
Parameter
Name Description
other JobNotificationTypesMessage

Properties

NewJobState

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

The new job state.

Property Value
Type Description
JobStatusTypesState

NewTaskState

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

The new task state.

Property Value
Type Description
TaskStatusTypesState

Type

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

The message type.

Property Value
Type Description
JobNotificationTypesType