OptionaldestinationsPrimary routing destinations. At most 10 are allowed. At least one is
required on CreateModelService; on UpdateModelService it is required only
when config.routing (or a config.routing.* subpath) appears in
update_mask.
OptionalfallbackFallback routing config, applied after primary destinations fail.
OptionalfirstTimeout for the first token of a streaming response. If a destination does not return its first token within this duration, AI Gateway aborts the attempt and fails over to the next destination. Applies to streaming requests only. Leave unset for no first-token timeout.
OptionalroutingSelects how requests are distributed across destinations.
Marker message selecting request-based traffic splitting. Traffic is distributed according to each destination's traffic_percentage value; no configuration lives on this message itself.
Routing configuration for a model service, nesting destinations, routing strategy, and fallback under a single sub-message.