Class Variant (1.4.0)

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

A single flow version with specified traffic allocation. .. attribute:: version

The name of the flow version. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Version ID>.

:type: str

Attributes

NameDescription
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.