# Class EventThreatDetectionCustomModule (1.45.0)

1.45.0 (latest) 1.44.0 1.43.0 1.42.0 1.41.0 1.40.0 1.39.0 1.38.0 1.37.0 1.36.0 1.35.1 1.33.1 1.32.1 1.31.0 1.30.1 1.29.0 1.28.0 1.27.0 1.26.1 1.25.0 1.24.1 1.23.2 1.22.0 1.21.0 1.20.0 1.19.1 1.18.2 1.17.0 1.16.2 1.15.0 1.14.0 1.13.0 1.12.0 1.11.1 1.10.0 1.9.0 1.8.0 1.7.0 1.6.0 1.5.2 1.4.0 1.3.1 1.2.0 1.1.0 1.0.0 0.7.3 0.6.0 0.5.0 0.4.0 0.3.0

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

Represents an instance of an Event Threat Detection custom
module, including its full module name, display name, enablement
state, and last updated time. You can create a custom module at
the organization, folder, or project level. Custom modules that
you create at the organization or folder level are inherited by
child folders and projects.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` Immutable. The resource name of the Event Threat Detection custom module. Its format is: - `organizations/{organization}/eventThreatDetectionSettings/customModules/{module}`. - `folders/{folder}/eventThreatDetectionSettings/customModules/{module}`. - `projects/{project}/eventThreatDetectionSettings/customModules/{module}`. |
| `config` | `google.protobuf.struct_pb2.Struct` Config for the module. For the resident module, its config value is defined at this level. For the inherited module, its config value is inherited from the ancestor module. |
| `ancestor_module` | `str` Output only. The closest ancestor module that this module inherits the enablement state from. The format is the same as the EventThreatDetectionCustomModule resource name. |
| `enablement_state` | `https://docs.cloud.google.com/python/docs/reference/securitycenter/latest/google.cloud.securitycenter_v1.types.EventThreatDetectionCustomModule.EnablementState` The state of enablement for the module at the given level of the hierarchy. |
| `type_` | `str` Type for the module. e.g. CONFIGURABLE_BAD_IP. |
| `display_name` | `str` The human readable name to be displayed for the module. |
| `description` | `str` The description for the module. |
| `update_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The time the module was last updated. |
| `last_editor` | `str` Output only. The editor the module was last updated by. |

## Classes

### EnablementState

    EnablementState(value)

The enablement state of the module.