Contact Center AI Insights v1 API - Class ContactCenterInsights.ContactCenterInsightsBase (2.2.1)

[BindServiceMethod(typeof(ContactCenterInsights), "BindService")]
public abstract class ContactCenterInsightsBase

Reference documentation and code samples for the Contact Center AI Insights v1 API class ContactCenterInsights.ContactCenterInsightsBase.

Base class for server-side implementations of ContactCenterInsights

Inheritance

Object > ContactCenterInsights.ContactCenterInsightsBase

Namespace

Google.Cloud.ContactCenterInsights.V1

Assembly

Google.Cloud.ContactCenterInsights.V1.dll

Methods

BulkAnalyzeConversations(BulkAnalyzeConversationsRequest, ServerCallContext)

public virtual Task<Operation> BulkAnalyzeConversations(BulkAnalyzeConversationsRequest request, ServerCallContext context)

Analyzes multiple conversations in a single request.

Parameters
NameDescription
requestBulkAnalyzeConversationsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

CalculateIssueModelStats(CalculateIssueModelStatsRequest, ServerCallContext)

public virtual Task<CalculateIssueModelStatsResponse> CalculateIssueModelStats(CalculateIssueModelStatsRequest request, ServerCallContext context)

Gets an issue model's statistics.

Parameters
NameDescription
requestCalculateIssueModelStatsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<CalculateIssueModelStatsResponse>

The response to send back to the client (wrapped by a task).

CalculateStats(CalculateStatsRequest, ServerCallContext)

public virtual Task<CalculateStatsResponse> CalculateStats(CalculateStatsRequest request, ServerCallContext context)

Gets conversation statistics.

Parameters
NameDescription
requestCalculateStatsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<CalculateStatsResponse>

The response to send back to the client (wrapped by a task).

CreateAnalysis(CreateAnalysisRequest, ServerCallContext)

public virtual Task<Operation> CreateAnalysis(CreateAnalysisRequest request, ServerCallContext context)

Creates an analysis. The long running operation is done when the analysis has completed.

Parameters
NameDescription
requestCreateAnalysisRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

CreateConversation(CreateConversationRequest, ServerCallContext)

public virtual Task<Conversation> CreateConversation(CreateConversationRequest request, ServerCallContext context)

Creates a conversation.

Parameters
NameDescription
requestCreateConversationRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Conversation>

The response to send back to the client (wrapped by a task).

CreateIssueModel(CreateIssueModelRequest, ServerCallContext)

public virtual Task<Operation> CreateIssueModel(CreateIssueModelRequest request, ServerCallContext context)

Creates an issue model.

Parameters
NameDescription
requestCreateIssueModelRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

CreatePhraseMatcher(CreatePhraseMatcherRequest, ServerCallContext)

public virtual Task<PhraseMatcher> CreatePhraseMatcher(CreatePhraseMatcherRequest request, ServerCallContext context)

Creates a phrase matcher.

Parameters
NameDescription
requestCreatePhraseMatcherRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<PhraseMatcher>

The response to send back to the client (wrapped by a task).

CreateView(CreateViewRequest, ServerCallContext)

public virtual Task<View> CreateView(CreateViewRequest request, ServerCallContext context)

Creates a view.

Parameters
NameDescription
requestCreateViewRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<View>

The response to send back to the client (wrapped by a task).

DeleteAnalysis(DeleteAnalysisRequest, ServerCallContext)

public virtual Task<Empty> DeleteAnalysis(DeleteAnalysisRequest request, ServerCallContext context)

Deletes an analysis.

Parameters
NameDescription
requestDeleteAnalysisRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Empty>

The response to send back to the client (wrapped by a task).

DeleteConversation(DeleteConversationRequest, ServerCallContext)

public virtual Task<Empty> DeleteConversation(DeleteConversationRequest request, ServerCallContext context)

Deletes a conversation.

Parameters
NameDescription
requestDeleteConversationRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Empty>

The response to send back to the client (wrapped by a task).

DeleteIssue(DeleteIssueRequest, ServerCallContext)

public virtual Task<Empty> DeleteIssue(DeleteIssueRequest request, ServerCallContext context)

Deletes an issue.

