# Class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig (0.12.0)

0.12.0 (latest) 0.11.0 0.4.0 0.3.0 0.2.0 0.1.8

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

Configurations to specifc granular traffic units processed by
Adaptive Protection.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `enable_each_unique_value` | `bool` If enabled, traffic matching each unique value for the specified type constitutes a separate traffic unit. It can only be set to true if `value` is empty. This field is a member of `oneof`_ `_enable_each_unique_value`. |
| `type_` | `str` Type of this configuration. Check the Type enum for the list of possible values. This field is a member of `oneof`_ `_type`. |
| `value` | `str` Requests that match this value constitute a granular traffic unit. This field is a member of `oneof`_ `_value`. |

## Classes

### Type

    Type(value)

Type of this configuration.