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

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

A resource that reports the import job errors at row level.

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

Namespace

Google \ Cloud \ MigrationCenter \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ row_number int

The row number where the error was detected.

↳ vm_name string

The name of the VM in the row.

↳ vm_uuid string

The VM UUID.

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

The list of errors detected in the row.

getRowNumber

The row number where the error was detected.

Returns
TypeDescription
int

setRowNumber

The row number where the error was detected.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getVmName

The name of the VM in the row.

Returns
TypeDescription
string

setVmName

The name of the VM in the row.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getVmUuid

The VM UUID.

Returns
TypeDescription
string

setVmUuid

The VM UUID.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getErrors

The list of errors detected in the row.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setErrors

The list of errors detected in the row.

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