Class ContactCenterInsightsGrpc.ContactCenterInsightsFutureStub (2.53.0)

public static final class ContactCenterInsightsGrpc.ContactCenterInsightsFutureStub extends AbstractFutureStub<ContactCenterInsightsGrpc.ContactCenterInsightsFutureStub>

A stub to allow clients to do ListenableFuture-style 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.AbstractFutureStub > ContactCenterInsightsGrpc.ContactCenterInsightsFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected ContactCenterInsightsGrpc.ContactCenterInsightsFutureStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
ContactCenterInsightsGrpc.ContactCenterInsightsFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

bulkAnalyzeConversations(BulkAnalyzeConversationsRequest request)

public ListenableFuture<Operation> bulkAnalyzeConversations(BulkAnalyzeConversationsRequest request)

Analyzes multiple conversations in a single request.

Parameter
Name Description
request BulkAnalyzeConversationsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

bulkDeleteConversations(BulkDeleteConversationsRequest request)

public ListenableFuture<Operation> bulkDeleteConversations(BulkDeleteConversationsRequest request)

Deletes multiple conversations in a single request.

Parameter
Name Description
request BulkDeleteConversationsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

calculateIssueModelStats(CalculateIssueModelStatsRequest request)

public ListenableFuture<CalculateIssueModelStatsResponse> calculateIssueModelStats(CalculateIssueModelStatsRequest request)

Gets an issue model's statistics.

Parameter
Name Description
request CalculateIssueModelStatsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<CalculateIssueModelStatsResponse>

calculateStats(CalculateStatsRequest request)

public ListenableFuture<CalculateStatsResponse> calculateStats(CalculateStatsRequest request)

Gets conversation statistics.

Parameter
Name Description
request CalculateStatsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<CalculateStatsResponse>

createAnalysis(CreateAnalysisRequest request)

public ListenableFuture<Operation> createAnalysis(CreateAnalysisRequest request)

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

Parameter
Name Description
request CreateAnalysisRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

createConversation(CreateConversationRequest request)

public ListenableFuture<Conversation> createConversation(CreateConversationRequest request)

Creates a conversation. Note that this method does not support audio transcription or redaction. Use conversations.upload instead.

Parameter
Name Description
request CreateConversationRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Conversation>

createIssueModel(CreateIssueModelRequest request)

public ListenableFuture<Operation> createIssueModel(CreateIssueModelRequest request)

Creates an issue model.

Parameter
Name Description
request CreateIssueModelRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

createPhraseMatcher(CreatePhraseMatcherRequest request)

public ListenableFuture<PhraseMatcher> createPhraseMatcher(CreatePhraseMatcherRequest request)

Creates a phrase matcher.

Parameter
Name Description
request CreatePhraseMatcherRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<PhraseMatcher>

createView(CreateViewRequest request)

public ListenableFuture<View> createView(CreateViewRequest request)

Creates a view.

Parameter
Name Description
request CreateViewRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<View>

deleteAnalysis(DeleteAnalysisRequest request)

public ListenableFuture<Empty> deleteAnalysis(DeleteAnalysisRequest request)

Deletes an analysis.

Parameter
Name Description
request DeleteAnalysisRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Empty>

deleteConversation(DeleteConversationRequest request)

public ListenableFuture<Empty> deleteConversation(DeleteConversationRequest request)

Deletes a conversation.

Parameter
Name Description
request DeleteConversationRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Empty>

deleteIssue(DeleteIssueRequest request)

public ListenableFuture<Empty> deleteIssue(DeleteIssueRequest request)

Deletes an issue.

Parameter
Name Description
request DeleteIssueRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Empty>

deleteIssueModel(DeleteIssueModelRequest request)

public ListenableFuture<Operation> deleteIssueModel(DeleteIssueModelRequest request)

Deletes an issue model.

Parameter
Name Description
request DeleteIssueModelRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deletePhraseMatcher(DeletePhraseMatcherRequest request)

public ListenableFuture<Empty> deletePhraseMatcher(DeletePhraseMatcherRequest request)

Deletes a phrase matcher.

Parameter
Name Description
request DeletePhraseMatcherRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Empty>

deleteView(DeleteViewRequest request)

public ListenableFuture<Empty> deleteView(DeleteViewRequest request)

Deletes a view.

Parameter
Name Description
request DeleteViewRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Empty>

deployIssueModel(DeployIssueModelRequest request)

public ListenableFuture<Operation> deployIssueModel(DeployIssueModelRequest request)

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.

Parameter
Name Description
request DeployIssueModelRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

exportInsightsData(ExportInsightsDataRequest request)

public ListenableFuture<Operation> exportInsightsData(ExportInsightsDataRequest request)

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

Parameter
Name Description
request ExportInsightsDataRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

exportIssueModel(ExportIssueModelRequest request)

public ListenableFuture<Operation> exportIssueModel(ExportIssueModelRequest request)

Exports an issue model to the provided destination.

Parameter
Name Description
request ExportIssueModelRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

getAnalysis(GetAnalysisRequest request)

public ListenableFuture<Analysis> getAnalysis(GetAnalysisRequest request)

Gets an analysis.

Parameter
Name Description
request GetAnalysisRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Analysis>

getConversation(GetConversationRequest request)

public ListenableFuture<Conversation> getConversation(GetConversationRequest request)

Gets a conversation.

Parameter
Name Description
request GetConversationRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Conversation>

getEncryptionSpec(GetEncryptionSpecRequest request)

