ContactCenterInsights

google.cloud.contactcenterinsights.v1. ContactCenterInsights

Represents a ContactCenterInsights

Constructor

new ContactCenterInsights(rpcImpl, requestDelimitedopt, responseDelimitedopt)

Constructs a new ContactCenterInsights service.

Parameters:
Name Type Attributes Default Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean <optional>
false

Whether requests are length-delimited

responseDelimited boolean <optional>
false

Whether responses are length-delimited

Extends

  • $protobuf.rpc.Service

Methods

bulkAnalyzeConversations(request, callback) → {undefined}

Calls BulkAnalyzeConversations.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IBulkAnalyzeConversationsRequest

BulkAnalyzeConversationsRequest message or plain object

callback google.cloud.contactcenterinsights.v1.ContactCenterInsights.BulkAnalyzeConversationsCallback

Node-style callback called with the error, if any, and Operation

Returns:
Type Description
undefined

bulkAnalyzeConversations(request) → {Promise.<google.longrunning.Operation>}

Calls BulkAnalyzeConversations.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IBulkAnalyzeConversationsRequest

BulkAnalyzeConversationsRequest message or plain object

Returns:
Type Description
Promise.<google.longrunning.Operation>

Promise

bulkDeleteConversations(request, callback) → {undefined}

Calls BulkDeleteConversations.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IBulkDeleteConversationsRequest

BulkDeleteConversationsRequest message or plain object

callback google.cloud.contactcenterinsights.v1.ContactCenterInsights.BulkDeleteConversationsCallback

Node-style callback called with the error, if any, and Operation

Returns:
Type Description
undefined

bulkDeleteConversations(request) → {Promise.<google.longrunning.Operation>}

Calls BulkDeleteConversations.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IBulkDeleteConversationsRequest

BulkDeleteConversationsRequest message or plain object

Returns:
Type Description
Promise.<google.longrunning.Operation>

Promise

calculateIssueModelStats(request, callback) → {undefined}

Calls CalculateIssueModelStats.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.ICalculateIssueModelStatsRequest

CalculateIssueModelStatsRequest message or plain object

callback google.cloud.contactcenterinsights.v1.ContactCenterInsights.CalculateIssueModelStatsCallback

Node-style callback called with the error, if any, and CalculateIssueModelStatsResponse

Returns:
Type Description
undefined

calculateIssueModelStats(request) → {Promise.<google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse>}

Calls CalculateIssueModelStats.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.ICalculateIssueModelStatsRequest

CalculateIssueModelStatsRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse>

Promise

calculateStats(request, callback) → {undefined}

Calls CalculateStats.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.ICalculateStatsRequest

CalculateStatsRequest message or plain object

callback google.cloud.contactcenterinsights.v1.ContactCenterInsights.CalculateStatsCallback

Node-style callback called with the error, if any, and CalculateStatsResponse

Returns:
Type Description
undefined

calculateStats(request) → {Promise.<google.cloud.contactcenterinsights.v1.CalculateStatsResponse>}

Calls CalculateStats.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.ICalculateStatsRequest

CalculateStatsRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.contactcenterinsights.v1.CalculateStatsResponse>

Promise

createAnalysis(request, callback) → {undefined}

Calls CreateAnalysis.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.ICreateAnalysisRequest

CreateAnalysisRequest message or plain object

callback google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateAnalysisCallback

Node-style callback called with the error, if any, and Operation

Returns:
Type Description
undefined

createAnalysis(request) → {Promise.<google.longrunning.Operation>}

Calls CreateAnalysis.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.ICreateAnalysisRequest

CreateAnalysisRequest message or plain object

Returns:
Type Description
Promise.<google.longrunning.Operation>

Promise

createConversation(request, callback) → {undefined}

Calls CreateConversation.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.ICreateConversationRequest

CreateConversationRequest message or plain object

callback google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateConversationCallback

Node-style callback called with the error, if any, and Conversation

