Google API Common Protos Client - Class BadRequest (4.8.3)

Reference documentation and code samples for the Google API Common Protos Client class BadRequest.

Describes violations in a client request. This error type focuses on the syntactic aspects of the request.

Generated from protobuf message google.rpc.BadRequest

Namespace

Google \ Rpc

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ field_violations array<BadRequest\FieldViolation>

Describes all violations in a client request.

getFieldViolations

Describes all violations in a client request.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setFieldViolations

Describes all violations in a client request.

Parameter
Name Description
var array<BadRequest\FieldViolation>
Returns
Type Description
$this