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 \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
string |
setFileName
The name of the file.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getRowErrors
Partial list of rows that encountered validation error.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setRowErrors
Partial list of rows that encountered validation error.
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\MigrationCenter\V1\ImportRowError>
|
Returns | |
---|---|
Type | Description |
$this |
getPartialReport
Flag indicating that processing was aborted due to maximum number of errors.
Returns | |
---|---|
Type | Description |
bool |
setPartialReport
Flag indicating that processing was aborted due to maximum number of errors.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
getFileErrors
List of file level errors.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setFileErrors
List of file level errors.
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\MigrationCenter\V1\ImportError>
|
Returns | |
---|---|
Type | Description |
$this |