GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — common: update instance metadata on `getMetadata` call by stephenplusplus · Pull Request #1563 · googleapis/google-cloud-node

Conversation

@stephenplusplus

@stephenplusplus stephenplusplus commented Sep 2, 2016

Copy link
Copy Markdown
Contributor

Fixes #1418

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@stephenplusplus
common: update instance metadata on getMetadata call
89bda3d
@stephenplusplus stephenplusplus added the core label Sep 2, 2016
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Sep 2, 2016
@callmehiphop
callmehiphop merged commit 1e31c60 into googleapis:master Sep 2, 2016
miguelvelezsa pushed a commit that referenced this pull request Jul 23, 2025
@sofisl @gcf-owl-bot
build: update release-please-config.json (#1563)
09d9e91
* Update release-please-config.json

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
sofisl pushed a commit that referenced this pull request Feb 26, 2026
@renovate-bot
chore(deps): update dependency sinon to v13 (#1563)
102ff75
GautamSharda pushed a commit that referenced this pull request Mar 11, 2026
@gcf-owl-bot
feat: add BigQuery configuration for subscriptions (#1563)
c169905
* feat: add BigQuery configuration for subscriptions

PiperOrigin-RevId: 449031535

Source-Link: googleapis/googleapis@feec34d

Source-Link: googleapis/googleapis-gen@89664e9
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiODk2NjRlOTcwOGMxOWQ1MzJjNjNmN2ExNmZkNzljYjYzMWQ4N2FhMSJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
GautamSharda pushed a commit that referenced this pull request Mar 11, 2026
@release-please
chore(main): release 3.0.0 (#1556)
0d3d3e5
🤖 I have created a release *beep* *boop*
---


## [3.0.0](googleapis/nodejs-pubsub@v2.19.4...v3.0.0) (2022-05-26)


### ⚠ BREAKING CHANGES

* update library to use Node 12 (#1564)

### Features

* add BigQuery configuration for subscriptions ([#1563](googleapis/nodejs-pubsub#1563)) ([29d38a1](googleapis/nodejs-pubsub@29d38a1))


### Bug Fixes

* **deps:** update dependency google-gax to v2.30.4 ([#1555](googleapis/nodejs-pubsub#1555)) ([518fce1](googleapis/nodejs-pubsub@518fce1))
* fixes for dynamic routing and streaming descriptors ([#1566](googleapis/nodejs-pubsub#1566)) ([158c606](googleapis/nodejs-pubsub@158c606))


### Build System

* update library to use Node 12 ([#1564](googleapis/nodejs-pubsub#1564)) ([adb4319](googleapis/nodejs-pubsub@adb4319))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
GautamSharda pushed a commit that referenced this pull request Mar 12, 2026
@stephenplusplus @callmehiphop
common: update instance metadata on getMetadata call (#1563)
a096a29
@GautamSharda GautamSharda mentioned this pull request Mar 12, 2026
migrate code from googleapis/nodejs-common #7597
Merged
4 tasks
sofisl added a commit that referenced this pull request Mar 17, 2026
@sofisl @gcf-owl-bot
build: update release-please-config.json (#1563)
75d47ea
* Update release-please-config.json

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
sofisl pushed a commit that referenced this pull request Mar 17, 2026
@renovate-bot
chore(deps): update dependency mocha to ^10.4.0 (#1563)
5339062
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [mocha](https://mochajs.org/) ([source](https://togithub.com/mochajs/mocha)) | [`^10.3.0` -> `^10.4.0`](https://renovatebot.com/diffs/npm/mocha/10.3.0/10.4.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/mocha/10.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/mocha/10.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/mocha/10.3.0/10.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/mocha/10.3.0/10.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>mochajs/mocha (mocha)</summary>

### [`v10.4.0`](https://togithub.com/mochajs/mocha/blob/HEAD/CHANGELOG.md#1040--2024-03-26)

[Compare Source](https://togithub.com/mochajs/mocha/compare/v10.3.0...v10.4.0)

##### 🎉 Enhancements

-   [#&#8203;4829](https://togithub.com/mochajs/mocha/pull/4829) feat: include `.cause` stacks in the error stack traces ([**@&#8203;voxpelli**](https://togithub.com/voxpelli))
-   [#&#8203;4985](https://togithub.com/mochajs/mocha/pull/4985) feat: add file path to xunit reporter ([**@&#8203;bmish**](https://togithub.com/bmish))

##### 🐛 Fixes

-   [#&#8203;5074](https://togithub.com/mochajs/mocha/pull/5074) fix: harden error handling in `lib/cli/run.js` ([**@&#8203;stalet**](https://togithub.com/stalet))

##### 🔩 Other

-   [#&#8203;5077](https://togithub.com/mochajs/mocha/pull/5077) chore: add mtfoley/pr-compliance-action ([**@&#8203;JoshuaKGoldberg**](https://togithub.com/JoshuaKGoldberg))
-   [#&#8203;5060](https://togithub.com/mochajs/mocha/pull/5060) chore: migrate ESLint config to flat config ([**@&#8203;JoshuaKGoldberg**](https://togithub.com/JoshuaKGoldberg))
-   [#&#8203;5095](https://togithub.com/mochajs/mocha/pull/5095) chore: revert [#&#8203;5069](https://togithub.com/mochajs/mocha/pull/5069) to restore Netlify builds ([**@&#8203;voxpelli**](https://togithub.com/voxpelli))
-   [#&#8203;5097](https://togithub.com/mochajs/mocha/pull/5097) docs: add sponsored to sponsorship link rels ([**@&#8203;JoshuaKGoldberg**](https://togithub.com/JoshuaKGoldberg))
-   [#&#8203;5093](https://togithub.com/mochajs/mocha/pull/5093) chore: add 'status: in triage' label to issue templates and docs ([**@&#8203;JoshuaKGoldberg**](https://togithub.com/JoshuaKGoldberg))
-   [#&#8203;5083](https://togithub.com/mochajs/mocha/pull/5083) docs: fix CHANGELOG.md headings to start with a root-level h1 ([**@&#8203;JoshuaKGoldberg**](https://togithub.com/JoshuaKGoldberg))
-   [#&#8203;5100](https://togithub.com/mochajs/mocha/pull/5100) chore: fix header generation and production build crashes  ([**@&#8203;JoshuaKGoldberg**](https://togithub.com/JoshuaKGoldberg))
-   [#&#8203;5104](https://togithub.com/mochajs/mocha/pull/5104) chore: bump ESLint ecmaVersion to 2020 ([**@&#8203;JoshuaKGoldberg**](https://togithub.com/JoshuaKGoldberg))
-   [#&#8203;5116](https://togithub.com/mochajs/mocha/pull/5116) fix: eleventy template builds crash with 'unexpected token at ": string, msg..."' ([**@&#8203;LcsK**](https://togithub.com/LcsK))
-   [#&#8203;4869](https://togithub.com/mochajs/mocha/pull/4869) docs: fix documentation concerning glob expansion on UNIX ([**@&#8203;binki**](https://togithub.com/binki))
-   [#&#8203;5122](https://togithub.com/mochajs/mocha/pull/5122) test: fix xunit integration test ([**@&#8203;voxpelli**](https://togithub.com/voxpelli))
-   [#&#8203;5123](https://togithub.com/mochajs/mocha/pull/5123) chore: activate dependabot for workflows ([**@&#8203;voxpelli**](https://togithub.com/voxpelli))
-   [#&#8203;5125](https://togithub.com/mochajs/mocha/pull/5125) build(deps): bump the github-actions group with 2 updates ([**@&#8203;dependabot**](https://togithub.com/dependabot))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/googleapis/gapic-generator-typescript).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
GautamSharda pushed a commit that referenced this pull request Mar 23, 2026
@danieljbruce
fix: Use the universe domain if it is provided by the user (#1563)
a741b84
**Summary:**

The user should be able to set the universe domain so that outgoing calls work with a different Google Cloud Universe. Right now, if the user specifies a universe domain then it will not get used and the request will just be sent to the default Bigtable endpoint.

**Changes:**

`src/index.ts:` The change here is that when a custom url is not provided, but a universe domain is provided then the servicePath will use the universe domain provided. This is done for each Gapic client and ensures requests will be made to the universe domain instead of the default Bigtable service.

`system-test/service-path.ts`: Two tests are added to ensure the service path is always set correctly. For instance, when a custom endpoint is provided then the service path will still always be that custom endpoint. When a custom endpoint is NOT provided, but a universe domain is provided then the service path is set to use the universe domain instead of the default endpoint.

**Alternatives:**

1. Instead of requiring the user to set the universe domain for each Gapic client, we could expose a `universeDomain` option that would apply to all clients. While this would make things easier for users, it is an API change so it is not reversible. For now we should not change the API since users already have a way to specify the universe domains for the Gapic clients. We can always add this option later.
2. When a custom endpoint is not provided then in the handwritten layer we could not provide a service path. The Pros of this option is that we can rely on the code in the Gapic layer for building the service path instead of creating the getDomain function introducing duplicate code and this would reduce technical debt. The main problem with this option is that it means [providedCustomServicePath](https://togithub.com/googleapis/nodejs-bigtable/blob/2fdf98f9398761046f41bd58e00258f0d4963a3d/src/v2/bigtable_client.ts#L132) will now be undefined and this value is used in the grpc stub so we don't know how such a change might affect the outgoing API calls. The code to implement this alternative also gets messy if Alternative 1 isn't adopted as well.
GautamSharda pushed a commit that referenced this pull request Mar 25, 2026
@danieljbruce @GautamSharda
fix: Use the universe domain if it is provided by the user (#1563)
3768ff0
**Summary:**

The user should be able to set the universe domain so that outgoing calls work with a different Google Cloud Universe. Right now, if the user specifies a universe domain then it will not get used and the request will just be sent to the default Bigtable endpoint.

**Changes:**

`src/index.ts:` The change here is that when a custom url is not provided, but a universe domain is provided then the servicePath will use the universe domain provided. This is done for each Gapic client and ensures requests will be made to the universe domain instead of the default Bigtable service.

`system-test/service-path.ts`: Two tests are added to ensure the service path is always set correctly. For instance, when a custom endpoint is provided then the service path will still always be that custom endpoint. When a custom endpoint is NOT provided, but a universe domain is provided then the service path is set to use the universe domain instead of the default endpoint.

**Alternatives:**

1. Instead of requiring the user to set the universe domain for each Gapic client, we could expose a `universeDomain` option that would apply to all clients. While this would make things easier for users, it is an API change so it is not reversible. For now we should not change the API since users already have a way to specify the universe domains for the Gapic clients. We can always add this option later.
2. When a custom endpoint is not provided then in the handwritten layer we could not provide a service path. The Pros of this option is that we can rely on the code in the Gapic layer for building the service path instead of creating the getDomain function introducing duplicate code and this would reduce technical debt. The main problem with this option is that it means [providedCustomServicePath](https://togithub.com/googleapis/nodejs-bigtable/blob/2fdf98f9398761046f41bd58e00258f0d4963a3d/src/v2/bigtable_client.ts#L132) will now be undefined and this value is used in the grpc stub so we don't know how such a change might affect the outgoing API calls. The code to implement this alternative also gets messy if Alternative 1 isn't adopted as well.
@release-please release-please Bot mentioned this pull request Mar 26, 2026
chore(main): release bigtable 3.2.3 #7899
Closed
feywind pushed a commit that referenced this pull request Mar 27, 2026
@release-please
chore(main): release 3.0.0 (#1556)
4cb9ab8
🤖 I have created a release *beep* *boop*
---


## [3.0.0](googleapis/nodejs-pubsub@v2.19.4...v3.0.0) (2022-05-26)


### ⚠ BREAKING CHANGES

* update library to use Node 12 (#1564)

### Features

* add BigQuery configuration for subscriptions ([#1563](googleapis/nodejs-pubsub#1563)) ([29d38a1](googleapis/nodejs-pubsub@29d38a1))


### Bug Fixes

* **deps:** update dependency google-gax to v2.30.4 ([#1555](googleapis/nodejs-pubsub#1555)) ([518fce1](googleapis/nodejs-pubsub@518fce1))
* fixes for dynamic routing and streaming descriptors ([#1566](googleapis/nodejs-pubsub#1566)) ([158c606](googleapis/nodejs-pubsub@158c606))


### Build System

* update library to use Node 12 ([#1564](googleapis/nodejs-pubsub#1564)) ([cf4ac04](googleapis/nodejs-pubsub@cf4ac04))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
shivanee-p pushed a commit that referenced this pull request Mar 27, 2026
@danieljbruce @shivanee-p
fix: Use the universe domain if it is provided by the user (#1563)
3ac0370
**Summary:**

The user should be able to set the universe domain so that outgoing calls work with a different Google Cloud Universe. Right now, if the user specifies a universe domain then it will not get used and the request will just be sent to the default Bigtable endpoint.

**Changes:**

`src/index.ts:` The change here is that when a custom url is not provided, but a universe domain is provided then the servicePath will use the universe domain provided. This is done for each Gapic client and ensures requests will be made to the universe domain instead of the default Bigtable service.

`system-test/service-path.ts`: Two tests are added to ensure the service path is always set correctly. For instance, when a custom endpoint is provided then the service path will still always be that custom endpoint. When a custom endpoint is NOT provided, but a universe domain is provided then the service path is set to use the universe domain instead of the default endpoint.

**Alternatives:**

1. Instead of requiring the user to set the universe domain for each Gapic client, we could expose a `universeDomain` option that would apply to all clients. While this would make things easier for users, it is an API change so it is not reversible. For now we should not change the API since users already have a way to specify the universe domains for the Gapic clients. We can always add this option later.
2. When a custom endpoint is not provided then in the handwritten layer we could not provide a service path. The Pros of this option is that we can rely on the code in the Gapic layer for building the service path instead of creating the getDomain function introducing duplicate code and this would reduce technical debt. The main problem with this option is that it means [providedCustomServicePath](https://togithub.com/googleapis/nodejs-bigtable/blob/2fdf98f9398761046f41bd58e00258f0d4963a3d/src/v2/bigtable_client.ts#L132) will now be undefined and this value is used in the grpc stub so we don't know how such a change might affect the outgoing API calls. The code to implement this alternative also gets messy if Alternative 1 isn't adopted as well.
thiyaguk09 pushed a commit to thiyaguk09/google-cloud-node-fork that referenced this pull request May 5, 2026
@danieljbruce @thiyaguk09
fix: Use the universe domain if it is provided by the user (googleapi…
c886c41
…s#1563)

**Summary:**

The user should be able to set the universe domain so that outgoing calls work with a different Google Cloud Universe. Right now, if the user specifies a universe domain then it will not get used and the request will just be sent to the default Bigtable endpoint.

**Changes:**

`src/index.ts:` The change here is that when a custom url is not provided, but a universe domain is provided then the servicePath will use the universe domain provided. This is done for each Gapic client and ensures requests will be made to the universe domain instead of the default Bigtable service.

`system-test/service-path.ts`: Two tests are added to ensure the service path is always set correctly. For instance, when a custom endpoint is provided then the service path will still always be that custom endpoint. When a custom endpoint is NOT provided, but a universe domain is provided then the service path is set to use the universe domain instead of the default endpoint.

**Alternatives:**

1. Instead of requiring the user to set the universe domain for each Gapic client, we could expose a `universeDomain` option that would apply to all clients. While this would make things easier for users, it is an API change so it is not reversible. For now we should not change the API since users already have a way to specify the universe domains for the Gapic clients. We can always add this option later.
2. When a custom endpoint is not provided then in the handwritten layer we could not provide a service path. The Pros of this option is that we can rely on the code in the Gapic layer for building the service path instead of creating the getDomain function introducing duplicate code and this would reduce technical debt. The main problem with this option is that it means [providedCustomServicePath](https://togithub.com/googleapis/nodejs-bigtable/blob/2fdf98f9398761046f41bd58e00258f0d4963a3d/src/v2/bigtable_client.ts#L132) will now be undefined and this value is used in the grpc stub so we don't know how such a change might affect the outgoing API calls. The code to implement this alternative also gets messy if Alternative 1 isn't adopted as well.
@jskeet jskeet mentioned this pull request May 19, 2026
chore(test-release-please): release 1.0.0 #8308
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

cla: yes This human has signed the Contributor License Agreement. core

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@stephenplusplus @callmehiphop @googlebot
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.