Returns:
Type Description
undefined

createConversation(request) → {Promise.<google.cloud.contactcenterinsights.v1.Conversation>}

Calls CreateConversation.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.ICreateConversationRequest

CreateConversationRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.contactcenterinsights.v1.Conversation>

Promise

createIssueModel(request, callback) → {undefined}

Calls CreateIssueModel.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.ICreateIssueModelRequest

CreateIssueModelRequest message or plain object

callback google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateIssueModelCallback

Node-style callback called with the error, if any, and Operation

Returns:
Type Description
undefined

createIssueModel(request) → {Promise.<google.longrunning.Operation>}

Calls CreateIssueModel.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.ICreateIssueModelRequest

CreateIssueModelRequest message or plain object

Returns:
Type Description
Promise.<google.longrunning.Operation>

Promise

createPhraseMatcher(request, callback) → {undefined}

Calls CreatePhraseMatcher.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.ICreatePhraseMatcherRequest

CreatePhraseMatcherRequest message or plain object

callback google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreatePhraseMatcherCallback

Node-style callback called with the error, if any, and PhraseMatcher

Returns:
Type Description
undefined

createPhraseMatcher(request) → {Promise.<google.cloud.contactcenterinsights.v1.PhraseMatcher>}

Calls CreatePhraseMatcher.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.ICreatePhraseMatcherRequest

CreatePhraseMatcherRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.contactcenterinsights.v1.PhraseMatcher>

Promise

createView(request, callback) → {undefined}

Calls CreateView.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.ICreateViewRequest

CreateViewRequest message or plain object

callback google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateViewCallback

Node-style callback called with the error, if any, and View

Returns:
Type Description
undefined

createView(request) → {Promise.<google.cloud.contactcenterinsights.v1.View>}

Calls CreateView.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.ICreateViewRequest

CreateViewRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.contactcenterinsights.v1.View>

Promise

deleteAnalysis(request, callback) → {undefined}

Calls DeleteAnalysis.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IDeleteAnalysisRequest

DeleteAnalysisRequest message or plain object

callback google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteAnalysisCallback

Node-style callback called with the error, if any, and Empty

Returns:
Type Description
undefined

deleteAnalysis(request) → {Promise.<google.protobuf.Empty>}

Calls DeleteAnalysis.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IDeleteAnalysisRequest

DeleteAnalysisRequest message or plain object

Returns:
Type Description
Promise.<google.protobuf.Empty>

Promise

deleteConversation(request, callback) → {undefined}

Calls DeleteConversation.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IDeleteConversationRequest

DeleteConversationRequest message or plain object

callback google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteConversationCallback

Node-style callback called with the error, if any, and Empty

Returns:
Type Description
undefined

deleteConversation(request) → {Promise.<google.protobuf.Empty>}

Calls DeleteConversation.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IDeleteConversationRequest

DeleteConversationRequest message or plain object

Returns:
Type Description
Promise.<google.protobuf.Empty>

Promise

deleteIssue(request, callback) → {undefined}

Calls DeleteIssue.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IDeleteIssueRequest

DeleteIssueRequest message or plain object

callback google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteIssueCallback

Node-style callback called with the error, if any, and Empty

Returns:
Type Description
undefined

deleteIssue(request) → {Promise.<google.protobuf.Empty>}

Calls DeleteIssue.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IDeleteIssueRequest

DeleteIssueRequest message or plain object

Returns:
Type Description
Promise.<google.protobuf.Empty>

Promise

deleteIssueModel(request, callback) → {undefined}

Calls DeleteIssueModel.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IDeleteIssueModelRequest

DeleteIssueModelRequest message or plain object

callback google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteIssueModelCallback

Node-style callback called with the error, if any, and Operation

Returns:
Type Description
undefined

deleteIssueModel(request) → {Promise.<google.longrunning.Operation>}

Calls DeleteIssueModel.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IDeleteIssueModelRequest

