Skip to content

Commit 39c2145

Browse files
committed
fix(sample): Update comment for rendering latest parameter version
1 parent d145c7c commit 39c2145

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

parametermanager/regional_samples/renderRegionalParamVersion.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* @param {string} projectId - The Google Cloud project ID where the parameter is located.
2323
* @param {string} locationId - The ID of the region where parameter is located.
2424
* @param {string} parameterId - The ID of the parameter for which version details are to be rendered.
25-
* @param {string} parameterVersionId - The ID of the parameter version to be rendered.
25+
* @param {string} parameterVersionId - The ID of the parameter version to be rendered or an alias (e.g. "latest").
2626
*/
2727
async function main(projectId, locationId, parameterId, parameterVersionId) {
2828
// [START parametermanager_render_regional_param_version]

parametermanager/renderParamVersion.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
*
2222
* @param {string} projectId - The Google Cloud project ID where the parameter is located.
2323
* @param {string} parameterId - The ID of the parameter for which version details are to be rendered.
24-
* @param {string} parameterVersionId - The ID of the parameter version to be rendered.
24+
* @param {string} parameterVersionId - The ID of the parameter version to be rendered or an alias (e.g. "latest").
2525
*/
2626
async function main(projectId, parameterId, parameterVersionId) {
2727
// [START parametermanager_render_param_version]

0 commit comments

Comments
 (0)