Google Cloud Migration Center V1 Client - Class FileValidationReport (0.1.0)

Reference documentation and code samples for the Google Cloud Migration Center V1 Client class FileValidationReport.

A resource that aggregates the validation errors found in an import job file.

Generated from protobuf message google.cloud.migrationcenter.v1.FileValidationReport

Namespace

Google \ Cloud \ MigrationCenter \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ file_name string

The name of the file.

↳ row_errors array<Google\Cloud\MigrationCenter\V1\ImportRowError>

Partial list of rows that encountered validation error.

↳ partial_report bool

Flag indicating that processing was aborted due to maximum number of errors.

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

List of file level errors.

getFileName

The name of the file.

Returns
TypeDescription
string

setFileName

The name of the file.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getRowErrors

Partial list of rows that encountered validation error.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setRowErrors

Partial list of rows that encountered validation error.

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

getPartialReport

Flag indicating that processing was aborted due to maximum number of errors.

Returns
TypeDescription
bool

setPartialReport

Flag indicating that processing was aborted due to maximum number of errors.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getFileErrors

List of file level errors.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setFileErrors

List of file level errors.

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