Interface ContactCenterInsightsGrpc.AsyncService (2.40.0)

public static interface ContactCenterInsightsGrpc.AsyncService

An API that lets users analyze and explore their business conversation data.

Methods

bulkAnalyzeConversations(BulkAnalyzeConversationsRequest request, StreamObserver<Operation> responseObserver)

public default void bulkAnalyzeConversations(BulkAnalyzeConversationsRequest request, StreamObserver<Operation> responseObserver)

Analyzes multiple conversations in a single request.

Parameters
NameDescription
requestBulkAnalyzeConversationsRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

bulkDeleteConversations(BulkDeleteConversationsRequest request, StreamObserver<Operation> responseObserver)

public default void bulkDeleteConversations(BulkDeleteConversationsRequest request, StreamObserver<Operation> responseObserver)

Deletes multiple conversations in a single request.

Parameters
NameDescription
requestBulkDeleteConversationsRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

calculateIssueModelStats(CalculateIssueModelStatsRequest request, StreamObserver<CalculateIssueModelStatsResponse> responseObserver)

public default void calculateIssueModelStats(CalculateIssueModelStatsRequest request, StreamObserver<CalculateIssueModelStatsResponse> responseObserver)

Gets an issue model's statistics.

Parameters
NameDescription
requestCalculateIssueModelStatsRequest
responseObserverio.grpc.stub.StreamObserver<CalculateIssueModelStatsResponse>

calculateStats(CalculateStatsRequest request, StreamObserver<CalculateStatsResponse> responseObserver)

public default void calculateStats(CalculateStatsRequest request, StreamObserver<CalculateStatsResponse> responseObserver)

Gets conversation statistics.

Parameters
NameDescription
requestCalculateStatsRequest
responseObserverio.grpc.stub.StreamObserver<CalculateStatsResponse>

createAnalysis(CreateAnalysisRequest request, StreamObserver<Operation> responseObserver)

public default void createAnalysis(CreateAnalysisRequest request, StreamObserver<Operation> responseObserver)

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

Parameters
NameDescription
requestCreateAnalysisRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

createConversation(CreateConversationRequest request, StreamObserver<Conversation> responseObserver)

public default void createConversation(CreateConversationRequest request, StreamObserver<Conversation> responseObserver)

Creates a conversation.

Parameters
NameDescription
requestCreateConversationRequest
responseObserverio.grpc.stub.StreamObserver<Conversation>

createIssueModel(CreateIssueModelRequest request, StreamObserver<Operation> responseObserver)

public default void createIssueModel(CreateIssueModelRequest request, StreamObserver<Operation> responseObserver)

Creates an issue model.

Parameters
NameDescription
requestCreateIssueModelRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

createPhraseMatcher(CreatePhraseMatcherRequest request, StreamObserver<PhraseMatcher> responseObserver)

public default void createPhraseMatcher(CreatePhraseMatcherRequest request, StreamObserver<PhraseMatcher> responseObserver)

Creates a phrase matcher.

Parameters
NameDescription
requestCreatePhraseMatcherRequest
responseObserverio.grpc.stub.StreamObserver<PhraseMatcher>

createView(CreateViewRequest request, StreamObserver<View> responseObserver)

public default void createView(CreateViewRequest request, StreamObserver<View> responseObserver)

Creates a view.

Parameters
NameDescription
requestCreateViewRequest
responseObserverio.grpc.stub.StreamObserver<View>

deleteAnalysis(DeleteAnalysisRequest request, StreamObserver<Empty> responseObserver)

public default void deleteAnalysis(DeleteAnalysisRequest request, StreamObserver<Empty> responseObserver)

Deletes an analysis.

Parameters
NameDescription
requestDeleteAnalysisRequest
responseObserverio.grpc.stub.StreamObserver<Empty>

deleteConversation(DeleteConversationRequest request, StreamObserver<Empty> responseObserver)

public default void deleteConversation(DeleteConversationRequest request, StreamObserver<Empty> responseObserver)

Deletes a conversation.

Parameters
NameDescription
requestDeleteConversationRequest
responseObserverio.grpc.stub.StreamObserver<Empty>

deleteIssue(DeleteIssueRequest request, StreamObserver<Empty> responseObserver)

public default void deleteIssue(DeleteIssueRequest request, StreamObserver<Empty> responseObserver)

Deletes an issue.

Parameters
NameDescription
requestDeleteIssueRequest
responseObserverio.grpc.stub.StreamObserver<Empty>

deleteIssueModel(DeleteIssueModelRequest request, StreamObserver<Operation> responseObserver)

