Google Cloud Sql Admin V1 Client - Class OperationErrors (1.2.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
Name Description
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
Type Description
string

setKind

This is always sql#operationErrors.

Parameter
Name Description
var string
Returns
Type Description
$this

getErrors

The list of errors encountered while processing this operation.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setErrors

The list of errors encountered while processing this operation.

Parameter
Name Description
var array<Google\Cloud\Sql\V1\OperationError>
Returns
Type Description
$this