Skip to content

Commit 3308e5e

Browse files
feat(spanner): update the api
#### spanner:v1 The following keys were added: - resources.projects.resources.instances.resources.databases.resources.backupSchedules.methods.getIamPolicy (Total Keys: 12) - resources.projects.resources.instances.resources.databases.resources.backupSchedules.methods.setIamPolicy (Total Keys: 12) - resources.projects.resources.instances.resources.databases.resources.backupSchedules.methods.testIamPermissions (Total Keys: 12)
1 parent bd83332 commit 3308e5e

8 files changed

+441
-119
lines changed

docs/dyn/spanner_v1.projects.instanceConfigOperations.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ <h2>Instance Methods</h2>
7979
<p class="firstline">Close httplib2 connections.</p>
8080
<p class="toc_element">
8181
<code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
82-
<p class="firstline">Lists the user-managed instance config long-running operations in the given project. An instance config operation has a name of the form `projects//instanceConfigs//operations/`. The long-running operation metadata field type `metadata.type_url` describes the type of the metadata. Operations returned include those that have completed/failed/canceled within the last 7 days, and pending operations. Operations returned are ordered by `operation.metadata.value.start_time` in descending order starting from the most recently started operation.</p>
82+
<p class="firstline">Lists the user-managed instance configuration long-running operations in the given project. An instance configuration operation has a name of the form `projects//instanceConfigs//operations/`. The long-running operation metadata field type `metadata.type_url` describes the type of the metadata. Operations returned include those that have completed/failed/canceled within the last 7 days, and pending operations. Operations returned are ordered by `operation.metadata.value.start_time` in descending order starting from the most recently started operation.</p>
8383
<p class="toc_element">
8484
<code><a href="#list_next">list_next()</a></code></p>
8585
<p class="firstline">Retrieves the next page of results.</p>
@@ -91,11 +91,11 @@ <h3>Method Details</h3>
9191

9292
<div class="method">
9393
<code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
94-
<pre>Lists the user-managed instance config long-running operations in the given project. An instance config operation has a name of the form `projects//instanceConfigs//operations/`. The long-running operation metadata field type `metadata.type_url` describes the type of the metadata. Operations returned include those that have completed/failed/canceled within the last 7 days, and pending operations. Operations returned are ordered by `operation.metadata.value.start_time` in descending order starting from the most recently started operation.
94+
<pre>Lists the user-managed instance configuration long-running operations in the given project. An instance configuration operation has a name of the form `projects//instanceConfigs//operations/`. The long-running operation metadata field type `metadata.type_url` describes the type of the metadata. Operations returned include those that have completed/failed/canceled within the last 7 days, and pending operations. Operations returned are ordered by `operation.metadata.value.start_time` in descending order starting from the most recently started operation.
9595

9696
Args:
97-
parent: string, Required. The project of the instance config operations. Values are of the form `projects/`. (required)
98-
filter: string, An expression that filters the list of returned operations. A filter expression consists of a field name, a comparison operator, and a value for filtering. The value must be a string, a number, or a boolean. The comparison operator must be one of: `&lt;`, `&gt;`, `&lt;=`, `&gt;=`, `!=`, `=`, or `:`. Colon `:` is the contains operator. Filter rules are not case sensitive. The following fields in the Operation are eligible for filtering: * `name` - The name of the long-running operation * `done` - False if the operation is in progress, else true. * `metadata.@type` - the type of metadata. For example, the type string for CreateInstanceConfigMetadata is `type.googleapis.com/google.spanner.admin.instance.v1.CreateInstanceConfigMetadata`. * `metadata.` - any field in metadata.value. `metadata.@type` must be specified first, if filtering on metadata fields. * `error` - Error associated with the long-running operation. * `response.@type` - the type of response. * `response.` - any field in response.value. You can combine multiple expressions by enclosing each expression in parentheses. By default, expressions are combined with AND logic. However, you can specify AND, OR, and NOT logic explicitly. Here are a few examples: * `done:true` - The operation is complete. * `(metadata.@type=` \ `type.googleapis.com/google.spanner.admin.instance.v1.CreateInstanceConfigMetadata) AND` \ `(metadata.instance_config.name:custom-config) AND` \ `(metadata.progress.start_time &lt; \&quot;2021-03-28T14:50:00Z\&quot;) AND` \ `(error:*)` - Return operations where: * The operation&#x27;s metadata type is CreateInstanceConfigMetadata. * The instance config name contains &quot;custom-config&quot;. * The operation started before 2021-03-28T14:50:00Z. * The operation resulted in an error.
97+
parent: string, Required. The project of the instance configuration operations. Values are of the form `projects/`. (required)
98+
filter: string, An expression that filters the list of returned operations. A filter expression consists of a field name, a comparison operator, and a value for filtering. The value must be a string, a number, or a boolean. The comparison operator must be one of: `&lt;`, `&gt;`, `&lt;=`, `&gt;=`, `!=`, `=`, or `:`. Colon `:` is the contains operator. Filter rules are not case sensitive. The following fields in the Operation are eligible for filtering: * `name` - The name of the long-running operation * `done` - False if the operation is in progress, else true. * `metadata.@type` - the type of metadata. For example, the type string for CreateInstanceConfigMetadata is `type.googleapis.com/google.spanner.admin.instance.v1.CreateInstanceConfigMetadata`. * `metadata.` - any field in metadata.value. `metadata.@type` must be specified first, if filtering on metadata fields. * `error` - Error associated with the long-running operation. * `response.@type` - the type of response. * `response.` - any field in response.value. You can combine multiple expressions by enclosing each expression in parentheses. By default, expressions are combined with AND logic. However, you can specify AND, OR, and NOT logic explicitly. Here are a few examples: * `done:true` - The operation is complete. * `(metadata.@type=` \ `type.googleapis.com/google.spanner.admin.instance.v1.CreateInstanceConfigMetadata) AND` \ `(metadata.instance_config.name:custom-config) AND` \ `(metadata.progress.start_time &lt; \&quot;2021-03-28T14:50:00Z\&quot;) AND` \ `(error:*)` - Return operations where: * The operation&#x27;s metadata type is CreateInstanceConfigMetadata. * The instance configuration name contains &quot;custom-config&quot;. * The operation started before 2021-03-28T14:50:00Z. * The operation resulted in an error.
9999
pageSize: integer, Number of operations to be returned in the response. If 0 or less, defaults to the server&#x27;s maximum allowed page size.
100100
pageToken: string, If non-empty, `page_token` should contain a next_page_token from a previous ListInstanceConfigOperationsResponse to the same `parent` and with the same `filter`.
101101
x__xgafv: string, V1 error format.
@@ -108,7 +108,7 @@ <h3>Method Details</h3>
108108

109109
{ # The response for ListInstanceConfigOperations.
110110
&quot;nextPageToken&quot;: &quot;A String&quot;, # `next_page_token` can be sent in a subsequent ListInstanceConfigOperations call to fetch more of the matching metadata.
111-
&quot;operations&quot;: [ # The list of matching instance config long-running operations. Each operation&#x27;s name will be prefixed by the instance config&#x27;s name. The operation&#x27;s metadata field type `metadata.type_url` describes the type of the metadata.
111+
&quot;operations&quot;: [ # The list of matching instance configuration long-running operations. Each operation&#x27;s name will be prefixed by the instance config&#x27;s name. The operation&#x27;s metadata field type `metadata.type_url` describes the type of the metadata.
112112
{ # This resource represents a long-running operation that is the result of a network API call.
113113
&quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
114114
&quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.

0 commit comments

Comments
 (0)