# Class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig (0.12.0)

0.12.0 (latest) 0.11.0 0.4.0 0.3.0 0.2.0 0.1.8

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

Configuration options for L7 DDoS detection. This field is only
supported in Global Security Policies of type CLOUD_ARMOR.

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

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `enable` | `bool` If set to true, enables CAAP for L7 DDoS detection. This field is only supported in Global Security Policies of type CLOUD_ARMOR. This field is a member of `oneof`_ `_enable`. |
| `rule_visibility` | `str` Rule visibility can be one of the following: STANDARD - opaque rules. (default) PREMIUM - transparent rules. This field is only supported in Global Security Policies of type CLOUD_ARMOR. Check the RuleVisibility enum for the list of possible values. This field is a member of `oneof`_ `_rule_visibility`. |
| `threshold_configs` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/google-cloud-compute-v1beta/latest/google.cloud.compute_v1beta.types.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig]` Configuration options for layer7 adaptive protection for various customizable thresholds. |

## Classes

### RuleVisibility

    RuleVisibility(value)

Rule visibility can be one of the following: STANDARD - opaque
rules. (default) PREMIUM - transparent rules. This field is only
supported in Global Security Policies of type CLOUD_ARMOR.