Cloud Firestore V1beta1 Client - Class WriteResult (1.39.0)

Reference documentation and code samples for the Cloud Firestore V1beta1 Client class WriteResult.

The result of applying a write.

Generated from protobuf message google.firestore.v1beta1.WriteResult

Namespace

Google \ Cloud \ Firestore \ V1beta1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ update_time
Google\Protobuf\Timestamp

The last update time of the document after applying the write. Not set after a delete . If the write did not actually change the document, this will be the previous update_time.

↳ transform_results
array< Google\Cloud\Firestore\V1beta1\Value >

The results of applying each DocumentTransform.FieldTransform , in the same order.

getUpdateTime

The last update time of the document after applying the write. Not set after a delete .

If the write did not actually change the document, this will be the previous update_time.

Returns
Type
Description

setUpdateTime

The last update time of the document after applying the write. Not set after a delete .

If the write did not actually change the document, this will be the previous update_time.

Parameter
Name
Description
Returns
Type
Description
$this

getTransformResults

The results of applying each DocumentTransform.FieldTransform , in the same order.

Returns
Type
Description

setTransformResults

The results of applying each DocumentTransform.FieldTransform , in the same order.

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: