# Class SecurityPolicyAdaptiveProtectionConfig (0.12.0)

0.12.0 (latest) 0.11.0 0.4.0 0.3.0 0.2.0 0.1.8

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

Configuration options for Cloud Armor Adaptive Protection
(CAAP).

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

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `auto_deploy_config` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-compute-v1beta/latest/google.cloud.compute_v1beta.types.SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig` This field is a member of `oneof`_ `_auto_deploy_config`. |
| `layer7_ddos_defense_config` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-compute-v1beta/latest/google.cloud.compute_v1beta.types.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig` If set to true, enables Cloud Armor Machine Learning. This field is a member of `oneof`_ `_layer7_ddos_defense_config`. |