# Google Cloud Security Center Management V1 Client - Class ValidateEventThreatDetectionCustomModuleRequest (1.4.0)

1.4.0 (latest) 1.3.3 1.2.1 1.1.3 1.0.0 0.3.2 0.2.7 0.1.0 Reference documentation and code samples for the Google Cloud Security Center Management V1 Client class ValidateEventThreatDetectionCustomModuleRequest.

Request message for
[SecurityCenterManagement.ValidateEventThreatDetectionCustomModule](https://docs.cloud.google.com/php/docs/reference/cloud-securitycentermanagement/latest/V1.Client.SecurityCenterManagementClient#_Google_Cloud_SecurityCenterManagement_V1_Client_SecurityCenterManagementClient__validateEventThreatDetectionCustomModule__).

Generated from protobuf message `google.cloud.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleRequest`

## Namespace

Google \\ Cloud \\ SecurityCenterManagement \\ 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 modules under, in one of the following formats: \* \* `organizations/{organization}/locations/{location}` |
| `↳ 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. For example, `CONFIGURABLE_BAD_IP`. |

### getParent

Required. Resource name of the parent to validate the custom modules under,
in one of the following formats:

- `organizations/{organization}/locations/{location}`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setParent

Required. Resource name of the parent to validate the custom modules under,
in one of the following formats:

- `organizations/{organization}/locations/{location}`

| **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. For example, `CONFIGURABLE_BAD_IP`.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setType

Required. The type of the module. For example, `CONFIGURABLE_BAD_IP`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |