View Source GoogleApi.Batch.V1.Model.JobNotification (google_api_batch v0.6.2)
Notification configurations.
Attributes
-
message
(type:GoogleApi.Batch.V1.Model.Message.t
, default:nil
) - The attribute requirements of messages to be sent to this Pub/Sub topic. Without this field, no message will be sent. -
pubsubTopic
(type:String.t
, default:nil
) - The Pub/Sub topic where notifications for the job, like state changes, will be published. If undefined, no Pub/Sub notifications are sent for this job. Specify the topic using the following format:projects/{project}/topics/{topic}
. Notably, if you want to specify a Pub/Sub topic that is in a different project than the job, your administrator must grant your project's Batch service agent permission to publish to that topic. For more information about configuring Pub/Sub notifications for a job, see https://cloud.google.com/batch/docs/enable-notifications.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Batch.V1.Model.JobNotification{ message: GoogleApi.Batch.V1.Model.Message.t() | nil, pubsubTopic: String.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.