Skip to content

Commit 489541e

Browse files
feat(secretmanager): update the api
#### secretmanager:v1 The following keys were added: - resources.projects.resources.secrets.methods.list.parameters.filter (Total Keys: 2) - resources.projects.resources.secrets.resources.versions.methods.list.parameters.filter (Total Keys: 2)
1 parent 767fe85 commit 489541e

File tree

4 files changed

+18
-6
lines changed

4 files changed

+18
-6
lines changed

docs/dyn/secretmanager_v1.projects.secrets.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ <h2>Instance Methods</h2>
9898
<code><a href="#getIamPolicy">getIamPolicy(resource, options_requestedPolicyVersion=None, x__xgafv=None)</a></code></p>
9999
<p class="firstline">Gets the access control policy for a secret. Returns empty policy if the secret exists and does not have a policy set.</p>
100100
<p class="toc_element">
101-
<code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
101+
<code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
102102
<p class="firstline">Lists Secrets.</p>
103103
<p class="toc_element">
104104
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
@@ -380,11 +380,12 @@ <h3>Method Details</h3>
380380
</div>
381381

382382
<div class="method">
383-
<code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
383+
<code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
384384
<pre>Lists Secrets.
385385

386386
Args:
387387
parent: string, Required. The resource name of the project associated with the Secrets, in the format `projects/*`. (required)
388+
filter: string, Optional. Filter string, adhering to the rules in [List-operation filtering](https://cloud.google.com/secret-manager/docs/filtering). List only secrets matching the filter. If filter is empty, all secrets are listed.
388389
pageSize: integer, Optional. The maximum number of results to be returned in a single page. If set to 0, the server decides the number of results to return. If the number is greater than 25000, it is capped at 25000.
389390
pageToken: string, Optional. Pagination token, returned earlier via ListSecretsResponse.next_page_token.
390391
x__xgafv: string, V1 error format.

docs/dyn/secretmanager_v1.projects.secrets.versions.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ <h2>Instance Methods</h2>
9393
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
9494
<p class="firstline">Gets metadata for a SecretVersion. `projects/*/secrets/*/versions/latest` is an alias to the most recently created SecretVersion.</p>
9595
<p class="toc_element">
96-
<code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
96+
<code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
9797
<p class="firstline">Lists SecretVersions. This call does not return secret data.</p>
9898
<p class="toc_element">
9999
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
@@ -308,11 +308,12 @@ <h3>Method Details</h3>
308308
</div>
309309

310310
<div class="method">
311-
<code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
311+
<code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
312312
<pre>Lists SecretVersions. This call does not return secret data.
313313

314314
Args:
315315
parent: string, Required. The resource name of the Secret associated with the SecretVersions to list, in the format `projects/*/secrets/*`. (required)
316+
filter: string, Optional. Filter string, adhering to the rules in [List-operation filtering](https://cloud.google.com/secret-manager/docs/filtering). List only secret versions matching the filter. If filter is empty, all secret versions are listed.
316317
pageSize: integer, Optional. The maximum number of results to be returned in a single page. If set to 0, the server decides the number of results to return. If the number is greater than 25000, it is capped at 25000.
317318
pageToken: string, Optional. Pagination token, returned earlier via ListSecretVersionsResponse.next_page_token][].
318319
x__xgafv: string, V1 error format.

googleapiclient/discovery_cache/documents/secretmanager.v1.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,11 @@
335335
"parent"
336336
],
337337
"parameters": {
338+
"filter": {
339+
"description": "Optional. Filter string, adhering to the rules in [List-operation filtering](https://cloud.google.com/secret-manager/docs/filtering). List only secrets matching the filter. If filter is empty, all secrets are listed.",
340+
"location": "query",
341+
"type": "string"
342+
},
338343
"pageSize": {
339344
"description": "Optional. The maximum number of results to be returned in a single page. If set to 0, the server decides the number of results to return. If the number is greater than 25000, it is capped at 25000.",
340345
"format": "int32",
@@ -599,6 +604,11 @@
599604
"parent"
600605
],
601606
"parameters": {
607+
"filter": {
608+
"description": "Optional. Filter string, adhering to the rules in [List-operation filtering](https://cloud.google.com/secret-manager/docs/filtering). List only secret versions matching the filter. If filter is empty, all secret versions are listed.",
609+
"location": "query",
610+
"type": "string"
611+
},
602612
"pageSize": {
603613
"description": "Optional. The maximum number of results to be returned in a single page. If set to 0, the server decides the number of results to return. If the number is greater than 25000, it is capped at 25000.",
604614
"format": "int32",
@@ -633,7 +643,7 @@
633643
}
634644
}
635645
},
636-
"revision": "20210618",
646+
"revision": "20210710",
637647
"rootUrl": "https://secretmanager.googleapis.com/",
638648
"schemas": {
639649
"AccessSecretVersionResponse": {

googleapiclient/discovery_cache/documents/secretmanager.v1beta1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -628,7 +628,7 @@
628628
}
629629
}
630630
},
631-
"revision": "20210618",
631+
"revision": "20210710",
632632
"rootUrl": "https://secretmanager.googleapis.com/",
633633
"schemas": {
634634
"AccessSecretVersionResponse": {

0 commit comments

Comments
 (0)