Google Cloud Sql Admin V1beta4 Client - Class OperationErrors (0.7.0)

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

Database instance operation errors list wrapper.

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

Namespace

Google \ Cloud \ Sql \ V1beta4

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\V1beta4\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\V1beta4\OperationError>
Returns
TypeDescription
$this