Skip to content

Commit

Permalink
fix: update translate_create_glossary.js (#403)
Browse files Browse the repository at this point in the history
  • Loading branch information
nnegrey authored and Ace Nassri committed Nov 17, 2022
1 parent 55a4607 commit 4665149
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions translate/v3/translate_create_glossary.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@
function main(
projectId = 'YOUR_PROJECT_ID',
location = 'us-central1',
glossaryId = 'glossary-id'
glossaryId = 'your-glossary-display-name'
) {
// [START translate_v3_create_glossary]
/**
* TODO(developer): Uncomment these variables before running the sample.
*/
// const projectId = 'YOUR_PROJECT_ID';
// const location = 'global';
// const glossaryId = 'YOUR_GLOSSARY_ID';
// const glossaryId = 'your-glossary-display-name';

// Imports the Google Cloud Translation library
const {TranslationServiceClient} = require('@google-cloud/translate');
Expand Down

0 comments on commit 4665149

Please sign in to comment.