Class Message (0.17.32)

Message(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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.

Attributes

Name Description
type_ google.cloud.batch_v1.types.JobNotification.Type
The message type.
new_job_state google.cloud.batch_v1.types.JobStatus.State
The new job state.
new_task_state google.cloud.batch_v1.types.TaskStatus.State
The new task state.