Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 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").
Comment thread
sc-07 marked this conversation as resolved.
Outdated
*/
async function main(projectId, locationId, parameterId, parameterVersionId) {
// [START parametermanager_render_regional_param_version]
Expand All @@ -33,7 +33,8 @@
// const locationId = 'us-central1';
// const parameterId = 'YOUR_PARAMETER_ID';
// const parameterVersionId = 'YOUR_PARAMETER_VERSION_ID';

// const parameterVersionId = 'latest';

Check failure on line 37 in parametermanager/regional_samples/renderRegionalParamVersion.js

View workflow job for this annotation

GitHub Actions / lint

Trailing spaces not allowed

Check failure on line 37 in parametermanager/regional_samples/renderRegionalParamVersion.js

View workflow job for this annotation

GitHub Actions / lint

Delete `··`
Comment thread
sc-07 marked this conversation as resolved.
Outdated
// 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").
Comment thread
sc-07 marked this conversation as resolved.
Outdated
*/
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