Skip to content

Commit 342bf87

Browse files
feat(firestore): update the api
#### firestore:v1 The following keys were added: - schemas.GoogleFirestoreAdminV1Database.properties.createTime (Total Keys: 3) - schemas.GoogleFirestoreAdminV1Database.properties.uid (Total Keys: 2) - schemas.GoogleFirestoreAdminV1Database.properties.updateTime (Total Keys: 3)
1 parent 970f296 commit 342bf87

File tree

6 files changed

+296
-303
lines changed

6 files changed

+296
-303
lines changed

docs/dyn/firestore_v1.projects.databases.documents.html

Lines changed: 256 additions & 292 deletions
Large diffs are not rendered by default.

docs/dyn/firestore_v1.projects.databases.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,11 +131,14 @@ <h3>Method Details</h3>
131131
{ # A Cloud Firestore Database. Currently only one database is allowed per cloud project; this database must have a `database_id` of &#x27;(default)&#x27;.
132132
&quot;appEngineIntegrationMode&quot;: &quot;A String&quot;, # The App Engine integration mode to use for this database.
133133
&quot;concurrencyMode&quot;: &quot;A String&quot;, # The concurrency control mode to use for this database.
134+
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp at which this database was created.
134135
&quot;etag&quot;: &quot;A String&quot;, # 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.
135136
&quot;keyPrefix&quot;: &quot;A String&quot;, # Output only. The key_prefix for this database. This key_prefix is used, in combination with the project id (&quot;~&quot;) to construct the application id that is returned from the Cloud Datastore APIs in Google App Engine first generation runtimes. This value may be empty in which case the appid to use for URL-encoded keys is the project_id (eg: foo instead of v~foo).
136137
&quot;locationId&quot;: &quot;A String&quot;, # The location of the database. Available databases are listed at https://cloud.google.com/firestore/docs/locations.
137138
&quot;name&quot;: &quot;A String&quot;, # The resource name of the Database. Format: `projects/{project}/databases/{database}`
138139
&quot;type&quot;: &quot;A String&quot;, # The type of the database. See https://cloud.google.com/datastore/docs/firestore-or-datastore for information about how to choose.
140+
&quot;uid&quot;: &quot;A String&quot;, # Output only. The system-generated UUID4 for this Database.
141+
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp at which this database was most recently updated. Note this only includes updates to the database resource and not data contained by the database.
139142
}
140143

141144
databaseId: string, Required. The ID to use for the database, which will become the final component of the database&#x27;s resource name. This value should be 4-63 characters. Valid characters are /a-z-/ with first character a letter and the last a letter or a number. Must not be UUID-like /[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}/. &quot;(default)&quot; database id is also valid.
@@ -272,11 +275,14 @@ <h3>Method Details</h3>
272275
{ # A Cloud Firestore Database. Currently only one database is allowed per cloud project; this database must have a `database_id` of &#x27;(default)&#x27;.
273276
&quot;appEngineIntegrationMode&quot;: &quot;A String&quot;, # The App Engine integration mode to use for this database.
274277
&quot;concurrencyMode&quot;: &quot;A String&quot;, # The concurrency control mode to use for this database.
278+
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp at which this database was created.
275279
&quot;etag&quot;: &quot;A String&quot;, # 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.
276280
&quot;keyPrefix&quot;: &quot;A String&quot;, # Output only. The key_prefix for this database. This key_prefix is used, in combination with the project id (&quot;~&quot;) to construct the application id that is returned from the Cloud Datastore APIs in Google App Engine first generation runtimes. This value may be empty in which case the appid to use for URL-encoded keys is the project_id (eg: foo instead of v~foo).
277281
&quot;locationId&quot;: &quot;A String&quot;, # The location of the database. Available databases are listed at https://cloud.google.com/firestore/docs/locations.
278282
&quot;name&quot;: &quot;A String&quot;, # The resource name of the Database. Format: `projects/{project}/databases/{database}`
279283
&quot;type&quot;: &quot;A String&quot;, # The type of the database. See https://cloud.google.com/datastore/docs/firestore-or-datastore for information about how to choose.
284+
&quot;uid&quot;: &quot;A String&quot;, # Output only. The system-generated UUID4 for this Database.
285+
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp at which this database was most recently updated. Note this only includes updates to the database resource and not data contained by the database.
280286
}</pre>
281287
</div>
282288

