# Security Center Management v1 API - Class EventThreatDetectionCustomModule (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.EventThreatDetectionCustomModule)
- [1.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/1.2.0/Google.Cloud.SecurityCenterManagement.V1.EventThreatDetectionCustomModule)
- [1.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/1.1.0/Google.Cloud.SecurityCenterManagement.V1.EventThreatDetectionCustomModule)
- [1.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/1.0.0/Google.Cloud.SecurityCenterManagement.V1.EventThreatDetectionCustomModule)

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

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

A Security Command Center resource that contains the configuration and
enablement state of a custom module, which enables Event Threat Detection to
write certain findings to Security Command Center.

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[EventThreatDetectionCustomModule](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/latest/Google.Cloud.SecurityCenterManagement.V1.EventThreatDetectionCustomModule), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[EventThreatDetectionCustomModule](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/latest/Google.Cloud.SecurityCenterManagement.V1.EventThreatDetectionCustomModule), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[EventThreatDetectionCustomModule](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/latest/Google.Cloud.SecurityCenterManagement.V1.EventThreatDetectionCustomModule), [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

### EventThreatDetectionCustomModule()

    public EventThreatDetectionCustomModule()

### EventThreatDetectionCustomModule(EventThreatDetectionCustomModule)

    public EventThreatDetectionCustomModule(EventThreatDetectionCustomModule other)

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

## Properties

### AncestorModule

    public string AncestorModule { get; set; }

Output only. The closest ancestor module that this module inherits the
enablement state from. If empty, indicates that the custom module was
created in the requesting parent organization, folder, or project. The
format is the same as the custom module's resource name.

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

### AncestorModuleAsEventThreatDetectionCustomModuleName

    public EventThreatDetectionCustomModuleName AncestorModuleAsEventThreatDetectionCustomModuleName { get; set; }

[EventThreatDetectionCustomModuleName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/latest/Google.Cloud.SecurityCenterManagement.V1.EventThreatDetectionCustomModuleName)-typed view over the [AncestorModule](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/latest/Google.Cloud.SecurityCenterManagement.V1.EventThreatDetectionCustomModule#Google_Cloud_SecurityCenterManagement_V1_EventThreatDetectionCustomModule_AncestorModule)
resource name property.

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

### Config

    public Struct Config { get; set; }

Optional. Configuration for the module. For the resident module, its
configuration value is defined at this level. For the inherited module, its
configuration value is inherited from the ancestor 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; }

Optional. A description of the module.

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

### DisplayName

    public string DisplayName { get; set; }

Optional. The human-readable name of the module.

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

### EnablementState

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

Optional. The 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.EventThreatDetectionCustomModulehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/latest/Google.Cloud.SecurityCenterManagement.V1.EventThreatDetectionCustomModule.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/latest/Google.Cloud.SecurityCenterManagement.V1.EventThreatDetectionCustomModule.Types.EnablementState` |   |

### EventThreatDetectionCustomModuleName

    public EventThreatDetectionCustomModuleName EventThreatDetectionCustomModuleName { get; set; }

[EventThreatDetectionCustomModuleName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/latest/Google.Cloud.SecurityCenterManagement.V1.EventThreatDetectionCustomModuleName)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/latest/Google.Cloud.SecurityCenterManagement.V1.EventThreatDetectionCustomModule#Google_Cloud_SecurityCenterManagement_V1_EventThreatDetectionCustomModule_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.EventThreatDetectionCustomModuleName` |   |

### LastEditor

    public string LastEditor { get; set; }

Output only. The editor the module was last updated by.

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

### 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}/eventThreatDetectionCustomModules/{custom_module}`
- `folders/{folder}/locations/{location}/eventThreatDetectionCustomModules/{custom_module}`
- `projects/{project}/locations/{location}/eventThreatDetectionCustomModules/{custom_module}`

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

### Type

    public string Type { get; set; }

Optional. Type for the module. For example, `CONFIGURABLE_BAD_IP`.

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

### UpdateTime

    public Timestamp UpdateTime { get; set; }

Output only. The time the module was last updated.

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