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

GoogleCloudRunV2TrafficTarget

import type { GoogleCloudRunV2TrafficTarget } from "https://googleapis.deno.dev/v1/run:v2.ts";

Holds a single traffic routing entry for the Service. Allocations can be done to a specific Revision name, or pointing to the latest Ready Revision.

interface GoogleCloudRunV2TrafficTarget {
percent?: number;
revision?: string;
tag?: string;
type?: "TRAFFIC_TARGET_ALLOCATION_TYPE_UNSPECIFIED" | "TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST" | "TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION";
}

§Properties

§
percent?: number
[src]

Specifies percent of the traffic to this Revision. This defaults to zero if unspecified.

§
revision?: string
[src]

Revision to which to send this portion of traffic, if traffic allocation is by revision.

§
tag?: string
[src]

Indicates a string to be part of the URI to exclusively reference this target.

§
type?: "TRAFFIC_TARGET_ALLOCATION_TYPE_UNSPECIFIED" | "TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST" | "TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION"
[src]

The allocation type for this traffic target.