Google Cloud Security Command Center V1 Client - Class ValidateEventThreatDetectionCustomModuleRequest (2.0.2)

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

Request to validate an Event Threat Detection custom module.

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

Namespace

Google \ Cloud \ SecurityCenter \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Resource name of the parent to validate the Custom Module under. Its format is: * * organizations/{organization}/eventThreatDetectionSettings. * * folders/{folder}/eventThreatDetectionSettings. * * projects/{project}/eventThreatDetectionSettings.

↳ raw_text string

Required. The raw text of the module's contents. Used to generate error messages.

↳ type string

Required. The type of the module (e.g. CONFIGURABLE_BAD_IP).

getParent

Required. Resource name of the parent to validate the Custom Module under.

Its format is:

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

setParent

Required. Resource name of the parent to validate the Custom Module under.

Its format is:

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

getRawText

Required. The raw text of the module's contents. Used to generate error messages.

Returns
Type Description
string

setRawText

Required. The raw text of the module's contents. Used to generate error messages.

Parameter
Name Description
var string
Returns
Type Description
$this

getType

Required. The type of the module (e.g. CONFIGURABLE_BAD_IP).

Returns
Type Description
string

setType

Required. The type of the module (e.g. CONFIGURABLE_BAD_IP).

Parameter
Name Description
var string
Returns
Type Description
$this