Skip to content

Commit 543cf5a

Browse files
feat(spanner): update the api
#### spanner:v1 The following keys were added: - resources.projects.resources.instanceConfigs.resources.operations.methods.list.parameters.returnPartialSuccess (Total Keys: 2) - resources.projects.resources.instanceConfigs.resources.ssdCaches.resources.operations.methods.list.parameters.returnPartialSuccess (Total Keys: 2) - resources.projects.resources.instances.resources.backups.resources.operations.methods.list.parameters.returnPartialSuccess (Total Keys: 2) - resources.projects.resources.instances.resources.databases.resources.operations.methods.list.parameters.returnPartialSuccess (Total Keys: 2) - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.list.parameters.returnPartialSuccess (Total Keys: 2) - resources.projects.resources.instances.resources.operations.methods.list.parameters.returnPartialSuccess (Total Keys: 2) - schemas.InstancePartition.properties.autoscalingConfig.$ref (Total Keys: 1) - schemas.ListOperationsResponse.properties.unreachable (Total Keys: 2)
1 parent b95ab38 commit 543cf5a

9 files changed

+192
-15
lines changed

docs/dyn/spanner_v1.projects.instanceConfigs.operations.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ <h2>Instance Methods</h2>
8787
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
8888
<p class="firstline">Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.</p>
8989
<p class="toc_element">
90-
<code><a href="#list">list(name, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
90+
<code><a href="#list">list(name, filter=None, pageSize=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None)</a></code></p>
9191
<p class="firstline">Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.</p>
9292
<p class="toc_element">
9393
<code><a href="#list_next">list_next()</a></code></p>
@@ -170,14 +170,15 @@ <h3>Method Details</h3>
170170
</div>
171171

172172
<div class="method">
173-
<code class="details" id="list">list(name, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
173+
<code class="details" id="list">list(name, filter=None, pageSize=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None)</code>
174174
<pre>Lists operations that match the specified filter in the request. If the server doesn&#x27;t support this method, it returns `UNIMPLEMENTED`.
175175

176176
Args:
177177
name: string, The name of the operation&#x27;s parent resource. (required)
178178
filter: string, The standard list filter.
179179
pageSize: integer, The standard list page size.
180180
pageToken: string, The standard list page token.
181+
returnPartialSuccess: boolean, When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `&quot;projects/example/locations/-&quot;`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
181182
x__xgafv: string, V1 error format.
182183
Allowed values
183184
1 - v1 error format
@@ -209,6 +210,9 @@ <h3>Method Details</h3>
209210
},
210211
},
211212
],
213+
&quot;unreachable&quot;: [ # Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.
214+
&quot;A String&quot;,
215+
],
212216
}</pre>
213217
</div>
214218

docs/dyn/spanner_v1.projects.instanceConfigs.ssdCaches.operations.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ <h2>Instance Methods</h2>
8787
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
8888
<p class="firstline">Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.</p>
8989
<p class="toc_element">
90-
<code><a href="#list">list(name, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
90+
<code><a href="#list">list(name, filter=None, pageSize=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None)</a></code></p>
9191
<p class="firstline">Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.</p>
9292
<p class="toc_element">
9393
<code><a href="#list_next">list_next()</a></code></p>
@@ -170,14 +170,15 @@ <h3>Method Details</h3>
170170
</div>
171171

172172
<div class="method">
173-
<code class="details" id="list">list(name, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
173+
<code class="details" id="list">list(name, filter=None, pageSize=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None)</code>
174174
<pre>Lists operations that match the specified filter in the request. If the server doesn&#x27;t support this method, it returns `UNIMPLEMENTED`.
175175

176176
Args:
177177
name: string, The name of the operation&#x27;s parent resource. (required)
178178
filter: string, The standard list filter.
179179
pageSize: integer, The standard list page size.
180180
pageToken: string, The standard list page token.
181+
returnPartialSuccess: boolean, When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `&quot;projects/example/locations/-&quot;`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
181182
x__xgafv: string, V1 error format.
182183
Allowed values
183184
1 - v1 error format
@@ -209,6 +210,9 @@ <h3>Method Details</h3>
209210
},
210211
},
211212
],
213+
&quot;unreachable&quot;: [ # Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.
214+
&quot;A String&quot;,
215+
],
212216
}</pre>
213217
</div>
214218