public default void deleteIssueModel(DeleteIssueModelRequest request, StreamObserver<Operation> responseObserver)

Deletes an issue model.

Parameters
NameDescription
requestDeleteIssueModelRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deletePhraseMatcher(DeletePhraseMatcherRequest request, StreamObserver<Empty> responseObserver)

public default void deletePhraseMatcher(DeletePhraseMatcherRequest request, StreamObserver<Empty> responseObserver)

Deletes a phrase matcher.

Parameters
NameDescription
requestDeletePhraseMatcherRequest
responseObserverio.grpc.stub.StreamObserver<Empty>

deleteView(DeleteViewRequest request, StreamObserver<Empty> responseObserver)

public default void deleteView(DeleteViewRequest request, StreamObserver<Empty> responseObserver)

Deletes a view.

Parameters
NameDescription
requestDeleteViewRequest
responseObserverio.grpc.stub.StreamObserver<Empty>

deployIssueModel(DeployIssueModelRequest request, StreamObserver<Operation> responseObserver)

public default void deployIssueModel(DeployIssueModelRequest request, StreamObserver<Operation> responseObserver)

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
responseObserverio.grpc.stub.StreamObserver<Operation>

exportInsightsData(ExportInsightsDataRequest request, StreamObserver<Operation> responseObserver)

public default void exportInsightsData(ExportInsightsDataRequest request, StreamObserver<Operation> responseObserver)

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

Parameters
NameDescription
requestExportInsightsDataRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

getAnalysis(GetAnalysisRequest request, StreamObserver<Analysis> responseObserver)

public default void getAnalysis(GetAnalysisRequest request, StreamObserver<Analysis> responseObserver)

Gets an analysis.

Parameters
NameDescription
requestGetAnalysisRequest
responseObserverio.grpc.stub.StreamObserver<Analysis>

getConversation(GetConversationRequest request, StreamObserver<Conversation> responseObserver)

public default void getConversation(GetConversationRequest request, StreamObserver<Conversation> responseObserver)

Gets a conversation.

Parameters
NameDescription
requestGetConversationRequest
responseObserverio.grpc.stub.StreamObserver<Conversation>

getIssue(GetIssueRequest request, StreamObserver<Issue> responseObserver)

public default void getIssue(GetIssueRequest request, StreamObserver<Issue> responseObserver)

Gets an issue.

Parameters
NameDescription
requestGetIssueRequest
responseObserverio.grpc.stub.StreamObserver<Issue>

getIssueModel(GetIssueModelRequest request, StreamObserver<IssueModel> responseObserver)

public default void getIssueModel(GetIssueModelRequest request, StreamObserver<IssueModel> responseObserver)

Gets an issue model.

Parameters
NameDescription
requestGetIssueModelRequest
responseObserverio.grpc.stub.StreamObserver<IssueModel>

getPhraseMatcher(GetPhraseMatcherRequest request, StreamObserver<PhraseMatcher> responseObserver)

public default void getPhraseMatcher(GetPhraseMatcherRequest request, StreamObserver<PhraseMatcher> responseObserver)

Gets a phrase matcher.

Parameters
NameDescription
requestGetPhraseMatcherRequest
responseObserverio.grpc.stub.StreamObserver<PhraseMatcher>

getSettings(GetSettingsRequest request, StreamObserver<Settings> responseObserver)

public default void getSettings(GetSettingsRequest request, StreamObserver<Settings> responseObserver)

Gets project-level settings.

Parameters
NameDescription
requestGetSettingsRequest
responseObserverio.grpc.stub.StreamObserver<Settings>

getView(GetViewRequest request, StreamObserver<View> responseObserver)

public default void getView(GetViewRequest request, StreamObserver<View> responseObserver)

Gets a view.

Parameters
NameDescription
requestGetViewRequest
responseObserverio.grpc.stub.StreamObserver<View>

ingestConversations(IngestConversationsRequest request, StreamObserver<Operation> responseObserver)

public default void ingestConversations(IngestConversationsRequest request, StreamObserver<Operation> responseObserver)

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

Parameters
NameDescription
requestIngestConversationsRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

listAnalyses(ListAnalysesRequest request, StreamObserver<ListAnalysesResponse> responseObserver)

public default void listAnalyses(ListAnalysesRequest request, StreamObserver<ListAnalysesResponse> responseObserver)

Lists analyses.

Parameters
NameDescription
requestListAnalysesRequest
responseObserverio.grpc.stub.StreamObserver<ListAnalysesResponse>

listConversations(ListConversationsRequest request, StreamObserver<ListConversationsResponse> responseObserver)

public default void listConversations(ListConversationsRequest request, StreamObserver<ListConversationsResponse> responseObserver)

