# Google Cloud Security Center Management V1 Client - Class ValidateEventThreatDetectionCustomModuleResponse (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 ValidateEventThreatDetectionCustomModuleResponse.

Response 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.ValidateEventThreatDetectionCustomModuleResponse`

## Namespace

Google \\ Cloud \\ SecurityCenterManagement \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ errors` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-securitycentermanagement/latest/V1.ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError>` A list of errors returned by the validator. If the list is empty, there were no errors. |

### getErrors

A list of errors returned by the validator. If the list is empty, there
were no errors.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-securitycentermanagement/latest/V1.ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError>` |   |

### setErrors

A list of errors returned by the validator. If the list is empty, there
were no errors.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-securitycentermanagement/latest/V1.ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError>` |

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