0.22.4 (latest) 0.22.3 0.21.0 0.20.0 0.19.0 0.18.0 0.17.37 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.9.0 0.8.1 0.7.0 0.6.0 0.5.0 0.4.1 0.3.2 0.2.0 0.1.2

    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_` | `https://docs.cloud.google.com/python/docs/reference/batch/latest/google.cloud.batch_v1.types.JobNotification.Type` The message type. |
| `new_job_state` | `https://docs.cloud.google.com/python/docs/reference/batch/latest/google.cloud.batch_v1.types.JobStatus.State` The new job state. |
| `new_task_state` | `https://docs.cloud.google.com/python/docs/reference/batch/latest/google.cloud.batch_v1.types.TaskStatus.State` The new task state. |