diff --git a/README.md b/README.md index c04dcc03..f47a17a7 100644 --- a/README.md +++ b/README.md @@ -71,6 +71,11 @@ npm install @google-cloud/dialogflow-cx // Imports the Google Cloud Some API library const {SessionsClient} = require('@google-cloud/dialogflow-cx'); +/** + * Example for regional endpoint: + * const location = 'us-central1' + * const client = new SessionsClient({apiEndpoint: 'us-central1-dialogflow.googleapis.com'}) + */ const client = new SessionsClient(); const fs = require('fs'); diff --git a/linkinator.config.json b/linkinator.config.json index d9f4fa38..29a223b6 100644 --- a/linkinator.config.json +++ b/linkinator.config.json @@ -3,10 +3,7 @@ "skip": [ "https://codecov.io/gh/googleapis/", "www.googleapis.com", - "img.shields.io", - "https://github.com/googleapis/nodejs-dialogflow-cx/blob/master/samples/detect-intent-audio.js", - "https://github.com/googleapis/nodejs-dialogflow-cx/blob/master/samples/detect-intent-streaming.js", - "https://github.com/googleapis/nodejs-dialogflow-cx/blob/master/samples/detect-intent-text.js" + "img.shields.io" ], "silent": true, "concurrency": 10 diff --git a/samples/README.md b/samples/README.md index bef96875..1d994828 100644 --- a/samples/README.md +++ b/samples/README.md @@ -12,9 +12,9 @@ * [Before you begin](#before-you-begin) * [Samples](#samples) - * [Detect_intent_audio](#detect_intent_audio) - * [Detect_intent_streaming](#detect_intent_streaming) - * [Detect_intent_text](#detect_intent_text) + * [Detect-intent-audio](#detect-intent-audio) + * [Detect-intent-streaming](#detect-intent-streaming) + * [Detect-intent-text](#detect-intent-text) * [List-intents](#list-intents) * [Quickstart](#quickstart) @@ -33,16 +33,16 @@ Before running the samples, make sure you've followed the steps outlined in -### Detect_intent_audio +### Detect-intent-audio -View the [source code](https://github.com/googleapis/nodejs-dialogflow-cx/blob/master/samples/detect_intent_audio.js). +View the [source code](https://github.com/googleapis/nodejs-dialogflow-cx/blob/master/samples/detect-intent-audio.js). -[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dialogflow-cx&page=editor&open_in_editor=samples/detect_intent_audio.js,samples/README.md) +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dialogflow-cx&page=editor&open_in_editor=samples/detect-intent-audio.js,samples/README.md) __Usage:__ -`node samples/detect_intent_audio.js` +`node samples/detect-intent-audio.js` ----- @@ -50,16 +50,16 @@ __Usage:__ -### Detect_intent_streaming +### Detect-intent-streaming -View the [source code](https://github.com/googleapis/nodejs-dialogflow-cx/blob/master/samples/detect_intent_streaming.js). +View the [source code](https://github.com/googleapis/nodejs-dialogflow-cx/blob/master/samples/detect-intent-streaming.js). -[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dialogflow-cx&page=editor&open_in_editor=samples/detect_intent_streaming.js,samples/README.md) +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dialogflow-cx&page=editor&open_in_editor=samples/detect-intent-streaming.js,samples/README.md) __Usage:__ -`node samples/detect_intent_streaming.js` +`node samples/detect-intent-streaming.js` ----- @@ -67,16 +67,16 @@ __Usage:__ -### Detect_intent_text +### Detect-intent-text -View the [source code](https://github.com/googleapis/nodejs-dialogflow-cx/blob/master/samples/detect_intent_text.js). +View the [source code](https://github.com/googleapis/nodejs-dialogflow-cx/blob/master/samples/detect-intent-text.js). -[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dialogflow-cx&page=editor&open_in_editor=samples/detect_intent_text.js,samples/README.md) +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dialogflow-cx&page=editor&open_in_editor=samples/detect-intent-text.js,samples/README.md) __Usage:__ -`node samples/detect_intent_text.js` +`node samples/detect-intent-text.js` ----- diff --git a/synth.metadata b/synth.metadata index 40174952..7ce73fad 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/nodejs-dialogflow-cx.git", - "sha": "b55737c7bcdbe7b20e1d1299612eace05516af73" + "sha": "25b53ebd3633d69fda2ad0ad1b863bbdc491c1cd" } }, {