From ab5917314379c623bcc2a9ca6cd200e2432dacab Mon Sep 17 00:00:00 2001 From: Jeffrey Rennie Date: Fri, 8 Apr 2022 11:52:39 -0700 Subject: [PATCH 1/2] chore: promote from preview to stable And change default version to v1. --- .repo-metadata.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.repo-metadata.json b/.repo-metadata.json index c62269e..332013c 100644 --- a/.repo-metadata.json +++ b/.repo-metadata.json @@ -2,8 +2,8 @@ "client_documentation": "https://cloud.google.com/nodejs/docs/reference/binary-authorization/latest", "api_id": "binaryauthorization.googleapis.com", "distribution_name": "@google-cloud/binary-authorization", - "release_level": "preview", - "default_version": "v1beta1", + "release_level": "stable", + "default_version": "v1", "language": "nodejs", "name_pretty": "Binary Authorization", "repo": "googleapis/nodejs-binary-authorization", From ad27526dbbb3e2a0a840979a67795a98db403a5e Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Fri, 8 Apr 2022 18:55:24 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?= =?UTF-8?q?st-processor?= 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 --- README.md | 9 +++++---- src/index.ts | 22 ++++++++++++---------- 2 files changed, 17 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index b42cae3..d1a463e 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ # [Binary Authorization: Node.js Client](https://github.com/googleapis/nodejs-binary-authorization) -[![release level](https://img.shields.io/badge/release%20level-preview-yellow.svg?style=flat)](https://cloud.google.com/terms/launch-stages) +[![release level](https://img.shields.io/badge/release%20level-stable-brightgreen.svg?style=flat)](https://cloud.google.com/terms/launch-stages) [![npm version](https://img.shields.io/npm/v/@google-cloud/binary-authorization.svg)](https://www.npmjs.org/package/@google-cloud/binary-authorization) @@ -120,13 +120,14 @@ This library follows [Semantic Versioning](http://semver.org/). +This library is considered to be **stable**. The code surface will not change in backwards-incompatible ways +unless absolutely necessary (e.g. because of critical security issues) or with +an extensive deprecation period. Issues and requests against **stable** libraries +are addressed with the highest priority. -This library is considered to be in **preview**. This means it is still a -work-in-progress and under active development. Any release is subject to -backwards-incompatible changes at any time. More Information: [Google Cloud Platform Launch Stages][launch_stages] diff --git a/src/index.ts b/src/index.ts index 4a13f7a..f1d240b 100644 --- a/src/index.ts +++ b/src/index.ts @@ -19,24 +19,26 @@ import * as v1 from './v1'; import * as v1beta1 from './v1beta1'; -const BinauthzManagementServiceV1Beta1Client = - v1beta1.BinauthzManagementServiceV1Beta1Client; -type BinauthzManagementServiceV1Beta1Client = - v1beta1.BinauthzManagementServiceV1Beta1Client; -const SystemPolicyV1Beta1Client = v1beta1.SystemPolicyV1Beta1Client; -type SystemPolicyV1Beta1Client = v1beta1.SystemPolicyV1Beta1Client; +const BinauthzManagementServiceV1Client = v1.BinauthzManagementServiceV1Client; +type BinauthzManagementServiceV1Client = v1.BinauthzManagementServiceV1Client; +const SystemPolicyV1Client = v1.SystemPolicyV1Client; +type SystemPolicyV1Client = v1.SystemPolicyV1Client; +const ValidationHelperV1Client = v1.ValidationHelperV1Client; +type ValidationHelperV1Client = v1.ValidationHelperV1Client; export { v1, v1beta1, - BinauthzManagementServiceV1Beta1Client, - SystemPolicyV1Beta1Client, + BinauthzManagementServiceV1Client, + SystemPolicyV1Client, + ValidationHelperV1Client, }; export default { v1, v1beta1, - BinauthzManagementServiceV1Beta1Client, - SystemPolicyV1Beta1Client, + BinauthzManagementServiceV1Client, + SystemPolicyV1Client, + ValidationHelperV1Client, }; import * as protos from '../protos/protos'; export {protos};