Contact Center AI Insights v1 API - Class ContactCenterInsights.ContactCenterInsightsClient (2.12.0)

public class ContactCenterInsights.ContactCenterInsightsClient : ClientBase<ContactCenterInsights.ContactCenterInsightsClient>

Reference documentation and code samples for the Contact Center AI Insights v1 API class ContactCenterInsights.ContactCenterInsightsClient.

Client for ContactCenterInsights

Inheritance

object > ClientBase > ClientBaseContactCenterInsightsContactCenterInsightsClient > ContactCenterInsights.ContactCenterInsightsClient

Namespace

Google.Cloud.ContactCenterInsights.V1

Assembly

Google.Cloud.ContactCenterInsights.V1.dll

Constructors

ContactCenterInsightsClient()

protected ContactCenterInsightsClient()

Protected parameterless constructor to allow creation of test doubles.

ContactCenterInsightsClient(CallInvoker)

public ContactCenterInsightsClient(CallInvoker callInvoker)

Creates a new client for ContactCenterInsights that uses a custom CallInvoker.

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

ContactCenterInsightsClient(ChannelBase)

public ContactCenterInsightsClient(ChannelBase channel)

Creates a new client for ContactCenterInsights

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

ContactCenterInsightsClient(ClientBaseConfiguration)

protected ContactCenterInsightsClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

The client configuration.

Methods

BulkAnalyzeConversations(BulkAnalyzeConversationsRequest, CallOptions)

public virtual Operation BulkAnalyzeConversations(BulkAnalyzeConversationsRequest request, CallOptions options)

Analyzes multiple conversations in a single request.

Parameters
NameDescription
requestBulkAnalyzeConversationsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

