Traffic
import type { Traffic } from "https://googleapis.deno.dev/v1/firebaseapphosting:v1.ts";
Controls traffic configuration for the backend.
§Properties
Optional. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
Output only. Current state of traffic allocation for the backend. When
setting target
, this field may differ for some time until the desired
state is reached.
Output only. Server-computed checksum based on other values; may be sent on update or delete to ensure operation is done on expected resource.
Optional. Unstructured key value map that can be used to organize and categorize objects.
Identifier. The resource name of the backend's traffic. Format:
projects/{project}/locations/{locationId}/backends/{backendId}/traffic
.
Output only. A field that, if true, indicates that the system is working
to make the backend's current
match the requested target
list.
A rollout policy specifies how new builds and automatic deployments are created.
Set to manually control the desired traffic for the backend. This will
cause current
to eventually match this value. The percentages must add up
to 100%.