Skip to content
This repository has been archived by the owner on Jul 20, 2023. It is now read-only.

feat!: make v1 default service version #139

Merged
merged 8 commits into from
May 19, 2022
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .repo-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)


Expand Down Expand Up @@ -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]
Expand Down
22 changes: 12 additions & 10 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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};