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

TrafficSplit

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

The traffic allocation for the backend.

interface TrafficSplit {
build?: string;
percent?: number;
}

§Properties

§
build?: string
[src]

Required. The build that traffic is being routed to.

§
percent?: number
[src]

Required. The percentage of traffic to send to the build. Currently must be 100% or 0%.