Skip to content

Commit 551ff27

Browse files
fix: update distribution name (#3371)
* fix: update distribution name * Update package.json * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * Update quickstart.js * Update quickstart.js * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * Update index.js * Update index.ts Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 5e4189a commit 551ff27

File tree

8 files changed

+14
-11
lines changed

8 files changed

+14
-11
lines changed

packages/google-cloud-bigquery-analyticshub/README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# [Analytics Hub API: Node.js Client](https://github.com/googleapis/google-cloud-node)
66

77
[![release level](https://img.shields.io/badge/release%20level-beta-yellow.svg?style=flat)](https://cloud.google.com/terms/launch-stages)
8-
[![npm version](https://img.shields.io/npm/v/@google-cloud/analyticshub.svg)](https://www.npmjs.org/package/@google-cloud/analyticshub)
8+
[![npm version](https://img.shields.io/npm/v/@google-cloud/bigquery-analyticshub.svg)](https://www.npmjs.org/package/@google-cloud/bigquery-analyticshub)
99

1010

1111

@@ -50,7 +50,7 @@ Google APIs Client Libraries, in [Client Libraries Explained][explained].
5050
### Installing the client library
5151

5252
```bash
53-
npm install @google-cloud/analyticshub
53+
npm install @google-cloud/bigquery-analyticshub
5454
```
5555

5656

@@ -80,7 +80,8 @@ npm install @google-cloud/analyticshub
8080
// const pageToken = 'abc123'
8181

8282
// Imports the Analyticshub library
83-
const {AnalyticsHubServiceClient} = require('@google-cloud/analyticshub').v1;
83+
const {AnalyticsHubServiceClient} =
84+
require('@google-cloud/bigquery-analyticshub').v1;
8485

8586
// Instantiates a client
8687
const analyticshubClient = new AnalyticsHubServiceClient();
@@ -151,7 +152,7 @@ best-efforts basis with the following warnings:
151152
Client libraries targeting some end-of-life versions of Node.js are available, and
152153
can be installed through npm [dist-tags](https://docs.npmjs.com/cli/dist-tag).
153154
The dist-tags follow the naming convention `legacy-(version)`.
154-
For example, `npm install @google-cloud/analyticshub@legacy-8` installs client libraries
155+
For example, `npm install @google-cloud/bigquery-analyticshub@legacy-8` installs client libraries
155156
for versions compatible with Node.js 8.
156157

157158
## Versioning

packages/google-cloud-bigquery-analyticshub/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@google-cloud/analyticshub",
2+
"name": "@google-cloud/bigquery-analyticshub",
33
"version": "0.0.0",
44
"description": "Analytics Hub API client for Node.js",
55
"repository": "googleapis/google-cloud-node",

packages/google-cloud-bigquery-analyticshub/protos/protos.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/google-cloud-bigquery-analyticshub/samples/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"publish": "echo 'sample test; do not publish'"
1515
},
1616
"dependencies": {
17-
"@google-cloud/analyticshub": "0.0.0"
17+
"@google-cloud/bigquery-analyticshub": "0.0.0"
1818
},
1919
"devDependencies": {
2020
"c8": "^7.1.0",

packages/google-cloud-bigquery-analyticshub/samples/quickstart.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ function main(parent) {
4343
// const pageToken = 'abc123'
4444

4545
// Imports the Analyticshub library
46-
const {AnalyticsHubServiceClient} = require('@google-cloud/analyticshub').v1;
46+
const {AnalyticsHubServiceClient} =
47+
require('@google-cloud/bigquery-analyticshub').v1;
4748

4849
// Instantiates a client
4950
const analyticshubClient = new AnalyticsHubServiceClient();

packages/google-cloud-bigquery-analyticshub/samples/test/quickstart.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ const assert = require('assert');
1818
const path = require('path');
1919
const cp = require('child_process');
2020
const {describe, it, before} = require('mocha');
21-
const {AnalyticsHubServiceClient} = require('@google-cloud/analyticshub').v1;
21+
const {AnalyticsHubServiceClient} =
22+
require('@google-cloud/bigquery-analyticshub').v1;
2223
const analyticshubClient = new AnalyticsHubServiceClient();
2324

2425
const execSync = cmd => cp.execSync(cmd, {encoding: 'utf-8'});

packages/google-cloud-bigquery-analyticshub/system-test/fixtures/sample/src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
// ** All changes to this file may be overwritten. **
1818

1919
/* eslint-disable node/no-missing-require, no-unused-vars */
20-
const analyticshub = require('@google-cloud/analyticshub');
20+
const analyticshub = require('@google-cloud/bigquery-analyticshub');
2121

2222
function main() {
2323
const analyticsHubServiceClient =

packages/google-cloud-bigquery-analyticshub/system-test/fixtures/sample/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
// ** https://github.com/googleapis/gapic-generator-typescript **
1717
// ** All changes to this file may be overwritten. **
1818

19-
import {AnalyticsHubServiceClient} from '@google-cloud/analyticshub';
19+
import {AnalyticsHubServiceClient} from '@google-cloud/bigquery-analyticshub';
2020

2121
// check that the client class type name can be used
2222
function doStuffWithAnalyticsHubServiceClient(

0 commit comments

Comments
 (0)