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

Enrollment

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

An enrollment represents a subscription for messages on a particular message bus. It defines a matching criteria for messages on the bus and the subscriber endpoint where matched messages should be delivered.

interface Enrollment {
annotations?: {
[key: string]: string;
}
;
celMatch?: string;
readonly createTime?: Date;
destination?: string;
displayName?: string;
readonly etag?: string;
labels?: {
[key: string]: string;
}
;
messageBus?: string;
name?: string;
readonly uid?: string;
readonly updateTime?: Date;
}

§Properties

§
annotations?: {
[key: string]: string;
}
[src]

Optional. Resource annotations.

§
celMatch?: string
[src]

Required. A CEL expression identifying which messages this enrollment applies to.

§
readonly createTime?: Date
[src]

Output only. The creation time.

§
destination?: string
[src]

Required. Destination is the Pipeline that the Enrollment is delivering to. It must point to the full resource name of a Pipeline. Format: "projects/{PROJECT_ID}/locations/{region}/pipelines/{PIPELINE_ID)"

§
displayName?: string
[src]

Optional. Resource display name.

§
readonly etag?: string
[src]

Output only. This checksum is computed by the server based on the value of other fields, and might be sent only on update and delete requests to ensure that the client has an up-to-date value before proceeding.

§
labels?: {
[key: string]: string;
}
[src]

Optional. Resource labels.

§
messageBus?: string
[src]

Required. Immutable. Resource name of the message bus identifying the source of the messages. It matches the form projects/{project}/locations/{location}/messageBuses/{messageBus}.

§
name?: string
[src]

Identifier. Resource name of the form projects/{project}/locations/{location}/enrollments/{enrollment}

§
readonly uid?: string
[src]

Output only. Server assigned unique identifier for the channel. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.

§
readonly updateTime?: Date
[src]

Output only. The last-modified time.