# Security Center Management v1 API - Class EffectiveEventThreatDetectionCustomModule (1.3.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [1.3.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/latest/Google.Cloud.SecurityCenterManagement.V1.EffectiveEventThreatDetectionCustomModule)
- [1.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/1.2.0/Google.Cloud.SecurityCenterManagement.V1.EffectiveEventThreatDetectionCustomModule)
- [1.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/1.1.0/Google.Cloud.SecurityCenterManagement.V1.EffectiveEventThreatDetectionCustomModule)
- [1.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/1.0.0/Google.Cloud.SecurityCenterManagement.V1.EffectiveEventThreatDetectionCustomModule)

    public sealed class EffectiveEventThreatDetectionCustomModule : IMessage<EffectiveEventThreatDetectionCustomModule>, IEquatable<EffectiveEventThreatDetectionCustomModule>, IDeepCloneable<EffectiveEventThreatDetectionCustomModule>, IBufferMessage, IMessage

Reference documentation and code samples for the Security Center Management v1 API class EffectiveEventThreatDetectionCustomModule.

The representation of an
\[EventThreatDetectionCustomModule\]\[google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModule\]
at a given level, taking hierarchy into account and resolving various fields
accordingly. For example, if the module is enabled at the ancestor level,
then effective modules at all descendant levels will have their enablement
state set to `ENABLED`. Similarly, if `module.inherited` is set, then the
effective module's configuration will reflect the ancestor's configuration.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> EffectiveEventThreatDetectionCustomModule

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[EffectiveEventThreatDetectionCustomModule](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/latest/Google.Cloud.SecurityCenterManagement.V1.EffectiveEventThreatDetectionCustomModule), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[EffectiveEventThreatDetectionCustomModule](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/latest/Google.Cloud.SecurityCenterManagement.V1.EffectiveEventThreatDetectionCustomModule), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[EffectiveEventThreatDetectionCustomModule](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/latest/Google.Cloud.SecurityCenterManagement.V1.EffectiveEventThreatDetectionCustomModule), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.SecurityCenterManagement.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/latest/Google.Cloud.SecurityCenterManagement.V1)

## Assembly

Google.Cloud.SecurityCenterManagement.V1.dll

## Constructors

### EffectiveEventThreatDetectionCustomModule()

    public EffectiveEventThreatDetectionCustomModule()

### EffectiveEventThreatDetectionCustomModule(EffectiveEventThreatDetectionCustomModule)

    public EffectiveEventThreatDetectionCustomModule(EffectiveEventThreatDetectionCustomModule other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/latest/Google.Cloud.SecurityCenterManagement.V1.EffectiveEventThreatDetectionCustomModule` |

## Properties

### Config

    public Struct Config { get; set; }

Output only. Configuration for the effective module.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Struct.html` |   |

### Description

    public string Description { get; set; }

Output only. A description of the module.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### DisplayName

    public string DisplayName { get; set; }

Output only. The human-readable name of the module.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### EffectiveEventThreatDetectionCustomModuleName

    public EffectiveEventThreatDetectionCustomModuleName EffectiveEventThreatDetectionCustomModuleName { get; set; }

[EffectiveEventThreatDetectionCustomModuleName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/latest/Google.Cloud.SecurityCenterManagement.V1.EffectiveEventThreatDetectionCustomModuleName)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/latest/Google.Cloud.SecurityCenterManagement.V1.EffectiveEventThreatDetectionCustomModule#Google_Cloud_SecurityCenterManagement_V1_EffectiveEventThreatDetectionCustomModule_Name)
resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/latest/Google.Cloud.SecurityCenterManagement.V1.EffectiveEventThreatDetectionCustomModuleName` |   |

### EnablementState

    public EffectiveEventThreatDetectionCustomModule.Types.EnablementState EnablementState { get; set; }

Output only. The effective state of enablement for the module at the given
level of the hierarchy.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/latest/Google.Cloud.SecurityCenterManagement.V1.EffectiveEventThreatDetectionCustomModulehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/latest/Google.Cloud.SecurityCenterManagement.V1.EffectiveEventThreatDetectionCustomModule.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/latest/Google.Cloud.SecurityCenterManagement.V1.EffectiveEventThreatDetectionCustomModule.Types.EnablementState` |   |

### Name

    public string Name { get; set; }

Identifier. The resource name of the Event Threat Detection custom module,
in one of the following formats:

- `organizations/{organization}/locations/{location}/effectiveEventThreatDetectionCustomModules/{custom_module}`
- `folders/{folder}/locations/{location}/effectiveEventThreatDetectionCustomModules/{custom_module}`
- `projects/{project}/locations/{location}/effectiveEventThreatDetectionCustomModules/{custom_module}`

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### Type

    public string Type { get; set; }

Output only. Type for the module (for example, `CONFIGURABLE_BAD_IP`).

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |