From c81d14324d89797b876b0afa1198dbeb64154fda Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Thu, 16 Jan 2025 01:19:50 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20post-p?= =?UTF-8?q?rocessor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- packages/google-cloud-secretmanager/src/index.ts | 5 +++-- .../src/v1/secret_manager_service_client.ts | 4 +--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/packages/google-cloud-secretmanager/src/index.ts b/packages/google-cloud-secretmanager/src/index.ts index c66e1226608..f8f1473ceba 100644 --- a/packages/google-cloud-secretmanager/src/index.ts +++ b/packages/google-cloud-secretmanager/src/index.ts @@ -17,12 +17,13 @@ // ** All changes to this file may be overwritten. ** import * as v1 from './v1'; +import * as v1beta1 from './v1beta1'; import * as v1beta2 from './v1beta2'; const SecretManagerServiceClient = v1.SecretManagerServiceClient; type SecretManagerServiceClient = v1.SecretManagerServiceClient; -export {v1, v1beta2, SecretManagerServiceClient}; -export default {v1, v1beta2, SecretManagerServiceClient}; +export {v1, v1beta1, v1beta2, SecretManagerServiceClient}; +export default {v1, v1beta1, v1beta2, SecretManagerServiceClient}; import * as protos from '../protos/protos'; export {protos}; diff --git a/packages/google-cloud-secretmanager/src/v1/secret_manager_service_client.ts b/packages/google-cloud-secretmanager/src/v1/secret_manager_service_client.ts index 6d745d9a0c1..ad362244e87 100644 --- a/packages/google-cloud-secretmanager/src/v1/secret_manager_service_client.ts +++ b/packages/google-cloud-secretmanager/src/v1/secret_manager_service_client.ts @@ -239,7 +239,6 @@ export class SecretManagerServiceClient { ), }; - // Some of the methods on this service return "paged" results, // (e.g. 50 results at a time, with tokens to get subsequent // pages). Denote the keys used for pagination and results. @@ -2643,7 +2642,7 @@ export class SecretManagerServiceClient { * A fully-qualified path representing SecretVersion resource. * @returns {string} A string representing the secret. */ - matchSecretFromSecretVersionName(secretVersionName: string) { + matchSecretFromSecretVersionName(secretVersionName: string) { return this.pathTemplates.secretVersionPathTemplate.match(secretVersionName) .secret; } @@ -2660,4 +2659,3 @@ export class SecretManagerServiceClient { .secret_version; } } -