Skip to content

Commit

Permalink
fix: update distribution name (#3371)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
sofisl and gcf-owl-bot[bot] authored Sep 26, 2022
1 parent 5e4189a commit 551ff27
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 11 deletions.
9 changes: 5 additions & 4 deletions packages/google-cloud-bigquery-analyticshub/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# [Analytics Hub API: Node.js Client](https://github.com/googleapis/google-cloud-node)

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



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

```bash
npm install @google-cloud/analyticshub
npm install @google-cloud/bigquery-analyticshub
```


Expand Down Expand Up @@ -80,7 +80,8 @@ npm install @google-cloud/analyticshub
// const pageToken = 'abc123'

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

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

## Versioning
Expand Down
2 changes: 1 addition & 1 deletion packages/google-cloud-bigquery-analyticshub/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@google-cloud/analyticshub",
"name": "@google-cloud/bigquery-analyticshub",
"version": "0.0.0",
"description": "Analytics Hub API client for Node.js",
"repository": "googleapis/google-cloud-node",
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"publish": "echo 'sample test; do not publish'"
},
"dependencies": {
"@google-cloud/analyticshub": "0.0.0"
"@google-cloud/bigquery-analyticshub": "0.0.0"
},
"devDependencies": {
"c8": "^7.1.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ function main(parent) {
// const pageToken = 'abc123'

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

// Instantiates a client
const analyticshubClient = new AnalyticsHubServiceClient();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ const assert = require('assert');
const path = require('path');
const cp = require('child_process');
const {describe, it, before} = require('mocha');
const {AnalyticsHubServiceClient} = require('@google-cloud/analyticshub').v1;
const {AnalyticsHubServiceClient} =
require('@google-cloud/bigquery-analyticshub').v1;
const analyticshubClient = new AnalyticsHubServiceClient();

const execSync = cmd => cp.execSync(cmd, {encoding: 'utf-8'});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
// ** All changes to this file may be overwritten. **

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

function main() {
const analyticsHubServiceClient =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
// ** https://github.com/googleapis/gapic-generator-typescript **
// ** All changes to this file may be overwritten. **

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

// check that the client class type name can be used
function doStuffWithAnalyticsHubServiceClient(
Expand Down

0 comments on commit 551ff27

Please sign in to comment.