public sealed class CreateEventThreatDetectionCustomModuleRequest : IMessage<CreateEventThreatDetectionCustomModuleRequest>, IEquatable<CreateEventThreatDetectionCustomModuleRequest>, IDeepCloneable<CreateEventThreatDetectionCustomModuleRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Security Center Management v1 API class CreateEventThreatDetectionCustomModuleRequest.
Request message for [SecurityCenterManagement.CreateEventThreatDetectionCustomModule][google.cloud.securitycentermanagement.v1.SecurityCenterManagement.CreateEventThreatDetectionCustomModule].
Implements
IMessageCreateEventThreatDetectionCustomModuleRequest, IEquatableCreateEventThreatDetectionCustomModuleRequest, IDeepCloneableCreateEventThreatDetectionCustomModuleRequest, IBufferMessage, IMessageNamespace
Google.Cloud.SecurityCenterManagement.V1Assembly
Google.Cloud.SecurityCenterManagement.V1.dll
Constructors
CreateEventThreatDetectionCustomModuleRequest()
public CreateEventThreatDetectionCustomModuleRequest()
CreateEventThreatDetectionCustomModuleRequest(CreateEventThreatDetectionCustomModuleRequest)
public CreateEventThreatDetectionCustomModuleRequest(CreateEventThreatDetectionCustomModuleRequest other)
Parameter | |
---|---|
Name | Description |
other |
CreateEventThreatDetectionCustomModuleRequest |
Properties
EventThreatDetectionCustomModule
public EventThreatDetectionCustomModule EventThreatDetectionCustomModule { get; set; }
Required. The module to create. The [EventThreatDetectionCustomModule.name][google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModule.name] field is ignored; Security Command Center generates the name.
Property Value | |
---|---|
Type | Description |
EventThreatDetectionCustomModule |
Parent
public string Parent { get; set; }
Required. Name of parent for 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-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
FolderLocationName |
ParentAsLocationName
public LocationName ParentAsLocationName { get; set; }
LocationName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
LocationName |
ParentAsOrganizationLocationName
public OrganizationLocationName ParentAsOrganizationLocationName { get; set; }
OrganizationLocationName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
OrganizationLocationName |
ParentAsResourceName
public IResourceName ParentAsResourceName { get; set; }
IResourceName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
IResourceName |
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 |