BulkAnalyzeConversations(BulkAnalyzeConversationsRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation BulkAnalyzeConversations(BulkAnalyzeConversationsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Analyzes multiple conversations in a single request.

Parameters
NameDescription
requestBulkAnalyzeConversationsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

BulkAnalyzeConversationsAsync(BulkAnalyzeConversationsRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> BulkAnalyzeConversationsAsync(BulkAnalyzeConversationsRequest request, CallOptions options)

Analyzes multiple conversations in a single request.

Parameters
NameDescription
requestBulkAnalyzeConversationsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

BulkAnalyzeConversationsAsync(BulkAnalyzeConversationsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> BulkAnalyzeConversationsAsync(BulkAnalyzeConversationsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Analyzes multiple conversations in a single request.

Parameters
NameDescription
requestBulkAnalyzeConversationsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

BulkDeleteConversations(BulkDeleteConversationsRequest, CallOptions)

public virtual Operation BulkDeleteConversations(BulkDeleteConversationsRequest request, CallOptions options)

Deletes multiple conversations in a single request.

Parameters
NameDescription
requestBulkDeleteConversationsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

BulkDeleteConversations(BulkDeleteConversationsRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation BulkDeleteConversations(BulkDeleteConversationsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes multiple conversations in a single request.

Parameters
NameDescription
requestBulkDeleteConversationsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

BulkDeleteConversationsAsync(BulkDeleteConversationsRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> BulkDeleteConversationsAsync(BulkDeleteConversationsRequest request, CallOptions options)

Deletes multiple conversations in a single request.

Parameters
NameDescription
requestBulkDeleteConversationsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

BulkDeleteConversationsAsync(BulkDeleteConversationsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> BulkDeleteConversationsAsync(BulkDeleteConversationsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes multiple conversations in a single request.

Parameters
NameDescription
requestBulkDeleteConversationsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

CalculateIssueModelStats(CalculateIssueModelStatsRequest, CallOptions)

public virtual CalculateIssueModelStatsResponse CalculateIssueModelStats(CalculateIssueModelStatsRequest request, CallOptions options)

Gets an issue model's statistics.

Parameters
NameDescription
requestCalculateIssueModelStatsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
CalculateIssueModelStatsResponse

The response received from the server.

CalculateIssueModelStats(CalculateIssueModelStatsRequest, Metadata, DateTime?, CancellationToken)

public virtual CalculateIssueModelStatsResponse CalculateIssueModelStats(CalculateIssueModelStatsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets an issue model's statistics.

Parameters
NameDescription
requestCalculateIssueModelStatsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
CalculateIssueModelStatsResponse

The response received from the server.

CalculateIssueModelStatsAsync(CalculateIssueModelStatsRequest, CallOptions)

public virtual AsyncUnaryCall<CalculateIssueModelStatsResponse> CalculateIssueModelStatsAsync(CalculateIssueModelStatsRequest request, CallOptions options)

Gets an issue model's statistics.

Parameters
NameDescription
requestCalculateIssueModelStatsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallCalculateIssueModelStatsResponse

The call object.

CalculateIssueModelStatsAsync(CalculateIssueModelStatsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<CalculateIssueModelStatsResponse> CalculateIssueModelStatsAsync(CalculateIssueModelStatsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets an issue model's statistics.

Parameters
NameDescription
requestCalculateIssueModelStatsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallCalculateIssueModelStatsResponse

The call object.

CalculateStats(CalculateStatsRequest, CallOptions)

public virtual CalculateStatsResponse CalculateStats(CalculateStatsRequest request, CallOptions options)

Gets conversation statistics.

Parameters
NameDescription
requestCalculateStatsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
CalculateStatsResponse

The response received from the server.

CalculateStats(CalculateStatsRequest, Metadata, DateTime?, CancellationToken)

public virtual CalculateStatsResponse CalculateStats(CalculateStatsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets conversation statistics.

Parameters
NameDescription
requestCalculateStatsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
CalculateStatsResponse

The response received from the server.

CalculateStatsAsync(CalculateStatsRequest, CallOptions)

public virtual AsyncUnaryCall<CalculateStatsResponse> CalculateStatsAsync(CalculateStatsRequest request, CallOptions options)

Gets conversation statistics.

Parameters
NameDescription
requestCalculateStatsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallCalculateStatsResponse

The call object.

CalculateStatsAsync(CalculateStatsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<CalculateStatsResponse> CalculateStatsAsync(CalculateStatsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets conversation statistics.

Parameters
NameDescription
requestCalculateStatsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallCalculateStatsResponse

The call object.

CreateAnalysis(CreateAnalysisRequest, CallOptions)

public virtual Operation CreateAnalysis(CreateAnalysisRequest request, CallOptions options)

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

Parameters
NameDescription
requestCreateAnalysisRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateAnalysis(CreateAnalysisRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation CreateAnalysis(CreateAnalysisRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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

Parameters
NameDescription
requestCreateAnalysisRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateAnalysisAsync(CreateAnalysisRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateAnalysisAsync(CreateAnalysisRequest request, CallOptions options)

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

Parameters
NameDescription
requestCreateAnalysisRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

CreateAnalysisAsync(CreateAnalysisRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> CreateAnalysisAsync(CreateAnalysisRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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

Parameters
NameDescription
requestCreateAnalysisRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

CreateConversation(CreateConversationRequest, CallOptions)

public virtual Conversation CreateConversation(CreateConversationRequest request, CallOptions options)

Creates a conversation.

Parameters
NameDescription
requestCreateConversationRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Conversation

The response received from the server.

CreateConversation(CreateConversationRequest, Metadata, DateTime?, CancellationToken)

public virtual Conversation CreateConversation(CreateConversationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a conversation.

Parameters
NameDescription
requestCreateConversationRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Conversation

The response received from the server.

CreateConversationAsync(CreateConversationRequest, CallOptions)

public virtual AsyncUnaryCall<Conversation> CreateConversationAsync(CreateConversationRequest request, CallOptions options)

Creates a conversation.

Parameters
NameDescription
requestCreateConversationRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallConversation

The call object.

CreateConversationAsync(CreateConversationRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Conversation> CreateConversationAsync(CreateConversationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a conversation.

Parameters
NameDescription
requestCreateConversationRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallConversation

The call object.

CreateIssueModel(CreateIssueModelRequest, CallOptions)

public virtual Operation CreateIssueModel(CreateIssueModelRequest request, CallOptions options)

Creates an issue model.

Parameters
NameDescription
requestCreateIssueModelRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateIssueModel(CreateIssueModelRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation CreateIssueModel(CreateIssueModelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates an issue model.

Parameters
NameDescription
requestCreateIssueModelRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateIssueModelAsync(CreateIssueModelRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateIssueModelAsync(CreateIssueModelRequest request, CallOptions options)

Creates an issue model.

Parameters
NameDescription
requestCreateIssueModelRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

CreateIssueModelAsync(CreateIssueModelRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> CreateIssueModelAsync(CreateIssueModelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates an issue model.

Parameters
NameDescription
requestCreateIssueModelRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

CreateOperationsClient()

public virtual Operations.OperationsClient CreateOperationsClient()

Creates a new instance of Operations.OperationsClient using the same call invoker as this client.

Returns
TypeDescription
OperationsOperationsClient

A new Operations client for the same target as this client.

CreatePhraseMatcher(CreatePhraseMatcherRequest, CallOptions)

public virtual PhraseMatcher CreatePhraseMatcher(CreatePhraseMatcherRequest request, CallOptions options)

Creates a phrase matcher.

Parameters
NameDescription
requestCreatePhraseMatcherRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
PhraseMatcher

The response received from the server.

CreatePhraseMatcher(CreatePhraseMatcherRequest, Metadata, DateTime?, CancellationToken)

public virtual PhraseMatcher CreatePhraseMatcher(CreatePhraseMatcherRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a phrase matcher.

Parameters
NameDescription
requestCreatePhraseMatcherRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
PhraseMatcher

The response received from the server.

CreatePhraseMatcherAsync(CreatePhraseMatcherRequest, CallOptions)

public virtual AsyncUnaryCall<PhraseMatcher> CreatePhraseMatcherAsync(CreatePhraseMatcherRequest request, CallOptions options)

Creates a phrase matcher.

Parameters
NameDescription
requestCreatePhraseMatcherRequest

The request to send to the server.