Compute V1 Client - Class Error (1.10.1)

Reference documentation and code samples for the Compute V1 Client class Error.

[Output Only] If errors are generated during processing of the operation, this field will be populated.

Generated from protobuf message google.cloud.compute.v1.Error

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ errors array<Google\Cloud\Compute\V1\Errors>

[Output Only] The array of errors encountered while processing this operation.

getErrors

[Output Only] The array of errors encountered while processing this operation.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setErrors

[Output Only] The array of errors encountered while processing this operation.

Parameter
NameDescription
var array<Google\Cloud\Compute\V1\Errors>
Returns
TypeDescription
$this