docs/dyn/spanner_v1.projects.instances.backups.operations.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ <h2>Instance Methods</h2>
8787
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
8888
<p class="firstline">Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.</p>
8989
<p class="toc_element">
90-
<code><a href="#list">list(name, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
90+
<code><a href="#list">list(name, filter=None, pageSize=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None)</a></code></p>
9191
<p class="firstline">Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.</p>
9292
<p class="toc_element">
9393
<code><a href="#list_next">list_next()</a></code></p>
@@ -170,14 +170,15 @@ <h3>Method Details</h3>
170170
</div>
171171

172172
<div class="method">
173-
<code class="details" id="list">list(name, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
173+
<code class="details" id="list">list(name, filter=None, pageSize=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None)</code>
174174
<pre>Lists operations that match the specified filter in the request. If the server doesn&#x27;t support this method, it returns `UNIMPLEMENTED`.
175175

176176
Args:
177177
name: string, The name of the operation&#x27;s parent resource. (required)
178178
filter: string, The standard list filter.
179179
pageSize: integer, The standard list page size.
180180
pageToken: string, The standard list page token.
181+
returnPartialSuccess: boolean, When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `&quot;projects/example/locations/-&quot;`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
181182
x__xgafv: string, V1 error format.
182183
Allowed values
183184
1 - v1 error format
@@ -209,6 +210,9 @@ <h3>Method Details</h3>
209210
},
210211
},
211212
],
213+
&quot;unreachable&quot;: [ # Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.
214+
&quot;A String&quot;,
215+
],
212216
}</pre>
213217
</div>
214218

docs/dyn/spanner_v1.projects.instances.databases.operations.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ <h2>Instance Methods</h2>
8787
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
8888
<p class="firstline">Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.</p>
8989
<p class="toc_element">
90-
<code><a href="#list">list(name, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
90+
<code><a href="#list">list(name, filter=None, pageSize=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None)</a></code></p>
9191
<p class="firstline">Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.</p>
9292
<p class="toc_element">
9393
<code><a href="#list_next">list_next()</a></code></p>
@@ -170,14 +170,15 @@ <h3>Method Details</h3>
170170
</div>
171171

172172
<div class="method">
173-
<code class="details" id="list">list(name, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
173+
<code class="details" id="list">list(name, filter=None, pageSize=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None)</code>
174174
<pre>Lists operations that match the specified filter in the request. If the server doesn&#x27;t support this method, it returns `UNIMPLEMENTED`.
175175

176176
Args:
177177
name: string, The name of the operation&#x27;s parent resource. (required)
178178
filter: string, The standard list filter.
179179
pageSize: integer, The standard list page size.
180180
pageToken: string, The standard list page token.
181+
returnPartialSuccess: boolean, When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `&quot;projects/example/locations/-&quot;`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
181182
x__xgafv: string, V1 error format.
182183
Allowed values
183184
1 - v1 error format
@@ -209,6 +210,9 @@ <h3>Method Details</h3>
209210
},
210211
},
211212
],
213+
&quot;unreachable&quot;: [ # Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.
214+
&quot;A String&quot;,
215+
],
212216
}</pre>
213217
</div>
214218

docs/dyn/spanner_v1.projects.instances.databases.sessions.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ <h3>Method Details</h3>
205205
The object takes the form of:
206206

207207
{ # The request for BatchCreateSessions.
208-
&quot;sessionCount&quot;: 42, # Required. The number of sessions to be created in this batch call. The API can return fewer than the requested number of sessions. If a specific number of sessions are desired, the client can make additional calls to `BatchCreateSessions` (adjusting session_count as necessary).
208+
&quot;sessionCount&quot;: 42, # Required. The number of sessions to be created in this batch call. At least one session is created. The API can return fewer than the requested number of sessions. If a specific number of sessions are desired, the client can make additional calls to `BatchCreateSessions` (adjusting session_count as necessary).
209209
&quot;sessionTemplate&quot;: { # A session in the Cloud Spanner API. # Parameters to apply to each created session.
210210
&quot;approximateLastUseTime&quot;: &quot;A String&quot;, # Output only. The approximate timestamp when the session is last used. It&#x27;s typically earlier than the actual last use time.
211211
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the session is created.

0 commit comments

Comments
 (0)