Lists conversations.

Parameters
NameDescription
requestListConversationsRequest
responseObserverio.grpc.stub.StreamObserver<ListConversationsResponse>

listIssueModels(ListIssueModelsRequest request, StreamObserver<ListIssueModelsResponse> responseObserver)

public default void listIssueModels(ListIssueModelsRequest request, StreamObserver<ListIssueModelsResponse> responseObserver)

Lists issue models.

Parameters
NameDescription
requestListIssueModelsRequest
responseObserverio.grpc.stub.StreamObserver<ListIssueModelsResponse>

listIssues(ListIssuesRequest request, StreamObserver<ListIssuesResponse> responseObserver)

public default void listIssues(ListIssuesRequest request, StreamObserver<ListIssuesResponse> responseObserver)

Lists issues.

Parameters
NameDescription
requestListIssuesRequest
responseObserverio.grpc.stub.StreamObserver<ListIssuesResponse>

listPhraseMatchers(ListPhraseMatchersRequest request, StreamObserver<ListPhraseMatchersResponse> responseObserver)

public default void listPhraseMatchers(ListPhraseMatchersRequest request, StreamObserver<ListPhraseMatchersResponse> responseObserver)

Lists phrase matchers.

Parameters
NameDescription
requestListPhraseMatchersRequest
responseObserverio.grpc.stub.StreamObserver<ListPhraseMatchersResponse>

listViews(ListViewsRequest request, StreamObserver<ListViewsResponse> responseObserver)

public default void listViews(ListViewsRequest request, StreamObserver<ListViewsResponse> responseObserver)

Lists views.

Parameters
NameDescription
requestListViewsRequest
responseObserverio.grpc.stub.StreamObserver<ListViewsResponse>

undeployIssueModel(UndeployIssueModelRequest request, StreamObserver<Operation> responseObserver)

public default void undeployIssueModel(UndeployIssueModelRequest request, StreamObserver<Operation> responseObserver)

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

Parameters
NameDescription
requestUndeployIssueModelRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

updateConversation(UpdateConversationRequest request, StreamObserver<Conversation> responseObserver)

public default void updateConversation(UpdateConversationRequest request, StreamObserver<Conversation> responseObserver)

Updates a conversation.

Parameters
NameDescription
requestUpdateConversationRequest
responseObserverio.grpc.stub.StreamObserver<Conversation>

updateIssue(UpdateIssueRequest request, StreamObserver<Issue> responseObserver)

public default void updateIssue(UpdateIssueRequest request, StreamObserver<Issue> responseObserver)

Updates an issue.

Parameters
NameDescription
requestUpdateIssueRequest
responseObserverio.grpc.stub.StreamObserver<Issue>

updateIssueModel(UpdateIssueModelRequest request, StreamObserver<IssueModel> responseObserver)

public default void updateIssueModel(UpdateIssueModelRequest request, StreamObserver<IssueModel> responseObserver)

Updates an issue model.

Parameters
NameDescription
requestUpdateIssueModelRequest
responseObserverio.grpc.stub.StreamObserver<IssueModel>

updatePhraseMatcher(UpdatePhraseMatcherRequest request, StreamObserver<PhraseMatcher> responseObserver)

public default void updatePhraseMatcher(UpdatePhraseMatcherRequest request, StreamObserver<PhraseMatcher> responseObserver)

Updates a phrase matcher.

Parameters
NameDescription
requestUpdatePhraseMatcherRequest
responseObserverio.grpc.stub.StreamObserver<PhraseMatcher>

updateSettings(UpdateSettingsRequest request, StreamObserver<Settings> responseObserver)

public default void updateSettings(UpdateSettingsRequest request, StreamObserver<Settings> responseObserver)

Updates project-level settings.

Parameters
NameDescription
requestUpdateSettingsRequest
responseObserverio.grpc.stub.StreamObserver<Settings>

updateView(UpdateViewRequest request, StreamObserver<View> responseObserver)

public default void updateView(UpdateViewRequest request, StreamObserver<View> responseObserver)

Updates a view.

Parameters
NameDescription
requestUpdateViewRequest
responseObserverio.grpc.stub.StreamObserver<View>

uploadConversation(UploadConversationRequest request, StreamObserver<Operation> responseObserver)

public default void uploadConversation(UploadConversationRequest request, StreamObserver<Operation> responseObserver)

Create a longrunning conversation upload operation. This method differs from CreateConversation by allowing audio transcription and optional DLP redaction.

Parameters
NameDescription
requestUploadConversationRequest
responseObserverio.grpc.stub.StreamObserver<Operation>