Class ContactCenterInsightsGrpc.ContactCenterInsightsStub (2.22.0)

public static final class ContactCenterInsightsGrpc.ContactCenterInsightsStub extends AbstractAsyncStub<ContactCenterInsightsGrpc.ContactCenterInsightsStub>

A stub to allow clients to do asynchronous rpc calls to service ContactCenterInsights.

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

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > ContactCenterInsightsGrpc.ContactCenterInsightsStub

Methods

build(Channel channel, CallOptions callOptions)

protected ContactCenterInsightsGrpc.ContactCenterInsightsStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
ContactCenterInsightsGrpc.ContactCenterInsightsStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

bulkAnalyzeConversations(BulkAnalyzeConversationsRequest request, StreamObserver<Operation> responseObserver)

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

Analyzes multiple conversations in a single request.

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

calculateIssueModelStats(CalculateIssueModelStatsRequest request, StreamObserver<CalculateIssueModelStatsResponse> responseObserver)

public 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 void listAnalyses(ListAnalysesRequest request, StreamObserver<ListAnalysesResponse> responseObserver)

Lists analyses.

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

listConversations(ListConversationsRequest request, StreamObserver<ListConversationsResponse> responseObserver)

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

Lists conversations.

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

listIssueModels(ListIssueModelsRequest request, StreamObserver<ListIssueModelsResponse> responseObserver)

public 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 void listIssues(ListIssuesRequest request, StreamObserver<ListIssuesResponse> responseObserver)

Lists issues.

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

listPhraseMatchers(ListPhraseMatchersRequest request, StreamObserver<ListPhraseMatchersResponse> responseObserver)

public 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 void listViews(ListViewsRequest request, StreamObserver<ListViewsResponse> responseObserver)

Lists views.

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

undeployIssueModel(UndeployIssueModelRequest request, StreamObserver<Operation> responseObserver)

public 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 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 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 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 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 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 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 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>