Skip to content

Commit

Permalink
feat!: make v1 default service (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
chingor13 authored May 9, 2022
1 parent 58d9100 commit a39e081
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
4 changes: 2 additions & 2 deletions packages/google-cloud-networkconnectivity/.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/network-connectivity/latest",
"api_id": "networkconnectivity.googleapis.com",
"distribution_name": "@google-cloud/network-connectivity",
"release_level": "preview",
"default_version": "v1alpha1",
"release_level": "stable",
"default_version": "v1",
"language": "nodejs",
"name_pretty": "Network Connectivity Center",
"repo": "googleapis/nodejs-network-connectivity",
Expand Down
9 changes: 5 additions & 4 deletions packages/google-cloud-networkconnectivity/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

# [Network Connectivity Center: Node.js Client](https://github.com/googleapis/nodejs-network-connectivity)

[![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/network-connectivity.svg)](https://www.npmjs.org/package/@google-cloud/network-connectivity)


Expand Down Expand Up @@ -122,13 +122,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
4 changes: 2 additions & 2 deletions packages/google-cloud-networkconnectivity/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
import * as v1 from './v1';
import * as v1alpha1 from './v1alpha1';

const HubServiceClient = v1alpha1.HubServiceClient;
type HubServiceClient = v1alpha1.HubServiceClient;
const HubServiceClient = v1.HubServiceClient;
type HubServiceClient = v1.HubServiceClient;

export {v1, v1alpha1, HubServiceClient};
export default {v1, v1alpha1, HubServiceClient};
Expand Down

0 comments on commit a39e081

Please sign in to comment.