Class JobNotification (0.8.0)

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

Notification configurations.

Attributes

NameDescription
pubsub_topic str
The Pub/Sub topic where notifications like the job state changes will be published. This topic exist in the same project as the job and billings will be charged to this project. If not specified, no Pub/Sub messages will be sent. Topic format: projects/{project}/topics/{topic}.
message google.cloud.batch_v1.types.JobNotification.Message
The attribute requirements of messages to be sent to this Pub/Sub topic. Without this field, no message will be sent.

Classes

Message

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

Message details. Describe the attribute that a message should have. Without specified message attributes, no message will be sent by default.

Type

Type(value)

The message type.