Parameters
NameDescription
requestDeleteIssueRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Empty>

The response to send back to the client (wrapped by a task).

DeleteIssueModel(DeleteIssueModelRequest, ServerCallContext)

public virtual Task<Operation> DeleteIssueModel(DeleteIssueModelRequest request, ServerCallContext context)

Deletes an issue model.

Parameters
NameDescription
requestDeleteIssueModelRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

DeletePhraseMatcher(DeletePhraseMatcherRequest, ServerCallContext)

public virtual Task<Empty> DeletePhraseMatcher(DeletePhraseMatcherRequest request, ServerCallContext context)

Deletes a phrase matcher.

Parameters
NameDescription
requestDeletePhraseMatcherRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Empty>

The response to send back to the client (wrapped by a task).

DeleteView(DeleteViewRequest, ServerCallContext)

public virtual Task<Empty> DeleteView(DeleteViewRequest request, ServerCallContext context)

Deletes a view.

Parameters
NameDescription
requestDeleteViewRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Empty>

The response to send back to the client (wrapped by a task).

DeployIssueModel(DeployIssueModelRequest, ServerCallContext)

public virtual Task<Operation> DeployIssueModel(DeployIssueModelRequest request, ServerCallContext context)

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.

Parameters
NameDescription
requestDeployIssueModelRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

ExportInsightsData(ExportInsightsDataRequest, ServerCallContext)

public virtual Task<Operation> ExportInsightsData(ExportInsightsDataRequest request, ServerCallContext context)

Export insights data to a destination defined in the request body.

Parameters
NameDescription
requestExportInsightsDataRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

GetAnalysis(GetAnalysisRequest, ServerCallContext)

public virtual Task<Analysis> GetAnalysis(GetAnalysisRequest request, ServerCallContext context)

Gets an analysis.

Parameters
NameDescription
requestGetAnalysisRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Analysis>

The response to send back to the client (wrapped by a task).

GetConversation(GetConversationRequest, ServerCallContext)

public virtual Task<Conversation> GetConversation(GetConversationRequest request, ServerCallContext context)

Gets a conversation.

Parameters
NameDescription
requestGetConversationRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Conversation>

The response to send back to the client (wrapped by a task).

GetIssue(GetIssueRequest, ServerCallContext)

public virtual Task<Issue> GetIssue(GetIssueRequest request, ServerCallContext context)

Gets an issue.

Parameters
NameDescription
requestGetIssueRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Issue>

The response to send back to the client (wrapped by a task).

GetIssueModel(GetIssueModelRequest, ServerCallContext)

public virtual Task<IssueModel> GetIssueModel(GetIssueModelRequest request, ServerCallContext context)

Gets an issue model.

Parameters
NameDescription
requestGetIssueModelRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<IssueModel>

The response to send back to the client (wrapped by a task).

GetPhraseMatcher(GetPhraseMatcherRequest, ServerCallContext)

public virtual Task<PhraseMatcher> GetPhraseMatcher(GetPhraseMatcherRequest request, ServerCallContext context)

Gets a phrase matcher.

Parameters
NameDescription
requestGetPhraseMatcherRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<PhraseMatcher>

The response to send back to the client (wrapped by a task).

GetSettings(GetSettingsRequest, ServerCallContext)

public virtual Task<Settings> GetSettings(GetSettingsRequest request, ServerCallContext context)

Gets project-level settings.

Parameters
NameDescription
requestGetSettingsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Settings>

The response to send back to the client (wrapped by a task).

GetView(GetViewRequest, ServerCallContext)

public virtual Task<View> GetView(GetViewRequest request, ServerCallContext context)

Gets a view.

Parameters
NameDescription
requestGetViewRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<View>

The response to send back to the client (wrapped by a task).

IngestConversations(IngestConversationsRequest, ServerCallContext)

public virtual Task<Operation> IngestConversations(IngestConversationsRequest request, ServerCallContext context)

Imports conversations and processes them according to the user's configuration.

Parameters
NameDescription
requestIngestConversationsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

ListAnalyses(ListAnalysesRequest, ServerCallContext)

public virtual Task<ListAnalysesResponse> ListAnalyses(ListAnalysesRequest request, ServerCallContext context)

