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

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

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

Request message for
\[SecurityCenterManagement.DeleteSecurityHealthAnalyticsCustomModule\]\[google.cloud.securitycentermanagement.v1.SecurityCenterManagement.DeleteSecurityHealthAnalyticsCustomModule\].

## Inheritance

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

## Implements

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

### DeleteSecurityHealthAnalyticsCustomModuleRequest()

    public DeleteSecurityHealthAnalyticsCustomModuleRequest()

### DeleteSecurityHealthAnalyticsCustomModuleRequest(DeleteSecurityHealthAnalyticsCustomModuleRequest)

    public DeleteSecurityHealthAnalyticsCustomModuleRequest(DeleteSecurityHealthAnalyticsCustomModuleRequest other)

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

## Properties

### Name

    public string Name { get; set; }

Required. The resource name of the SHA custom module, in one of the
following formats:

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

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

### ValidateOnly

    public bool ValidateOnly { get; set; }

Optional. When set to `true`, the request will be validated (including IAM
checks), but no module will be deleted. An `OK` response indicates that the
request is valid, while an error response indicates that the request is
invalid.

If the request is valid, a subsequent request to delete the module could
still fail for one of the following reasons:

- The state of your cloud resources changed; for example, you lost a required IAM permission
- An error occurred during deletion of the module

Defaults to `false`.

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