Skip to content

Commit

Permalink
docs: added region tags (#873)
Browse files Browse the repository at this point in the history
  • Loading branch information
galz10 authored and NimJay committed Nov 18, 2022
1 parent fba5434 commit 4c95ed6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dialogflow/update-intent.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
process.env.DEBUG = 'dialogflow:debug'; // enables lib debugging statements

async function main(projectId, intentId, displayName) {
// [START dialogflow_update_intent_sample]
const {IntentsClient} = require('@google-cloud/dialogflow');

const intentClient = new IntentsClient();
Expand All @@ -39,6 +40,7 @@ async function main(projectId, intentId, displayName) {
//Send the request for update the intent.
const result = await intentClient.updateIntent(updateIntentRequest);
console.log(result);
// [END dialogflow_update_intent_sample]
}

process.on('unhandledRejection', err => {
Expand Down

0 comments on commit 4c95ed6

Please sign in to comment.