Lists analyses.

Parameters
NameDescription
requestListAnalysesRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<ListAnalysesResponse>

The response to send back to the client (wrapped by a task).

ListConversations(ListConversationsRequest, ServerCallContext)

public virtual Task<ListConversationsResponse> ListConversations(ListConversationsRequest request, ServerCallContext context)

Lists conversations.

Parameters
NameDescription
requestListConversationsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<ListConversationsResponse>

The response to send back to the client (wrapped by a task).

ListIssueModels(ListIssueModelsRequest, ServerCallContext)

public virtual Task<ListIssueModelsResponse> ListIssueModels(ListIssueModelsRequest request, ServerCallContext context)

Lists issue models.

Parameters
NameDescription
requestListIssueModelsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<ListIssueModelsResponse>

The response to send back to the client (wrapped by a task).

ListIssues(ListIssuesRequest, ServerCallContext)

public virtual Task<ListIssuesResponse> ListIssues(ListIssuesRequest request, ServerCallContext context)

Lists issues.

Parameters
NameDescription
requestListIssuesRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<ListIssuesResponse>

The response to send back to the client (wrapped by a task).

ListPhraseMatchers(ListPhraseMatchersRequest, ServerCallContext)

public virtual Task<ListPhraseMatchersResponse> ListPhraseMatchers(ListPhraseMatchersRequest request, ServerCallContext context)

Lists phrase matchers.

Parameters
NameDescription
requestListPhraseMatchersRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<ListPhraseMatchersResponse>

The response to send back to the client (wrapped by a task).

ListViews(ListViewsRequest, ServerCallContext)

public virtual Task<ListViewsResponse> ListViews(ListViewsRequest request, ServerCallContext context)

Lists views.

Parameters
NameDescription
requestListViewsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<ListViewsResponse>

The response to send back to the client (wrapped by a task).

UndeployIssueModel(UndeployIssueModelRequest, ServerCallContext)

public virtual Task<Operation> UndeployIssueModel(UndeployIssueModelRequest request, ServerCallContext context)

Undeploys an issue model. An issue model can not be used in analysis after it has been undeployed.

Parameters
NameDescription
requestUndeployIssueModelRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

UpdateConversation(UpdateConversationRequest, ServerCallContext)

public virtual Task<Conversation> UpdateConversation(UpdateConversationRequest request, ServerCallContext context)

Updates a conversation.

Parameters
NameDescription
requestUpdateConversationRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Conversation>

The response to send back to the client (wrapped by a task).

UpdateIssue(UpdateIssueRequest, ServerCallContext)

public virtual Task<Issue> UpdateIssue(UpdateIssueRequest request, ServerCallContext context)

Updates an issue.

Parameters
NameDescription
requestUpdateIssueRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Issue>

The response to send back to the client (wrapped by a task).

UpdateIssueModel(UpdateIssueModelRequest, ServerCallContext)

public virtual Task<IssueModel> UpdateIssueModel(UpdateIssueModelRequest request, ServerCallContext context)

Updates an issue model.

Parameters
NameDescription
requestUpdateIssueModelRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<IssueModel>

The response to send back to the client (wrapped by a task).

UpdatePhraseMatcher(UpdatePhraseMatcherRequest, ServerCallContext)

public virtual Task<PhraseMatcher> UpdatePhraseMatcher(UpdatePhraseMatcherRequest request, ServerCallContext context)

Updates a phrase matcher.

Parameters
NameDescription
requestUpdatePhraseMatcherRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<PhraseMatcher>

The response to send back to the client (wrapped by a task).

UpdateSettings(UpdateSettingsRequest, ServerCallContext)

public virtual Task<Settings> UpdateSettings(UpdateSettingsRequest request, ServerCallContext context)

Updates project-level settings.

Parameters
NameDescription
requestUpdateSettingsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Settings>

The response to send back to the client (wrapped by a task).

UpdateView(UpdateViewRequest, ServerCallContext)

public virtual Task<View> UpdateView(UpdateViewRequest request, ServerCallContext context)

Updates a view.

Parameters
NameDescription
requestUpdateViewRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<View>

The response to send back to the client (wrapped by a task).