Class TrafficTarget (0.8.1)

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

Holds a single traffic routing entry for the Service. Allocations can be done to a specific Revision name, or pointing to the latest Ready Revision.


The allocation type for this traffic target.
revision str
Revision to which to send this portion of traffic, if traffic allocation is by revision.
percent int
Specifies percent of the traffic to this Revision. This defaults to zero if unspecified.
tag str
Indicates a string to be part of the URI to exclusively reference this target.