# Class TrafficAllocation (0.7.0)

0.7.0 (latest) 0.6.0 0.5.0 0.4.0 0.3.0

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

Traffic allocation for the version release.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `id` | `str` Optional. Id of the traffic allocation. Free format string, up to 128 characters. |
| `traffic_percentage` | `int` Optional. Traffic percentage of the traffic allocation. Must be between 0 and 100. |
| `app_version` | `str` Optional. App version of the traffic allocation. Format: `projects/{project}/locations/{location}/apps/{app}/versions/{version}` |