Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* @param {string} projectId - The Google Cloud project ID where the parameter is located.
* @param {string} locationId - The ID of the region where parameter is located.
* @param {string} parameterId - The ID of the parameter for which version details are to be rendered.
* @param {string} parameterVersionId - The ID of the parameter version to be rendered.
* @param {string} parameterVersionId - The ID of the parameter version to be rendered or an alias (e.g. 'latest').
*/
async function main(projectId, locationId, parameterId, parameterVersionId) {
// [START parametermanager_render_regional_param_version]
Expand All @@ -33,6 +33,7 @@ async function main(projectId, locationId, parameterId, parameterVersionId) {
// const locationId = 'us-central1';
// const parameterId = 'YOUR_PARAMETER_ID';
// const parameterVersionId = 'YOUR_PARAMETER_VERSION_ID';
// const parameterVersionId = 'latest';

// Imports the Parameter Manager library
const {ParameterManagerClient} = require('@google-cloud/parametermanager');
Expand Down
3 changes: 2 additions & 1 deletion parametermanager/renderParamVersion.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
*
* @param {string} projectId - The Google Cloud project ID where the parameter is located.
* @param {string} parameterId - The ID of the parameter for which version details are to be rendered.
* @param {string} parameterVersionId - The ID of the parameter version to be rendered.
* @param {string} parameterVersionId - The ID of the parameter version to be rendered or an alias (e.g. 'latest').
*/
async function main(projectId, parameterId, parameterVersionId) {
// [START parametermanager_render_param_version]
Expand All @@ -31,6 +31,7 @@ async function main(projectId, parameterId, parameterVersionId) {
// const projectId = 'YOUR_PROJECT_ID';
// const parameterId = 'YOUR_PARAMETER_ID';
// const parameterVersionId = 'YOUR_PARAMETER_VERSION_ID';
// const parameterVersionId = 'latest';

// Imports the Parameter Manager library
const {ParameterManagerClient} = require('@google-cloud/parametermanager');
Expand Down
Loading