Notification
import type { Notification } from "https://googleapis.deno.dev/v1/storage:v1.ts";
A subscription to receive Google PubSub notifications.
interface Notification {
custom_attributes?: {};
[key: string]: string;
etag?: string;
event_types?: string[];
id?: string;
kind?: string;
object_name_prefix?: string;
payload_format?: string;
selfLink?: string;
topic?: string;
}§Properties
§
custom_attributes?: {}
[src][key: string]: string;
An optional list of additional attributes to attach to each Cloud PubSub message published for this notification subscription.
§
event_types?: string[]
[src]If present, only send notifications about listed event types. If empty, sent notifications for all event types.
§
kind?: string
[src]The kind of item this is. For notifications, this is always storage#notification.