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].
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
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eCreateSecurityHealthAnalyticsCustomModuleRequest\u003c/code\u003e class is used to create a request for the \u003ccode\u003eSecurityCenterManagement.CreateSecurityHealthAnalyticsCustomModule\u003c/code\u003e API.\u003c/p\u003e\n"],["\u003cp\u003eThis class is part of the Google Cloud Security Center Management v1 API, specifically within the \u003ccode\u003eGoogle.Cloud.SecurityCenterManagement.V1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eIt implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, indicating its capabilities for message handling, equality checks, deep cloning, and buffer operations.\u003c/p\u003e\n"],["\u003cp\u003eKey properties include \u003ccode\u003eParent\u003c/code\u003e, which specifies the parent resource (organization, folder, or project), and \u003ccode\u003eSecurityHealthAnalyticsCustomModule\u003c/code\u003e, which defines the resource being created, and ValidateOnly that determines if the action is simply a validation.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available for this is 1.2.0.\u003c/p\u003e\n"]]],[],null,["# Security Center Management v1 API - Class CreateSecurityHealthAnalyticsCustomModuleRequest (1.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.0 (latest)](/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/latest/Google.Cloud.SecurityCenterManagement.V1.CreateSecurityHealthAnalyticsCustomModuleRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/1.1.0/Google.Cloud.SecurityCenterManagement.V1.CreateSecurityHealthAnalyticsCustomModuleRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/1.0.0/Google.Cloud.SecurityCenterManagement.V1.CreateSecurityHealthAnalyticsCustomModuleRequest) \n\n public sealed class CreateSecurityHealthAnalyticsCustomModuleRequest : IMessage\u003cCreateSecurityHealthAnalyticsCustomModuleRequest\u003e, IEquatable\u003cCreateSecurityHealthAnalyticsCustomModuleRequest\u003e, IDeepCloneable\u003cCreateSecurityHealthAnalyticsCustomModuleRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Security Center Management v1 API class CreateSecurityHealthAnalyticsCustomModuleRequest.\n\nRequest message for\n\\[SecurityCenterManagement.CreateSecurityHealthAnalyticsCustomModule\\]\\[google.cloud.securitycentermanagement.v1.SecurityCenterManagement.CreateSecurityHealthAnalyticsCustomModule\\]. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e CreateSecurityHealthAnalyticsCustomModuleRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CreateSecurityHealthAnalyticsCustomModuleRequest](/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/latest/Google.Cloud.SecurityCenterManagement.V1.CreateSecurityHealthAnalyticsCustomModuleRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CreateSecurityHealthAnalyticsCustomModuleRequest](/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/latest/Google.Cloud.SecurityCenterManagement.V1.CreateSecurityHealthAnalyticsCustomModuleRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CreateSecurityHealthAnalyticsCustomModuleRequest](/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/latest/Google.Cloud.SecurityCenterManagement.V1.CreateSecurityHealthAnalyticsCustomModuleRequest), [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) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.SecurityCenterManagement.V1](/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/latest/Google.Cloud.SecurityCenterManagement.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.SecurityCenterManagement.V1.dll\n\nConstructors\n------------\n\n### CreateSecurityHealthAnalyticsCustomModuleRequest()\n\n public CreateSecurityHealthAnalyticsCustomModuleRequest()\n\n### CreateSecurityHealthAnalyticsCustomModuleRequest(CreateSecurityHealthAnalyticsCustomModuleRequest)\n\n public CreateSecurityHealthAnalyticsCustomModuleRequest(CreateSecurityHealthAnalyticsCustomModuleRequest other)\n\nProperties\n----------\n\n### Parent\n\n public string Parent { get; set; }\n\nRequired. Name of the parent organization, folder, or project of the\nmodule, in one of the following formats:\n\n- `organizations/{organization}/locations/{location}`\n- `folders/{folder}/locations/{location}`\n- `projects/{project}/locations/{location}`\n\n### ParentAsFolderLocationName\n\n public FolderLocationName ParentAsFolderLocationName { get; set; }\n\n[FolderLocationName](/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/latest/Google.Cloud.SecurityCenterManagement.V1.FolderLocationName)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/latest/Google.Cloud.SecurityCenterManagement.V1.CreateSecurityHealthAnalyticsCustomModuleRequest#Google_Cloud_SecurityCenterManagement_V1_CreateSecurityHealthAnalyticsCustomModuleRequest_Parent) resource name property.\n\n### ParentAsLocationName\n\n public LocationName ParentAsLocationName { get; set; }\n\n[LocationName](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/latest/Google.Cloud.SecurityCenterManagement.V1.CreateSecurityHealthAnalyticsCustomModuleRequest#Google_Cloud_SecurityCenterManagement_V1_CreateSecurityHealthAnalyticsCustomModuleRequest_Parent) resource name property.\n\n### ParentAsOrganizationLocationName\n\n public OrganizationLocationName ParentAsOrganizationLocationName { get; set; }\n\n[OrganizationLocationName](/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/latest/Google.Cloud.SecurityCenterManagement.V1.OrganizationLocationName)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/latest/Google.Cloud.SecurityCenterManagement.V1.CreateSecurityHealthAnalyticsCustomModuleRequest#Google_Cloud_SecurityCenterManagement_V1_CreateSecurityHealthAnalyticsCustomModuleRequest_Parent) resource name property.\n\n### ParentAsResourceName\n\n public IResourceName ParentAsResourceName { get; set; }\n\n[IResourceName](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.IResourceName.html)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/latest/Google.Cloud.SecurityCenterManagement.V1.CreateSecurityHealthAnalyticsCustomModuleRequest#Google_Cloud_SecurityCenterManagement_V1_CreateSecurityHealthAnalyticsCustomModuleRequest_Parent) resource name property.\n\n### SecurityHealthAnalyticsCustomModule\n\n public SecurityHealthAnalyticsCustomModule SecurityHealthAnalyticsCustomModule { get; set; }\n\nRequired. The resource being created.\n\n### ValidateOnly\n\n public bool ValidateOnly { get; set; }\n\nOptional. When set to `true`, the request will be validated (including IAM\nchecks), but no module will be created. An `OK` response indicates that the\nrequest is valid, while an error response indicates that the request is\ninvalid.\n\nIf the request is valid, a subsequent request to create the module could\nstill fail for one of the following reasons:\n\n- The state of your cloud resources changed; for example, you lost a required IAM permission\n- An error occurred during creation of the module\n\nDefaults to `false`."]]