Google Cloud Sql Admin V1 Client - Class OperationErrors (0.10.0)

Reference documentation and code samples for the Google Cloud Sql Admin V1 Client class OperationErrors.

Database instance operation errors list wrapper.

Generated from protobuf message google.cloud.sql.v1.OperationErrors

Namespace

Google \ Cloud \ Sql \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ kind string

This is always sql#operationErrors.

↳ errors array<Google\Cloud\Sql\V1\OperationError>

The list of errors encountered while processing this operation.

getKind

This is always sql#operationErrors.

Returns
TypeDescription
string

setKind

This is always sql#operationErrors.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getErrors

The list of errors encountered while processing this operation.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setErrors

The list of errors encountered while processing this operation.

Parameter
NameDescription
var array<Google\Cloud\Sql\V1\OperationError>
Returns
TypeDescription
$this