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

2.5.1 (latest) 2.5.0 2.4.2 2.3.0 2.2.1 2.1.1 2.0.4 1.32.0 1.31.0 1.30.0 1.29.0 1.28.2 1.21.0 1.20.2 1.19.1 1.18.0 1.17.0 1.16.0 1.15.1 1.14.2 1.13.1 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` |   |