Interface ContactCenterInsightsGrpc.AsyncService (2.45.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
Name Description
request BulkAnalyzeConversationsRequest
responseObserver io.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
Name Description
request BulkDeleteConversationsRequest
responseObserver io.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
Name Description
request CalculateIssueModelStatsRequest
responseObserver io.grpc.stub.StreamObserver<CalculateIssueModelStatsResponse>

calculateStats(CalculateStatsRequest request, StreamObserver<CalculateStatsResponse> responseObserver)

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

Gets conversation statistics.

Parameters
Name Description
request CalculateStatsRequest
responseObserver io.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
Name Description
request CreateAnalysisRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createConversation(CreateConversationRequest request, StreamObserver<Conversation> responseObserver)

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

Creates a conversation.

Parameters
Name Description
request CreateConversationRequest
responseObserver io.grpc.stub.StreamObserver<Conversation>

createIssueModel(CreateIssueModelRequest request, StreamObserver<Operation> responseObserver)

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

Creates an issue model.

Parameters
Name Description
request CreateIssueModelRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createPhraseMatcher(CreatePhraseMatcherRequest request, StreamObserver<PhraseMatcher> responseObserver)

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

Creates a phrase matcher.

Parameters
Name Description
request CreatePhraseMatcherRequest
responseObserver io.grpc.stub.StreamObserver<PhraseMatcher>

createView(CreateViewRequest request, StreamObserver<View> responseObserver)

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

Creates a view.

Parameters
Name Description
request CreateViewRequest
responseObserver io.grpc.stub.StreamObserver<View>

deleteAnalysis(DeleteAnalysisRequest request, StreamObserver<Empty> responseObserver)

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

Deletes an analysis.

Parameters
Name Description
request DeleteAnalysisRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

deleteConversation(DeleteConversationRequest request, StreamObserver<Empty> responseObserver)

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

Deletes a conversation.

Parameters
Name Description
request DeleteConversationRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

deleteIssue(DeleteIssueRequest request, StreamObserver<Empty> responseObserver)

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

Deletes an issue.

Parameters
Name Description
request DeleteIssueRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

deleteIssueModel(DeleteIssueModelRequest request, StreamObserver<Operation> responseObserver)

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

Deletes an issue model.

Parameters
Name Description
request DeleteIssueModelRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deletePhraseMatcher(DeletePhraseMatcherRequest request, StreamObserver<Empty> responseObserver)

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

Deletes a phrase matcher.

Parameters
Name Description
request DeletePhraseMatcherRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

deleteView(DeleteViewRequest request, StreamObserver<Empty> responseObserver)

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

Deletes a view.

Parameters
Name Description
request DeleteViewRequest
responseObserver io.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
Name Description
request DeployIssueModelRequest
responseObserver io.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
Name Description
request ExportInsightsDataRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

getAnalysis(GetAnalysisRequest request, StreamObserver<Analysis> responseObserver)

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

Gets an analysis.

Parameters
Name Description
request GetAnalysisRequest
responseObserver io.grpc.stub.StreamObserver<Analysis>

getConversation(GetConversationRequest request, StreamObserver<Conversation> responseObserver)

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

Gets a conversation.

Parameters
Name Description
request GetConversationRequest
responseObserver io.grpc.stub.StreamObserver<Conversation>

getIssue(GetIssueRequest request, StreamObserver<Issue> responseObserver)

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

Gets an issue.

Parameters
Name Description
request GetIssueRequest
responseObserver io.grpc.stub.StreamObserver<Issue>

getIssueModel(GetIssueModelRequest request, StreamObserver<IssueModel> responseObserver)

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

Gets an issue model.

Parameters
Name Description
request GetIssueModelRequest
responseObserver io.grpc.stub.StreamObserver<IssueModel>

getPhraseMatcher(GetPhraseMatcherRequest request, StreamObserver<PhraseMatcher> responseObserver)

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

Gets a phrase matcher.

Parameters
Name Description
request GetPhraseMatcherRequest
responseObserver io.grpc.stub.StreamObserver<PhraseMatcher>

getSettings(GetSettingsRequest request, StreamObserver<Settings> responseObserver)

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

Gets project-level settings.

Parameters
Name Description
request GetSettingsRequest
responseObserver io.grpc.stub.StreamObserver<Settings>

getView(GetViewRequest request, StreamObserver<View> responseObserver)

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

Gets a view.

Parameters
Name Description
request GetViewRequest
responseObserver io.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
Name Description
request IngestConversationsRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

listAnalyses(ListAnalysesRequest request, StreamObserver<ListAnalysesResponse> responseObserver)

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

Lists analyses.

Parameters
Name Description
request ListAnalysesRequest
responseObserver io.grpc.stub.StreamObserver<ListAnalysesResponse>

listConversations(ListConversationsRequest request, StreamObserver<ListConversationsResponse> responseObserver)

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

Lists conversations.

Parameters
Name Description
request ListConversationsRequest
responseObserver io.grpc.stub.StreamObserver<ListConversationsResponse>

listIssueModels(ListIssueModelsRequest request, StreamObserver<ListIssueModelsResponse> responseObserver)

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

Lists issue models.

Parameters
Name Description
request ListIssueModelsRequest
responseObserver io.grpc.stub.StreamObserver<ListIssueModelsResponse>

listIssues(ListIssuesRequest request, StreamObserver<ListIssuesResponse> responseObserver)

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

Lists issues.

Parameters
Name Description
request ListIssuesRequest
responseObserver io.grpc.stub.StreamObserver<ListIssuesResponse>

listPhraseMatchers(ListPhraseMatchersRequest request, StreamObserver<ListPhraseMatchersResponse> responseObserver)

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

Lists phrase matchers.

Parameters
Name Description
request ListPhraseMatchersRequest
responseObserver io.grpc.stub.StreamObserver<ListPhraseMatchersResponse>

listViews(ListViewsRequest request, StreamObserver<ListViewsResponse> responseObserver)

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

Lists views.

Parameters
Name Description
request ListViewsRequest
responseObserver io.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
Name Description
request UndeployIssueModelRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

updateConversation(UpdateConversationRequest request, StreamObserver<Conversation> responseObserver)

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

Updates a conversation.

Parameters
Name Description
request UpdateConversationRequest
responseObserver io.grpc.stub.StreamObserver<Conversation>

updateIssue(UpdateIssueRequest request, StreamObserver<Issue> responseObserver)

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

Updates an issue.

Parameters
Name Description
request UpdateIssueRequest
responseObserver io.grpc.stub.StreamObserver<Issue>

updateIssueModel(UpdateIssueModelRequest request, StreamObserver<IssueModel> responseObserver)

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

Updates an issue model.

Parameters
Name Description
request UpdateIssueModelRequest
responseObserver io.grpc.stub.StreamObserver<IssueModel>

updatePhraseMatcher(UpdatePhraseMatcherRequest request, StreamObserver<PhraseMatcher> responseObserver)

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

Updates a phrase matcher.

Parameters
Name Description
request UpdatePhraseMatcherRequest
responseObserver io.grpc.stub.StreamObserver<PhraseMatcher>

updateSettings(UpdateSettingsRequest request, StreamObserver<Settings> responseObserver)

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

Updates project-level settings.

Parameters
Name Description
request UpdateSettingsRequest
responseObserver io.grpc.stub.StreamObserver<Settings>

updateView(UpdateViewRequest request, StreamObserver<View> responseObserver)

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

Updates a view.

Parameters
Name Description
request UpdateViewRequest
responseObserver io.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
Name Description
request UploadConversationRequest
responseObserver io.grpc.stub.StreamObserver<Operation>