Security Center Management v1 API - Class DeleteEventThreatDetectionCustomModuleRequest (1.2.0)

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

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

Request message for [SecurityCenterManagement.DeleteEventThreatDetectionCustomModule][google.cloud.securitycentermanagement.v1.SecurityCenterManagement.DeleteEventThreatDetectionCustomModule].

Inheritance

object > DeleteEventThreatDetectionCustomModuleRequest

Namespace

Google.Cloud.SecurityCenterManagement.V1

Assembly

Google.Cloud.SecurityCenterManagement.V1.dll

Constructors

DeleteEventThreatDetectionCustomModuleRequest()

public DeleteEventThreatDetectionCustomModuleRequest()

DeleteEventThreatDetectionCustomModuleRequest(DeleteEventThreatDetectionCustomModuleRequest)

public DeleteEventThreatDetectionCustomModuleRequest(DeleteEventThreatDetectionCustomModuleRequest other)
Parameter
Name Description
other DeleteEventThreatDetectionCustomModuleRequest

Properties

EventThreatDetectionCustomModuleName

public EventThreatDetectionCustomModuleName EventThreatDetectionCustomModuleName { get; set; }

EventThreatDetectionCustomModuleName-typed view over the Name resource name property.

Property Value
Type Description
EventThreatDetectionCustomModuleName

Name

public string Name { get; set; }

Required. The resource name of the Event Threat Detection custom module, in one of the following formats:

  • organizations/{organization}/locations/{location}/eventThreatDetectionCustomModules/{custom_module}
  • folders/{folder}/locations/{location}/eventThreatDetectionCustomModules/{custom_module}
  • projects/{project}/locations/{location}/eventThreatDetectionCustomModules/{custom_module}
Property Value
Type Description
string

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 creation of the module

Defaults to false.

Property Value
Type Description
bool