DeleteIssueModelRequest message or plain object

Returns:
Type Description
Promise.<google.longrunning.Operation>

Promise

deletePhraseMatcher(request, callback) → {undefined}

Calls DeletePhraseMatcher.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IDeletePhraseMatcherRequest

DeletePhraseMatcherRequest message or plain object

callback google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeletePhraseMatcherCallback

Node-style callback called with the error, if any, and Empty

Returns:
Type Description
undefined

deletePhraseMatcher(request) → {Promise.<google.protobuf.Empty>}

Calls DeletePhraseMatcher.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IDeletePhraseMatcherRequest

DeletePhraseMatcherRequest message or plain object

Returns:
Type Description
Promise.<google.protobuf.Empty>

Promise

deleteView(request, callback) → {undefined}

Calls DeleteView.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IDeleteViewRequest

DeleteViewRequest message or plain object

callback google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteViewCallback

Node-style callback called with the error, if any, and Empty

Returns:
Type Description
undefined

deleteView(request) → {Promise.<google.protobuf.Empty>}

Calls DeleteView.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IDeleteViewRequest

DeleteViewRequest message or plain object

Returns:
Type Description
Promise.<google.protobuf.Empty>

Promise

deployIssueModel(request, callback) → {undefined}

Calls DeployIssueModel.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IDeployIssueModelRequest

DeployIssueModelRequest message or plain object

callback google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeployIssueModelCallback

Node-style callback called with the error, if any, and Operation

Returns:
Type Description
undefined

deployIssueModel(request) → {Promise.<google.longrunning.Operation>}

Calls DeployIssueModel.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IDeployIssueModelRequest

DeployIssueModelRequest message or plain object

Returns:
Type Description
Promise.<google.longrunning.Operation>

Promise

exportInsightsData(request, callback) → {undefined}

Calls ExportInsightsData.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IExportInsightsDataRequest

ExportInsightsDataRequest message or plain object

callback google.cloud.contactcenterinsights.v1.ContactCenterInsights.ExportInsightsDataCallback

Node-style callback called with the error, if any, and Operation

Returns:
Type Description
undefined

exportInsightsData(request) → {Promise.<google.longrunning.Operation>}

Calls ExportInsightsData.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IExportInsightsDataRequest

ExportInsightsDataRequest message or plain object

Returns:
Type Description
Promise.<google.longrunning.Operation>

Promise

exportIssueModel(request, callback) → {undefined}

Calls ExportIssueModel.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IExportIssueModelRequest

ExportIssueModelRequest message or plain object

callback google.cloud.contactcenterinsights.v1.ContactCenterInsights.ExportIssueModelCallback

Node-style callback called with the error, if any, and Operation

Returns:
Type Description
undefined

exportIssueModel(request) → {Promise.<google.longrunning.Operation>}

Calls ExportIssueModel.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IExportIssueModelRequest

ExportIssueModelRequest message or plain object

Returns:
Type Description
Promise.<google.longrunning.Operation>

Promise

getAnalysis(request, callback) → {undefined}

Calls GetAnalysis.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IGetAnalysisRequest

GetAnalysisRequest message or plain object

callback google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetAnalysisCallback

Node-style callback called with the error, if any, and Analysis

Returns:
Type Description
undefined

getAnalysis(request) → {Promise.<google.cloud.contactcenterinsights.v1.Analysis>}

Calls GetAnalysis.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IGetAnalysisRequest

GetAnalysisRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.contactcenterinsights.v1.Analysis>

Promise

getConversation(request, callback) → {undefined}

Calls GetConversation.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IGetConversationRequest

GetConversationRequest message or plain object

callback google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetConversationCallback

Node-style callback called with the error, if any, and Conversation

Returns:
Type Description
undefined

getConversation(request) → {Promise.<google.cloud.contactcenterinsights.v1.Conversation>}

Calls GetConversation.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IGetConversationRequest

GetConversationRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.contactcenterinsights.v1.Conversation>

Promise

getEncryptionSpec(request, callback) → {undefined}

Calls GetEncryptionSpec.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IGetEncryptionSpecRequest

GetEncryptionSpecRequest message or plain object

callback google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetEncryptionSpecCallback

Node-style callback called with the error, if any, and EncryptionSpec

Returns:
Type Description
undefined

getEncryptionSpec(request) → {Promise.<google.cloud.contactcenterinsights.v1.EncryptionSpec>}

Calls GetEncryptionSpec.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IGetEncryptionSpecRequest

GetEncryptionSpecRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.contactcenterinsights.v1.EncryptionSpec>

Promise

getIssue(request, callback) → {undefined}

Calls GetIssue.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IGetIssueRequest

GetIssueRequest message or plain object

callback google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetIssueCallback

Node-style callback called with the error, if any, and Issue

Returns:
Type Description
undefined

getIssue(request) → {Promise.<google.cloud.contactcenterinsights.v1.Issue>}

Calls GetIssue.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IGetIssueRequest

GetIssueRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.contactcenterinsights.v1.Issue>

Promise

getIssueModel(request, callback) → {undefined}

Calls GetIssueModel.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IGetIssueModelRequest

GetIssueModelRequest message or plain object

callback google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetIssueModelCallback

Node-style callback called with the error, if any, and IssueModel

Returns:
Type Description
undefined

getIssueModel(request) → {Promise.<google.cloud.contactcenterinsights.v1.IssueModel>}

Calls GetIssueModel.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IGetIssueModelRequest

GetIssueModelRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.contactcenterinsights.v1.IssueModel>

Promise

getPhraseMatcher(request, callback) → {undefined}

Calls GetPhraseMatcher.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IGetPhraseMatcherRequest

GetPhraseMatcherRequest message or plain object

callback google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetPhraseMatcherCallback

Node-style callback called with the error, if any, and PhraseMatcher

Returns:
Type Description
undefined

getPhraseMatcher(request) → {Promise.<google.cloud.contactcenterinsights.v1.PhraseMatcher>}

Calls GetPhraseMatcher.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IGetPhraseMatcherRequest

GetPhraseMatcherRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.contactcenterinsights.v1.PhraseMatcher>

Promise

getSettings(request, callback) → {undefined}

Calls GetSettings.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IGetSettingsRequest

GetSettingsRequest message or plain object

callback google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetSettingsCallback

Node-style callback called with the error, if any, and Settings

Returns:
Type Description
undefined

getSettings(request) → {Promise.<google.cloud.contactcenterinsights.v1.Settings>}

Calls GetSettings.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IGetSettingsRequest

GetSettingsRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.contactcenterinsights.v1.Settings>

Promise

getView(request, callback) → {undefined}

Calls GetView.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IGetViewRequest

GetViewRequest message or plain object

callback google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetViewCallback

Node-style callback called with the error, if any, and View

Returns:
Type Description
undefined

getView(request) → {Promise.<google.cloud.contactcenterinsights.v1.View>}

Calls GetView.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IGetViewRequest

GetViewRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.contactcenterinsights.v1.View>

Promise

importIssueModel(request, callback) → {undefined}

Calls ImportIssueModel.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IImportIssueModelRequest

ImportIssueModelRequest message or plain object

callback google.cloud.contactcenterinsights.v1.ContactCenterInsights.ImportIssueModelCallback

Node-style callback called with the error, if any, and Operation

Returns:
Type Description
undefined

importIssueModel(request) → {Promise.<google.longrunning.Operation>}

Calls ImportIssueModel.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IImportIssueModelRequest

ImportIssueModelRequest message or plain object

Returns:
Type Description
Promise.<google.longrunning.Operation>

Promise

ingestConversations(request, callback) → {undefined}

Calls IngestConversations.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IIngestConversationsRequest

IngestConversationsRequest message or plain object

