Security Center Management v1 API - Class DeleteSecurityHealthAnalyticsCustomModuleRequest (1.2.0)

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 > DeleteSecurityHealthAnalyticsCustomModuleRequest

Namespace

Google.Cloud.SecurityCenterManagement.V1

Assembly

Google.Cloud.SecurityCenterManagement.V1.dll

Constructors

DeleteSecurityHealthAnalyticsCustomModuleRequest()

public DeleteSecurityHealthAnalyticsCustomModuleRequest()

DeleteSecurityHealthAnalyticsCustomModuleRequest(DeleteSecurityHealthAnalyticsCustomModuleRequest)

public DeleteSecurityHealthAnalyticsCustomModuleRequest(DeleteSecurityHealthAnalyticsCustomModuleRequest other)
Parameter
Name Description
other 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
string

SecurityHealthAnalyticsCustomModuleName

public SecurityHealthAnalyticsCustomModuleName SecurityHealthAnalyticsCustomModuleName { get; set; }

SecurityHealthAnalyticsCustomModuleName-typed view over the Name resource name property.

Property Value
Type Description
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
bool