You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/dyn/firestore_v1.projects.databases.documents.html
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -225,7 +225,7 @@ <h3>Method Details</h3>
225
225
{ # A write on a document.
226
226
"currentDocument": { # A precondition on a document, used for conditional operations. # An optional precondition on the document. The write will fail if this is set and not met by the target document.
227
227
"exists": True or False, # When set to `true`, the target document must exist. When set to `false`, the target document must not exist.
228
-
"updateTime": "A String", # When set, the target document must exist and have been last updated at that time.
228
+
"updateTime": "A String", # When set, the target document must exist and have been last updated at that time. Timestamp must be microsecond aligned.
229
229
},
230
230
"delete": "A String", # A document name to delete. In the format: `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
231
231
"transform": { # A transformation of a document. # Applies a transformation to a document.
@@ -554,7 +554,7 @@ <h3>Method Details</h3>
554
554
{ # A write on a document.
555
555
"currentDocument": { # A precondition on a document, used for conditional operations. # An optional precondition on the document. The write will fail if this is set and not met by the target document.
556
556
"exists": True or False, # When set to `true`, the target document must exist. When set to `false`, the target document must not exist.
557
-
"updateTime": "A String", # When set, the target document must exist and have been last updated at that time.
557
+
"updateTime": "A String", # When set, the target document must exist and have been last updated at that time. Timestamp must be microsecond aligned.
558
558
},
559
559
"delete": "A String", # A document name to delete. In the format: `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
560
560
"transform": { # A transformation of a document. # Applies a transformation to a document.
@@ -912,7 +912,7 @@ <h3>Method Details</h3>
912
912
Args:
913
913
name: string, Required. The resource name of the Document to delete. In the format: `projects/{project_id}/databases/{database_id}/documents/{document_path}`. (required)
914
914
currentDocument_exists: boolean, When set to `true`, the target document must exist. When set to `false`, the target document must not exist.
915
-
currentDocument_updateTime: string, When set, the target document must exist and have been last updated at that time.
915
+
currentDocument_updateTime: string, When set, the target document must exist and have been last updated at that time. Timestamp must be microsecond aligned.
916
916
x__xgafv: string, V1 error format.
917
917
Allowed values
918
918
1 - v1 error format
@@ -1578,7 +1578,7 @@ <h3>Method Details</h3>
1578
1578
}
1579
1579
1580
1580
currentDocument_exists: boolean, When set to `true`, the target document must exist. When set to `false`, the target document must not exist.
1581
-
currentDocument_updateTime: string, When set, the target document must exist and have been last updated at that time.
1581
+
currentDocument_updateTime: string, When set, the target document must exist and have been last updated at that time. Timestamp must be microsecond aligned.
1582
1582
mask_fieldPaths: string, The list of field paths in the mask. See Document.fields for a field path syntax reference. (repeated)
1583
1583
updateMask_fieldPaths: string, The list of field paths in the mask. See Document.fields for a field path syntax reference. (repeated)
1584
1584
x__xgafv: string, V1 error format.
@@ -1861,7 +1861,7 @@ <h3>Method Details</h3>
1861
1861
{ # A write on a document.
1862
1862
"currentDocument": { # A precondition on a document, used for conditional operations. # An optional precondition on the document. The write will fail if this is set and not met by the target document.
1863
1863
"exists": True or False, # When set to `true`, the target document must exist. When set to `false`, the target document must not exist.
1864
-
"updateTime": "A String", # When set, the target document must exist and have been last updated at that time.
1864
+
"updateTime": "A String", # When set, the target document must exist and have been last updated at that time. Timestamp must be microsecond aligned.
1865
1865
},
1866
1866
"delete": "A String", # A document name to delete. In the format: `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
1867
1867
"transform": { # A transformation of a document. # Applies a transformation to a document.
Copy file name to clipboardExpand all lines: docs/dyn/firestore_v1.projects.databases.html
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -174,6 +174,7 @@ <h3>Method Details</h3>
174
174
175
175
{ # A Cloud Firestore Database. Currently only one database is allowed per cloud project; this database must have a `database_id` of '(default)'.
176
176
"concurrencyMode": "A String", # The concurrency control mode to use for this database.
177
+
"earliestVersionTime": "A String", # Output only. The earliest timestamp at which older versions of the data can be read from the database. See [version_retention_period] above; this field is populated with `now - version_retention_period`. This value is continuously updated, and becomes stale the moment it is queried. If you are using this value to recover data, make sure to account for the time from the moment when the value is queried to the moment when you initiate the recovery. Note that you should not need to query this field: if you know the `version_retention_period` then you can query within that time.
177
178
"etag": "A String", # This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
178
179
"locationId": "A String", # The location of the database. Available databases are listed at https://cloud.google.com/firestore/docs/locations.
179
180
"name": "A String", # The resource name of the Database. Format: `projects/{project}/databases/{database}`
@@ -244,6 +245,7 @@ <h3>Method Details</h3>
244
245
"databases": [ # The databases in the project.
245
246
{ # A Cloud Firestore Database. Currently only one database is allowed per cloud project; this database must have a `database_id` of '(default)'.
246
247
"concurrencyMode": "A String", # The concurrency control mode to use for this database.
248
+
"earliestVersionTime": "A String", # Output only. The earliest timestamp at which older versions of the data can be read from the database. See [version_retention_period] above; this field is populated with `now - version_retention_period`. This value is continuously updated, and becomes stale the moment it is queried. If you are using this value to recover data, make sure to account for the time from the moment when the value is queried to the moment when you initiate the recovery. Note that you should not need to query this field: if you know the `version_retention_period` then you can query within that time.
247
249
"etag": "A String", # This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
248
250
"locationId": "A String", # The location of the database. Available databases are listed at https://cloud.google.com/firestore/docs/locations.
249
251
"name": "A String", # The resource name of the Database. Format: `projects/{project}/databases/{database}`
@@ -264,6 +266,7 @@ <h3>Method Details</h3>
264
266
265
267
{ # A Cloud Firestore Database. Currently only one database is allowed per cloud project; this database must have a `database_id` of '(default)'.
266
268
"concurrencyMode": "A String", # The concurrency control mode to use for this database.
269
+
"earliestVersionTime": "A String", # Output only. The earliest timestamp at which older versions of the data can be read from the database. See [version_retention_period] above; this field is populated with `now - version_retention_period`. This value is continuously updated, and becomes stale the moment it is queried. If you are using this value to recover data, make sure to account for the time from the moment when the value is queried to the moment when you initiate the recovery. Note that you should not need to query this field: if you know the `version_retention_period` then you can query within that time.
267
270
"etag": "A String", # This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
268
271
"locationId": "A String", # The location of the database. Available databases are listed at https://cloud.google.com/firestore/docs/locations.
269
272
"name": "A String", # The resource name of the Database. Format: `projects/{project}/databases/{database}`
Copy file name to clipboardExpand all lines: docs/dyn/firestore_v1beta1.projects.databases.documents.html
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -225,7 +225,7 @@ <h3>Method Details</h3>
225
225
{ # A write on a document.
226
226
"currentDocument": { # A precondition on a document, used for conditional operations. # An optional precondition on the document. The write will fail if this is set and not met by the target document.
227
227
"exists": True or False, # When set to `true`, the target document must exist. When set to `false`, the target document must not exist.
228
-
"updateTime": "A String", # When set, the target document must exist and have been last updated at that time.
228
+
"updateTime": "A String", # When set, the target document must exist and have been last updated at that time. Timestamp must be microsecond aligned.
229
229
},
230
230
"delete": "A String", # A document name to delete. In the format: `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
231
231
"transform": { # A transformation of a document. # Applies a transformation to a document.
@@ -554,7 +554,7 @@ <h3>Method Details</h3>
554
554
{ # A write on a document.
555
555
"currentDocument": { # A precondition on a document, used for conditional operations. # An optional precondition on the document. The write will fail if this is set and not met by the target document.
556
556
"exists": True or False, # When set to `true`, the target document must exist. When set to `false`, the target document must not exist.
557
-
"updateTime": "A String", # When set, the target document must exist and have been last updated at that time.
557
+
"updateTime": "A String", # When set, the target document must exist and have been last updated at that time. Timestamp must be microsecond aligned.
558
558
},
559
559
"delete": "A String", # A document name to delete. In the format: `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
560
560
"transform": { # A transformation of a document. # Applies a transformation to a document.
@@ -912,7 +912,7 @@ <h3>Method Details</h3>
912
912
Args:
913
913
name: string, Required. The resource name of the Document to delete. In the format: `projects/{project_id}/databases/{database_id}/documents/{document_path}`. (required)
914
914
currentDocument_exists: boolean, When set to `true`, the target document must exist. When set to `false`, the target document must not exist.
915
-
currentDocument_updateTime: string, When set, the target document must exist and have been last updated at that time.
915
+
currentDocument_updateTime: string, When set, the target document must exist and have been last updated at that time. Timestamp must be microsecond aligned.
916
916
x__xgafv: string, V1 error format.
917
917
Allowed values
918
918
1 - v1 error format
@@ -1578,7 +1578,7 @@ <h3>Method Details</h3>
1578
1578
}
1579
1579
1580
1580
currentDocument_exists: boolean, When set to `true`, the target document must exist. When set to `false`, the target document must not exist.
1581
-
currentDocument_updateTime: string, When set, the target document must exist and have been last updated at that time.
1581
+
currentDocument_updateTime: string, When set, the target document must exist and have been last updated at that time. Timestamp must be microsecond aligned.
1582
1582
mask_fieldPaths: string, The list of field paths in the mask. See Document.fields for a field path syntax reference. (repeated)
1583
1583
updateMask_fieldPaths: string, The list of field paths in the mask. See Document.fields for a field path syntax reference. (repeated)
1584
1584
x__xgafv: string, V1 error format.
@@ -1861,7 +1861,7 @@ <h3>Method Details</h3>
1861
1861
{ # A write on a document.
1862
1862
"currentDocument": { # A precondition on a document, used for conditional operations. # An optional precondition on the document. The write will fail if this is set and not met by the target document.
1863
1863
"exists": True or False, # When set to `true`, the target document must exist. When set to `false`, the target document must not exist.
1864
-
"updateTime": "A String", # When set, the target document must exist and have been last updated at that time.
1864
+
"updateTime": "A String", # When set, the target document must exist and have been last updated at that time. Timestamp must be microsecond aligned.
1865
1865
},
1866
1866
"delete": "A String", # A document name to delete. In the format: `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
1867
1867
"transform": { # A transformation of a document. # Applies a transformation to a document.
Copy file name to clipboardExpand all lines: googleapiclient/discovery_cache/documents/firestore.v1.json
+10-4Lines changed: 10 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -677,7 +677,7 @@
677
677
"type": "boolean"
678
678
},
679
679
"currentDocument.updateTime": {
680
-
"description": "When set, the target document must exist and have been last updated at that time.",
680
+
"description": "When set, the target document must exist and have been last updated at that time. Timestamp must be microsecond aligned.",
681
681
"format": "google-datetime",
682
682
"location": "query",
683
683
"type": "string"
@@ -917,7 +917,7 @@
917
917
"type": "boolean"
918
918
},
919
919
"currentDocument.updateTime": {
920
-
"description": "When set, the target document must exist and have been last updated at that time.",
920
+
"description": "When set, the target document must exist and have been last updated at that time. Timestamp must be microsecond aligned.",
921
921
"format": "google-datetime",
922
922
"location": "query",
923
923
"type": "string"
@@ -1247,7 +1247,7 @@
1247
1247
}
1248
1248
}
1249
1249
},
1250
-
"revision": "20210927",
1250
+
"revision": "20211013",
1251
1251
"rootUrl": "https://firestore.googleapis.com/",
1252
1252
"schemas": {
1253
1253
"ArrayValue": {
@@ -1792,6 +1792,12 @@
1792
1792
],
1793
1793
"type": "string"
1794
1794
},
1795
+
"earliestVersionTime": {
1796
+
"description": "Output only. The earliest timestamp at which older versions of the data can be read from the database. See [version_retention_period] above; this field is populated with `now - version_retention_period`. This value is continuously updated, and becomes stale the moment it is queried. If you are using this value to recover data, make sure to account for the time from the moment when the value is queried to the moment when you initiate the recovery. Note that you should not need to query this field: if you know the `version_retention_period` then you can query within that time.",
1797
+
"format": "google-datetime",
1798
+
"readOnly": true,
1799
+
"type": "string"
1800
+
},
1795
1801
"etag": {
1796
1802
"description": "This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.",
1797
1803
"type": "string"
@@ -2646,7 +2652,7 @@
2646
2652
"type": "boolean"
2647
2653
},
2648
2654
"updateTime": {
2649
-
"description": "When set, the target document must exist and have been last updated at that time.",
2655
+
"description": "When set, the target document must exist and have been last updated at that time. Timestamp must be microsecond aligned.",
0 commit comments