callback google.cloud.contactcenterinsights.v1.ContactCenterInsights.IngestConversationsCallback

Node-style callback called with the error, if any, and Operation

Returns:
Type Description
undefined

ingestConversations(request) → {Promise.<google.longrunning.Operation>}

Calls IngestConversations.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IIngestConversationsRequest

IngestConversationsRequest message or plain object

Returns:
Type Description
Promise.<google.longrunning.Operation>

Promise

initializeEncryptionSpec(request, callback) → {undefined}

Calls InitializeEncryptionSpec.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IInitializeEncryptionSpecRequest

InitializeEncryptionSpecRequest message or plain object

callback google.cloud.contactcenterinsights.v1.ContactCenterInsights.InitializeEncryptionSpecCallback

Node-style callback called with the error, if any, and Operation

Returns:
Type Description
undefined

initializeEncryptionSpec(request) → {Promise.<google.longrunning.Operation>}

Calls InitializeEncryptionSpec.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IInitializeEncryptionSpecRequest

InitializeEncryptionSpecRequest message or plain object

Returns:
Type Description
Promise.<google.longrunning.Operation>

Promise

listAnalyses(request, callback) → {undefined}

Calls ListAnalyses.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IListAnalysesRequest

ListAnalysesRequest message or plain object

callback google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListAnalysesCallback

Node-style callback called with the error, if any, and ListAnalysesResponse

Returns:
Type Description
undefined

listAnalyses(request) → {Promise.<google.cloud.contactcenterinsights.v1.ListAnalysesResponse>}

Calls ListAnalyses.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IListAnalysesRequest

ListAnalysesRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.contactcenterinsights.v1.ListAnalysesResponse>

Promise

listConversations(request, callback) → {undefined}

Calls ListConversations.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IListConversationsRequest

ListConversationsRequest message or plain object

callback google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListConversationsCallback

Node-style callback called with the error, if any, and ListConversationsResponse

Returns:
Type Description
undefined

listConversations(request) → {Promise.<google.cloud.contactcenterinsights.v1.ListConversationsResponse>}

Calls ListConversations.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IListConversationsRequest

ListConversationsRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.contactcenterinsights.v1.ListConversationsResponse>

Promise

listIssueModels(request, callback) → {undefined}

Calls ListIssueModels.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IListIssueModelsRequest

ListIssueModelsRequest message or plain object

callback google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListIssueModelsCallback

Node-style callback called with the error, if any, and ListIssueModelsResponse

Returns:
Type Description
undefined

listIssueModels(request) → {Promise.<google.cloud.contactcenterinsights.v1.ListIssueModelsResponse>}

Calls ListIssueModels.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IListIssueModelsRequest

ListIssueModelsRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.contactcenterinsights.v1.ListIssueModelsResponse>

Promise

listIssues(request, callback) → {undefined}

Calls ListIssues.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IListIssuesRequest

ListIssuesRequest message or plain object

callback google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListIssuesCallback

Node-style callback called with the error, if any, and ListIssuesResponse

Returns:
Type Description
undefined

listIssues(request) → {Promise.<google.cloud.contactcenterinsights.v1.ListIssuesResponse>}

Calls ListIssues.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IListIssuesRequest

ListIssuesRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.contactcenterinsights.v1.ListIssuesResponse>

Promise

listPhraseMatchers(request, callback) → {undefined}

Calls ListPhraseMatchers.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IListPhraseMatchersRequest

ListPhraseMatchersRequest message or plain object

callback google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListPhraseMatchersCallback

Node-style callback called with the error, if any, and ListPhraseMatchersResponse

Returns:
Type Description
undefined

listPhraseMatchers(request) → {Promise.<google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse>}

Calls ListPhraseMatchers.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IListPhraseMatchersRequest

ListPhraseMatchersRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse>

Promise

listViews(request, callback) → {undefined}

Calls ListViews.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IListViewsRequest