public ListenableFuture<EncryptionSpec> getEncryptionSpec(GetEncryptionSpecRequest request)

Gets location-level encryption key specification.

Parameter
Name Description
request GetEncryptionSpecRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<EncryptionSpec>

getIssue(GetIssueRequest request)

public ListenableFuture<Issue> getIssue(GetIssueRequest request)

Gets an issue.

Parameter
Name Description
request GetIssueRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Issue>

getIssueModel(GetIssueModelRequest request)

public ListenableFuture<IssueModel> getIssueModel(GetIssueModelRequest request)

Gets an issue model.

Parameter
Name Description
request GetIssueModelRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<IssueModel>

getPhraseMatcher(GetPhraseMatcherRequest request)

public ListenableFuture<PhraseMatcher> getPhraseMatcher(GetPhraseMatcherRequest request)

Gets a phrase matcher.

Parameter
Name Description
request GetPhraseMatcherRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<PhraseMatcher>

getSettings(GetSettingsRequest request)

public ListenableFuture<Settings> getSettings(GetSettingsRequest request)

Gets project-level settings.

Parameter
Name Description
request GetSettingsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Settings>

getView(GetViewRequest request)

public ListenableFuture<View> getView(GetViewRequest request)

Gets a view.

Parameter
Name Description
request GetViewRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<View>

importIssueModel(ImportIssueModelRequest request)

public ListenableFuture<Operation> importIssueModel(ImportIssueModelRequest request)

Imports an issue model from a Cloud Storage bucket.

Parameter
Name Description
request ImportIssueModelRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

ingestConversations(IngestConversationsRequest request)

public ListenableFuture<Operation> ingestConversations(IngestConversationsRequest request)

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

Parameter
Name Description
request IngestConversationsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

initializeEncryptionSpec(InitializeEncryptionSpecRequest request)

public ListenableFuture<Operation> initializeEncryptionSpec(InitializeEncryptionSpecRequest request)

Initializes a location-level encryption key specification. An error will be thrown if the location has resources already created before the initialization. Once the encryption specification is initialized at a location, it is immutable and all newly created resources under the location will be encrypted with the existing specification.

Parameter
Name Description
request InitializeEncryptionSpecRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

listAnalyses(ListAnalysesRequest request)

public ListenableFuture<ListAnalysesResponse> listAnalyses(ListAnalysesRequest request)

Lists analyses.

Parameter
Name Description
request ListAnalysesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListAnalysesResponse>

listConversations(ListConversationsRequest request)

public ListenableFuture<ListConversationsResponse> listConversations(ListConversationsRequest request)

Lists conversations.

Parameter
Name Description
request ListConversationsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListConversationsResponse>

listIssueModels(ListIssueModelsRequest request)

public ListenableFuture<ListIssueModelsResponse> listIssueModels(ListIssueModelsRequest request)

Lists issue models.

Parameter
Name Description
request ListIssueModelsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListIssueModelsResponse>

listIssues(ListIssuesRequest request)

public ListenableFuture<ListIssuesResponse> listIssues(ListIssuesRequest request)

Lists issues.

Parameter
Name Description
request ListIssuesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListIssuesResponse>

listPhraseMatchers(ListPhraseMatchersRequest request)

public ListenableFuture<ListPhraseMatchersResponse> listPhraseMatchers(ListPhraseMatchersRequest request)

Lists phrase matchers.

Parameter
Name Description
request ListPhraseMatchersRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListPhraseMatchersResponse>

listViews(ListViewsRequest request)

public ListenableFuture<ListViewsResponse> listViews(ListViewsRequest request)

Lists views.

Parameter
Name Description
request ListViewsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListViewsResponse>

undeployIssueModel(UndeployIssueModelRequest request)

public ListenableFuture<Operation> undeployIssueModel(UndeployIssueModelRequest request)

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

Parameter
Name Description
request UndeployIssueModelRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

updateConversation(UpdateConversationRequest request)

public ListenableFuture<Conversation> updateConversation(UpdateConversationRequest request)

Updates a conversation.

Parameter
Name Description
request UpdateConversationRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Conversation>

updateIssue(UpdateIssueRequest request)

public ListenableFuture<Issue> updateIssue(UpdateIssueRequest request)

Updates an issue.

Parameter
Name Description
request UpdateIssueRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Issue>

updateIssueModel(UpdateIssueModelRequest request)

public ListenableFuture<IssueModel> updateIssueModel(UpdateIssueModelRequest request)

Updates an issue model.

Parameter
Name Description
request UpdateIssueModelRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<IssueModel>

updatePhraseMatcher(UpdatePhraseMatcherRequest request)

public ListenableFuture<PhraseMatcher> updatePhraseMatcher(UpdatePhraseMatcherRequest request)

Updates a phrase matcher.

Parameter
Name Description
request UpdatePhraseMatcherRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<PhraseMatcher>

updateSettings(UpdateSettingsRequest request)

public ListenableFuture<Settings> updateSettings(UpdateSettingsRequest request)

Updates project-level settings.

Parameter
Name Description
request UpdateSettingsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Settings>

updateView(UpdateViewRequest request)

public ListenableFuture<View> updateView(UpdateViewRequest request)

Updates a view.

Parameter
Name Description
request UpdateViewRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<View>

uploadConversation(UploadConversationRequest request)

public ListenableFuture<Operation> uploadConversation(UploadConversationRequest request)

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

Parameter
Name Description
request UploadConversationRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>