Skip to content

Commit f667d8c

Browse files
feat(apikeys): update the api
#### apikeys:v2 The following keys were added: - resources.projects.resources.locations.resources.keys.methods.list.parameters.showDeleted (Total Keys: 2)
1 parent 03592f8 commit f667d8c

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

docs/dyn/apikeys_v2.projects.locations.keys.html

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ <h1><a href="apikeys_v2.html">API Keys API</a> . <a href="apikeys_v2.projects.ht
7676
<h2>Instance Methods</h2>
7777
<p class="toc_element">
7878
<code><a href="#clone">clone(name, body=None, x__xgafv=None)</a></code></p>
79-
<p class="firstline">Clones the existing key's restriction and display name to a new API key. The service account must have the `apikeys.keys.get` and `apikeys.keys.create` permissions in the project. NOTE: Key is a global resource; hence the only supported value for location is `global`.</p>
79+
<p class="firstline">DEPRECATED: API customers can call `GetKey` and then `CreateKey` methods to create a copy of an existing key. Retire `CloneKey` method to eliminate the unnessary method from API Keys API. Clones the existing key's restriction and display name to a new API key. The service account must have the `apikeys.keys.get` and `apikeys.keys.create` permissions in the project. NOTE: Key is a global resource; hence the only supported value for location is `global`.</p>
8080
<p class="toc_element">
8181
<code><a href="#close">close()</a></code></p>
8282
<p class="firstline">Close httplib2 connections.</p>
@@ -93,7 +93,7 @@ <h2>Instance Methods</h2>
9393
<code><a href="#getKeyString">getKeyString(name, x__xgafv=None)</a></code></p>
9494
<p class="firstline">Get the key string for an API key. NOTE: Key is a global resource; hence the only supported value for location is `global`.</p>
9595
<p class="toc_element">
96-
<code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
96+
<code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, showDeleted=None, x__xgafv=None)</a></code></p>
9797
<p class="firstline">Lists the API keys owned by a project. The key string of the API key isn't included in the response. NOTE: Key is a global resource; hence the only supported value for location is `global`.</p>
9898
<p class="toc_element">
9999
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
@@ -107,7 +107,7 @@ <h2>Instance Methods</h2>
107107
<h3>Method Details</h3>
108108
<div class="method">
109109
<code class="details" id="clone">clone(name, body=None, x__xgafv=None)</code>
110-
<pre>Clones the existing key&#x27;s restriction and display name to a new API key. The service account must have the `apikeys.keys.get` and `apikeys.keys.create` permissions in the project. NOTE: Key is a global resource; hence the only supported value for location is `global`.
110+
<pre>DEPRECATED: API customers can call `GetKey` and then `CreateKey` methods to create a copy of an existing key. Retire `CloneKey` method to eliminate the unnessary method from API Keys API. Clones the existing key&#x27;s restriction and display name to a new API key. The service account must have the `apikeys.keys.get` and `apikeys.keys.create` permissions in the project. NOTE: Key is a global resource; hence the only supported value for location is `global`.
111111

112112
Args:
113113
name: string, Required. The resource name of the API key to be cloned in the same project. (required)
@@ -350,14 +350,15 @@ <h3>Method Details</h3>
350350
</div>
351351

352352
<div class="method">
353-
<code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
353+
<code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, showDeleted=None, x__xgafv=None)</code>
354354
<pre>Lists the API keys owned by a project. The key string of the API key isn&#x27;t included in the response. NOTE: Key is a global resource; hence the only supported value for location is `global`.
355355

356356
Args:
357357
parent: string, Required. Lists all API keys associated with this project. (required)
358-
filter: string, Optional. Only list keys that conform to the specified filter. The allowed filter strings are `state:ACTIVE` and `state:DELETED`. By default, ListKeys returns only active keys.
358+
filter: string, Optional. Deprecated: Use `show_deleted` instead. Only list keys that conform to the specified filter. The allowed filter strings are `state:ACTIVE` and `state:DELETED`. By default, ListKeys returns only active keys.
359359
pageSize: integer, Optional. Specifies the maximum number of results to be returned at a time.
360360
pageToken: string, Optional. Requests a specific page of results.
361+
showDeleted: boolean, Optional. Indicate that keys are marked as deleted within 30 days should also be returned. Normally only active keys are returned.
361362
x__xgafv: string, V1 error format.
362363
Allowed values
363364
1 - v1 error format

googleapiclient/discovery_cache/documents/apikeys.v2.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@
171171
"keys": {
172172
"methods": {
173173
"clone": {
174-
"description": "Clones the existing key's restriction and display name to a new API key. The service account must have the `apikeys.keys.get` and `apikeys.keys.create` permissions in the project. NOTE: Key is a global resource; hence the only supported value for location is `global`.",
174+
"description": "DEPRECATED: API customers can call `GetKey` and then `CreateKey` methods to create a copy of an existing key. Retire `CloneKey` method to eliminate the unnessary method from API Keys API. Clones the existing key's restriction and display name to a new API key. The service account must have the `apikeys.keys.get` and `apikeys.keys.create` permissions in the project. NOTE: Key is a global resource; hence the only supported value for location is `global`.",
175175
"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/keys/{keysId}:clone",
176176
"httpMethod": "POST",
177177
"id": "apikeys.projects.locations.keys.clone",
@@ -323,7 +323,7 @@
323323
],
324324
"parameters": {
325325
"filter": {
326-
"description": "Optional. Only list keys that conform to the specified filter. The allowed filter strings are `state:ACTIVE` and `state:DELETED`. By default, ListKeys returns only active keys.",
326+
"description": "Optional. Deprecated: Use `show_deleted` instead. Only list keys that conform to the specified filter. The allowed filter strings are `state:ACTIVE` and `state:DELETED`. By default, ListKeys returns only active keys.",
327327
"location": "query",
328328
"type": "string"
329329
},
@@ -344,6 +344,11 @@
344344
"pattern": "^projects/[^/]+/locations/[^/]+$",
345345
"required": true,
346346
"type": "string"
347+
},
348+
"showDeleted": {
349+
"description": "Optional. Indicate that keys are marked as deleted within 30 days should also be returned. Normally only active keys are returned.",
350+
"location": "query",
351+
"type": "boolean"
347352
}
348353
},
349354
"path": "v2/{+parent}/keys",
@@ -424,7 +429,7 @@
424429
}
425430
}
426431
},
427-
"revision": "20220112",
432+
"revision": "20220122",
428433
"rootUrl": "https://apikeys.googleapis.com/",
429434
"schemas": {
430435
"Operation": {

0 commit comments

Comments
 (0)