ListViewsRequest message or plain object

callback google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListViewsCallback

Node-style callback called with the error, if any, and ListViewsResponse

Returns:
Type Description
undefined

listViews(request) → {Promise.<google.cloud.contactcenterinsights.v1.ListViewsResponse>}

Calls ListViews.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IListViewsRequest

ListViewsRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.contactcenterinsights.v1.ListViewsResponse>

Promise

undeployIssueModel(request, callback) → {undefined}

Calls UndeployIssueModel.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IUndeployIssueModelRequest

UndeployIssueModelRequest message or plain object

callback google.cloud.contactcenterinsights.v1.ContactCenterInsights.UndeployIssueModelCallback

Node-style callback called with the error, if any, and Operation

Returns:
Type Description
undefined

undeployIssueModel(request) → {Promise.<google.longrunning.Operation>}

Calls UndeployIssueModel.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IUndeployIssueModelRequest

UndeployIssueModelRequest message or plain object

Returns:
Type Description
Promise.<google.longrunning.Operation>

Promise

updateConversation(request, callback) → {undefined}

Calls UpdateConversation.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IUpdateConversationRequest

UpdateConversationRequest message or plain object

callback google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateConversationCallback

Node-style callback called with the error, if any, and Conversation

Returns:
Type Description
undefined

updateConversation(request) → {Promise.<google.cloud.contactcenterinsights.v1.Conversation>}

Calls UpdateConversation.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IUpdateConversationRequest

UpdateConversationRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.contactcenterinsights.v1.Conversation>

Promise

updateIssue(request, callback) → {undefined}

Calls UpdateIssue.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IUpdateIssueRequest

UpdateIssueRequest message or plain object

callback google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateIssueCallback

Node-style callback called with the error, if any, and Issue

Returns:
Type Description
undefined

updateIssue(request) → {Promise.<google.cloud.contactcenterinsights.v1.Issue>}

Calls UpdateIssue.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IUpdateIssueRequest

UpdateIssueRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.contactcenterinsights.v1.Issue>

Promise

updateIssueModel(request, callback) → {undefined}

Calls UpdateIssueModel.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IUpdateIssueModelRequest

UpdateIssueModelRequest message or plain object

callback google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateIssueModelCallback

Node-style callback called with the error, if any, and IssueModel

Returns:
Type Description
undefined

updateIssueModel(request) → {Promise.<google.cloud.contactcenterinsights.v1.IssueModel>}

Calls UpdateIssueModel.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IUpdateIssueModelRequest

UpdateIssueModelRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.contactcenterinsights.v1.IssueModel>

Promise

updatePhraseMatcher(request, callback) → {undefined}

Calls UpdatePhraseMatcher.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IUpdatePhraseMatcherRequest

UpdatePhraseMatcherRequest message or plain object

callback google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdatePhraseMatcherCallback

Node-style callback called with the error, if any, and PhraseMatcher

Returns:
Type Description
undefined

updatePhraseMatcher(request) → {Promise.<google.cloud.contactcenterinsights.v1.PhraseMatcher>}

Calls UpdatePhraseMatcher.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IUpdatePhraseMatcherRequest

UpdatePhraseMatcherRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.contactcenterinsights.v1.PhraseMatcher>

Promise

updateSettings(request, callback) → {undefined}

Calls UpdateSettings.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IUpdateSettingsRequest

UpdateSettingsRequest message or plain object

callback google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateSettingsCallback

Node-style callback called with the error, if any, and Settings

Returns:
Type Description
undefined

updateSettings(request) → {Promise.<google.cloud.contactcenterinsights.v1.Settings>}

Calls UpdateSettings.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IUpdateSettingsRequest

UpdateSettingsRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.contactcenterinsights.v1.Settings>

Promise

updateView(request, callback) → {undefined}

Calls UpdateView.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IUpdateViewRequest

UpdateViewRequest message or plain object

callback google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateViewCallback

