# Google Cloud Migration Center V1 Client - Class ValidationReport (1.2.3)

1.2.3 (latest) 1.2.2 1.1.2 1.0.3 0.4.5 0.3.1 0.2.0 0.1.0 Reference documentation and code samples for the Google Cloud Migration Center V1 Client class ValidationReport.

A resource that aggregates errors across import job files.

Generated from protobuf message `google.cloud.migrationcenter.v1.ValidationReport`

## Namespace

Google \\ Cloud \\ MigrationCenter \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ file_validations` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-migrationcenter/latest/V1.FileValidationReport>` List of errors found in files. |
| `↳ job_errors` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-migrationcenter/latest/V1.ImportError>` List of job level errors. |

### getFileValidations

List of errors found in files.

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

### setFileValidations

List of errors found in files.

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

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

### getJobErrors

List of job level errors.

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

### setJobErrors

List of job level errors.

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

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