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

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
Name Description
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<ImportError>

The list of errors detected in the row.

getRowNumber

The row number where the error was detected.

Returns
Type Description
int

setRowNumber

The row number where the error was detected.

Parameter
Name Description
var int
Returns
Type Description
$this

getVmName

The name of the VM in the row.

Returns
Type Description
string

setVmName

The name of the VM in the row.

Parameter
Name Description
var string
Returns
Type Description
$this

getVmUuid

The VM UUID.

Returns
Type Description
string

setVmUuid

The VM UUID.

Parameter
Name Description
var string
Returns
Type Description
$this

getErrors

The list of errors detected in the row.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setErrors

The list of errors detected in the row.

Parameter
Name Description
var array<ImportError>
Returns
Type Description
$this