Google Cloud Security Command Center V1 Client - Class DeleteEventThreatDetectionCustomModuleRequest (2.0.0-RC1)

Reference documentation and code samples for the Google Cloud Security Command Center V1 Client class DeleteEventThreatDetectionCustomModuleRequest.

Request to delete an Event Threat Detection custom module.

Generated from protobuf message google.cloud.securitycenter.v1.DeleteEventThreatDetectionCustomModuleRequest

Namespace

Google \ Cloud \ SecurityCenter \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. Name of the custom module to delete. Its format is: * "organizations/{organization}/eventThreatDetectionSettings/customModules/{module}". * "folders/{folder}/eventThreatDetectionSettings/customModules/{module}". * "projects/{project}/eventThreatDetectionSettings/customModules/{module}".

getName

Required. Name of the custom module to delete.

Its format is:

  • "organizations/{organization}/eventThreatDetectionSettings/customModules/{module}".
  • "folders/{folder}/eventThreatDetectionSettings/customModules/{module}".
  • "projects/{project}/eventThreatDetectionSettings/customModules/{module}".
Returns
Type Description
string

setName

Required. Name of the custom module to delete.

Its format is:

  • "organizations/{organization}/eventThreatDetectionSettings/customModules/{module}".
  • "folders/{folder}/eventThreatDetectionSettings/customModules/{module}".
  • "projects/{project}/eventThreatDetectionSettings/customModules/{module}".
Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. Name of the custom module to delete.

Its format is:

  • "organizations/{organization}/eventThreatDetectionSettings/customModules/{module}".
  • "folders/{folder}/eventThreatDetectionSettings/customModules/{module}".
  • "projects/{project}/eventThreatDetectionSettings/customModules/{module}". Please see Google\Cloud\SecurityCenter\V1\SecurityCenterClient::eventThreatDetectionCustomModuleName() for help formatting this field.
Returns
Type Description
Google\Cloud\SecurityCenter\V1\DeleteEventThreatDetectionCustomModuleRequest