From 489541e760eae9745724eb8cad74007903dd4f5b Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Tue, 20 Jul 2021 07:07:25 +0000 Subject: [PATCH] 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) --- docs/dyn/secretmanager_v1.projects.secrets.html | 5 +++-- .../secretmanager_v1.projects.secrets.versions.html | 5 +++-- .../discovery_cache/documents/secretmanager.v1.json | 12 +++++++++++- .../documents/secretmanager.v1beta1.json | 2 +- 4 files changed, 18 insertions(+), 6 deletions(-) diff --git a/docs/dyn/secretmanager_v1.projects.secrets.html b/docs/dyn/secretmanager_v1.projects.secrets.html index 8332e8d8000..96885eb8c52 100644 --- a/docs/dyn/secretmanager_v1.projects.secrets.html +++ b/docs/dyn/secretmanager_v1.projects.secrets.html @@ -98,7 +98,7 @@

Instance Methods

getIamPolicy(resource, options_requestedPolicyVersion=None, x__xgafv=None)

Gets the access control policy for a secret. Returns empty policy if the secret exists and does not have a policy set.

- list(parent, pageSize=None, pageToken=None, x__xgafv=None)

+ list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)

Lists Secrets.

list_next(previous_request, previous_response)

@@ -380,11 +380,12 @@

Method Details

- list(parent, pageSize=None, pageToken=None, x__xgafv=None) + list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)
Lists Secrets.
 
 Args:
   parent: string, Required. The resource name of the project associated with the Secrets, in the format `projects/*`. (required)
+  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.
   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.
   pageToken: string, Optional. Pagination token, returned earlier via ListSecretsResponse.next_page_token.
   x__xgafv: string, V1 error format.
diff --git a/docs/dyn/secretmanager_v1.projects.secrets.versions.html b/docs/dyn/secretmanager_v1.projects.secrets.versions.html
index 5e1fa3458ef..3be2459f1b6 100644
--- a/docs/dyn/secretmanager_v1.projects.secrets.versions.html
+++ b/docs/dyn/secretmanager_v1.projects.secrets.versions.html
@@ -93,7 +93,7 @@ 

Instance Methods

get(name, x__xgafv=None)

Gets metadata for a SecretVersion. `projects/*/secrets/*/versions/latest` is an alias to the most recently created SecretVersion.

- list(parent, pageSize=None, pageToken=None, x__xgafv=None)

+ list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)

Lists SecretVersions. This call does not return secret data.

list_next(previous_request, previous_response)

@@ -308,11 +308,12 @@

Method Details

- list(parent, pageSize=None, pageToken=None, x__xgafv=None) + list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)
Lists SecretVersions. This call does not return secret data.
 
 Args:
   parent: string, Required. The resource name of the Secret associated with the SecretVersions to list, in the format `projects/*/secrets/*`. (required)
+  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.
   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.
   pageToken: string, Optional. Pagination token, returned earlier via ListSecretVersionsResponse.next_page_token][].
   x__xgafv: string, V1 error format.
diff --git a/googleapiclient/discovery_cache/documents/secretmanager.v1.json b/googleapiclient/discovery_cache/documents/secretmanager.v1.json
index cb7aaacb475..24a657926fd 100644
--- a/googleapiclient/discovery_cache/documents/secretmanager.v1.json
+++ b/googleapiclient/discovery_cache/documents/secretmanager.v1.json
@@ -335,6 +335,11 @@
                 "parent"
               ],
               "parameters": {
+                "filter": {
+                  "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.",
+                  "location": "query",
+                  "type": "string"
+                },
                 "pageSize": {
                   "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.",
                   "format": "int32",
@@ -599,6 +604,11 @@
                     "parent"
                   ],
                   "parameters": {
+                    "filter": {
+                      "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.",
+                      "location": "query",
+                      "type": "string"
+                    },
                     "pageSize": {
                       "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.",
                       "format": "int32",
@@ -633,7 +643,7 @@
       }
     }
   },
-  "revision": "20210618",
+  "revision": "20210710",
   "rootUrl": "https://secretmanager.googleapis.com/",
   "schemas": {
     "AccessSecretVersionResponse": {
diff --git a/googleapiclient/discovery_cache/documents/secretmanager.v1beta1.json b/googleapiclient/discovery_cache/documents/secretmanager.v1beta1.json
index 51aba919671..7b7d9c9b640 100644
--- a/googleapiclient/discovery_cache/documents/secretmanager.v1beta1.json
+++ b/googleapiclient/discovery_cache/documents/secretmanager.v1beta1.json
@@ -628,7 +628,7 @@
       }
     }
   },
-  "revision": "20210618",
+  "revision": "20210710",
   "rootUrl": "https://secretmanager.googleapis.com/",
   "schemas": {
     "AccessSecretVersionResponse": {