Resource: Document
A Firestore document.
Must not exceed 1 MiB - 4 bytes.
JSON representation |
---|
{
"name": string,
"fields": {
string: {
object ( |
Fields | |
---|---|
name |
The resource name of the document, for example |
fields |
An object containing a list of |
createTime |
Output only. The time at which the document was created. This value increases monotonically when a document is deleted then recreated. It can also be compared to values from other documents and the A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
updateTime |
Output only. The time at which the document was last changed. This value is initially set to the A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
Methods |
|
---|---|
|
Gets multiple documents. |
|
Applies a batch of write operations. |
|
Starts a new transaction. |
|
Commits a transaction, while optionally updating documents. |
|
Creates a new document. |
|
Deletes a document. |
|
Gets a single document. |
|
Lists documents. |
|
Lists all the collection IDs underneath a document. |
|
Lists documents. |
|
Partitions a query by returning partition cursors that can be used to run the query in parallel. |
|
Updates or inserts a document. |
|
Rolls back a transaction. |
|
Runs an aggregation query. |
|
Runs a query. |