Google Cloud Migration Center V1 Client - Class ErrorFrame (0.3.1)

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

Message representing a frame which failed to be processed due to an error.

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

Namespace

Google \ Cloud \ MigrationCenter \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Output only. The identifier of the ErrorFrame.

↳ violations array<Google\Cloud\MigrationCenter\V1\FrameViolationEntry>

Output only. All the violations that were detected for the frame.

↳ original_frame Google\Cloud\MigrationCenter\V1\AssetFrame

Output only. The frame that was originally reported.

↳ ingestion_time Google\Protobuf\Timestamp

Output only. Frame ingestion time.

getName

Output only. The identifier of the ErrorFrame.

Returns
TypeDescription
string

setName

Output only. The identifier of the ErrorFrame.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getViolations

Output only. All the violations that were detected for the frame.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setViolations

Output only. All the violations that were detected for the frame.

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

getOriginalFrame

Output only. The frame that was originally reported.

Returns
TypeDescription
Google\Cloud\MigrationCenter\V1\AssetFrame|null

hasOriginalFrame

clearOriginalFrame

setOriginalFrame

Output only. The frame that was originally reported.

Parameter
NameDescription
var Google\Cloud\MigrationCenter\V1\AssetFrame
Returns
TypeDescription
$this

getIngestionTime

Output only. Frame ingestion time.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasIngestionTime

clearIngestionTime

setIngestionTime

Output only. Frame ingestion time.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this