1.3.0 (latest) 1.2.0 1.1.0 1.0.0

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

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

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

## Inheritance

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

## Implements

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

## 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.md.txt)

## Assembly

Google.Cloud.SecurityCenterManagement.V1.dll

## Constructors

### CreateSecurityHealthAnalyticsCustomModuleRequest()

    public CreateSecurityHealthAnalyticsCustomModuleRequest()

### CreateSecurityHealthAnalyticsCustomModuleRequest(CreateSecurityHealthAnalyticsCustomModuleRequest)

    public CreateSecurityHealthAnalyticsCustomModuleRequest(CreateSecurityHealthAnalyticsCustomModuleRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `CreateSecurityHealthAnalyticsCustomModuleRequest` |

## Properties

### Parent

    public string Parent { get; set; }

Required. Name of the parent organization, folder, or project of the
module, in one of the following formats:

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### ParentAsFolderLocationName

    public FolderLocationName ParentAsFolderLocationName { get; set; }

[FolderLocationName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/latest/Google.Cloud.SecurityCenterManagement.V1.FolderLocationName.md.txt)-typed view over the [Parent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/latest/Google.Cloud.SecurityCenterManagement.V1.CreateSecurityHealthAnalyticsCustomModuleRequest.md.txt#Google_Cloud_SecurityCenterManagement_V1_CreateSecurityHealthAnalyticsCustomModuleRequest_Parent) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `FolderLocationName` |   |

### ParentAsLocationName

    public LocationName ParentAsLocationName { get; set; }

[LocationName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.md.txt)-typed view over the [Parent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/latest/Google.Cloud.SecurityCenterManagement.V1.CreateSecurityHealthAnalyticsCustomModuleRequest.md.txt#Google_Cloud_SecurityCenterManagement_V1_CreateSecurityHealthAnalyticsCustomModuleRequest_Parent) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `LocationName` |   |

### ParentAsOrganizationLocationName

    public OrganizationLocationName ParentAsOrganizationLocationName { get; set; }

[OrganizationLocationName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/latest/Google.Cloud.SecurityCenterManagement.V1.OrganizationLocationName.md.txt)-typed view over the [Parent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/latest/Google.Cloud.SecurityCenterManagement.V1.CreateSecurityHealthAnalyticsCustomModuleRequest.md.txt#Google_Cloud_SecurityCenterManagement_V1_CreateSecurityHealthAnalyticsCustomModuleRequest_Parent) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `OrganizationLocationName` |   |

### ParentAsResourceName

    public IResourceName ParentAsResourceName { get; set; }

[IResourceName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.IResourceName.md.txt)-typed view over the [Parent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/latest/Google.Cloud.SecurityCenterManagement.V1.CreateSecurityHealthAnalyticsCustomModuleRequest.md.txt#Google_Cloud_SecurityCenterManagement_V1_CreateSecurityHealthAnalyticsCustomModuleRequest_Parent) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `IResourceName` |   |

### SecurityHealthAnalyticsCustomModule

    public SecurityHealthAnalyticsCustomModule SecurityHealthAnalyticsCustomModule { get; set; }

Required. The resource being created.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `SecurityHealthAnalyticsCustomModule` |   |

### ValidateOnly

    public bool ValidateOnly { get; set; }

Optional. When set to `true`, the request will be validated (including IAM
checks), but no module will be created. 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 create 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 creation of the module

Defaults to `false`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |