Skip to content

Commit ca7a2d2

Browse files
docs: document apiEndpoint over servicePath (#398)
1 parent 7991966 commit ca7a2d2

14 files changed

Lines changed: 14 additions & 14 deletions

packages/google-cloud-dialogflow/src/v2/agents_client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ class AgentsClient {
7979
* your project ID will be detected automatically.
8080
* @param {function} [options.promise] - Custom promise module to use instead
8181
* of native Promises.
82-
* @param {string} [options.servicePath] - The domain name of the
82+
* @param {string} [options.apiEndpoint] - The domain name of the
8383
* API remote host.
8484
*/
8585
constructor(opts) {

packages/google-cloud-dialogflow/src/v2/contexts_client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class ContextsClient {
6868
* your project ID will be detected automatically.
6969
* @param {function} [options.promise] - Custom promise module to use instead
7070
* of native Promises.
71-
* @param {string} [options.servicePath] - The domain name of the
71+
* @param {string} [options.apiEndpoint] - The domain name of the
7272
* API remote host.
7373
*/
7474
constructor(opts) {

packages/google-cloud-dialogflow/src/v2/entity_types_client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ class EntityTypesClient {
7979
* your project ID will be detected automatically.
8080
* @param {function} [options.promise] - Custom promise module to use instead
8181
* of native Promises.
82-
* @param {string} [options.servicePath] - The domain name of the
82+
* @param {string} [options.apiEndpoint] - The domain name of the
8383
* API remote host.
8484
*/
8585
constructor(opts) {

packages/google-cloud-dialogflow/src/v2/intents_client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ class IntentsClient {
8383
* your project ID will be detected automatically.
8484
* @param {function} [options.promise] - Custom promise module to use instead
8585
* of native Promises.
86-
* @param {string} [options.servicePath] - The domain name of the
86+
* @param {string} [options.apiEndpoint] - The domain name of the
8787
* API remote host.
8888
*/
8989
constructor(opts) {

packages/google-cloud-dialogflow/src/v2/session_entity_types_client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class SessionEntityTypesClient {
6363
* your project ID will be detected automatically.
6464
* @param {function} [options.promise] - Custom promise module to use instead
6565
* of native Promises.
66-
* @param {string} [options.servicePath] - The domain name of the
66+
* @param {string} [options.apiEndpoint] - The domain name of the
6767
* API remote host.
6868
*/
6969
constructor(opts) {

packages/google-cloud-dialogflow/src/v2/sessions_client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class SessionsClient {
5454
* your project ID will be detected automatically.
5555
* @param {function} [options.promise] - Custom promise module to use instead
5656
* of native Promises.
57-
* @param {string} [options.servicePath] - The domain name of the
57+
* @param {string} [options.apiEndpoint] - The domain name of the
5858
* API remote host.
5959
*/
6060
constructor(opts) {

packages/google-cloud-dialogflow/src/v2beta1/agents_client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ class AgentsClient {
7979
* your project ID will be detected automatically.
8080
* @param {function} [options.promise] - Custom promise module to use instead
8181
* of native Promises.
82-
* @param {string} [options.servicePath] - The domain name of the
82+
* @param {string} [options.apiEndpoint] - The domain name of the
8383
* API remote host.
8484
*/
8585
constructor(opts) {

packages/google-cloud-dialogflow/src/v2beta1/contexts_client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class ContextsClient {
6868
* your project ID will be detected automatically.
6969
* @param {function} [options.promise] - Custom promise module to use instead
7070
* of native Promises.
71-
* @param {string} [options.servicePath] - The domain name of the
71+
* @param {string} [options.apiEndpoint] - The domain name of the
7272
* API remote host.
7373
*/
7474
constructor(opts) {

packages/google-cloud-dialogflow/src/v2beta1/documents_client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class DocumentsClient {
5252
* your project ID will be detected automatically.
5353
* @param {function} [options.promise] - Custom promise module to use instead
5454
* of native Promises.
55-
* @param {string} [options.servicePath] - The domain name of the
55+
* @param {string} [options.apiEndpoint] - The domain name of the
5656
* API remote host.
5757
*/
5858
constructor(opts) {

packages/google-cloud-dialogflow/src/v2beta1/entity_types_client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ class EntityTypesClient {
7979
* your project ID will be detected automatically.
8080
* @param {function} [options.promise] - Custom promise module to use instead
8181
* of native Promises.
82-
* @param {string} [options.servicePath] - The domain name of the
82+
* @param {string} [options.apiEndpoint] - The domain name of the
8383
* API remote host.
8484
*/
8585
constructor(opts) {

0 commit comments

Comments
 (0)