Node-style callback called with the error, if any, and View

Returns:
Type Description
undefined

updateView(request) → {Promise.<google.cloud.contactcenterinsights.v1.View>}

Calls UpdateView.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IUpdateViewRequest

UpdateViewRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.contactcenterinsights.v1.View>

Promise

uploadConversation(request, callback) → {undefined}

Calls UploadConversation.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IUploadConversationRequest

UploadConversationRequest message or plain object

callback google.cloud.contactcenterinsights.v1.ContactCenterInsights.UploadConversationCallback

Node-style callback called with the error, if any, and Operation

Returns:
Type Description
undefined

uploadConversation(request) → {Promise.<google.longrunning.Operation>}

Calls UploadConversation.

Parameters:
Name Type Description
request google.cloud.contactcenterinsights.v1.IUploadConversationRequest

UploadConversationRequest message or plain object

Returns:
Type Description
Promise.<google.longrunning.Operation>

Promise

(static) create(rpcImpl, requestDelimitedopt, responseDelimitedopt) → {ContactCenterInsights}

Creates new ContactCenterInsights service using the specified rpc implementation.

Parameters:
Name Type Attributes Default Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean <optional>
false

Whether requests are length-delimited

responseDelimited boolean <optional>
false

Whether responses are length-delimited

Returns:
Type Description
ContactCenterInsights

RPC service. Useful where requests and/or responses are streamed.

Type Definitions

BulkAnalyzeConversationsCallback(error, responseopt)

Callback as used by bulkAnalyzeConversations.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.longrunning.Operation <optional>

Operation

BulkDeleteConversationsCallback(error, responseopt)

Callback as used by bulkDeleteConversations.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.longrunning.Operation <optional>

Operation

CalculateIssueModelStatsCallback(error, responseopt)

Callback as used by calculateIssueModelStats.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse <optional>

CalculateIssueModelStatsResponse

CalculateStatsCallback(error, responseopt)

Callback as used by calculateStats.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.contactcenterinsights.v1.CalculateStatsResponse <optional>

CalculateStatsResponse

CreateAnalysisCallback(error, responseopt)

Callback as used by createAnalysis.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.longrunning.Operation <optional>

Operation

CreateConversationCallback(error, responseopt)

Callback as used by createConversation.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.contactcenterinsights.v1.Conversation <optional>

Conversation

CreateIssueModelCallback(error, responseopt)

Callback as used by createIssueModel.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.longrunning.Operation <optional>

Operation

CreatePhraseMatcherCallback(error, responseopt)

Callback as used by createPhraseMatcher.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.contactcenterinsights.v1.PhraseMatcher <optional>

PhraseMatcher

CreateViewCallback(error, responseopt)

Callback as used by createView.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.contactcenterinsights.v1.View <optional>

View

DeleteAnalysisCallback(error, responseopt)

Callback as used by deleteAnalysis.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.protobuf.Empty <optional>

Empty

DeleteConversationCallback(error, responseopt)

Callback as used by deleteConversation.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.protobuf.Empty <optional>

Empty

DeleteIssueCallback(error, responseopt)

Callback as used by deleteIssue.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.protobuf.Empty <optional>

Empty

DeleteIssueModelCallback(error, responseopt)

Callback as used by deleteIssueModel.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.longrunning.Operation <optional>

Operation

DeletePhraseMatcherCallback(error, responseopt)

Callback as used by deletePhraseMatcher.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.protobuf.Empty <optional>

Empty

DeleteViewCallback(error, responseopt)

Callback as used by deleteView.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.protobuf.Empty <optional>

Empty

DeployIssueModelCallback(error, responseopt)

Callback as used by deployIssueModel.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.longrunning.Operation <optional>

Operation

ExportInsightsDataCallback(error, responseopt)

Callback as used by exportInsightsData.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.longrunning.Operation <optional>

Operation

ExportIssueModelCallback(error, responseopt)

