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";
}