diff --git a/linkinator.config.json b/linkinator.config.json
index 29a223b..0121dfa 100644
--- a/linkinator.config.json
+++ b/linkinator.config.json
@@ -6,5 +6,5 @@
"img.shields.io"
],
"silent": true,
- "concurrency": 10
+ "concurrency": 5
}
diff --git a/samples/generated/v1/contact_center_insights.calculate_issue_model_stats.js b/samples/generated/v1/contact_center_insights.calculate_issue_model_stats.js
index 3a40b91..6ddba7a 100644
--- a/samples/generated/v1/contact_center_insights.calculate_issue_model_stats.js
+++ b/samples/generated/v1/contact_center_insights.calculate_issue_model_stats.js
@@ -31,7 +31,7 @@ function main(issueModel) {
// Instantiates a client
const contactcenterinsightsClient = new ContactCenterInsightsClient();
- async function calculateIssueModelStats() {
+ async function callCalculateIssueModelStats() {
// Construct request
const request = {
issueModel,
@@ -44,7 +44,7 @@ function main(issueModel) {
console.log(response);
}
- calculateIssueModelStats();
+ callCalculateIssueModelStats();
// [END contactcenterinsights_v1_generated_ContactCenterInsights_CalculateIssueModelStats_async]
}
diff --git a/samples/generated/v1/contact_center_insights.calculate_stats.js b/samples/generated/v1/contact_center_insights.calculate_stats.js
index 9d1761f..53c20b9 100644
--- a/samples/generated/v1/contact_center_insights.calculate_stats.js
+++ b/samples/generated/v1/contact_center_insights.calculate_stats.js
@@ -36,7 +36,7 @@ function main(location) {
// Instantiates a client
const contactcenterinsightsClient = new ContactCenterInsightsClient();
- async function calculateStats() {
+ async function callCalculateStats() {
// Construct request
const request = {
location,
@@ -47,7 +47,7 @@ function main(location) {
console.log(response);
}
- calculateStats();
+ callCalculateStats();
// [END contactcenterinsights_v1_generated_ContactCenterInsights_CalculateStats_async]
}
diff --git a/samples/generated/v1/contact_center_insights.create_analysis.js b/samples/generated/v1/contact_center_insights.create_analysis.js
index 57e6889..97dc8d9 100644
--- a/samples/generated/v1/contact_center_insights.create_analysis.js
+++ b/samples/generated/v1/contact_center_insights.create_analysis.js
@@ -26,7 +26,7 @@ function main(parent, analysis) {
/**
* Required. The analysis to create.
*/
- // const analysis = ''
+ // const analysis = {}
// Imports the Contactcenterinsights library
const {ContactCenterInsightsClient} =
@@ -35,7 +35,7 @@ function main(parent, analysis) {
// Instantiates a client
const contactcenterinsightsClient = new ContactCenterInsightsClient();
- async function createAnalysis() {
+ async function callCreateAnalysis() {
// Construct request
const request = {
parent,
@@ -50,7 +50,7 @@ function main(parent, analysis) {
console.log(response);
}
- createAnalysis();
+ callCreateAnalysis();
// [END contactcenterinsights_v1_generated_ContactCenterInsights_CreateAnalysis_async]
}
diff --git a/samples/generated/v1/contact_center_insights.create_conversation.js b/samples/generated/v1/contact_center_insights.create_conversation.js
index cd344c2..803b3b3 100644
--- a/samples/generated/v1/contact_center_insights.create_conversation.js
+++ b/samples/generated/v1/contact_center_insights.create_conversation.js
@@ -26,7 +26,7 @@ function main(parent, conversation) {
/**
* Required. The conversation resource to create.
*/
- // const conversation = ''
+ // const conversation = {}
/**
* A unique ID for the new conversation. This ID will become the final
* component of the conversation's resource name. If no ID is specified, a
@@ -43,7 +43,7 @@ function main(parent, conversation) {
// Instantiates a client
const contactcenterinsightsClient = new ContactCenterInsightsClient();
- async function createConversation() {
+ async function callCreateConversation() {
// Construct request
const request = {
parent,
@@ -57,7 +57,7 @@ function main(parent, conversation) {
console.log(response);
}
- createConversation();
+ callCreateConversation();
// [END contactcenterinsights_v1_generated_ContactCenterInsights_CreateConversation_async]
}
diff --git a/samples/generated/v1/contact_center_insights.create_issue_model.js b/samples/generated/v1/contact_center_insights.create_issue_model.js
index d9c1e12..bd2c16e 100644
--- a/samples/generated/v1/contact_center_insights.create_issue_model.js
+++ b/samples/generated/v1/contact_center_insights.create_issue_model.js
@@ -26,7 +26,7 @@ function main(parent, issueModel) {
/**
* Required. The issue model to create.
*/
- // const issueModel = ''
+ // const issueModel = {}
// Imports the Contactcenterinsights library
const {ContactCenterInsightsClient} =
@@ -35,7 +35,7 @@ function main(parent, issueModel) {
// Instantiates a client
const contactcenterinsightsClient = new ContactCenterInsightsClient();
- async function createIssueModel() {
+ async function callCreateIssueModel() {
// Construct request
const request = {
parent,
@@ -50,7 +50,7 @@ function main(parent, issueModel) {
console.log(response);
}
- createIssueModel();
+ callCreateIssueModel();
// [END contactcenterinsights_v1_generated_ContactCenterInsights_CreateIssueModel_async]
}
diff --git a/samples/generated/v1/contact_center_insights.create_phrase_matcher.js b/samples/generated/v1/contact_center_insights.create_phrase_matcher.js
index 382b94a..8bc547a 100644
--- a/samples/generated/v1/contact_center_insights.create_phrase_matcher.js
+++ b/samples/generated/v1/contact_center_insights.create_phrase_matcher.js
@@ -29,7 +29,7 @@ function main(parent, phraseMatcher) {
/**
* Required. The phrase matcher resource to create.
*/
- // const phraseMatcher = ''
+ // const phraseMatcher = {}
// Imports the Contactcenterinsights library
const {ContactCenterInsightsClient} =
@@ -38,7 +38,7 @@ function main(parent, phraseMatcher) {
// Instantiates a client
const contactcenterinsightsClient = new ContactCenterInsightsClient();
- async function createPhraseMatcher() {
+ async function callCreatePhraseMatcher() {
// Construct request
const request = {
parent,
@@ -52,7 +52,7 @@ function main(parent, phraseMatcher) {
console.log(response);
}
- createPhraseMatcher();
+ callCreatePhraseMatcher();
// [END contactcenterinsights_v1_generated_ContactCenterInsights_CreatePhraseMatcher_async]
}
diff --git a/samples/generated/v1/contact_center_insights.delete_analysis.js b/samples/generated/v1/contact_center_insights.delete_analysis.js
index 0efe8f5..0aba233 100644
--- a/samples/generated/v1/contact_center_insights.delete_analysis.js
+++ b/samples/generated/v1/contact_center_insights.delete_analysis.js
@@ -31,7 +31,7 @@ function main(name) {
// Instantiates a client
const contactcenterinsightsClient = new ContactCenterInsightsClient();
- async function deleteAnalysis() {
+ async function callDeleteAnalysis() {
// Construct request
const request = {
name,
@@ -42,7 +42,7 @@ function main(name) {
console.log(response);
}
- deleteAnalysis();
+ callDeleteAnalysis();
// [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteAnalysis_async]
}
diff --git a/samples/generated/v1/contact_center_insights.delete_conversation.js b/samples/generated/v1/contact_center_insights.delete_conversation.js
index 762fc36..357d33b 100644
--- a/samples/generated/v1/contact_center_insights.delete_conversation.js
+++ b/samples/generated/v1/contact_center_insights.delete_conversation.js
@@ -37,7 +37,7 @@ function main(name) {
// Instantiates a client
const contactcenterinsightsClient = new ContactCenterInsightsClient();
- async function deleteConversation() {
+ async function callDeleteConversation() {
// Construct request
const request = {
name,
@@ -50,7 +50,7 @@ function main(name) {
console.log(response);
}
- deleteConversation();
+ callDeleteConversation();
// [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteConversation_async]
}
diff --git a/samples/generated/v1/contact_center_insights.delete_issue_model.js b/samples/generated/v1/contact_center_insights.delete_issue_model.js
index 8412abd..f97f165 100644
--- a/samples/generated/v1/contact_center_insights.delete_issue_model.js
+++ b/samples/generated/v1/contact_center_insights.delete_issue_model.js
@@ -31,7 +31,7 @@ function main(name) {
// Instantiates a client
const contactcenterinsightsClient = new ContactCenterInsightsClient();
- async function deleteIssueModel() {
+ async function callDeleteIssueModel() {
// Construct request
const request = {
name,
@@ -45,7 +45,7 @@ function main(name) {
console.log(response);
}
- deleteIssueModel();
+ callDeleteIssueModel();
// [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteIssueModel_async]
}
diff --git a/samples/generated/v1/contact_center_insights.delete_phrase_matcher.js b/samples/generated/v1/contact_center_insights.delete_phrase_matcher.js
index 2ac67a4..344f1ec 100644
--- a/samples/generated/v1/contact_center_insights.delete_phrase_matcher.js
+++ b/samples/generated/v1/contact_center_insights.delete_phrase_matcher.js
@@ -31,7 +31,7 @@ function main(name) {
// Instantiates a client
const contactcenterinsightsClient = new ContactCenterInsightsClient();
- async function deletePhraseMatcher() {
+ async function callDeletePhraseMatcher() {
// Construct request
const request = {
name,
@@ -44,7 +44,7 @@ function main(name) {
console.log(response);
}
- deletePhraseMatcher();
+ callDeletePhraseMatcher();
// [END contactcenterinsights_v1_generated_ContactCenterInsights_DeletePhraseMatcher_async]
}
diff --git a/samples/generated/v1/contact_center_insights.deploy_issue_model.js b/samples/generated/v1/contact_center_insights.deploy_issue_model.js
index db57e43..8e350f7 100644
--- a/samples/generated/v1/contact_center_insights.deploy_issue_model.js
+++ b/samples/generated/v1/contact_center_insights.deploy_issue_model.js
@@ -31,7 +31,7 @@ function main(name) {
// Instantiates a client
const contactcenterinsightsClient = new ContactCenterInsightsClient();
- async function deployIssueModel() {
+ async function callDeployIssueModel() {
// Construct request
const request = {
name,
@@ -45,7 +45,7 @@ function main(name) {
console.log(response);
}
- deployIssueModel();
+ callDeployIssueModel();
// [END contactcenterinsights_v1_generated_ContactCenterInsights_DeployIssueModel_async]
}
diff --git a/samples/generated/v1/contact_center_insights.export_insights_data.js b/samples/generated/v1/contact_center_insights.export_insights_data.js
index d4b5b98..fb50e9f 100644
--- a/samples/generated/v1/contact_center_insights.export_insights_data.js
+++ b/samples/generated/v1/contact_center_insights.export_insights_data.js
@@ -22,7 +22,7 @@ function main(parent) {
/**
* Specified if sink is a BigQuery table.
*/
- // const bigQueryDestination = ''
+ // const bigQueryDestination = {}
/**
* Required. The parent resource to export data from.
*/
@@ -46,7 +46,7 @@ function main(parent) {
// Instantiates a client
const contactcenterinsightsClient = new ContactCenterInsightsClient();
- async function exportInsightsData() {
+ async function callExportInsightsData() {
// Construct request
const request = {
parent,
@@ -60,7 +60,7 @@ function main(parent) {
console.log(response);
}
- exportInsightsData();
+ callExportInsightsData();
// [END contactcenterinsights_v1_generated_ContactCenterInsights_ExportInsightsData_async]
}
diff --git a/samples/generated/v1/contact_center_insights.get_analysis.js b/samples/generated/v1/contact_center_insights.get_analysis.js
index 8454836..7044e00 100644
--- a/samples/generated/v1/contact_center_insights.get_analysis.js
+++ b/samples/generated/v1/contact_center_insights.get_analysis.js
@@ -31,7 +31,7 @@ function main(name) {
// Instantiates a client
const contactcenterinsightsClient = new ContactCenterInsightsClient();
- async function getAnalysis() {
+ async function callGetAnalysis() {
// Construct request
const request = {
name,
@@ -42,7 +42,7 @@ function main(name) {
console.log(response);
}
- getAnalysis();
+ callGetAnalysis();
// [END contactcenterinsights_v1_generated_ContactCenterInsights_GetAnalysis_async]
}
diff --git a/samples/generated/v1/contact_center_insights.get_conversation.js b/samples/generated/v1/contact_center_insights.get_conversation.js
index 653617d..09d5dab 100644
--- a/samples/generated/v1/contact_center_insights.get_conversation.js
+++ b/samples/generated/v1/contact_center_insights.get_conversation.js
@@ -26,7 +26,7 @@ function main(name) {
/**
* The level of details of the conversation. Default is `FULL`.
*/
- // const view = ''
+ // const view = {}
// Imports the Contactcenterinsights library
const {ContactCenterInsightsClient} =
@@ -35,7 +35,7 @@ function main(name) {
// Instantiates a client
const contactcenterinsightsClient = new ContactCenterInsightsClient();
- async function getConversation() {
+ async function callGetConversation() {
// Construct request
const request = {
name,
@@ -46,7 +46,7 @@ function main(name) {
console.log(response);
}
- getConversation();
+ callGetConversation();
// [END contactcenterinsights_v1_generated_ContactCenterInsights_GetConversation_async]
}
diff --git a/samples/generated/v1/contact_center_insights.get_issue.js b/samples/generated/v1/contact_center_insights.get_issue.js
index 6330014..7875d37 100644
--- a/samples/generated/v1/contact_center_insights.get_issue.js
+++ b/samples/generated/v1/contact_center_insights.get_issue.js
@@ -31,7 +31,7 @@ function main(name) {
// Instantiates a client
const contactcenterinsightsClient = new ContactCenterInsightsClient();
- async function getIssue() {
+ async function callGetIssue() {
// Construct request
const request = {
name,
@@ -42,7 +42,7 @@ function main(name) {
console.log(response);
}
- getIssue();
+ callGetIssue();
// [END contactcenterinsights_v1_generated_ContactCenterInsights_GetIssue_async]
}
diff --git a/samples/generated/v1/contact_center_insights.get_issue_model.js b/samples/generated/v1/contact_center_insights.get_issue_model.js
index c1a2e23..8223ff6 100644
--- a/samples/generated/v1/contact_center_insights.get_issue_model.js
+++ b/samples/generated/v1/contact_center_insights.get_issue_model.js
@@ -31,7 +31,7 @@ function main(name) {
// Instantiates a client
const contactcenterinsightsClient = new ContactCenterInsightsClient();
- async function getIssueModel() {
+ async function callGetIssueModel() {
// Construct request
const request = {
name,
@@ -42,7 +42,7 @@ function main(name) {
console.log(response);
}
- getIssueModel();
+ callGetIssueModel();
// [END contactcenterinsights_v1_generated_ContactCenterInsights_GetIssueModel_async]
}
diff --git a/samples/generated/v1/contact_center_insights.get_phrase_matcher.js b/samples/generated/v1/contact_center_insights.get_phrase_matcher.js
index f80ed66..a37aaac 100644
--- a/samples/generated/v1/contact_center_insights.get_phrase_matcher.js
+++ b/samples/generated/v1/contact_center_insights.get_phrase_matcher.js
@@ -31,7 +31,7 @@ function main(name) {
// Instantiates a client
const contactcenterinsightsClient = new ContactCenterInsightsClient();
- async function getPhraseMatcher() {
+ async function callGetPhraseMatcher() {
// Construct request
const request = {
name,
@@ -44,7 +44,7 @@ function main(name) {
console.log(response);
}
- getPhraseMatcher();
+ callGetPhraseMatcher();
// [END contactcenterinsights_v1_generated_ContactCenterInsights_GetPhraseMatcher_async]
}
diff --git a/samples/generated/v1/contact_center_insights.get_settings.js b/samples/generated/v1/contact_center_insights.get_settings.js
index 904e2ba..d7eb456 100644
--- a/samples/generated/v1/contact_center_insights.get_settings.js
+++ b/samples/generated/v1/contact_center_insights.get_settings.js
@@ -31,7 +31,7 @@ function main(name) {
// Instantiates a client
const contactcenterinsightsClient = new ContactCenterInsightsClient();
- async function getSettings() {
+ async function callGetSettings() {
// Construct request
const request = {
name,
@@ -42,7 +42,7 @@ function main(name) {
console.log(response);
}
- getSettings();
+ callGetSettings();
// [END contactcenterinsights_v1_generated_ContactCenterInsights_GetSettings_async]
}
diff --git a/samples/generated/v1/contact_center_insights.list_analyses.js b/samples/generated/v1/contact_center_insights.list_analyses.js
index af9ad5d..1788471 100644
--- a/samples/generated/v1/contact_center_insights.list_analyses.js
+++ b/samples/generated/v1/contact_center_insights.list_analyses.js
@@ -49,7 +49,7 @@ function main(parent) {
// Instantiates a client
const contactcenterinsightsClient = new ContactCenterInsightsClient();
- async function listAnalyses() {
+ async function callListAnalyses() {
// Construct request
const request = {
parent,
@@ -64,7 +64,7 @@ function main(parent) {
}
}
- listAnalyses();
+ callListAnalyses();
// [END contactcenterinsights_v1_generated_ContactCenterInsights_ListAnalyses_async]
}
diff --git a/samples/generated/v1/contact_center_insights.list_conversations.js b/samples/generated/v1/contact_center_insights.list_conversations.js
index 828094a..e869bb8 100644
--- a/samples/generated/v1/contact_center_insights.list_conversations.js
+++ b/samples/generated/v1/contact_center_insights.list_conversations.js
@@ -44,7 +44,7 @@ function main(parent) {
/**
* The level of details of the conversation. Default is `BASIC`.
*/
- // const view = ''
+ // const view = {}
// Imports the Contactcenterinsights library
const {ContactCenterInsightsClient} =
@@ -53,7 +53,7 @@ function main(parent) {
// Instantiates a client
const contactcenterinsightsClient = new ContactCenterInsightsClient();
- async function listConversations() {
+ async function callListConversations() {
// Construct request
const request = {
parent,
@@ -68,7 +68,7 @@ function main(parent) {
}
}
- listConversations();
+ callListConversations();
// [END contactcenterinsights_v1_generated_ContactCenterInsights_ListConversations_async]
}
diff --git a/samples/generated/v1/contact_center_insights.list_issue_models.js b/samples/generated/v1/contact_center_insights.list_issue_models.js
index 1d8cdae..2386e2d 100644
--- a/samples/generated/v1/contact_center_insights.list_issue_models.js
+++ b/samples/generated/v1/contact_center_insights.list_issue_models.js
@@ -31,7 +31,7 @@ function main(parent) {
// Instantiates a client
const contactcenterinsightsClient = new ContactCenterInsightsClient();
- async function listIssueModels() {
+ async function callListIssueModels() {
// Construct request
const request = {
parent,
@@ -42,7 +42,7 @@ function main(parent) {
console.log(response);
}
- listIssueModels();
+ callListIssueModels();
// [END contactcenterinsights_v1_generated_ContactCenterInsights_ListIssueModels_async]
}
diff --git a/samples/generated/v1/contact_center_insights.list_issues.js b/samples/generated/v1/contact_center_insights.list_issues.js
index 333a673..983f695 100644
--- a/samples/generated/v1/contact_center_insights.list_issues.js
+++ b/samples/generated/v1/contact_center_insights.list_issues.js
@@ -31,7 +31,7 @@ function main(parent) {
// Instantiates a client
const contactcenterinsightsClient = new ContactCenterInsightsClient();
- async function listIssues() {
+ async function callListIssues() {
// Construct request
const request = {
parent,
@@ -42,7 +42,7 @@ function main(parent) {
console.log(response);
}
- listIssues();
+ callListIssues();
// [END contactcenterinsights_v1_generated_ContactCenterInsights_ListIssues_async]
}
diff --git a/samples/generated/v1/contact_center_insights.list_phrase_matchers.js b/samples/generated/v1/contact_center_insights.list_phrase_matchers.js
index 0877971..c3c3407 100644
--- a/samples/generated/v1/contact_center_insights.list_phrase_matchers.js
+++ b/samples/generated/v1/contact_center_insights.list_phrase_matchers.js
@@ -49,7 +49,7 @@ function main(parent) {
// Instantiates a client
const contactcenterinsightsClient = new ContactCenterInsightsClient();
- async function listPhraseMatchers() {
+ async function callListPhraseMatchers() {
// Construct request
const request = {
parent,
@@ -64,7 +64,7 @@ function main(parent) {
}
}
- listPhraseMatchers();
+ callListPhraseMatchers();
// [END contactcenterinsights_v1_generated_ContactCenterInsights_ListPhraseMatchers_async]
}
diff --git a/samples/generated/v1/contact_center_insights.undeploy_issue_model.js b/samples/generated/v1/contact_center_insights.undeploy_issue_model.js
index 82fb72c..0e7db9a 100644
--- a/samples/generated/v1/contact_center_insights.undeploy_issue_model.js
+++ b/samples/generated/v1/contact_center_insights.undeploy_issue_model.js
@@ -31,7 +31,7 @@ function main(name) {
// Instantiates a client
const contactcenterinsightsClient = new ContactCenterInsightsClient();
- async function undeployIssueModel() {
+ async function callUndeployIssueModel() {
// Construct request
const request = {
name,
@@ -45,7 +45,7 @@ function main(name) {
console.log(response);
}
- undeployIssueModel();
+ callUndeployIssueModel();
// [END contactcenterinsights_v1_generated_ContactCenterInsights_UndeployIssueModel_async]
}
diff --git a/samples/generated/v1/contact_center_insights.update_conversation.js b/samples/generated/v1/contact_center_insights.update_conversation.js
index b0361a7..f76e61a 100644
--- a/samples/generated/v1/contact_center_insights.update_conversation.js
+++ b/samples/generated/v1/contact_center_insights.update_conversation.js
@@ -22,11 +22,11 @@ function main(conversation) {
/**
* Required. The new values for the conversation.
*/
- // const conversation = ''
+ // const conversation = {}
/**
* The list of fields to be updated.
*/
- // const updateMask = ''
+ // const updateMask = {}
// Imports the Contactcenterinsights library
const {ContactCenterInsightsClient} =
@@ -35,7 +35,7 @@ function main(conversation) {
// Instantiates a client
const contactcenterinsightsClient = new ContactCenterInsightsClient();
- async function updateConversation() {
+ async function callUpdateConversation() {
// Construct request
const request = {
conversation,
@@ -48,7 +48,7 @@ function main(conversation) {
console.log(response);
}
- updateConversation();
+ callUpdateConversation();
// [END contactcenterinsights_v1_generated_ContactCenterInsights_UpdateConversation_async]
}
diff --git a/samples/generated/v1/contact_center_insights.update_issue.js b/samples/generated/v1/contact_center_insights.update_issue.js
index 86e847a..572fd41 100644
--- a/samples/generated/v1/contact_center_insights.update_issue.js
+++ b/samples/generated/v1/contact_center_insights.update_issue.js
@@ -22,11 +22,11 @@ function main(issue) {
/**
* Required. The new values for the issue.
*/
- // const issue = ''
+ // const issue = {}
/**
* The list of fields to be updated.
*/
- // const updateMask = ''
+ // const updateMask = {}
// Imports the Contactcenterinsights library
const {ContactCenterInsightsClient} =
@@ -35,7 +35,7 @@ function main(issue) {
// Instantiates a client
const contactcenterinsightsClient = new ContactCenterInsightsClient();
- async function updateIssue() {
+ async function callUpdateIssue() {
// Construct request
const request = {
issue,
@@ -46,7 +46,7 @@ function main(issue) {
console.log(response);
}
- updateIssue();
+ callUpdateIssue();
// [END contactcenterinsights_v1_generated_ContactCenterInsights_UpdateIssue_async]
}
diff --git a/samples/generated/v1/contact_center_insights.update_issue_model.js b/samples/generated/v1/contact_center_insights.update_issue_model.js
index 3806112..9bd9256 100644
--- a/samples/generated/v1/contact_center_insights.update_issue_model.js
+++ b/samples/generated/v1/contact_center_insights.update_issue_model.js
@@ -22,11 +22,11 @@ function main(issueModel) {
/**
* Required. The new values for the issue model.
*/
- // const issueModel = ''
+ // const issueModel = {}
/**
* The list of fields to be updated.
*/
- // const updateMask = ''
+ // const updateMask = {}
// Imports the Contactcenterinsights library
const {ContactCenterInsightsClient} =
@@ -35,7 +35,7 @@ function main(issueModel) {
// Instantiates a client
const contactcenterinsightsClient = new ContactCenterInsightsClient();
- async function updateIssueModel() {
+ async function callUpdateIssueModel() {
// Construct request
const request = {
issueModel,
@@ -48,7 +48,7 @@ function main(issueModel) {
console.log(response);
}
- updateIssueModel();
+ callUpdateIssueModel();
// [END contactcenterinsights_v1_generated_ContactCenterInsights_UpdateIssueModel_async]
}
diff --git a/samples/generated/v1/contact_center_insights.update_phrase_matcher.js b/samples/generated/v1/contact_center_insights.update_phrase_matcher.js
index ca7baa8..f55b2ea 100644
--- a/samples/generated/v1/contact_center_insights.update_phrase_matcher.js
+++ b/samples/generated/v1/contact_center_insights.update_phrase_matcher.js
@@ -22,11 +22,11 @@ function main(phraseMatcher) {
/**
* Required. The new values for the phrase matcher.
*/
- // const phraseMatcher = ''
+ // const phraseMatcher = {}
/**
* The list of fields to be updated.
*/
- // const updateMask = ''
+ // const updateMask = {}
// Imports the Contactcenterinsights library
const {ContactCenterInsightsClient} =
@@ -35,7 +35,7 @@ function main(phraseMatcher) {
// Instantiates a client
const contactcenterinsightsClient = new ContactCenterInsightsClient();
- async function updatePhraseMatcher() {
+ async function callUpdatePhraseMatcher() {
// Construct request
const request = {
phraseMatcher,
@@ -48,7 +48,7 @@ function main(phraseMatcher) {
console.log(response);
}
- updatePhraseMatcher();
+ callUpdatePhraseMatcher();
// [END contactcenterinsights_v1_generated_ContactCenterInsights_UpdatePhraseMatcher_async]
}
diff --git a/samples/generated/v1/contact_center_insights.update_settings.js b/samples/generated/v1/contact_center_insights.update_settings.js
index 0e34414..7ad4c51 100644
--- a/samples/generated/v1/contact_center_insights.update_settings.js
+++ b/samples/generated/v1/contact_center_insights.update_settings.js
@@ -22,11 +22,11 @@ function main(settings, updateMask) {
/**
* Required. The new settings values.
*/
- // const settings = ''
+ // const settings = {}
/**
* Required. The list of fields to be updated.
*/
- // const updateMask = ''
+ // const updateMask = {}
// Imports the Contactcenterinsights library
const {ContactCenterInsightsClient} =
@@ -35,7 +35,7 @@ function main(settings, updateMask) {
// Instantiates a client
const contactcenterinsightsClient = new ContactCenterInsightsClient();
- async function updateSettings() {
+ async function callUpdateSettings() {
// Construct request
const request = {
settings,
@@ -47,7 +47,7 @@ function main(settings, updateMask) {
console.log(response);
}
- updateSettings();
+ callUpdateSettings();
// [END contactcenterinsights_v1_generated_ContactCenterInsights_UpdateSettings_async]
}
diff --git a/src/v1/contact_center_insights_client.ts b/src/v1/contact_center_insights_client.ts
index e528a0a..5e0ffce 100644
--- a/src/v1/contact_center_insights_client.ts
+++ b/src/v1/contact_center_insights_client.ts
@@ -458,6 +458,32 @@ export class ContactCenterInsightsClient {
// -------------------
// -- Service calls --
// -------------------
+ /**
+ * Creates a conversation.
+ *
+ * @param {Object} request
+ * The request object that will be sent.
+ * @param {string} request.parent
+ * Required. The parent resource of the conversation.
+ * @param {google.cloud.contactcenterinsights.v1.Conversation} request.conversation
+ * Required. The conversation resource to create.
+ * @param {string} request.conversationId
+ * A unique ID for the new conversation. This ID will become the final
+ * component of the conversation's resource name. If no ID is specified, a
+ * server-generated ID will be used.
+ *
+ * This value should be 4-32 characters and must match the regular
+ * expression /^{@link 0-9|a-z0-9-]{4,32}$/. Valid characters are /[a-z}-/
+ * @param {object} [options]
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
+ * @returns {Promise} - The promise which resolves to an array.
+ * The first element of the array is an object representing [Conversation]{@link google.cloud.contactcenterinsights.v1.Conversation}.
+ * Please see the
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
+ * for more details and examples.
+ * @example
include:samples/generated/v1/contact_center_insights.create_conversation.js
+ * region_tag:contactcenterinsights_v1_generated_ContactCenterInsights_CreateConversation_async
+ */
createConversation(
request?: protos.google.cloud.contactcenterinsights.v1.ICreateConversationRequest,
options?: CallOptions
@@ -492,32 +518,6 @@ export class ContactCenterInsightsClient {
{} | null | undefined
>
): void;
- /**
- * Creates a conversation.
- *
- * @param {Object} request
- * The request object that will be sent.
- * @param {string} request.parent
- * Required. The parent resource of the conversation.
- * @param {google.cloud.contactcenterinsights.v1.Conversation} request.conversation
- * Required. The conversation resource to create.
- * @param {string} request.conversationId
- * A unique ID for the new conversation. This ID will become the final
- * component of the conversation's resource name. If no ID is specified, a
- * server-generated ID will be used.
- *
- * This value should be 4-32 characters and must match the regular
- * expression /^{@link 0-9|a-z0-9-]{4,32}$/. Valid characters are /[a-z}-/
- * @param {object} [options]
- * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
- * @returns {Promise} - The promise which resolves to an array.
- * The first element of the array is an object representing [Conversation]{@link google.cloud.contactcenterinsights.v1.Conversation}.
- * Please see the
- * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
- * for more details and examples.
- * @example
- * const [response] = await client.createConversation(request);
- */
createConversation(
request?: protos.google.cloud.contactcenterinsights.v1.ICreateConversationRequest,
optionsOrCallback?:
@@ -564,6 +564,25 @@ export class ContactCenterInsightsClient {
this.initialize();
return this.innerApiCalls.createConversation(request, options, callback);
}
+ /**
+ * Updates a conversation.
+ *
+ * @param {Object} request
+ * The request object that will be sent.
+ * @param {google.cloud.contactcenterinsights.v1.Conversation} request.conversation
+ * Required. The new values for the conversation.
+ * @param {google.protobuf.FieldMask} request.updateMask
+ * The list of fields to be updated.
+ * @param {object} [options]
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
+ * @returns {Promise} - The promise which resolves to an array.
+ * The first element of the array is an object representing [Conversation]{@link google.cloud.contactcenterinsights.v1.Conversation}.
+ * Please see the
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
+ * for more details and examples.
+ * @example include:samples/generated/v1/contact_center_insights.update_conversation.js
+ * region_tag:contactcenterinsights_v1_generated_ContactCenterInsights_UpdateConversation_async
+ */
updateConversation(
request?: protos.google.cloud.contactcenterinsights.v1.IUpdateConversationRequest,
options?: CallOptions
@@ -598,25 +617,6 @@ export class ContactCenterInsightsClient {
{} | null | undefined
>
): void;
- /**
- * Updates a conversation.
- *
- * @param {Object} request
- * The request object that will be sent.
- * @param {google.cloud.contactcenterinsights.v1.Conversation} request.conversation
- * Required. The new values for the conversation.
- * @param {google.protobuf.FieldMask} request.updateMask
- * The list of fields to be updated.
- * @param {object} [options]
- * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
- * @returns {Promise} - The promise which resolves to an array.
- * The first element of the array is an object representing [Conversation]{@link google.cloud.contactcenterinsights.v1.Conversation}.
- * Please see the
- * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
- * for more details and examples.
- * @example
- * const [response] = await client.updateConversation(request);
- */
updateConversation(
request?: protos.google.cloud.contactcenterinsights.v1.IUpdateConversationRequest,
optionsOrCallback?:
@@ -663,6 +663,25 @@ export class ContactCenterInsightsClient {
this.initialize();
return this.innerApiCalls.updateConversation(request, options, callback);
}
+ /**
+ * Gets a conversation.
+ *
+ * @param {Object} request
+ * The request object that will be sent.
+ * @param {string} request.name
+ * Required. The name of the conversation to get.
+ * @param {google.cloud.contactcenterinsights.v1.ConversationView} request.view
+ * The level of details of the conversation. Default is `FULL`.
+ * @param {object} [options]
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
+ * @returns {Promise} - The promise which resolves to an array.
+ * The first element of the array is an object representing [Conversation]{@link google.cloud.contactcenterinsights.v1.Conversation}.
+ * Please see the
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
+ * for more details and examples.
+ * @example include:samples/generated/v1/contact_center_insights.get_conversation.js
+ * region_tag:contactcenterinsights_v1_generated_ContactCenterInsights_GetConversation_async
+ */
getConversation(
request?: protos.google.cloud.contactcenterinsights.v1.IGetConversationRequest,
options?: CallOptions
@@ -697,25 +716,6 @@ export class ContactCenterInsightsClient {
{} | null | undefined
>
): void;
- /**
- * Gets a conversation.
- *
- * @param {Object} request
- * The request object that will be sent.
- * @param {string} request.name
- * Required. The name of the conversation to get.
- * @param {google.cloud.contactcenterinsights.v1.ConversationView} request.view
- * The level of details of the conversation. Default is `FULL`.
- * @param {object} [options]
- * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
- * @returns {Promise} - The promise which resolves to an array.
- * The first element of the array is an object representing [Conversation]{@link google.cloud.contactcenterinsights.v1.Conversation}.
- * Please see the
- * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
- * for more details and examples.
- * @example
- * const [response] = await client.getConversation(request);
- */
getConversation(
request?: protos.google.cloud.contactcenterinsights.v1.IGetConversationRequest,
optionsOrCallback?:
@@ -762,6 +762,27 @@ export class ContactCenterInsightsClient {
this.initialize();
return this.innerApiCalls.getConversation(request, options, callback);
}
+ /**
+ * Deletes a conversation.
+ *
+ * @param {Object} request
+ * The request object that will be sent.
+ * @param {string} request.name
+ * Required. The name of the conversation to delete.
+ * @param {boolean} request.force
+ * If set to true, all of this conversation's analyses will also be deleted.
+ * Otherwise, the request will only succeed if the conversation has no
+ * analyses.
+ * @param {object} [options]
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
+ * @returns {Promise} - The promise which resolves to an array.
+ * The first element of the array is an object representing [Empty]{@link google.protobuf.Empty}.
+ * Please see the
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
+ * for more details and examples.
+ * @example include:samples/generated/v1/contact_center_insights.delete_conversation.js
+ * region_tag:contactcenterinsights_v1_generated_ContactCenterInsights_DeleteConversation_async
+ */
deleteConversation(
request?: protos.google.cloud.contactcenterinsights.v1.IDeleteConversationRequest,
options?: CallOptions
@@ -796,27 +817,6 @@ export class ContactCenterInsightsClient {
{} | null | undefined
>
): void;
- /**
- * Deletes a conversation.
- *
- * @param {Object} request
- * The request object that will be sent.
- * @param {string} request.name
- * Required. The name of the conversation to delete.
- * @param {boolean} request.force
- * If set to true, all of this conversation's analyses will also be deleted.
- * Otherwise, the request will only succeed if the conversation has no
- * analyses.
- * @param {object} [options]
- * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
- * @returns {Promise} - The promise which resolves to an array.
- * The first element of the array is an object representing [Empty]{@link google.protobuf.Empty}.
- * Please see the
- * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
- * for more details and examples.
- * @example
- * const [response] = await client.deleteConversation(request);
- */
deleteConversation(
request?: protos.google.cloud.contactcenterinsights.v1.IDeleteConversationRequest,
optionsOrCallback?:
@@ -863,6 +863,23 @@ export class ContactCenterInsightsClient {
this.initialize();
return this.innerApiCalls.deleteConversation(request, options, callback);
}
+ /**
+ * Gets an analysis.
+ *
+ * @param {Object} request
+ * The request object that will be sent.
+ * @param {string} request.name
+ * Required. The name of the analysis to get.
+ * @param {object} [options]
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
+ * @returns {Promise} - The promise which resolves to an array.
+ * The first element of the array is an object representing [Analysis]{@link google.cloud.contactcenterinsights.v1.Analysis}.
+ * Please see the
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
+ * for more details and examples.
+ * @example include:samples/generated/v1/contact_center_insights.get_analysis.js
+ * region_tag:contactcenterinsights_v1_generated_ContactCenterInsights_GetAnalysis_async
+ */
getAnalysis(
request?: protos.google.cloud.contactcenterinsights.v1.IGetAnalysisRequest,
options?: CallOptions
@@ -897,23 +914,6 @@ export class ContactCenterInsightsClient {
{} | null | undefined
>
): void;
- /**
- * Gets an analysis.
- *
- * @param {Object} request
- * The request object that will be sent.
- * @param {string} request.name
- * Required. The name of the analysis to get.
- * @param {object} [options]
- * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
- * @returns {Promise} - The promise which resolves to an array.
- * The first element of the array is an object representing [Analysis]{@link google.cloud.contactcenterinsights.v1.Analysis}.
- * Please see the
- * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
- * for more details and examples.
- * @example
- * const [response] = await client.getAnalysis(request);
- */
getAnalysis(
request?: protos.google.cloud.contactcenterinsights.v1.IGetAnalysisRequest,
optionsOrCallback?:
@@ -960,6 +960,23 @@ export class ContactCenterInsightsClient {
this.initialize();
return this.innerApiCalls.getAnalysis(request, options, callback);
}
+ /**
+ * Deletes an analysis.
+ *
+ * @param {Object} request
+ * The request object that will be sent.
+ * @param {string} request.name
+ * Required. The name of the analysis to delete.
+ * @param {object} [options]
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
+ * @returns {Promise} - The promise which resolves to an array.
+ * The first element of the array is an object representing [Empty]{@link google.protobuf.Empty}.
+ * Please see the
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
+ * for more details and examples.
+ * @example include:samples/generated/v1/contact_center_insights.delete_analysis.js
+ * region_tag:contactcenterinsights_v1_generated_ContactCenterInsights_DeleteAnalysis_async
+ */
deleteAnalysis(
request?: protos.google.cloud.contactcenterinsights.v1.IDeleteAnalysisRequest,
options?: CallOptions
@@ -994,23 +1011,6 @@ export class ContactCenterInsightsClient {
{} | null | undefined
>
): void;
- /**
- * Deletes an analysis.
- *
- * @param {Object} request
- * The request object that will be sent.
- * @param {string} request.name
- * Required. The name of the analysis to delete.
- * @param {object} [options]
- * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
- * @returns {Promise} - The promise which resolves to an array.
- * The first element of the array is an object representing [Empty]{@link google.protobuf.Empty}.
- * Please see the
- * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
- * for more details and examples.
- * @example
- * const [response] = await client.deleteAnalysis(request);
- */
deleteAnalysis(
request?: protos.google.cloud.contactcenterinsights.v1.IDeleteAnalysisRequest,
optionsOrCallback?:
@@ -1057,6 +1057,25 @@ export class ContactCenterInsightsClient {
this.initialize();
return this.innerApiCalls.deleteAnalysis(request, options, callback);
}
+ /**
+ * Updates an issue model.
+ *
+ * @param {Object} request
+ * The request object that will be sent.
+ * @param {google.cloud.contactcenterinsights.v1.IssueModel} request.issueModel
+ * Required. The new values for the issue model.
+ * @param {google.protobuf.FieldMask} request.updateMask
+ * The list of fields to be updated.
+ * @param {object} [options]
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
+ * @returns {Promise} - The promise which resolves to an array.
+ * The first element of the array is an object representing [IssueModel]{@link google.cloud.contactcenterinsights.v1.IssueModel}.
+ * Please see the
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
+ * for more details and examples.
+ * @example include:samples/generated/v1/contact_center_insights.update_issue_model.js
+ * region_tag:contactcenterinsights_v1_generated_ContactCenterInsights_UpdateIssueModel_async
+ */
updateIssueModel(
request?: protos.google.cloud.contactcenterinsights.v1.IUpdateIssueModelRequest,
options?: CallOptions
@@ -1091,25 +1110,6 @@ export class ContactCenterInsightsClient {
{} | null | undefined
>
): void;
- /**
- * Updates an issue model.
- *
- * @param {Object} request
- * The request object that will be sent.
- * @param {google.cloud.contactcenterinsights.v1.IssueModel} request.issueModel
- * Required. The new values for the issue model.
- * @param {google.protobuf.FieldMask} request.updateMask
- * The list of fields to be updated.
- * @param {object} [options]
- * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
- * @returns {Promise} - The promise which resolves to an array.
- * The first element of the array is an object representing [IssueModel]{@link google.cloud.contactcenterinsights.v1.IssueModel}.
- * Please see the
- * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
- * for more details and examples.
- * @example
- * const [response] = await client.updateIssueModel(request);
- */
updateIssueModel(
request?: protos.google.cloud.contactcenterinsights.v1.IUpdateIssueModelRequest,
optionsOrCallback?:
@@ -1156,6 +1156,23 @@ export class ContactCenterInsightsClient {
this.initialize();
return this.innerApiCalls.updateIssueModel(request, options, callback);
}
+ /**
+ * Gets an issue model.
+ *
+ * @param {Object} request
+ * The request object that will be sent.
+ * @param {string} request.name
+ * Required. The name of the issue model to get.
+ * @param {object} [options]
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
+ * @returns {Promise} - The promise which resolves to an array.
+ * The first element of the array is an object representing [IssueModel]{@link google.cloud.contactcenterinsights.v1.IssueModel}.
+ * Please see the
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
+ * for more details and examples.
+ * @example include:samples/generated/v1/contact_center_insights.get_issue_model.js
+ * region_tag:contactcenterinsights_v1_generated_ContactCenterInsights_GetIssueModel_async
+ */
getIssueModel(
request?: protos.google.cloud.contactcenterinsights.v1.IGetIssueModelRequest,
options?: CallOptions
@@ -1190,23 +1207,6 @@ export class ContactCenterInsightsClient {
{} | null | undefined
>
): void;
- /**
- * Gets an issue model.
- *
- * @param {Object} request
- * The request object that will be sent.
- * @param {string} request.name
- * Required. The name of the issue model to get.
- * @param {object} [options]
- * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
- * @returns {Promise} - The promise which resolves to an array.
- * The first element of the array is an object representing [IssueModel]{@link google.cloud.contactcenterinsights.v1.IssueModel}.
- * Please see the
- * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
- * for more details and examples.
- * @example
- * const [response] = await client.getIssueModel(request);
- */
getIssueModel(
request?: protos.google.cloud.contactcenterinsights.v1.IGetIssueModelRequest,
optionsOrCallback?:
@@ -1253,6 +1253,23 @@ export class ContactCenterInsightsClient {
this.initialize();
return this.innerApiCalls.getIssueModel(request, options, callback);
}
+ /**
+ * Lists issue models.
+ *
+ * @param {Object} request
+ * The request object that will be sent.
+ * @param {string} request.parent
+ * Required. The parent resource of the issue model.
+ * @param {object} [options]
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
+ * @returns {Promise} - The promise which resolves to an array.
+ * The first element of the array is an object representing [ListIssueModelsResponse]{@link google.cloud.contactcenterinsights.v1.ListIssueModelsResponse}.
+ * Please see the
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
+ * for more details and examples.
+ * @example include:samples/generated/v1/contact_center_insights.list_issue_models.js
+ * region_tag:contactcenterinsights_v1_generated_ContactCenterInsights_ListIssueModels_async
+ */
listIssueModels(
request?: protos.google.cloud.contactcenterinsights.v1.IListIssueModelsRequest,
options?: CallOptions
@@ -1287,23 +1304,6 @@ export class ContactCenterInsightsClient {
{} | null | undefined
>
): void;
- /**
- * Lists issue models.
- *
- * @param {Object} request
- * The request object that will be sent.
- * @param {string} request.parent
- * Required. The parent resource of the issue model.
- * @param {object} [options]
- * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
- * @returns {Promise} - The promise which resolves to an array.
- * The first element of the array is an object representing [ListIssueModelsResponse]{@link google.cloud.contactcenterinsights.v1.ListIssueModelsResponse}.
- * Please see the
- * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
- * for more details and examples.
- * @example
- * const [response] = await client.listIssueModels(request);
- */
listIssueModels(
request?: protos.google.cloud.contactcenterinsights.v1.IListIssueModelsRequest,
optionsOrCallback?:
@@ -1350,6 +1350,23 @@ export class ContactCenterInsightsClient {
this.initialize();
return this.innerApiCalls.listIssueModels(request, options, callback);
}
+ /**
+ * Gets an issue.
+ *
+ * @param {Object} request
+ * The request object that will be sent.
+ * @param {string} request.name
+ * Required. The name of the issue to get.
+ * @param {object} [options]
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
+ * @returns {Promise} - The promise which resolves to an array.
+ * The first element of the array is an object representing [Issue]{@link google.cloud.contactcenterinsights.v1.Issue}.
+ * Please see the
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
+ * for more details and examples.
+ * @example include:samples/generated/v1/contact_center_insights.get_issue.js
+ * region_tag:contactcenterinsights_v1_generated_ContactCenterInsights_GetIssue_async
+ */
getIssue(
request?: protos.google.cloud.contactcenterinsights.v1.IGetIssueRequest,
options?: CallOptions
@@ -1381,23 +1398,6 @@ export class ContactCenterInsightsClient {
{} | null | undefined
>
): void;
- /**
- * Gets an issue.
- *
- * @param {Object} request
- * The request object that will be sent.
- * @param {string} request.name
- * Required. The name of the issue to get.
- * @param {object} [options]
- * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
- * @returns {Promise} - The promise which resolves to an array.
- * The first element of the array is an object representing [Issue]{@link google.cloud.contactcenterinsights.v1.Issue}.
- * Please see the
- * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
- * for more details and examples.
- * @example
- * const [response] = await client.getIssue(request);
- */
getIssue(
request?: protos.google.cloud.contactcenterinsights.v1.IGetIssueRequest,
optionsOrCallback?:
@@ -1441,6 +1441,23 @@ export class ContactCenterInsightsClient {
this.initialize();
return this.innerApiCalls.getIssue(request, options, callback);
}
+ /**
+ * Lists issues.
+ *
+ * @param {Object} request
+ * The request object that will be sent.
+ * @param {string} request.parent
+ * Required. The parent resource of the issue.
+ * @param {object} [options]
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
+ * @returns {Promise} - The promise which resolves to an array.
+ * The first element of the array is an object representing [ListIssuesResponse]{@link google.cloud.contactcenterinsights.v1.ListIssuesResponse}.
+ * Please see the
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
+ * for more details and examples.
+ * @example include:samples/generated/v1/contact_center_insights.list_issues.js
+ * region_tag:contactcenterinsights_v1_generated_ContactCenterInsights_ListIssues_async
+ */
listIssues(
request?: protos.google.cloud.contactcenterinsights.v1.IListIssuesRequest,
options?: CallOptions
@@ -1475,23 +1492,6 @@ export class ContactCenterInsightsClient {
{} | null | undefined
>
): void;
- /**
- * Lists issues.
- *
- * @param {Object} request
- * The request object that will be sent.
- * @param {string} request.parent
- * Required. The parent resource of the issue.
- * @param {object} [options]
- * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
- * @returns {Promise} - The promise which resolves to an array.
- * The first element of the array is an object representing [ListIssuesResponse]{@link google.cloud.contactcenterinsights.v1.ListIssuesResponse}.
- * Please see the
- * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
- * for more details and examples.
- * @example
- * const [response] = await client.listIssues(request);
- */
listIssues(
request?: protos.google.cloud.contactcenterinsights.v1.IListIssuesRequest,
optionsOrCallback?:
@@ -1538,6 +1538,25 @@ export class ContactCenterInsightsClient {
this.initialize();
return this.innerApiCalls.listIssues(request, options, callback);
}
+ /**
+ * Updates an issue.
+ *
+ * @param {Object} request
+ * The request object that will be sent.
+ * @param {google.cloud.contactcenterinsights.v1.Issue} request.issue
+ * Required. The new values for the issue.
+ * @param {google.protobuf.FieldMask} request.updateMask
+ * The list of fields to be updated.
+ * @param {object} [options]
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
+ * @returns {Promise} - The promise which resolves to an array.
+ * The first element of the array is an object representing [Issue]{@link google.cloud.contactcenterinsights.v1.Issue}.
+ * Please see the
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
+ * for more details and examples.
+ * @example include:samples/generated/v1/contact_center_insights.update_issue.js
+ * region_tag:contactcenterinsights_v1_generated_ContactCenterInsights_UpdateIssue_async
+ */
updateIssue(
request?: protos.google.cloud.contactcenterinsights.v1.IUpdateIssueRequest,
options?: CallOptions
@@ -1572,25 +1591,6 @@ export class ContactCenterInsightsClient {
{} | null | undefined
>
): void;
- /**
- * Updates an issue.
- *
- * @param {Object} request
- * The request object that will be sent.
- * @param {google.cloud.contactcenterinsights.v1.Issue} request.issue
- * Required. The new values for the issue.
- * @param {google.protobuf.FieldMask} request.updateMask
- * The list of fields to be updated.
- * @param {object} [options]
- * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
- * @returns {Promise} - The promise which resolves to an array.
- * The first element of the array is an object representing [Issue]{@link google.cloud.contactcenterinsights.v1.Issue}.
- * Please see the
- * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
- * for more details and examples.
- * @example
- * const [response] = await client.updateIssue(request);
- */
updateIssue(
request?: protos.google.cloud.contactcenterinsights.v1.IUpdateIssueRequest,
optionsOrCallback?:
@@ -1637,6 +1637,23 @@ export class ContactCenterInsightsClient {
this.initialize();
return this.innerApiCalls.updateIssue(request, options, callback);
}
+ /**
+ * Gets an issue model's statistics.
+ *
+ * @param {Object} request
+ * The request object that will be sent.
+ * @param {string} request.issueModel
+ * Required. The resource name of the issue model to query against.
+ * @param {object} [options]
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
+ * @returns {Promise} - The promise which resolves to an array.
+ * The first element of the array is an object representing [CalculateIssueModelStatsResponse]{@link google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse}.
+ * Please see the
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
+ * for more details and examples.
+ * @example include:samples/generated/v1/contact_center_insights.calculate_issue_model_stats.js
+ * region_tag:contactcenterinsights_v1_generated_ContactCenterInsights_CalculateIssueModelStats_async
+ */
calculateIssueModelStats(
request?: protos.google.cloud.contactcenterinsights.v1.ICalculateIssueModelStatsRequest,
options?: CallOptions
@@ -1671,23 +1688,6 @@ export class ContactCenterInsightsClient {
{} | null | undefined
>
): void;
- /**
- * Gets an issue model's statistics.
- *
- * @param {Object} request
- * The request object that will be sent.
- * @param {string} request.issueModel
- * Required. The resource name of the issue model to query against.
- * @param {object} [options]
- * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
- * @returns {Promise} - The promise which resolves to an array.
- * The first element of the array is an object representing [CalculateIssueModelStatsResponse]{@link google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse}.
- * Please see the
- * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
- * for more details and examples.
- * @example
- * const [response] = await client.calculateIssueModelStats(request);
- */
calculateIssueModelStats(
request?: protos.google.cloud.contactcenterinsights.v1.ICalculateIssueModelStatsRequest,
optionsOrCallback?:
@@ -1738,6 +1738,28 @@ export class ContactCenterInsightsClient {
callback
);
}
+ /**
+ * Creates a phrase matcher.
+ *
+ * @param {Object} request
+ * The request object that will be sent.
+ * @param {string} request.parent
+ * Required. The parent resource of the phrase matcher. Required. The location
+ * to create a phrase matcher for. Format: `projects//locations/` or `projects//locations/`
+ * @param {google.cloud.contactcenterinsights.v1.PhraseMatcher} request.phraseMatcher
+ * Required. The phrase matcher resource to create.
+ * @param {object} [options]
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
+ * @returns {Promise} - The promise which resolves to an array.
+ * The first element of the array is an object representing [PhraseMatcher]{@link google.cloud.contactcenterinsights.v1.PhraseMatcher}.
+ * Please see the
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
+ * for more details and examples.
+ * @example include:samples/generated/v1/contact_center_insights.create_phrase_matcher.js
+ * region_tag:contactcenterinsights_v1_generated_ContactCenterInsights_CreatePhraseMatcher_async
+ */
createPhraseMatcher(
request?: protos.google.cloud.contactcenterinsights.v1.ICreatePhraseMatcherRequest,
options?: CallOptions
@@ -1772,28 +1794,6 @@ export class ContactCenterInsightsClient {
{} | null | undefined
>
): void;
- /**
- * Creates a phrase matcher.
- *
- * @param {Object} request
- * The request object that will be sent.
- * @param {string} request.parent
- * Required. The parent resource of the phrase matcher. Required. The location
- * to create a phrase matcher for. Format: `projects//locations/` or `projects//locations/`
- * @param {google.cloud.contactcenterinsights.v1.PhraseMatcher} request.phraseMatcher
- * Required. The phrase matcher resource to create.
- * @param {object} [options]
- * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
- * @returns {Promise} - The promise which resolves to an array.
- * The first element of the array is an object representing [PhraseMatcher]{@link google.cloud.contactcenterinsights.v1.PhraseMatcher}.
- * Please see the
- * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
- * for more details and examples.
- * @example
- * const [response] = await client.createPhraseMatcher(request);
- */
createPhraseMatcher(
request?: protos.google.cloud.contactcenterinsights.v1.ICreatePhraseMatcherRequest,
optionsOrCallback?:
@@ -1840,6 +1840,23 @@ export class ContactCenterInsightsClient {
this.initialize();
return this.innerApiCalls.createPhraseMatcher(request, options, callback);
}
+ /**
+ * Gets a phrase matcher.
+ *
+ * @param {Object} request
+ * The request object that will be sent.
+ * @param {string} request.name
+ * Required. The name of the phrase matcher to get.
+ * @param {object} [options]
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
+ * @returns {Promise} - The promise which resolves to an array.
+ * The first element of the array is an object representing [PhraseMatcher]{@link google.cloud.contactcenterinsights.v1.PhraseMatcher}.
+ * Please see the
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
+ * for more details and examples.
+ * @example include:samples/generated/v1/contact_center_insights.get_phrase_matcher.js
+ * region_tag:contactcenterinsights_v1_generated_ContactCenterInsights_GetPhraseMatcher_async
+ */
getPhraseMatcher(
request?: protos.google.cloud.contactcenterinsights.v1.IGetPhraseMatcherRequest,
options?: CallOptions
@@ -1874,23 +1891,6 @@ export class ContactCenterInsightsClient {
{} | null | undefined
>
): void;
- /**
- * Gets a phrase matcher.
- *
- * @param {Object} request
- * The request object that will be sent.
- * @param {string} request.name
- * Required. The name of the phrase matcher to get.
- * @param {object} [options]
- * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
- * @returns {Promise} - The promise which resolves to an array.
- * The first element of the array is an object representing [PhraseMatcher]{@link google.cloud.contactcenterinsights.v1.PhraseMatcher}.
- * Please see the
- * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
- * for more details and examples.
- * @example
- * const [response] = await client.getPhraseMatcher(request);
- */
getPhraseMatcher(
request?: protos.google.cloud.contactcenterinsights.v1.IGetPhraseMatcherRequest,
optionsOrCallback?:
@@ -1937,6 +1937,23 @@ export class ContactCenterInsightsClient {
this.initialize();
return this.innerApiCalls.getPhraseMatcher(request, options, callback);
}
+ /**
+ * Deletes a phrase matcher.
+ *
+ * @param {Object} request
+ * The request object that will be sent.
+ * @param {string} request.name
+ * Required. The name of the phrase matcher to delete.
+ * @param {object} [options]
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
+ * @returns {Promise} - The promise which resolves to an array.
+ * The first element of the array is an object representing [Empty]{@link google.protobuf.Empty}.
+ * Please see the
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
+ * for more details and examples.
+ * @example include:samples/generated/v1/contact_center_insights.delete_phrase_matcher.js
+ * region_tag:contactcenterinsights_v1_generated_ContactCenterInsights_DeletePhraseMatcher_async
+ */
deletePhraseMatcher(
request?: protos.google.cloud.contactcenterinsights.v1.IDeletePhraseMatcherRequest,
options?: CallOptions
@@ -1971,23 +1988,6 @@ export class ContactCenterInsightsClient {
{} | null | undefined
>
): void;
- /**
- * Deletes a phrase matcher.
- *
- * @param {Object} request
- * The request object that will be sent.
- * @param {string} request.name
- * Required. The name of the phrase matcher to delete.
- * @param {object} [options]
- * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
- * @returns {Promise} - The promise which resolves to an array.
- * The first element of the array is an object representing [Empty]{@link google.protobuf.Empty}.
- * Please see the
- * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
- * for more details and examples.
- * @example
- * const [response] = await client.deletePhraseMatcher(request);
- */
deletePhraseMatcher(
request?: protos.google.cloud.contactcenterinsights.v1.IDeletePhraseMatcherRequest,
optionsOrCallback?:
@@ -2034,6 +2034,25 @@ export class ContactCenterInsightsClient {
this.initialize();
return this.innerApiCalls.deletePhraseMatcher(request, options, callback);
}
+ /**
+ * Updates a phrase matcher.
+ *
+ * @param {Object} request
+ * The request object that will be sent.
+ * @param {google.cloud.contactcenterinsights.v1.PhraseMatcher} request.phraseMatcher
+ * Required. The new values for the phrase matcher.
+ * @param {google.protobuf.FieldMask} request.updateMask
+ * The list of fields to be updated.
+ * @param {object} [options]
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
+ * @returns {Promise} - The promise which resolves to an array.
+ * The first element of the array is an object representing [PhraseMatcher]{@link google.cloud.contactcenterinsights.v1.PhraseMatcher}.
+ * Please see the
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
+ * for more details and examples.
+ * @example include:samples/generated/v1/contact_center_insights.update_phrase_matcher.js
+ * region_tag:contactcenterinsights_v1_generated_ContactCenterInsights_UpdatePhraseMatcher_async
+ */
updatePhraseMatcher(
request?: protos.google.cloud.contactcenterinsights.v1.IUpdatePhraseMatcherRequest,
options?: CallOptions
@@ -2068,25 +2087,6 @@ export class ContactCenterInsightsClient {
{} | null | undefined
>
): void;
- /**
- * Updates a phrase matcher.
- *
- * @param {Object} request
- * The request object that will be sent.
- * @param {google.cloud.contactcenterinsights.v1.PhraseMatcher} request.phraseMatcher
- * Required. The new values for the phrase matcher.
- * @param {google.protobuf.FieldMask} request.updateMask
- * The list of fields to be updated.
- * @param {object} [options]
- * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
- * @returns {Promise} - The promise which resolves to an array.
- * The first element of the array is an object representing [PhraseMatcher]{@link google.cloud.contactcenterinsights.v1.PhraseMatcher}.
- * Please see the
- * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
- * for more details and examples.
- * @example
- * const [response] = await client.updatePhraseMatcher(request);
- */
updatePhraseMatcher(
request?: protos.google.cloud.contactcenterinsights.v1.IUpdatePhraseMatcherRequest,
optionsOrCallback?:
@@ -2133,6 +2133,26 @@ export class ContactCenterInsightsClient {
this.initialize();
return this.innerApiCalls.updatePhraseMatcher(request, options, callback);
}
+ /**
+ * Gets conversation statistics.
+ *
+ * @param {Object} request
+ * The request object that will be sent.
+ * @param {string} request.location
+ * Required. The location of the conversations.
+ * @param {string} request.filter
+ * A filter to reduce results to a specific subset. This field is useful for
+ * getting statistics about conversations with specific properties.
+ * @param {object} [options]
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
+ * @returns {Promise} - The promise which resolves to an array.
+ * The first element of the array is an object representing [CalculateStatsResponse]{@link google.cloud.contactcenterinsights.v1.CalculateStatsResponse}.
+ * Please see the
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
+ * for more details and examples.
+ * @example include:samples/generated/v1/contact_center_insights.calculate_stats.js
+ * region_tag:contactcenterinsights_v1_generated_ContactCenterInsights_CalculateStats_async
+ */
calculateStats(
request?: protos.google.cloud.contactcenterinsights.v1.ICalculateStatsRequest,
options?: CallOptions
@@ -2167,26 +2187,6 @@ export class ContactCenterInsightsClient {
{} | null | undefined
>
): void;
- /**
- * Gets conversation statistics.
- *
- * @param {Object} request
- * The request object that will be sent.
- * @param {string} request.location
- * Required. The location of the conversations.
- * @param {string} request.filter
- * A filter to reduce results to a specific subset. This field is useful for
- * getting statistics about conversations with specific properties.
- * @param {object} [options]
- * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
- * @returns {Promise} - The promise which resolves to an array.
- * The first element of the array is an object representing [CalculateStatsResponse]{@link google.cloud.contactcenterinsights.v1.CalculateStatsResponse}.
- * Please see the
- * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
- * for more details and examples.
- * @example
- * const [response] = await client.calculateStats(request);
- */
calculateStats(
request?: protos.google.cloud.contactcenterinsights.v1.ICalculateStatsRequest,
optionsOrCallback?:
@@ -2233,6 +2233,23 @@ export class ContactCenterInsightsClient {
this.initialize();
return this.innerApiCalls.calculateStats(request, options, callback);
}
+ /**
+ * Gets project-level settings.
+ *
+ * @param {Object} request
+ * The request object that will be sent.
+ * @param {string} request.name
+ * Required. The name of the settings resource to get.
+ * @param {object} [options]
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
+ * @returns {Promise} - The promise which resolves to an array.
+ * The first element of the array is an object representing [Settings]{@link google.cloud.contactcenterinsights.v1.Settings}.
+ * Please see the
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
+ * for more details and examples.
+ * @example include:samples/generated/v1/contact_center_insights.get_settings.js
+ * region_tag:contactcenterinsights_v1_generated_ContactCenterInsights_GetSettings_async
+ */
getSettings(
request?: protos.google.cloud.contactcenterinsights.v1.IGetSettingsRequest,
options?: CallOptions
@@ -2267,23 +2284,6 @@ export class ContactCenterInsightsClient {
{} | null | undefined
>
): void;
- /**
- * Gets project-level settings.
- *
- * @param {Object} request
- * The request object that will be sent.
- * @param {string} request.name
- * Required. The name of the settings resource to get.
- * @param {object} [options]
- * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
- * @returns {Promise} - The promise which resolves to an array.
- * The first element of the array is an object representing [Settings]{@link google.cloud.contactcenterinsights.v1.Settings}.
- * Please see the
- * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
- * for more details and examples.
- * @example
- * const [response] = await client.getSettings(request);
- */
getSettings(
request?: protos.google.cloud.contactcenterinsights.v1.IGetSettingsRequest,
optionsOrCallback?:
@@ -2330,6 +2330,25 @@ export class ContactCenterInsightsClient {
this.initialize();
return this.innerApiCalls.getSettings(request, options, callback);
}
+ /**
+ * Updates project-level settings.
+ *
+ * @param {Object} request
+ * The request object that will be sent.
+ * @param {google.cloud.contactcenterinsights.v1.Settings} request.settings
+ * Required. The new settings values.
+ * @param {google.protobuf.FieldMask} request.updateMask
+ * Required. The list of fields to be updated.
+ * @param {object} [options]
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
+ * @returns {Promise} - The promise which resolves to an array.
+ * The first element of the array is an object representing [Settings]{@link google.cloud.contactcenterinsights.v1.Settings}.
+ * Please see the
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
+ * for more details and examples.
+ * @example include:samples/generated/v1/contact_center_insights.update_settings.js
+ * region_tag:contactcenterinsights_v1_generated_ContactCenterInsights_UpdateSettings_async
+ */
updateSettings(
request?: protos.google.cloud.contactcenterinsights.v1.IUpdateSettingsRequest,
options?: CallOptions
@@ -2364,25 +2383,6 @@ export class ContactCenterInsightsClient {
{} | null | undefined
>
): void;
- /**
- * Updates project-level settings.
- *
- * @param {Object} request
- * The request object that will be sent.
- * @param {google.cloud.contactcenterinsights.v1.Settings} request.settings
- * Required. The new settings values.
- * @param {google.protobuf.FieldMask} request.updateMask
- * Required. The list of fields to be updated.
- * @param {object} [options]
- * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
- * @returns {Promise} - The promise which resolves to an array.
- * The first element of the array is an object representing [Settings]{@link google.cloud.contactcenterinsights.v1.Settings}.
- * Please see the
- * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
- * for more details and examples.
- * @example
- * const [response] = await client.updateSettings(request);
- */
updateSettings(
request?: protos.google.cloud.contactcenterinsights.v1.IUpdateSettingsRequest,
optionsOrCallback?:
@@ -2430,6 +2430,28 @@ export class ContactCenterInsightsClient {
return this.innerApiCalls.updateSettings(request, options, callback);
}
+ /**
+ * Creates an analysis. The long running operation is done when the analysis
+ * has completed.
+ *
+ * @param {Object} request
+ * The request object that will be sent.
+ * @param {string} request.parent
+ * Required. The parent resource of the analysis.
+ * @param {google.cloud.contactcenterinsights.v1.Analysis} request.analysis
+ * Required. The analysis to create.
+ * @param {object} [options]
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
+ * @returns {Promise} - The promise which resolves to an array.
+ * The first element of the array is an object representing
+ * a long running operation. Its `promise()` method returns a promise
+ * you can `await` for.
+ * Please see the
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
+ * for more details and examples.
+ * @example include:samples/generated/v1/contact_center_insights.create_analysis.js
+ * region_tag:contactcenterinsights_v1_generated_ContactCenterInsights_CreateAnalysis_async
+ */
createAnalysis(
request?: protos.google.cloud.contactcenterinsights.v1.ICreateAnalysisRequest,
options?: CallOptions
@@ -2466,29 +2488,6 @@ export class ContactCenterInsightsClient {
{} | null | undefined
>
): void;
- /**
- * Creates an analysis. The long running operation is done when the analysis
- * has completed.
- *
- * @param {Object} request
- * The request object that will be sent.
- * @param {string} request.parent
- * Required. The parent resource of the analysis.
- * @param {google.cloud.contactcenterinsights.v1.Analysis} request.analysis
- * Required. The analysis to create.
- * @param {object} [options]
- * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
- * @returns {Promise} - The promise which resolves to an array.
- * The first element of the array is an object representing
- * a long running operation. Its `promise()` method returns a promise
- * you can `await` for.
- * Please see the
- * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
- * for more details and examples.
- * @example
- * const [operation] = await client.createAnalysis(request);
- * const [response] = await operation.promise();
- */
createAnalysis(
request?: protos.google.cloud.contactcenterinsights.v1.ICreateAnalysisRequest,
optionsOrCallback?:
@@ -2546,11 +2545,8 @@ export class ContactCenterInsightsClient {
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
* for more details and examples.
- * @example
- * const decodedOperation = await checkCreateAnalysisProgress(name);
- * console.log(decodedOperation.result);
- * console.log(decodedOperation.done);
- * console.log(decodedOperation.metadata);
+ * @example include:samples/generated/v1/contact_center_insights.create_analysis.js
+ * region_tag:contactcenterinsights_v1_generated_ContactCenterInsights_CreateAnalysis_async
*/
async checkCreateAnalysisProgress(
name: string
@@ -2574,6 +2570,34 @@ export class ContactCenterInsightsClient {
protos.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata
>;
}
+ /**
+ * Export insights data to a destination defined in the request body.
+ *
+ * @param {Object} request
+ * The request object that will be sent.
+ * @param {google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination} request.bigQueryDestination
+ * Specified if sink is a BigQuery table.
+ * @param {string} request.parent
+ * Required. The parent resource to export data from.
+ * @param {string} request.filter
+ * A filter to reduce results to a specific subset. Useful for exporting
+ * conversations with specific properties.
+ * @param {string} request.kmsKey
+ * A fully qualified KMS key name for BigQuery tables protected by CMEK.
+ * Format:
+ * projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}/cryptoKeyVersions/{version}
+ * @param {object} [options]
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
+ * @returns {Promise} - The promise which resolves to an array.
+ * The first element of the array is an object representing
+ * a long running operation. Its `promise()` method returns a promise
+ * you can `await` for.
+ * Please see the
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
+ * for more details and examples.
+ * @example include:samples/generated/v1/contact_center_insights.export_insights_data.js
+ * region_tag:contactcenterinsights_v1_generated_ContactCenterInsights_ExportInsightsData_async
+ */
exportInsightsData(
request?: protos.google.cloud.contactcenterinsights.v1.IExportInsightsDataRequest,
options?: CallOptions
@@ -2610,35 +2634,6 @@ export class ContactCenterInsightsClient {
{} | null | undefined
>
): void;
- /**
- * Export insights data to a destination defined in the request body.
- *
- * @param {Object} request
- * The request object that will be sent.
- * @param {google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination} request.bigQueryDestination
- * Specified if sink is a BigQuery table.
- * @param {string} request.parent
- * Required. The parent resource to export data from.
- * @param {string} request.filter
- * A filter to reduce results to a specific subset. Useful for exporting
- * conversations with specific properties.
- * @param {string} request.kmsKey
- * A fully qualified KMS key name for BigQuery tables protected by CMEK.
- * Format:
- * projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}/cryptoKeyVersions/{version}
- * @param {object} [options]
- * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
- * @returns {Promise} - The promise which resolves to an array.
- * The first element of the array is an object representing
- * a long running operation. Its `promise()` method returns a promise
- * you can `await` for.
- * Please see the
- * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
- * for more details and examples.
- * @example
- * const [operation] = await client.exportInsightsData(request);
- * const [response] = await operation.promise();
- */
exportInsightsData(
request?: protos.google.cloud.contactcenterinsights.v1.IExportInsightsDataRequest,
optionsOrCallback?:
@@ -2696,11 +2691,8 @@ export class ContactCenterInsightsClient {
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
* for more details and examples.
- * @example
- * const decodedOperation = await checkExportInsightsDataProgress(name);
- * console.log(decodedOperation.result);
- * console.log(decodedOperation.done);
- * console.log(decodedOperation.metadata);
+ * @example include:samples/generated/v1/contact_center_insights.export_insights_data.js
+ * region_tag:contactcenterinsights_v1_generated_ContactCenterInsights_ExportInsightsData_async
*/
async checkExportInsightsDataProgress(
name: string
@@ -2724,6 +2716,27 @@ export class ContactCenterInsightsClient {
protos.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata
>;
}
+ /**
+ * Creates an issue model.
+ *
+ * @param {Object} request
+ * The request object that will be sent.
+ * @param {string} request.parent
+ * Required. The parent resource of the issue model.
+ * @param {google.cloud.contactcenterinsights.v1.IssueModel} request.issueModel
+ * Required. The issue model to create.
+ * @param {object} [options]
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
+ * @returns {Promise} - The promise which resolves to an array.
+ * The first element of the array is an object representing
+ * a long running operation. Its `promise()` method returns a promise
+ * you can `await` for.
+ * Please see the
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
+ * for more details and examples.
+ * @example include:samples/generated/v1/contact_center_insights.create_issue_model.js
+ * region_tag:contactcenterinsights_v1_generated_ContactCenterInsights_CreateIssueModel_async
+ */
createIssueModel(
request?: protos.google.cloud.contactcenterinsights.v1.ICreateIssueModelRequest,
options?: CallOptions
@@ -2760,28 +2773,6 @@ export class ContactCenterInsightsClient {
{} | null | undefined
>
): void;
- /**
- * Creates an issue model.
- *
- * @param {Object} request
- * The request object that will be sent.
- * @param {string} request.parent
- * Required. The parent resource of the issue model.
- * @param {google.cloud.contactcenterinsights.v1.IssueModel} request.issueModel
- * Required. The issue model to create.
- * @param {object} [options]
- * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
- * @returns {Promise} - The promise which resolves to an array.
- * The first element of the array is an object representing
- * a long running operation. Its `promise()` method returns a promise
- * you can `await` for.
- * Please see the
- * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
- * for more details and examples.
- * @example
- * const [operation] = await client.createIssueModel(request);
- * const [response] = await operation.promise();
- */
createIssueModel(
request?: protos.google.cloud.contactcenterinsights.v1.ICreateIssueModelRequest,
optionsOrCallback?:
@@ -2839,11 +2830,8 @@ export class ContactCenterInsightsClient {
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
* for more details and examples.
- * @example
- * const decodedOperation = await checkCreateIssueModelProgress(name);
- * console.log(decodedOperation.result);
- * console.log(decodedOperation.done);
- * console.log(decodedOperation.metadata);
+ * @example include:samples/generated/v1/contact_center_insights.create_issue_model.js
+ * region_tag:contactcenterinsights_v1_generated_ContactCenterInsights_CreateIssueModel_async
*/
async checkCreateIssueModelProgress(
name: string
@@ -2867,6 +2855,25 @@ export class ContactCenterInsightsClient {
protos.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata
>;
}
+ /**
+ * Deletes an issue model.
+ *
+ * @param {Object} request
+ * The request object that will be sent.
+ * @param {string} request.name
+ * Required. The name of the issue model to delete.
+ * @param {object} [options]
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
+ * @returns {Promise} - The promise which resolves to an array.
+ * The first element of the array is an object representing
+ * a long running operation. Its `promise()` method returns a promise
+ * you can `await` for.
+ * Please see the
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
+ * for more details and examples.
+ * @example include:samples/generated/v1/contact_center_insights.delete_issue_model.js
+ * region_tag:contactcenterinsights_v1_generated_ContactCenterInsights_DeleteIssueModel_async
+ */
deleteIssueModel(
request?: protos.google.cloud.contactcenterinsights.v1.IDeleteIssueModelRequest,
options?: CallOptions
@@ -2903,26 +2910,6 @@ export class ContactCenterInsightsClient {
{} | null | undefined
>
): void;
- /**
- * Deletes an issue model.
- *
- * @param {Object} request
- * The request object that will be sent.
- * @param {string} request.name
- * Required. The name of the issue model to delete.
- * @param {object} [options]
- * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
- * @returns {Promise} - The promise which resolves to an array.
- * The first element of the array is an object representing
- * a long running operation. Its `promise()` method returns a promise
- * you can `await` for.
- * Please see the
- * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
- * for more details and examples.
- * @example
- * const [operation] = await client.deleteIssueModel(request);
- * const [response] = await operation.promise();
- */
deleteIssueModel(
request?: protos.google.cloud.contactcenterinsights.v1.IDeleteIssueModelRequest,
optionsOrCallback?:
@@ -2980,11 +2967,8 @@ export class ContactCenterInsightsClient {
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
* for more details and examples.
- * @example
- * const decodedOperation = await checkDeleteIssueModelProgress(name);
- * console.log(decodedOperation.result);
- * console.log(decodedOperation.done);
- * console.log(decodedOperation.metadata);
+ * @example include:samples/generated/v1/contact_center_insights.delete_issue_model.js
+ * region_tag:contactcenterinsights_v1_generated_ContactCenterInsights_DeleteIssueModel_async
*/
async checkDeleteIssueModelProgress(
name: string
@@ -3008,6 +2992,26 @@ export class ContactCenterInsightsClient {
protos.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata
>;
}
+ /**
+ * Deploys an issue model. Returns an error if a model is already deployed.
+ * An issue model can only be used in analysis after it has been deployed.
+ *
+ * @param {Object} request
+ * The request object that will be sent.
+ * @param {string} request.name
+ * Required. The issue model to deploy.
+ * @param {object} [options]
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
+ * @returns {Promise} - The promise which resolves to an array.
+ * The first element of the array is an object representing
+ * a long running operation. Its `promise()` method returns a promise
+ * you can `await` for.
+ * Please see the
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
+ * for more details and examples.
+ * @example include:samples/generated/v1/contact_center_insights.deploy_issue_model.js
+ * region_tag:contactcenterinsights_v1_generated_ContactCenterInsights_DeployIssueModel_async
+ */
deployIssueModel(
request?: protos.google.cloud.contactcenterinsights.v1.IDeployIssueModelRequest,
options?: CallOptions
@@ -3044,27 +3048,6 @@ export class ContactCenterInsightsClient {
{} | null | undefined
>
): void;
- /**
- * Deploys an issue model. Returns an error if a model is already deployed.
- * An issue model can only be used in analysis after it has been deployed.
- *
- * @param {Object} request
- * The request object that will be sent.
- * @param {string} request.name
- * Required. The issue model to deploy.
- * @param {object} [options]
- * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
- * @returns {Promise} - The promise which resolves to an array.
- * The first element of the array is an object representing
- * a long running operation. Its `promise()` method returns a promise
- * you can `await` for.
- * Please see the
- * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
- * for more details and examples.
- * @example
- * const [operation] = await client.deployIssueModel(request);
- * const [response] = await operation.promise();
- */
deployIssueModel(
request?: protos.google.cloud.contactcenterinsights.v1.IDeployIssueModelRequest,
optionsOrCallback?:
@@ -3122,11 +3105,8 @@ export class ContactCenterInsightsClient {
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
* for more details and examples.
- * @example
- * const decodedOperation = await checkDeployIssueModelProgress(name);
- * console.log(decodedOperation.result);
- * console.log(decodedOperation.done);
- * console.log(decodedOperation.metadata);
+ * @example include:samples/generated/v1/contact_center_insights.deploy_issue_model.js
+ * region_tag:contactcenterinsights_v1_generated_ContactCenterInsights_DeployIssueModel_async
*/
async checkDeployIssueModelProgress(
name: string
@@ -3150,6 +3130,26 @@ export class ContactCenterInsightsClient {
protos.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata
>;
}
+ /**
+ * Undeploys an issue model.
+ * An issue model can not be used in analysis after it has been undeployed.
+ *
+ * @param {Object} request
+ * The request object that will be sent.
+ * @param {string} request.name
+ * Required. The issue model to undeploy.
+ * @param {object} [options]
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
+ * @returns {Promise} - The promise which resolves to an array.
+ * The first element of the array is an object representing
+ * a long running operation. Its `promise()` method returns a promise
+ * you can `await` for.
+ * Please see the
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
+ * for more details and examples.
+ * @example include:samples/generated/v1/contact_center_insights.undeploy_issue_model.js
+ * region_tag:contactcenterinsights_v1_generated_ContactCenterInsights_UndeployIssueModel_async
+ */
undeployIssueModel(
request?: protos.google.cloud.contactcenterinsights.v1.IUndeployIssueModelRequest,
options?: CallOptions
@@ -3186,27 +3186,6 @@ export class ContactCenterInsightsClient {
{} | null | undefined
>
): void;
- /**
- * Undeploys an issue model.
- * An issue model can not be used in analysis after it has been undeployed.
- *
- * @param {Object} request
- * The request object that will be sent.
- * @param {string} request.name
- * Required. The issue model to undeploy.
- * @param {object} [options]
- * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
- * @returns {Promise} - The promise which resolves to an array.
- * The first element of the array is an object representing
- * a long running operation. Its `promise()` method returns a promise
- * you can `await` for.
- * Please see the
- * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
- * for more details and examples.
- * @example
- * const [operation] = await client.undeployIssueModel(request);
- * const [response] = await operation.promise();
- */
undeployIssueModel(
request?: protos.google.cloud.contactcenterinsights.v1.IUndeployIssueModelRequest,
optionsOrCallback?:
@@ -3264,11 +3243,8 @@ export class ContactCenterInsightsClient {
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
* for more details and examples.
- * @example
- * const decodedOperation = await checkUndeployIssueModelProgress(name);
- * console.log(decodedOperation.result);
- * console.log(decodedOperation.done);
- * console.log(decodedOperation.metadata);
+ * @example include:samples/generated/v1/contact_center_insights.undeploy_issue_model.js
+ * region_tag:contactcenterinsights_v1_generated_ContactCenterInsights_UndeployIssueModel_async
*/
async checkUndeployIssueModelProgress(
name: string
@@ -3292,37 +3268,6 @@ export class ContactCenterInsightsClient {
protos.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata
>;
}
- listConversations(
- request?: protos.google.cloud.contactcenterinsights.v1.IListConversationsRequest,
- options?: CallOptions
- ): Promise<
- [
- protos.google.cloud.contactcenterinsights.v1.IConversation[],
- protos.google.cloud.contactcenterinsights.v1.IListConversationsRequest | null,
- protos.google.cloud.contactcenterinsights.v1.IListConversationsResponse
- ]
- >;
- listConversations(
- request: protos.google.cloud.contactcenterinsights.v1.IListConversationsRequest,
- options: CallOptions,
- callback: PaginationCallback<
- protos.google.cloud.contactcenterinsights.v1.IListConversationsRequest,
- | protos.google.cloud.contactcenterinsights.v1.IListConversationsResponse
- | null
- | undefined,
- protos.google.cloud.contactcenterinsights.v1.IConversation
- >
- ): void;
- listConversations(
- request: protos.google.cloud.contactcenterinsights.v1.IListConversationsRequest,
- callback: PaginationCallback<
- protos.google.cloud.contactcenterinsights.v1.IListConversationsRequest,
- | protos.google.cloud.contactcenterinsights.v1.IListConversationsResponse
- | null
- | undefined,
- protos.google.cloud.contactcenterinsights.v1.IConversation
- >
- ): void;
/**
* Lists conversations.
*
@@ -3357,6 +3302,37 @@ export class ContactCenterInsightsClient {
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
* for more details and examples.
*/
+ listConversations(
+ request?: protos.google.cloud.contactcenterinsights.v1.IListConversationsRequest,
+ options?: CallOptions
+ ): Promise<
+ [
+ protos.google.cloud.contactcenterinsights.v1.IConversation[],
+ protos.google.cloud.contactcenterinsights.v1.IListConversationsRequest | null,
+ protos.google.cloud.contactcenterinsights.v1.IListConversationsResponse
+ ]
+ >;
+ listConversations(
+ request: protos.google.cloud.contactcenterinsights.v1.IListConversationsRequest,
+ options: CallOptions,
+ callback: PaginationCallback<
+ protos.google.cloud.contactcenterinsights.v1.IListConversationsRequest,
+ | protos.google.cloud.contactcenterinsights.v1.IListConversationsResponse
+ | null
+ | undefined,
+ protos.google.cloud.contactcenterinsights.v1.IConversation
+ >
+ ): void;
+ listConversations(
+ request: protos.google.cloud.contactcenterinsights.v1.IListConversationsRequest,
+ callback: PaginationCallback<
+ protos.google.cloud.contactcenterinsights.v1.IListConversationsRequest,
+ | protos.google.cloud.contactcenterinsights.v1.IListConversationsResponse
+ | null
+ | undefined,
+ protos.google.cloud.contactcenterinsights.v1.IConversation
+ >
+ ): void;
listConversations(
request?: protos.google.cloud.contactcenterinsights.v1.IListConversationsRequest,
optionsOrCallback?:
@@ -3487,11 +3463,8 @@ export class ContactCenterInsightsClient {
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
* for more details and examples.
- * @example
- * const iterable = client.listConversationsAsync(request);
- * for await (const response of iterable) {
- * // process response
- * }
+ * @example include:samples/generated/v1/contact_center_insights.list_conversations.js
+ * region_tag:contactcenterinsights_v1_generated_ContactCenterInsights_ListConversations_async
*/
listConversationsAsync(
request?: protos.google.cloud.contactcenterinsights.v1.IListConversationsRequest,
@@ -3505,7 +3478,6 @@ export class ContactCenterInsightsClient {
gax.routingHeader.fromParams({
parent: request.parent || '',
});
- options = options || {};
const defaultCallSettings = this._defaults['listConversations'];
const callSettings = defaultCallSettings.merge(options);
this.initialize();
@@ -3515,37 +3487,6 @@ export class ContactCenterInsightsClient {
callSettings
) as AsyncIterable;
}
- listAnalyses(
- request?: protos.google.cloud.contactcenterinsights.v1.IListAnalysesRequest,
- options?: CallOptions
- ): Promise<
- [
- protos.google.cloud.contactcenterinsights.v1.IAnalysis[],
- protos.google.cloud.contactcenterinsights.v1.IListAnalysesRequest | null,
- protos.google.cloud.contactcenterinsights.v1.IListAnalysesResponse
- ]
- >;
- listAnalyses(
- request: protos.google.cloud.contactcenterinsights.v1.IListAnalysesRequest,
- options: CallOptions,
- callback: PaginationCallback<
- protos.google.cloud.contactcenterinsights.v1.IListAnalysesRequest,
- | protos.google.cloud.contactcenterinsights.v1.IListAnalysesResponse
- | null
- | undefined,
- protos.google.cloud.contactcenterinsights.v1.IAnalysis
- >
- ): void;
- listAnalyses(
- request: protos.google.cloud.contactcenterinsights.v1.IListAnalysesRequest,
- callback: PaginationCallback<
- protos.google.cloud.contactcenterinsights.v1.IListAnalysesRequest,
- | protos.google.cloud.contactcenterinsights.v1.IListAnalysesResponse
- | null
- | undefined,
- protos.google.cloud.contactcenterinsights.v1.IAnalysis
- >
- ): void;
/**
* Lists analyses.
*
@@ -3578,6 +3519,37 @@ export class ContactCenterInsightsClient {
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
* for more details and examples.
*/
+ listAnalyses(
+ request?: protos.google.cloud.contactcenterinsights.v1.IListAnalysesRequest,
+ options?: CallOptions
+ ): Promise<
+ [
+ protos.google.cloud.contactcenterinsights.v1.IAnalysis[],
+ protos.google.cloud.contactcenterinsights.v1.IListAnalysesRequest | null,
+ protos.google.cloud.contactcenterinsights.v1.IListAnalysesResponse
+ ]
+ >;
+ listAnalyses(
+ request: protos.google.cloud.contactcenterinsights.v1.IListAnalysesRequest,
+ options: CallOptions,
+ callback: PaginationCallback<
+ protos.google.cloud.contactcenterinsights.v1.IListAnalysesRequest,
+ | protos.google.cloud.contactcenterinsights.v1.IListAnalysesResponse
+ | null
+ | undefined,
+ protos.google.cloud.contactcenterinsights.v1.IAnalysis
+ >
+ ): void;
+ listAnalyses(
+ request: protos.google.cloud.contactcenterinsights.v1.IListAnalysesRequest,
+ callback: PaginationCallback<
+ protos.google.cloud.contactcenterinsights.v1.IListAnalysesRequest,
+ | protos.google.cloud.contactcenterinsights.v1.IListAnalysesResponse
+ | null
+ | undefined,
+ protos.google.cloud.contactcenterinsights.v1.IAnalysis
+ >
+ ): void;
listAnalyses(
request?: protos.google.cloud.contactcenterinsights.v1.IListAnalysesRequest,
optionsOrCallback?:
@@ -3704,11 +3676,8 @@ export class ContactCenterInsightsClient {
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
* for more details and examples.
- * @example
- * const iterable = client.listAnalysesAsync(request);
- * for await (const response of iterable) {
- * // process response
- * }
+ * @example include:samples/generated/v1/contact_center_insights.list_analyses.js
+ * region_tag:contactcenterinsights_v1_generated_ContactCenterInsights_ListAnalyses_async
*/
listAnalysesAsync(
request?: protos.google.cloud.contactcenterinsights.v1.IListAnalysesRequest,
@@ -3722,7 +3691,6 @@ export class ContactCenterInsightsClient {
gax.routingHeader.fromParams({
parent: request.parent || '',
});
- options = options || {};
const defaultCallSettings = this._defaults['listAnalyses'];
const callSettings = defaultCallSettings.merge(options);
this.initialize();
@@ -3732,37 +3700,6 @@ export class ContactCenterInsightsClient {
callSettings
) as AsyncIterable;
}
- listPhraseMatchers(
- request?: protos.google.cloud.contactcenterinsights.v1.IListPhraseMatchersRequest,
- options?: CallOptions
- ): Promise<
- [
- protos.google.cloud.contactcenterinsights.v1.IPhraseMatcher[],
- protos.google.cloud.contactcenterinsights.v1.IListPhraseMatchersRequest | null,
- protos.google.cloud.contactcenterinsights.v1.IListPhraseMatchersResponse
- ]
- >;
- listPhraseMatchers(
- request: protos.google.cloud.contactcenterinsights.v1.IListPhraseMatchersRequest,
- options: CallOptions,
- callback: PaginationCallback<
- protos.google.cloud.contactcenterinsights.v1.IListPhraseMatchersRequest,
- | protos.google.cloud.contactcenterinsights.v1.IListPhraseMatchersResponse
- | null
- | undefined,
- protos.google.cloud.contactcenterinsights.v1.IPhraseMatcher
- >
- ): void;
- listPhraseMatchers(
- request: protos.google.cloud.contactcenterinsights.v1.IListPhraseMatchersRequest,
- callback: PaginationCallback<
- protos.google.cloud.contactcenterinsights.v1.IListPhraseMatchersRequest,
- | protos.google.cloud.contactcenterinsights.v1.IListPhraseMatchersResponse
- | null
- | undefined,
- protos.google.cloud.contactcenterinsights.v1.IPhraseMatcher
- >
- ): void;
/**
* Lists phrase matchers.
*
@@ -3795,6 +3732,37 @@ export class ContactCenterInsightsClient {
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
* for more details and examples.
*/
+ listPhraseMatchers(
+ request?: protos.google.cloud.contactcenterinsights.v1.IListPhraseMatchersRequest,
+ options?: CallOptions
+ ): Promise<
+ [
+ protos.google.cloud.contactcenterinsights.v1.IPhraseMatcher[],
+ protos.google.cloud.contactcenterinsights.v1.IListPhraseMatchersRequest | null,
+ protos.google.cloud.contactcenterinsights.v1.IListPhraseMatchersResponse
+ ]
+ >;
+ listPhraseMatchers(
+ request: protos.google.cloud.contactcenterinsights.v1.IListPhraseMatchersRequest,
+ options: CallOptions,
+ callback: PaginationCallback<
+ protos.google.cloud.contactcenterinsights.v1.IListPhraseMatchersRequest,
+ | protos.google.cloud.contactcenterinsights.v1.IListPhraseMatchersResponse
+ | null
+ | undefined,
+ protos.google.cloud.contactcenterinsights.v1.IPhraseMatcher
+ >
+ ): void;
+ listPhraseMatchers(
+ request: protos.google.cloud.contactcenterinsights.v1.IListPhraseMatchersRequest,
+ callback: PaginationCallback<
+ protos.google.cloud.contactcenterinsights.v1.IListPhraseMatchersRequest,
+ | protos.google.cloud.contactcenterinsights.v1.IListPhraseMatchersResponse
+ | null
+ | undefined,
+ protos.google.cloud.contactcenterinsights.v1.IPhraseMatcher
+ >
+ ): void;
listPhraseMatchers(
request?: protos.google.cloud.contactcenterinsights.v1.IListPhraseMatchersRequest,
optionsOrCallback?:
@@ -3921,11 +3889,8 @@ export class ContactCenterInsightsClient {
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
* for more details and examples.
- * @example
- * const iterable = client.listPhraseMatchersAsync(request);
- * for await (const response of iterable) {
- * // process response
- * }
+ * @example include:samples/generated/v1/contact_center_insights.list_phrase_matchers.js
+ * region_tag:contactcenterinsights_v1_generated_ContactCenterInsights_ListPhraseMatchers_async
*/
listPhraseMatchersAsync(
request?: protos.google.cloud.contactcenterinsights.v1.IListPhraseMatchersRequest,
@@ -3939,7 +3904,6 @@ export class ContactCenterInsightsClient {
gax.routingHeader.fromParams({
parent: request.parent || '',
});
- options = options || {};
const defaultCallSettings = this._defaults['listPhraseMatchers'];
const callSettings = defaultCallSettings.merge(options);
this.initialize();