View Source GoogleApi.Batch.V1.Model.JobNotification (google_api_batch v0.2.0)

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 like the job state changes will be published. The topic must 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}.

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

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.