Class ContactCenterInsights.ContactCenterInsightsBase (1.1.0)

[BindServiceMethod(typeof(ContactCenterInsights), "BindService")]
public abstract class 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

CalculateIssueModelStats(CalculateIssueModelStatsRequest, ServerCallContext)

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

Gets an issue model's statistics.

Parameters
Name Description
request CalculateIssueModelStatsRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request CalculateStatsRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request CreateAnalysisRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request CreateConversationRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request CreateIssueModelRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request CreatePhraseMatcherRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
Task<PhraseMatcher>

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
Name Description
request DeleteAnalysisRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request DeleteConversationRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request DeleteIssueModelRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request DeletePhraseMatcherRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request DeployIssueModelRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request ExportInsightsDataRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request GetAnalysisRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request GetConversationRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request GetIssueRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request GetIssueModelRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request GetPhraseMatcherRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request GetSettingsRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
Task<Settings>

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
Name Description
request ListAnalysesRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request ListConversationsRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request ListIssueModelsRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request ListIssuesRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request ListPhraseMatchersRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
Task<ListPhraseMatchersResponse>

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
Name Description
request UndeployIssueModelRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request UpdateConversationRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request UpdateIssueRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request UpdateIssueModelRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request UpdatePhraseMatcherRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request UpdateSettingsRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
Task<Settings>

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