@@ -347,11 +353,14 @@ <h3>Method Details</h3>
347353
{ # A Cloud Firestore Database. Currently only one database is allowed per cloud project; this database must have a `database_id` of &#x27;(default)&#x27;.
348354
&quot;appEngineIntegrationMode&quot;: &quot;A String&quot;, # The App Engine integration mode to use for this database.
349355
&quot;concurrencyMode&quot;: &quot;A String&quot;, # The concurrency control mode to use for this database.
356+
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp at which this database was created.
350357
&quot;etag&quot;: &quot;A String&quot;, # 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.
351358
&quot;keyPrefix&quot;: &quot;A String&quot;, # Output only. The key_prefix for this database. This key_prefix is used, in combination with the project id (&quot;~&quot;) to construct the application id that is returned from the Cloud Datastore APIs in Google App Engine first generation runtimes. This value may be empty in which case the appid to use for URL-encoded keys is the project_id (eg: foo instead of v~foo).
352359
&quot;locationId&quot;: &quot;A String&quot;, # The location of the database. Available databases are listed at https://cloud.google.com/firestore/docs/locations.
353360
&quot;name&quot;: &quot;A String&quot;, # The resource name of the Database. Format: `projects/{project}/databases/{database}`
354361
&quot;type&quot;: &quot;A String&quot;, # The type of the database. See https://cloud.google.com/datastore/docs/firestore-or-datastore for information about how to choose.
362+
&quot;uid&quot;: &quot;A String&quot;, # Output only. The system-generated UUID4 for this Database.
363+
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp at which this database was most recently updated. Note this only includes updates to the database resource and not data contained by the database.
355364
},
356365
],
357366
}</pre>
@@ -369,11 +378,14 @@ <h3>Method Details</h3>
369378
{ # A Cloud Firestore Database. Currently only one database is allowed per cloud project; this database must have a `database_id` of &#x27;(default)&#x27;.
370379
&quot;appEngineIntegrationMode&quot;: &quot;A String&quot;, # The App Engine integration mode to use for this database.
371380
&quot;concurrencyMode&quot;: &quot;A String&quot;, # The concurrency control mode to use for this database.
381+
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp at which this database was created.
372382
&quot;etag&quot;: &quot;A String&quot;, # 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.
373383
&quot;keyPrefix&quot;: &quot;A String&quot;, # Output only. The key_prefix for this database. This key_prefix is used, in combination with the project id (&quot;~&quot;) to construct the application id that is returned from the Cloud Datastore APIs in Google App Engine first generation runtimes. This value may be empty in which case the appid to use for URL-encoded keys is the project_id (eg: foo instead of v~foo).
374384
&quot;locationId&quot;: &quot;A String&quot;, # The location of the database. Available databases are listed at https://cloud.google.com/firestore/docs/locations.
375385
&quot;name&quot;: &quot;A String&quot;, # The resource name of the Database. Format: `projects/{project}/databases/{database}`
376386
&quot;type&quot;: &quot;A String&quot;, # The type of the database. See https://cloud.google.com/datastore/docs/firestore-or-datastore for information about how to choose.
387+
&quot;uid&quot;: &quot;A String&quot;, # Output only. The system-generated UUID4 for this Database.
388+
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp at which this database was most recently updated. Note this only includes updates to the database resource and not data contained by the database.
377389
}
378390

379391
updateMask: string, The list of fields to be updated.

docs/dyn/firestore_v1beta1.projects.databases.documents.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ <h2>Instance Methods</h2>
118118
<p class="firstline">Retrieves the next page of results.</p>
119119
<p class="toc_element">
120120
<code><a href="#listen">listen(database, body=None, x__xgafv=None)</a></code></p>
121-
<p class="firstline">Listens to changes.</p>
121+
<p class="firstline">Listens to changes. This method is only available via the gRPC API (not REST).</p>
122122
<p class="toc_element">
123123
<code><a href="#partitionQuery">partitionQuery(parent, body=None, x__xgafv=None)</a></code></p>
124124
<p class="firstline">Partitions a query by returning partition cursors that can be used to run the query in parallel. The returned partition cursors are split points that can be used by RunQuery as starting/end points for the query results.</p>
@@ -139,7 +139,7 @@ <h2>Instance Methods</h2>
139139
<p class="firstline">Runs a query.</p>
140140
<p class="toc_element">
141141
<code><a href="#write">write(database, body=None, x__xgafv=None)</a></code></p>
142-
<p class="firstline">Streams batches of document updates and deletes, in order.</p>
142+
<p class="firstline">Streams batches of document updates and deletes, in order. This method is only available via the gRPC API (not REST).</p>
143143
<h3>Method Details</h3>
144144
<div class="method">
145145
<code class="details" id="batchGet">batchGet(database, body=None, x__xgafv=None)</code>
@@ -1179,7 +1179,7 @@ <h3>Method Details</h3>
11791179

