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

An error encountered while validating the uploaded configuration of an
Event Threat Detection custom module.

Generated from protobuf message `google.cloud.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError`

## Namespace

Google \\ Cloud \\ SecurityCenterManagement \\ V1 \\ ValidateEventThreatDetectionCustomModuleResponse

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ description` | `string` A human-readable description of the error. |
| `↳ field_path` | `string` The path, in [RFC 6901: JSON Pointer](https://datatracker.ietf.org/doc/html/rfc6901) format, to the field that failed validation. Omitted if no specific field is affected. |
| `↳ start` | `https://docs.cloud.google.com/php/docs/reference/cloud-securitycentermanagement/latest/V1.ValidateEventThreatDetectionCustomModuleResponse.Position` The initial position of the error in the uploaded text version of the module. Omitted if no specific position applies, or if the position could not be computed. |
| `↳ end` | `https://docs.cloud.google.com/php/docs/reference/cloud-securitycentermanagement/latest/V1.ValidateEventThreatDetectionCustomModuleResponse.Position` The end position of the error in the uploaded text version of the module. Omitted if no specific position applies, or if the position could not be computed. |

### getDescription

A human-readable description of the error.

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

### setDescription

A human-readable description of the error.

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

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

### getFieldPath

The path, in [RFC 6901: JSON
Pointer](https://datatracker.ietf.org/doc/html/rfc6901) format, to the
field that failed validation. Omitted if no specific field is affected.

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

### setFieldPath

The path, in [RFC 6901: JSON
Pointer](https://datatracker.ietf.org/doc/html/rfc6901) format, to the
field that failed validation. Omitted if no specific field is affected.

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

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

### getStart

The initial position of the error in the uploaded text version of the
module. Omitted if no specific position applies, or if the position could
not be computed.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-securitycentermanagement/latest/V1.ValidateEventThreatDetectionCustomModuleResponse.Position|null` |   |

### hasStart

### clearStart

### setStart

The initial position of the error in the uploaded text version of the
module. Omitted if no specific position applies, or if the position could
not be computed.

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

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

### getEnd

The end position of the error in the uploaded text version of the module.

Omitted if no specific position applies, or if the position could not be
computed.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-securitycentermanagement/latest/V1.ValidateEventThreatDetectionCustomModuleResponse.Position|null` |   |

### hasEnd

### clearEnd

### setEnd

The end position of the error in the uploaded text version of the module.

Omitted if no specific position applies, or if the position could not be
computed.

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

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