Skip to content

Commit 9999852

Browse files
feat(firestore): update the api
#### firestore:v1 The following keys were added: - schemas.GoogleFirestoreAdminV1RestoreDatabaseMetadata (Total Keys: 9) #### firestore:v1beta1 The following keys were added: - schemas.GoogleFirestoreAdminV1RestoreDatabaseMetadata (Total Keys: 9) #### firestore:v1beta2 The following keys were added: - schemas.GoogleFirestoreAdminV1RestoreDatabaseMetadata (Total Keys: 9)
1 parent e6c55df commit 9999852

7 files changed

+453
-270
lines changed

docs/dyn/firestore_v1.projects.databases.collectionGroups.fields.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ <h2>Instance Methods</h2>
8282
<p class="firstline">Gets the metadata and configuration for a Field.</p>
8383
<p class="toc_element">
8484
<code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
85-
<p class="firstline">Lists the field configuration and metadata for this database. Currently, FirestoreAdmin.ListFields only supports listing fields that have been explicitly overridden. To issue this query, call FirestoreAdmin.ListFields with the filter set to `indexConfig.usesAncestorConfig:false` .</p>
85+
<p class="firstline">Lists the field configuration and metadata for this database. Currently, FirestoreAdmin.ListFields only supports listing fields that have been explicitly overridden. To issue this query, call FirestoreAdmin.ListFields with the filter set to `indexConfig.usesAncestorConfig:false or `ttlConfig:*`.</p>
8686
<p class="toc_element">
8787
<code><a href="#list_next">list_next()</a></code></p>
8888
<p class="firstline">Retrieves the next page of results.</p>
@@ -139,7 +139,7 @@ <h3>Method Details</h3>
139139

140140
<div class="method">
141141
<code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
142-
<pre>Lists the field configuration and metadata for this database. Currently, FirestoreAdmin.ListFields only supports listing fields that have been explicitly overridden. To issue this query, call FirestoreAdmin.ListFields with the filter set to `indexConfig.usesAncestorConfig:false` .
142+
<pre>Lists the field configuration and metadata for this database. Currently, FirestoreAdmin.ListFields only supports listing fields that have been explicitly overridden. To issue this query, call FirestoreAdmin.ListFields with the filter set to `indexConfig.usesAncestorConfig:false or `ttlConfig:*`.
143143

144144
Args:
145145
parent: string, Required. A parent name of the form `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}` (required)

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ <h3>Method Details</h3>
163163
&quot;readOnly&quot;: { # Options for a transaction that can only be used to read documents. # The transaction can only be used for read operations.
164164
&quot;readTime&quot;: &quot;A String&quot;, # Reads documents at the given time. This may not be older than 60 seconds.
165165
},
166-
&quot;readWrite&quot;: { # Options for a transaction that can be used to read and write documents. # The transaction can be used for both read and write operations.
166+
&quot;readWrite&quot;: { # Options for a transaction that can be used to read and write documents. Firestore does not allow 3rd party auth requests to create read-write. transactions. # The transaction can be used for both read and write operations.
167167
&quot;retryTransaction&quot;: &quot;A String&quot;, # An optional transaction to retry.
168168
},
169169
},
@@ -524,7 +524,7 @@ <h3>Method Details</h3>
524524
&quot;readOnly&quot;: { # Options for a transaction that can only be used to read documents. # The transaction can only be used for read operations.
525525
&quot;readTime&quot;: &quot;A String&quot;, # Reads documents at the given time. This may not be older than 60 seconds.
526526
},
527-
&quot;readWrite&quot;: { # Options for a transaction that can be used to read and write documents. # The transaction can be used for both read and write operations.
527+
&quot;readWrite&quot;: { # Options for a transaction that can be used to read and write documents. Firestore does not allow 3rd party auth requests to create read-write. transactions. # The transaction can be used for both read and write operations.
528528
&quot;retryTransaction&quot;: &quot;A String&quot;, # An optional transaction to retry.
529529
},
530530
},
@@ -1754,7 +1754,7 @@ <h3>Method Details</h3>
17541754
&quot;readOnly&quot;: { # Options for a transaction that can only be used to read documents. # The transaction can only be used for read operations.
17551755
&quot;readTime&quot;: &quot;A String&quot;, # Reads documents at the given time. This may not be older than 60 seconds.
17561756
},
1757-
&quot;readWrite&quot;: { # Options for a transaction that can be used to read and write documents. # The transaction can be used for both read and write operations.
1757+
&quot;readWrite&quot;: { # Options for a transaction that can be used to read and write documents. Firestore does not allow 3rd party auth requests to create read-write. transactions. # The transaction can be used for both read and write operations.
17581758
&quot;retryTransaction&quot;: &quot;A String&quot;, # An optional transaction to retry.
17591759
},
17601760
},
@@ -1955,7 +1955,7 @@ <h3>Method Details</h3>
19551955
&quot;readOnly&quot;: { # Options for a transaction that can only be used to read documents. # The transaction can only be used for read operations.
19561956
&quot;readTime&quot;: &quot;A String&quot;, # Reads documents at the given time. This may not be older than 60 seconds.
19571957
},
1958-
&quot;readWrite&quot;: { # Options for a transaction that can be used to read and write documents. # The transaction can be used for both read and write operations.
1958+
&quot;readWrite&quot;: { # Options for a transaction that can be used to read and write documents. Firestore does not allow 3rd party auth requests to create read-write. transactions. # The transaction can be used for both read and write operations.
19591959
&quot;retryTransaction&quot;: &quot;A String&quot;, # An optional transaction to retry.
19601960
},
19611961
},

docs/dyn/firestore_v1.projects.databases.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ <h3>Method Details</h3>
153153
&quot;versionRetentionPeriod&quot;: &quot;A String&quot;, # Output only. The period during which past versions of data are retained in the database. Any read or query can specify a `read_time` within this window, and will read the state of the database at that time. If the PITR feature is enabled, the retention period is 7 days. Otherwise, the retention period is 1 hour.
154154
}
155155

156-
databaseId: string, Required. The ID to use for the database, which will become the final component of the database&#x27;s resource name. The value must be set to &quot;(default)&quot;.
156+
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.
157157
x__xgafv: string, V1 error format.
158158
Allowed values
159159
1 - v1 error format

0 commit comments

Comments
 (0)