Cloud Firestore V1 Client - Class BatchWriteResponse (1.53.0)

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

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

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
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: