Reference documentation and code samples for the Cloud Firestore V1 Client class BatchGetDocumentsResponse.
The streamed response for Firestore.BatchGetDocuments .
Generated from protobuf message google.firestore.v1.BatchGetDocumentsResponse
Namespace
Google \ Cloud \ Firestore \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ found
↳ missing
string
A document name that was requested but does not exist. In the format: projects/{project_id}/databases/{database_id}/documents/{document_path}
.
↳ transaction
string
The transaction that was started as part of this request. Will only be set in the first response, and only if BatchGetDocumentsRequest.new_transaction was set in the request.
↳ read_time
Google\Protobuf\Timestamp
The time at which the document was read. This may be monotically increasing, in this case the previous documents in the result stream are guaranteed not to have changed between their read_time and this one.
getFound
A document that was requested.
hasFound
setFound
A document that was requested.
$this
getMissing
A document name that was requested but does not exist. In the format: projects/{project_id}/databases/{database_id}/documents/{document_path}
.
string
hasMissing
setMissing
A document name that was requested but does not exist. In the format: projects/{project_id}/databases/{database_id}/documents/{document_path}
.
var
string
$this
getTransaction
The transaction that was started as part of this request.
Will only be set in the first response, and only if BatchGetDocumentsRequest.new_transaction was set in the request.
string
setTransaction
The transaction that was started as part of this request.
Will only be set in the first response, and only if BatchGetDocumentsRequest.new_transaction was set in the request.
var
string
$this
getReadTime
The time at which the document was read.
This may be monotically increasing, in this case the previous documents in the result stream are guaranteed not to have changed between their read_time and this one.
hasReadTime
clearReadTime
setReadTime
The time at which the document was read.
This may be monotically increasing, in this case the previous documents in the result stream are guaranteed not to have changed between their read_time and this one.
$this
getResult
string