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

Destination

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

Represents a target of an invocation over HTTP.

interface Destination {
cloudFunction?: string;
cloudRun?: CloudRun;
gke?: GKE;
httpEndpoint?: HttpEndpoint;
networkConfig?: NetworkConfig;
workflow?: string;
}

§Properties

§
cloudFunction?: string
[src]

The Cloud Function resource name. Cloud Functions V1 and V2 are supported. Format: projects/{project}/locations/{location}/functions/{function} This is a read-only field. Creating Cloud Functions V1/V2 triggers is only supported via the Cloud Functions product. An error will be returned if the user sets this value.

§
cloudRun?: CloudRun
[src]

Cloud Run fully-managed resource that receives the events. The resource should be in the same project as the trigger.

§
gke?: GKE
[src]

A GKE service capable of receiving events. The service should be running in the same project as the trigger.

§
httpEndpoint?: HttpEndpoint
[src]

An HTTP endpoint destination described by an URI.

§
networkConfig?: NetworkConfig
[src]

Optional. Network config is used to configure how Eventarc resolves and connect to a destination. This should only be used with HttpEndpoint destination type.

§
workflow?: string
[src]

The resource name of the Workflow whose Executions are triggered by the events. The Workflow resource should be deployed in the same project as the trigger. Format: projects/{project}/locations/{location}/workflows/{workflow}