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
Methods
__construct
Constructor.
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.
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.
$this
getTransformResults
The results of applying each DocumentTransform.FieldTransform , in the same order.
setTransformResults
The results of applying each DocumentTransform.FieldTransform , in the same order.
$this