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

Subscription

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

Metadata about a subscription resource.

interface Subscription {
deliveryConfig?: DeliveryConfig;
exportConfig?: ExportConfig;
name?: string;
topic?: string;
}

§Properties

§
deliveryConfig?: DeliveryConfig
[src]

The settings for this subscription's message delivery.

§
exportConfig?: ExportConfig
[src]

If present, messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a destination.

§
name?: string
[src]

The name of the subscription. Structured like: projects/{project_number}/locations/{location}/subscriptions/{subscription_id}

§
topic?: string
[src]

The name of the topic this subscription is attached to. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}