Class Variant (1.20.0)

Variant(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A single flow version with specified traffic allocation.

Attributes

NameDescription
version str
The name of the flow version. Format: projects/.
traffic_allocation float
Percentage of the traffic which should be routed to this version of flow. Traffic allocation for a single flow must sum up to 1.0.
is_control_group bool
Whether the variant is for the control group.