Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

JobNotification

import type { JobNotification } from "https://googleapis.deno.dev/v1/batch:v1.ts";

Notification configurations.

interface JobNotification {
message?: Message;
pubsubTopic?: string;
}

§Properties

§
message?: Message
[src]

The attribute requirements of messages to be sent to this Pub/Sub topic. Without this field, no message will be sent.

§
pubsubTopic?: string
[src]

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}.