Callback as used by exportIssueModel.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.longrunning.Operation <optional>

Operation

GetAnalysisCallback(error, responseopt)

Callback as used by getAnalysis.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.contactcenterinsights.v1.Analysis <optional>

Analysis

GetConversationCallback(error, responseopt)

Callback as used by getConversation.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.contactcenterinsights.v1.Conversation <optional>

Conversation

GetEncryptionSpecCallback(error, responseopt)

Callback as used by getEncryptionSpec.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.contactcenterinsights.v1.EncryptionSpec <optional>

EncryptionSpec

GetIssueCallback(error, responseopt)

Callback as used by getIssue.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.contactcenterinsights.v1.Issue <optional>

Issue

GetIssueModelCallback(error, responseopt)

Callback as used by getIssueModel.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.contactcenterinsights.v1.IssueModel <optional>

IssueModel

GetPhraseMatcherCallback(error, responseopt)

Callback as used by getPhraseMatcher.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.contactcenterinsights.v1.PhraseMatcher <optional>

PhraseMatcher

GetSettingsCallback(error, responseopt)

Callback as used by getSettings.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.contactcenterinsights.v1.Settings <optional>

Settings

GetViewCallback(error, responseopt)

Callback as used by getView.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.contactcenterinsights.v1.View <optional>

View

ImportIssueModelCallback(error, responseopt)

Callback as used by importIssueModel.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.longrunning.Operation <optional>

Operation

IngestConversationsCallback(error, responseopt)

Callback as used by ingestConversations.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.longrunning.Operation <optional>

Operation

InitializeEncryptionSpecCallback(error, responseopt)

Callback as used by initializeEncryptionSpec.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.longrunning.Operation <optional>

Operation

ListAnalysesCallback(error, responseopt)

Callback as used by listAnalyses.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.contactcenterinsights.v1.ListAnalysesResponse <optional>

ListAnalysesResponse

ListConversationsCallback(error, responseopt)

Callback as used by listConversations.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.contactcenterinsights.v1.ListConversationsResponse <optional>

ListConversationsResponse

ListIssueModelsCallback(error, responseopt)

Callback as used by listIssueModels.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.contactcenterinsights.v1.ListIssueModelsResponse <optional>

ListIssueModelsResponse

ListIssuesCallback(error, responseopt)

Callback as used by listIssues.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.contactcenterinsights.v1.ListIssuesResponse <optional>

ListIssuesResponse

ListPhraseMatchersCallback(error, responseopt)

Callback as used by listPhraseMatchers.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse <optional>

ListPhraseMatchersResponse

ListViewsCallback(error, responseopt)

Callback as used by listViews.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.contactcenterinsights.v1.ListViewsResponse <optional>

ListViewsResponse

UndeployIssueModelCallback(error, responseopt)

Callback as used by undeployIssueModel.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.longrunning.Operation <optional>

Operation

UpdateConversationCallback(error, responseopt)

Callback as used by updateConversation.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.contactcenterinsights.v1.Conversation <optional>

Conversation

UpdateIssueCallback(error, responseopt)

Callback as used by updateIssue.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.contactcenterinsights.v1.Issue <optional>

Issue

UpdateIssueModelCallback(error, responseopt)

Callback as used by updateIssueModel.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.contactcenterinsights.v1.IssueModel <optional>

IssueModel

UpdatePhraseMatcherCallback(error, responseopt)

Callback as used by updatePhraseMatcher.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.contactcenterinsights.v1.PhraseMatcher <optional>

PhraseMatcher

UpdateSettingsCallback(error, responseopt)

Callback as used by updateSettings.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.contactcenterinsights.v1.Settings <optional>

Settings

UpdateViewCallback(error, responseopt)

Callback as used by updateView.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.contactcenterinsights.v1.View <optional>

View

UploadConversationCallback(error, responseopt)

Callback as used by uploadConversation.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.longrunning.Operation <optional>

Operation