11801180
<div class="method">
11811181
<code class="details" id="listen">listen(database, body=None, x__xgafv=None)</code>
1182-
<pre>Listens to changes.
1182+
<pre>Listens to changes. This method is only available via the gRPC API (not REST).
11831183

11841184
Args:
11851185
database: string, Required. The database name. In the format: `projects/{project_id}/databases/{database_id}`. (required)
@@ -2131,7 +2131,7 @@ <h3>Method Details</h3>
21312131

21322132
<div class="method">
21332133
<code class="details" id="write">write(database, body=None, x__xgafv=None)</code>
2134-
<pre>Streams batches of document updates and deletes, in order.
2134+
<pre>Streams batches of document updates and deletes, in order. This method is only available via the gRPC API (not REST).
21352135

21362136
Args:
21372137
database: string, Required. The database name. In the format: `projects/{project_id}/databases/{database_id}`. This is only required in the first message. (required)

googleapiclient/discovery_cache/documents/firestore.v1.json

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -997,7 +997,7 @@
997997
]
998998
},
999999
"listen": {
1000-
"description": "Listens to changes.",
1000+
"description": "Listens to changes. This method is only available via the gRPC API (not REST).",
10011001
"flatPath": "v1/projects/{projectsId}/databases/{databasesId}/documents:listen",
10021002
"httpMethod": "POST",
10031003
"id": "firestore.projects.databases.documents.listen",
@@ -1194,7 +1194,7 @@
11941194
]
11951195
},
11961196
"write": {
1197-
"description": "Streams batches of document updates and deletes, in order.",
1197+
"description": "Streams batches of document updates and deletes, in order. This method is only available via the gRPC API (not REST).",
11981198
"flatPath": "v1/projects/{projectsId}/databases/{databasesId}/documents:write",
11991199
"httpMethod": "POST",
12001200
"id": "firestore.projects.databases.documents.write",
@@ -1428,7 +1428,7 @@
14281428
}
14291429
}
14301430
},
1431-
"revision": "20230201",
1431+
"revision": "20230214",
14321432
"rootUrl": "https://firestore.googleapis.com/",
14331433
"schemas": {
14341434
"Aggregation": {
@@ -2029,6 +2029,12 @@
20292029
],
20302030
"type": "string"
20312031
},
2032+
"createTime": {
2033+
"description": "Output only. The timestamp at which this database was created.",
2034+
"format": "google-datetime",
2035+
"readOnly": true,
2036+
"type": "string"
2037+
},
20322038
"etag": {
20332039
"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.",
20342040
"type": "string"
@@ -2059,6 +2065,17 @@
20592065
"Firestore in Datastore Mode."
20602066
],
20612067
"type": "string"
2068+
},
2069+
"uid": {
2070+
"description": "Output only. The system-generated UUID4 for this Database.",
2071+
"readOnly": true,
2072+
"type": "string"
2073+
},
2074+
"updateTime": {
2075+
"description": "Output only. The timestamp at which this database was most recently updated. Note this only includes updates to the database resource and not data contained by the database.",
2076+
"format": "google-datetime",
2077+
"readOnly": true,
2078+
"type": "string"
20622079
}
20632080
},
20642081
"type": "object"

googleapiclient/discovery_cache/documents/firestore.v1beta1.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,7 @@
592592
]
593593
},
594594
"listen": {
595-
"description": "Listens to changes.",
595+
"description": "Listens to changes. This method is only available via the gRPC API (not REST).",
596596
"flatPath": "v1beta1/projects/{projectsId}/databases/{databasesId}/documents:listen",
597597
"httpMethod": "POST",
598598
"id": "firestore.projects.databases.documents.listen",
@@ -789,7 +789,7 @@
789789
]
790790
},
791791
"write": {
792-
"description": "Streams batches of document updates and deletes, in order.",
792+
"description": "Streams batches of document updates and deletes, in order. This method is only available via the gRPC API (not REST).",
793793
"flatPath": "v1beta1/projects/{projectsId}/databases/{databasesId}/documents:write",
794794
"httpMethod": "POST",
795795
"id": "firestore.projects.databases.documents.write",
@@ -950,7 +950,7 @@
950950
}
951951
}
952952
},
953-
"revision": "20230201",
953+
"revision": "20230214",
954954
"rootUrl": "https://firestore.googleapis.com/",
955955
"schemas": {
956956
"Aggregation": {

googleapiclient/discovery_cache/documents/firestore.v1beta2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@
415415
}
416416
}
417417
},
418-
"revision": "20230201",
418+
"revision": "20230214",
419419
"rootUrl": "https://firestore.googleapis.com/",
420420
"schemas": {
421421
"Empty": {

0 commit comments

Comments
 (0)