# Google Cloud Security Command Center v1 API - Class SecurityHealthAnalyticsCustomModule (3.26.0)

3.26.0 (latest) 3.25.0 3.24.0 3.23.0 3.22.0 3.21.0 3.20.0 3.19.0 3.18.0 3.17.0 3.16.0 3.15.0 3.14.0 3.13.0 3.12.0 3.11.0 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.13.0 2.12.0 2.11.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0

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

Reference documentation and code samples for the Google Cloud Security Command Center v1 API class SecurityHealthAnalyticsCustomModule.

Represents an instance of a Security Health Analytics 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 the child folders and projects.

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.SecurityCenter.V1.dll

## Constructors

### SecurityHealthAnalyticsCustomModule()

    public SecurityHealthAnalyticsCustomModule()

### SecurityHealthAnalyticsCustomModule(SecurityHealthAnalyticsCustomModule)

    public SecurityHealthAnalyticsCustomModule(SecurityHealthAnalyticsCustomModule other)

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

## Properties

### AncestorModule

    public string AncestorModule { get; set; }

Output only. If empty, indicates that the custom module was created in the
organization, folder, or project in which you are viewing the custom
module. Otherwise, `ancestor_module` specifies the organization or folder
from which the custom module is inherited.

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

### AncestorModuleAsSecurityHealthAnalyticsCustomModuleName

    public SecurityHealthAnalyticsCustomModuleName AncestorModuleAsSecurityHealthAnalyticsCustomModuleName { get; set; }

[SecurityHealthAnalyticsCustomModuleName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/latest/Google.Cloud.SecurityCenter.V1.SecurityHealthAnalyticsCustomModuleName)-typed view over the [AncestorModule](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/latest/Google.Cloud.SecurityCenter.V1.SecurityHealthAnalyticsCustomModule#Google_Cloud_SecurityCenter_V1_SecurityHealthAnalyticsCustomModule_AncestorModule)
resource name property.

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

### CustomConfig

    public CustomConfig CustomConfig { get; set; }

The user specified custom configuration for the module.

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

### DisplayName

    public string DisplayName { get; set; }

The display name of the Security Health Analytics custom module. This
display name becomes the finding category for all findings that are
returned by this custom module. The display name must be between 1 and
128 characters, start with a lowercase letter, and contain alphanumeric
characters or underscores only.

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

### EnablementState

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

The enablement state of the custom module.

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

### LastEditor

    public string LastEditor { get; set; }

Output only. The editor that last updated the custom module.

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

### Name

    public string Name { get; set; }

Immutable. The resource name of the custom module.
Its format is
"organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}",
or
"folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}",
or
"projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}"

The id {customModule} is server-generated and is not user settable.
It will be a numeric id containing 1-20 digits.

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

### SecurityHealthAnalyticsCustomModuleName

    public SecurityHealthAnalyticsCustomModuleName SecurityHealthAnalyticsCustomModuleName { get; set; }

[SecurityHealthAnalyticsCustomModuleName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/latest/Google.Cloud.SecurityCenter.V1.SecurityHealthAnalyticsCustomModuleName)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/latest/Google.Cloud.SecurityCenter.V1.SecurityHealthAnalyticsCustomModule#Google_Cloud_SecurityCenter_V1_SecurityHealthAnalyticsCustomModule_Name) resource
name property.

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

### UpdateTime

    public Timestamp UpdateTime { get; set; }

Output only. The time at which the custom module was last updated.

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