Cloud Firestore V1 Client - Class BatchWriteResponse (1.47.2)

Reference documentation and code samples for the Cloud Firestore V1 Client class BatchWriteResponse.

The response from Firestore.BatchWrite.

Generated from protobuf message google.firestore.v1.BatchWriteResponse

Namespace

Google \ Cloud \ Firestore \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ write_results array<WriteResult>

The result of applying the writes. This i-th write result corresponds to the i-th write in the request.

↳ status array<Google\Rpc\Status>

The status of applying the writes. This i-th write status corresponds to the i-th write in the request.

getWriteResults

The result of applying the writes.

This i-th write result corresponds to the i-th write in the request.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setWriteResults

The result of applying the writes.

This i-th write result corresponds to the i-th write in the request.

Parameter
Name Description
var array<WriteResult>
Returns
Type Description
$this

getStatus

The status of applying the writes.

This i-th write status corresponds to the i-th write in the request.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setStatus

The status of applying the writes.

This i-th write status corresponds to the i-th write in the request.

Parameter
Name Description
var array<Google\Rpc\Status>
Returns
Type Description
$this