Skip to content

fix(samples): Update NodeJs comment for rendering latest parameter version#4287

Merged
cazad301197 merged 4 commits intomainfrom
latest-samples
Apr 16, 2026
Merged

fix(samples): Update NodeJs comment for rendering latest parameter version#4287
cazad301197 merged 4 commits intomainfrom
latest-samples

Conversation

@sc-07
Copy link
Copy Markdown
Contributor

@sc-07 sc-07 commented Apr 16, 2026

Description

Fixes #

Note: Before submitting a pull request, please open an issue for discussion if you are not associated with Google.

Checklist

  • I have followed guidelines from CONTRIBUTING.MD and Samples Style Guide
  • Tests pass: npm test (see Testing)
  • Lint pass: npm run lint (see Style)
  • Required CI tests pass (see CI testing)
  • These samples need a new API enabled in testing projects to pass (let us know which ones)
  • These samples need a new/updated env vars in testing projects set to pass (let us know which ones)
  • This pull request is from a branch created directly off of GoogleCloudPlatform/nodejs-docs-samples. Not a fork.
  • This sample adds a new sample directory, and I updated the CODEOWNERS file with the codeowners for this sample
  • This sample adds a new sample directory, and I created GitHub Actions workflow for this sample
  • This sample adds a new Product API, and I updated the Blunderbuss issue/PR auto-assigner with the codeowners for this sample
  • Please merge this PR for me once it is approved

Note: Any check with (dev), (experimental), or (legacy) can be ignored and should not block your PR from merging (see CI testing).

@sc-07 sc-07 requested review from a team as code owners April 16, 2026 09:45
@product-auto-label product-auto-label Bot added the samples Issues that are directly related to samples. label Apr 16, 2026
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the JSDoc and example code in both regional and global parameter version rendering samples to indicate that the parameterVersionId can accept an alias like 'latest'. The review feedback suggests using single quotes for the alias in the JSDoc to maintain consistency with the repository's coding style.

Comment thread parametermanager/regional_samples/renderRegionalParamVersion.js Outdated
Comment thread parametermanager/renderParamVersion.js Outdated
Comment thread parametermanager/regional_samples/renderRegionalParamVersion.js Outdated
@cazad301197 cazad301197 merged commit c715cf1 into main Apr 16, 2026
18 checks passed
@cazad301197 cazad301197 deleted the latest-samples branch April 16, 2026 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

samples Issues that are directly related to samples.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants