Class Message (0.17.26)

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_v1alpha.types.JobNotification.Type
The message type.
new_job_state google.cloud.batch_v1alpha.types.JobStatus.State
The new job state.
new_task_state google.cloud.batch_v1alpha.types.TaskStatus.State
The new task state.