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/analyticshub:v1.ts";

A subscription represents a subscribers' access to a particular set of published data. It contains references to associated listings, data exchanges, and linked datasets.

interface Subscription {
readonly creationTime?: Date;
readonly dataExchange?: string;
readonly lastModifyTime?: Date;
readonly linkedDatasetMap?: {
[key: string]: LinkedResource;
}
;
readonly listing?: string;
readonly name?: string;
readonly organizationDisplayName?: string;
readonly organizationId?: string;
readonly state?:
| "STATE_UNSPECIFIED"
| "STATE_ACTIVE"
| "STATE_STALE"
| "STATE_INACTIVE";
readonly subscriberContact?: string;
}

§Properties

§
readonly creationTime?: Date
[src]

Output only. Timestamp when the subscription was created.

§
readonly dataExchange?: string
[src]

Output only. Resource name of the source Data Exchange. e.g. projects/123/locations/US/dataExchanges/456

§
readonly lastModifyTime?: Date
[src]

Output only. Timestamp when the subscription was last modified.

§
readonly linkedDatasetMap?: {
[key: string]: LinkedResource;
}
[src]

Output only. Map of listing resource names to associated linked resource, e.g. projects/123/locations/US/dataExchanges/456/listings/789 -> projects/123/datasets/my_dataset For listing-level subscriptions, this is a map of size 1. Only contains values if state == STATE_ACTIVE.

§
readonly listing?: string
[src]

Output only. Resource name of the source Listing. e.g. projects/123/locations/US/dataExchanges/456/listings/789

§
readonly name?: string
[src]

Output only. The resource name of the subscription. e.g. projects/myproject/locations/US/subscriptions/123.

§
readonly organizationDisplayName?: string
[src]

Output only. Display name of the project of this subscription.

§
readonly organizationId?: string
[src]

Output only. Organization of the project this subscription belongs to.

§
readonly state?: "STATE_UNSPECIFIED" | "STATE_ACTIVE" | "STATE_STALE" | "STATE_INACTIVE"
[src]

Output only. Current state of the subscription.

§
readonly subscriberContact?: string
[src]

Output only. Email of the subscriber.