Google Cloud Migration Center V1 Client - Class ValidationReport (0.4.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
NameDescription
data array

Optional. Data for populating the Message object.

↳ file_validations array<Google\Cloud\MigrationCenter\V1\FileValidationReport>

List of errors found in files.

↳ job_errors array<Google\Cloud\MigrationCenter\V1\ImportError>

List of job level errors.

getFileValidations

List of errors found in files.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setFileValidations

List of errors found in files.

Parameter
NameDescription
var array<Google\Cloud\MigrationCenter\V1\FileValidationReport>
Returns
TypeDescription
$this

getJobErrors

List of job level errors.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setJobErrors

List of job level errors.

Parameter
NameDescription
var array<Google\Cloud\MigrationCenter\V1\ImportError>
Returns
TypeDescription
$this