Reference documentation and code samples for the Google Cloud Security Center Management V1 Client class DeleteEventThreatDetectionCustomModuleRequest.
Generated from protobuf message google.cloud.securitycentermanagement.v1.DeleteEventThreatDetectionCustomModuleRequest
Namespace
Google \ Cloud \ SecurityCenterManagement \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ name
string
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}
↳ validate_only
bool
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.
getName
Required. The resource name of the Event Threat Detection custom module, in
one of the following formats:
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.
Returns
Type
Description
bool
setValidateOnly
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.
Parameter
Name
Description
var
bool
Returns
Type
Description
$this
static::build
Parameter
Name
Description
name
string
Required. The resource name of the Event Threat Detection custom module, in
one of the following formats:
projects/{project}/locations/{location}/eventThreatDetectionCustomModules/{custom_module}
Please see SecurityCenterManagementClient::eventThreatDetectionCustomModuleName() for help formatting this field.
[[["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-09-04 UTC."],[],[],null,["# Google Cloud Security Center Management V1 Client - Class DeleteEventThreatDetectionCustomModuleRequest (1.2.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.1 (latest)](/php/docs/reference/cloud-securitycentermanagement/latest/V1.DeleteEventThreatDetectionCustomModuleRequest)\n- [1.2.0](/php/docs/reference/cloud-securitycentermanagement/1.2.0/V1.DeleteEventThreatDetectionCustomModuleRequest)\n- [1.1.3](/php/docs/reference/cloud-securitycentermanagement/1.1.3/V1.DeleteEventThreatDetectionCustomModuleRequest)\n- [1.0.0](/php/docs/reference/cloud-securitycentermanagement/1.0.0/V1.DeleteEventThreatDetectionCustomModuleRequest)\n- [0.3.2](/php/docs/reference/cloud-securitycentermanagement/0.3.2/V1.DeleteEventThreatDetectionCustomModuleRequest)\n- [0.2.7](/php/docs/reference/cloud-securitycentermanagement/0.2.7/V1.DeleteEventThreatDetectionCustomModuleRequest)\n- [0.1.0](/php/docs/reference/cloud-securitycentermanagement/0.1.0/V1.DeleteEventThreatDetectionCustomModuleRequest) \nReference documentation and code samples for the Google Cloud Security Center Management V1 Client class DeleteEventThreatDetectionCustomModuleRequest.\n\nRequest message for\n[SecurityCenterManagement.DeleteEventThreatDetectionCustomModule](/php/docs/reference/cloud-securitycentermanagement/latest/V1.Client.SecurityCenterManagementClient#_Google_Cloud_SecurityCenterManagement_V1_Client_SecurityCenterManagementClient__deleteEventThreatDetectionCustomModule__).\n\nGenerated from protobuf message `google.cloud.securitycentermanagement.v1.DeleteEventThreatDetectionCustomModuleRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ SecurityCenterManagement \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nRequired. The resource name of the Event Threat Detection custom module, in\none of the following formats:\n\n- `organizations/{organization}/locations/{location}/eventThreatDetectionCustomModules/{custom_module}`\n- `folders/{folder}/locations/{location}/eventThreatDetectionCustomModules/{custom_module}`\n- `projects/{project}/locations/{location}/eventThreatDetectionCustomModules/{custom_module}`\n\n### setName\n\nRequired. The resource name of the Event Threat Detection custom module, in\none of the following formats:\n\n- `organizations/{organization}/locations/{location}/eventThreatDetectionCustomModules/{custom_module}`\n- `folders/{folder}/locations/{location}/eventThreatDetectionCustomModules/{custom_module}`\n- `projects/{project}/locations/{location}/eventThreatDetectionCustomModules/{custom_module}`\n\n### getValidateOnly\n\nOptional. When set to `true`, the request will be validated (including IAM\nchecks), but no module will be deleted. 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 delete 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 Defaults to `false`.\n\n### setValidateOnly\n\nOptional. When set to `true`, the request will be validated (including IAM\nchecks), but no module will be deleted. 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 delete 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 Defaults to `false`.\n\n### static::build"]]