Package google.cloud.contactcenterinsights.v1alpha1

Index

ContactCenterInsights

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

AppealAssessment

rpc AppealAssessment(AppealAssessmentRequest) returns (Assessment)

Appeal an Assessment.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires one of the following IAM permissions on the name resource, depending on the resource type:

  • contactcenterinsights.assessments.appeal
  • contactcenterinsights.authorizedAssessments.appeal

For more information, see the IAM documentation.

BulkAnalyzeConversations

rpc BulkAnalyzeConversations(BulkAnalyzeConversationsRequest) returns (Operation)

Analyzes multiple conversations in a single request.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permissions on the parent resource:

  • contactcenterinsights.authorizedAnalyses.create
  • contactcenterinsights.analyses.create

For more information, see the IAM documentation.

BulkDeleteConversations

rpc BulkDeleteConversations(BulkDeleteConversationsRequest) returns (Operation)

Deletes multiple conversations in a single request.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permissions on the parent resource:

  • contactcenterinsights.authorizedConversations.delete
  • contactcenterinsights.datasetConversations.delete
  • contactcenterinsights.conversations.delete

For more information, see the IAM documentation.

BulkDeleteFeedbackLabels

rpc BulkDeleteFeedbackLabels(BulkDeleteFeedbackLabelsRequest) returns (Operation)

Delete feedback labels in bulk using a filter.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permissions on the parent resource:

  • contactcenterinsights.authorizedFeedbackLabels.delete
  • contactcenterinsights.datasetFeedbackLabels.delete
  • contactcenterinsights.feedbackLabels.delete

For more information, see the IAM documentation.

BulkDownloadFeedbackLabels

rpc BulkDownloadFeedbackLabels(BulkDownloadFeedbackLabelsRequest) returns (Operation)

Download feedback labels in bulk from an external source. Currently supports exporting Quality AI example conversations with transcripts and question bodies.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permissions on the parent resource:

  • contactcenterinsights.authorizedFeedbackLabels.download
  • contactcenterinsights.feedbackLabels.download

For more information, see the IAM documentation.

BulkUploadFeedbackLabels

rpc BulkUploadFeedbackLabels(BulkUploadFeedbackLabelsRequest) returns (Operation)

Upload feedback labels from an external source in bulk. Currently supports labeling Quality AI example conversations.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permissions on the parent resource:

  • contactcenterinsights.authorizedFeedbackLabels.upload
  • contactcenterinsights.feedbackLabels.upload

For more information, see the IAM documentation.

CalculateIssueModelStats

rpc CalculateIssueModelStats(CalculateIssueModelStatsRequest) returns (CalculateIssueModelStatsResponse)

Gets an issue model's statistics.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the issueModel resource:

  • contactcenterinsights.issueModels.get

For more information, see the IAM documentation.

CalculateStats

rpc CalculateStats(CalculateStatsRequest) returns (CalculateStatsResponse)

Gets conversation statistics.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permissions on the location resource:

  • contactcenterinsights.authorizedConversations.list
  • contactcenterinsights.datasetConversations.list
  • contactcenterinsights.conversations.list

For more information, see the IAM documentation.

CreateAnalysis

rpc CreateAnalysis(CreateAnalysisRequest) returns (Operation)

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

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permissions on the parent resource:

  • contactcenterinsights.authorizedAnalyses.create
  • contactcenterinsights.analyses.create
  • contactcenterinsights.datasetAnalyses.create

For more information, see the IAM documentation.

CreateAnalysisRule

rpc CreateAnalysisRule(CreateAnalysisRuleRequest) returns (AnalysisRule)

Creates a analysis rule.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • contactcenterinsights.analysisRules.create

For more information, see the IAM documentation.

CreateAssessment

rpc CreateAssessment(CreateAssessmentRequest) returns (Assessment)

Create Assessment.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permissions on the parent resource:

  • contactcenterinsights.authorizedAssessments.create
  • contactcenterinsights.assessments.create

For more information, see the IAM documentation.

CreateAssessmentRule

rpc CreateAssessmentRule(CreateAssessmentRuleRequest) returns (AssessmentRule)

Creates an assessment rule.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • contactcenterinsights.assessmentRules.create

For more information, see the IAM documentation.

CreateAuthorizedView

rpc CreateAuthorizedView(CreateAuthorizedViewRequest) returns (AuthorizedView)

Create AuthorizedView

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • contactcenterinsights.authorizedViews.create

For more information, see the IAM documentation.

CreateAuthorizedViewSet

rpc CreateAuthorizedViewSet(CreateAuthorizedViewSetRequest) returns (AuthorizedViewSet)

Create AuthorizedViewSet

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • contactcenterinsights.authorizedViewSets.create

For more information, see the IAM documentation.

CreateAutoLabelingRule

rpc CreateAutoLabelingRule(CreateAutoLabelingRuleRequest) returns (AutoLabelingRule)

Creates an auto labeling rule.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

CreateChart

rpc CreateChart(CreateChartRequest) returns (Chart)

Creates a Chart.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

CreateConversation

rpc CreateConversation(CreateConversationRequest) returns (Conversation)

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

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permissions on the parent resource:

  • contactcenterinsights.authorizedConversations.create
  • contactcenterinsights.datasetConversations.create
  • contactcenterinsights.conversations.create

For more information, see the IAM documentation.

CreateDashboard

rpc CreateDashboard(CreateDashboardRequest) returns (Dashboard)

Creates a Dashboard.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

CreateDataset

rpc CreateDataset(CreateDatasetRequest) returns (Dataset)

Creates a dataset.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • contactcenterinsights.datasets.create

For more information, see the IAM documentation.

CreateFeedbackLabel

rpc CreateFeedbackLabel(CreateFeedbackLabelRequest) returns (FeedbackLabel)

Create feedback label.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permissions on the parent resource:

  • contactcenterinsights.authorizedFeedbackLabels.create
  • contactcenterinsights.feedbackLabels.create
  • contactcenterinsights.datasetFeedbackLabels.create

For more information, see the IAM documentation.

CreateIssue

rpc CreateIssue(CreateIssueRequest) returns (Operation)

Creates an issue.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • contactcenterinsights.issues.create

For more information, see the IAM documentation.

CreateIssueModel

rpc CreateIssueModel(CreateIssueModelRequest) returns (Operation)

Creates an issue model.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • contactcenterinsights.issueModels.create

For more information, see the IAM documentation.

CreateNote

rpc CreateNote(CreateNoteRequest) returns (Note)

Create Note.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permissions on the parent resource:

  • contactcenterinsights.notes.create
  • contactcenterinsights.authorizedNotes.create

For more information, see the IAM documentation.

CreatePhraseMatcher

rpc CreatePhraseMatcher(CreatePhraseMatcherRequest) returns (PhraseMatcher)

Creates a phrase matcher.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • contactcenterinsights.phraseMatchers.create

For more information, see the IAM documentation.

CreateQaQuestion

rpc CreateQaQuestion(CreateQaQuestionRequest) returns (QaQuestion)

Create a QaQuestion.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • contactcenterinsights.qaQuestions.create

For more information, see the IAM documentation.

CreateQaQuestionTag

rpc CreateQaQuestionTag(CreateQaQuestionTagRequest) returns (QaQuestionTag)

Creates a QaQuestionTag.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • contactcenterinsights.qaQuestionTags.create

For more information, see the IAM documentation.

CreateQaScorecard

rpc CreateQaScorecard(CreateQaScorecardRequest) returns (QaScorecard)

Create a QaScorecard.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • contactcenterinsights.qaScorecards.create

For more information, see the IAM documentation.

CreateQaScorecardRevision

rpc CreateQaScorecardRevision(CreateQaScorecardRevisionRequest) returns (QaScorecardRevision)

Creates a QaScorecardRevision.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • contactcenterinsights.qaScorecardRevisions.create

For more information, see the IAM documentation.

CreateView

rpc CreateView(CreateViewRequest) returns (View)

Creates a view.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • contactcenterinsights.views.create

For more information, see the IAM documentation.

DeleteAnalysis

rpc DeleteAnalysis(DeleteAnalysisRequest) returns (Empty)

Deletes an analysis.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires one of the following IAM permissions on the name resource, depending on the resource type:

  • contactcenterinsights.analyses.delete
  • contactcenterinsights.authorizedAnalyses.delete

For more information, see the IAM documentation.

DeleteAnalysisRule

rpc DeleteAnalysisRule(DeleteAnalysisRuleRequest) returns (Empty)

Deletes a analysis rule.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • contactcenterinsights.analysisRules.delete

For more information, see the IAM documentation.

DeleteAssessment

rpc DeleteAssessment(DeleteAssessmentRequest) returns (Empty)

Delete an Assessment.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires one of the following IAM permissions on the name resource, depending on the resource type:

  • contactcenterinsights.assessments.delete
  • contactcenterinsights.authorizedAssessments.delete

For more information, see the IAM documentation.

DeleteAssessmentRule

rpc DeleteAssessmentRule(DeleteAssessmentRuleRequest) returns (Empty)

Deletes an assessment rule.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • contactcenterinsights.assessmentRules.delete

For more information, see the IAM documentation.

DeleteAuthorizedView

rpc DeleteAuthorizedView(DeleteAuthorizedViewRequest) returns (Empty)

Deletes an AuthorizedView.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • contactcenterinsights.authorizedViews.delete

For more information, see the IAM documentation.

DeleteAuthorizedViewSet

rpc DeleteAuthorizedViewSet(DeleteAuthorizedViewSetRequest) returns (Empty)

Deletes an AuthorizedViewSet.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • contactcenterinsights.authorizedViewSets.delete

For more information, see the IAM documentation.

DeleteAutoLabelingRule

rpc DeleteAutoLabelingRule(DeleteAutoLabelingRuleRequest) returns (Empty)

Deletes an auto labeling rule.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

DeleteChart

rpc DeleteChart(DeleteChartRequest) returns (Empty)

Deletes a Chart.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

DeleteConversation

rpc DeleteConversation(DeleteConversationRequest) returns (Empty)

Deletes a conversation.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires one of the following IAM permissions on the name resource, depending on the resource type:

  • contactcenterinsights.authorizedConversations.delete
  • contactcenterinsights.conversations.delete
  • contactcenterinsights.datasetConversations.delete

For more information, see the IAM documentation.

DeleteDashboard

rpc DeleteDashboard(DeleteDashboardRequest) returns (Empty)

Deletes a Dashboard.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

DeleteDataset

rpc DeleteDataset(DeleteDatasetRequest) returns (Operation)

Delete a dataset.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • contactcenterinsights.datasets.delete

For more information, see the IAM documentation.

DeleteFeedbackLabel

rpc DeleteFeedbackLabel(DeleteFeedbackLabelRequest) returns (Empty)

Delete feedback label.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires one of the following IAM permissions on the name resource, depending on the resource type:

  • contactcenterinsights.authorizedFeedbackLabels.delete
  • contactcenterinsights.datasetFeedbackLabels.delete
  • contactcenterinsights.feedbackLabels.delete

For more information, see the IAM documentation.

DeleteIssue

rpc DeleteIssue(DeleteIssueRequest) returns (Empty)

Deletes an issue.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • contactcenterinsights.issues.delete

For more information, see the IAM documentation.

DeleteIssueModel

rpc DeleteIssueModel(DeleteIssueModelRequest) returns (Operation)

Deletes an issue model.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • contactcenterinsights.issueModels.delete

For more information, see the IAM documentation.

DeleteNote

rpc DeleteNote(DeleteNoteRequest) returns (Empty)

Deletes a Note.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires one of the following IAM permissions on the name resource, depending on the resource type:

  • contactcenterinsights.authorizedNotes.delete
  • contactcenterinsights.notes.delete

For more information, see the IAM documentation.

DeletePhraseMatcher

rpc DeletePhraseMatcher(DeletePhraseMatcherRequest) returns (Empty)

Deletes a phrase matcher.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • contactcenterinsights.phraseMatchers.delete

For more information, see the IAM documentation.

DeleteQaQuestion

rpc DeleteQaQuestion(DeleteQaQuestionRequest) returns (Empty)

Deletes a QaQuestion.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • contactcenterinsights.qaQuestions.delete

For more information, see the IAM documentation.

DeleteQaQuestionTag

rpc DeleteQaQuestionTag(DeleteQaQuestionTagRequest) returns (Operation)

Deletes a QaQuestionTag.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • contactcenterinsights.qaQuestionTags.delete

For more information, see the IAM documentation.

DeleteQaScorecard

rpc DeleteQaScorecard(DeleteQaScorecardRequest) returns (Empty)

Deletes a QaScorecard.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • contactcenterinsights.qaScorecards.delete

For more information, see the IAM documentation.

DeleteQaScorecardRevision

rpc DeleteQaScorecardRevision(DeleteQaScorecardRevisionRequest) returns (Empty)

Deletes a QaScorecardRevision.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • contactcenterinsights.qaScorecardRevisions.delete

For more information, see the IAM documentation.

DeleteView

rpc DeleteView(DeleteViewRequest) returns (Empty)

Deletes a view.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • contactcenterinsights.views.delete

For more information, see the IAM documentation.

DeployIssueModel

rpc DeployIssueModel(DeployIssueModelRequest) returns (Operation)

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.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • contactcenterinsights.issueModels.deploy

For more information, see the IAM documentation.

DeployQaScorecardRevision

rpc DeployQaScorecardRevision(DeployQaScorecardRevisionRequest) returns (QaScorecardRevision)

Deploy a QaScorecardRevision.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • contactcenterinsights.qaScorecardRevisions.deploy

For more information, see the IAM documentation.

ExportInsightsData

rpc ExportInsightsData(ExportInsightsDataRequest) returns (Operation)

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

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permissions on the parent resource:

  • contactcenterinsights.datasetConversations.list
  • contactcenterinsights.conversations.list

For more information, see the IAM documentation.

ExportIssueModel

rpc ExportIssueModel(ExportIssueModelRequest) returns (Operation)

Exports an issue model to the provided destination.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • contactcenterinsights.issueModels.export

For more information, see the IAM documentation.

FinalizeAssessment

rpc FinalizeAssessment(FinalizeAssessmentRequest) returns (Assessment)

Finalize an Assessment.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires one of the following IAM permissions on the name resource, depending on the resource type:

  • contactcenterinsights.assessments.finalize
  • contactcenterinsights.authorizedAssessments.finalize

For more information, see the IAM documentation.

GenerateConversationSignedAudio

rpc GenerateConversationSignedAudio(GenerateConversationSignedAudioRequest) returns (GenerateConversationSignedAudioResponse)

Gets the signed URI for the audio for the given conversation.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires one of the following IAM permissions on the name resource, depending on the resource type:

  • contactcenterinsights.authorizedConversations.generateSignedAudio
  • contactcenterinsights.conversations.generateSignedAudio
  • contactcenterinsights.datasetConversations.generateSignedAudio

For more information, see the IAM documentation.

GenerativeInsights

rpc GenerativeInsights(GenerativeInsightsRequest) returns (Operation)

Natural language based Insights which powers the next generation of dashboards in Insights. Next generation of QueryMetrics.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permissions on the location resource:

  • contactcenterinsights.authorizedConversations.list
  • contactcenterinsights.conversations.list

For more information, see the IAM documentation.

GetAnalysis

rpc GetAnalysis(GetAnalysisRequest) returns (Analysis)

Gets an analysis.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires one of the following IAM permissions on the name resource, depending on the resource type:

  • contactcenterinsights.analyses.get
  • contactcenterinsights.authorizedAnalyses.get

For more information, see the IAM documentation.

GetAnalysisRule

rpc GetAnalysisRule(GetAnalysisRuleRequest) returns (AnalysisRule)

Get a analysis rule.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • contactcenterinsights.analysisRules.get

For more information, see the IAM documentation.

GetAssessment

rpc GetAssessment(GetAssessmentRequest) returns (Assessment)

Get Assessment.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires one of the following IAM permissions on the name resource, depending on the resource type:

  • contactcenterinsights.assessments.get
  • contactcenterinsights.authorizedAssessments.get

For more information, see the IAM documentation.

GetAssessmentRule

rpc GetAssessmentRule(GetAssessmentRuleRequest) returns (AssessmentRule)

Get an assessment rule.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • contactcenterinsights.assessmentRules.get

For more information, see the IAM documentation.

GetAuthorizedView

rpc GetAuthorizedView(GetAuthorizedViewRequest) returns (AuthorizedView)

Get AuthorizedView

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • contactcenterinsights.authorizedViews.get

For more information, see the IAM documentation.

GetAuthorizedViewSet

rpc GetAuthorizedViewSet(GetAuthorizedViewSetRequest) returns (AuthorizedViewSet)

Get AuthorizedViewSet

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • contactcenterinsights.authorizedViewSets.get

For more information, see the IAM documentation.

GetAutoLabelingRule

rpc GetAutoLabelingRule(GetAutoLabelingRuleRequest) returns (AutoLabelingRule)

Gets an auto labeling rule.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

GetChart

rpc GetChart(GetChartRequest) returns (Chart)

Gets a Chart.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

GetConversation

rpc GetConversation(GetConversationRequest) returns (Conversation)

Gets a conversation.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires one of the following IAM permissions on the name resource, depending on the resource type:

  • contactcenterinsights.authorizedConversations.get
  • contactcenterinsights.conversations.get
  • contactcenterinsights.datasetConversations.get

For more information, see the IAM documentation.

GetCorrelationConfig

rpc GetCorrelationConfig(GetCorrelationConfigRequest) returns (CorrelationConfig)

Gets correlation config.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

GetDashboard

rpc GetDashboard(GetDashboardRequest) returns (Dashboard)

Gets a Dashboard.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

GetDataset

rpc GetDataset(GetDatasetRequest) returns (Dataset)

Gets a dataset.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • contactcenterinsights.datasets.get

For more information, see the IAM documentation.

GetEncryptionSpec

rpc GetEncryptionSpec(GetEncryptionSpecRequest) returns (EncryptionSpec)

Gets location-level encryption key specification.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • contactcenterinsights.encryptionSpecs.get

For more information, see the IAM documentation.

GetFeedbackLabel

rpc GetFeedbackLabel(GetFeedbackLabelRequest) returns (FeedbackLabel)

Get feedback label.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires one of the following IAM permissions on the name resource, depending on the resource type:

  • contactcenterinsights.authorizedFeedbackLabels.get
  • contactcenterinsights.datasetFeedbackLabels.get
  • contactcenterinsights.feedbackLabels.get

For more information, see the IAM documentation.

GetIssue

rpc GetIssue(GetIssueRequest) returns (Issue)

Gets an issue.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • contactcenterinsights.issues.get

For more information, see the IAM documentation.

GetIssueModel

rpc GetIssueModel(GetIssueModelRequest) returns (IssueModel)

Gets an issue model.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • contactcenterinsights.issueModels.get

For more information, see the IAM documentation.

GetPhraseMatcher

rpc GetPhraseMatcher(GetPhraseMatcherRequest) returns (PhraseMatcher)

Gets a phrase matcher.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • contactcenterinsights.phraseMatchers.get

For more information, see the IAM documentation.

GetQaQuestion

rpc GetQaQuestion(GetQaQuestionRequest) returns (QaQuestion)

Gets a QaQuestion.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • contactcenterinsights.qaQuestions.get

For more information, see the IAM documentation.

GetQaQuestionTag

rpc GetQaQuestionTag(GetQaQuestionTagRequest) returns (QaQuestionTag)

Gets a QaQuestionTag.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • contactcenterinsights.qaQuestionTags.get

For more information, see the IAM documentation.

GetQaScorecard

rpc GetQaScorecard(GetQaScorecardRequest) returns (QaScorecard)

Gets a QaScorecard.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • contactcenterinsights.qaScorecards.get

For more information, see the IAM documentation.

GetQaScorecardRevision

rpc GetQaScorecardRevision(GetQaScorecardRevisionRequest) returns (QaScorecardRevision)

Gets a QaScorecardRevision.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • contactcenterinsights.qaScorecardRevisions.get

For more information, see the IAM documentation.

GetSettings

rpc GetSettings(GetSettingsRequest) returns (Settings)

Gets project-level settings.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • contactcenterinsights.settings.get

For more information, see the IAM documentation.

GetView

rpc GetView(GetViewRequest) returns (View)

Gets a view.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • contactcenterinsights.views.get

For more information, see the IAM documentation.

ImportIssueModel

rpc ImportIssueModel(ImportIssueModelRequest) returns (Operation)

Imports an issue model from a Cloud Storage bucket.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permissions on the parent resource:

  • contactcenterinsights.issueModels.create
  • contactcenterinsights.issueModels.import

For more information, see the IAM documentation.

IngestConversations

rpc IngestConversations(IngestConversationsRequest) returns (Operation)

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

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permissions on the parent resource:

  • contactcenterinsights.datasetConversations.create
  • contactcenterinsights.conversations.create

For more information, see the IAM documentation.

InitializeEncryptionSpec

rpc InitializeEncryptionSpec(InitializeEncryptionSpecRequest) returns (Operation)

Initializes a location-level encryption key specification. An error will result if the location has resources already created before the initialization. After 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.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • contactcenterinsights.encryptionSpecs.initialize

For more information, see the IAM documentation.

ListAllFeedbackLabels

rpc ListAllFeedbackLabels(ListAllFeedbackLabelsRequest) returns (ListAllFeedbackLabelsResponse)

List all feedback labels by project number.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permissions on the parent resource:

  • contactcenterinsights.authorizedFeedbackLabels.list
  • contactcenterinsights.datasetFeedbackLabels.list
  • contactcenterinsights.feedbackLabels.list

For more information, see the IAM documentation.

ListAnalyses

rpc ListAnalyses(ListAnalysesRequest) returns (ListAnalysesResponse)

Lists analyses.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permissions on the parent resource:

  • contactcenterinsights.authorizedAnalyses.list
  • contactcenterinsights.analyses.list

For more information, see the IAM documentation.

ListAnalysisRules

rpc ListAnalysisRules(ListAnalysisRulesRequest) returns (ListAnalysisRulesResponse)

Lists analysis rules.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • contactcenterinsights.analysisRules.list

For more information, see the IAM documentation.

ListAssessmentRules

rpc ListAssessmentRules(ListAssessmentRulesRequest) returns (ListAssessmentRulesResponse)

Lists assessment rules.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • contactcenterinsights.assessmentRules.list

For more information, see the IAM documentation.

ListAssessments

rpc ListAssessments(ListAssessmentsRequest) returns (ListAssessmentsResponse)

List Assessments.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permissions on the parent resource:

  • contactcenterinsights.authorizedAssessments.list
  • contactcenterinsights.assessments.list

For more information, see the IAM documentation.

ListAuthorizedViewSets

rpc ListAuthorizedViewSets(ListAuthorizedViewSetsRequest) returns (ListAuthorizedViewSetsResponse)

List AuthorizedViewSets

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • contactcenterinsights.authorizedViewSets.list

For more information, see the IAM documentation.

ListAuthorizedViews

rpc ListAuthorizedViews(ListAuthorizedViewsRequest) returns (ListAuthorizedViewsResponse)

List AuthorizedViewSets

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • contactcenterinsights.authorizedViews.list

For more information, see the IAM documentation.

ListAutoLabelingRules

rpc ListAutoLabelingRules(ListAutoLabelingRulesRequest) returns (ListAutoLabelingRulesResponse)

Lists auto labeling rules.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

ListCharts

rpc ListCharts(ListChartsRequest) returns (ListChartsResponse)

Lists Charts.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

ListConversations

rpc ListConversations(ListConversationsRequest) returns (ListConversationsResponse)

Lists conversations.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permissions on the parent resource:

  • contactcenterinsights.authorizedConversations.list
  • contactcenterinsights.datasetConversations.list
  • contactcenterinsights.conversations.list

For more information, see the IAM documentation.

ListDashboards

rpc ListDashboards(ListDashboardsRequest) returns (ListDashboardsResponse)

Lists Dashboards.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

ListDatasets

rpc ListDatasets(ListDatasetsRequest) returns (ListDatasetsResponse)

List datasets matching the input.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • contactcenterinsights.datasets.list

For more information, see the IAM documentation.

ListFeedbackLabels

rpc ListFeedbackLabels(ListFeedbackLabelsRequest) returns (ListFeedbackLabelsResponse)

List feedback labels.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permissions on the parent resource:

  • contactcenterinsights.authorizedFeedbackLabels.list
  • contactcenterinsights.feedbackLabels.list
  • contactcenterinsights.datasetFeedbackLabels.list

For more information, see the IAM documentation.

ListIssueModels

rpc ListIssueModels(ListIssueModelsRequest) returns (ListIssueModelsResponse)

Lists issue models.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • contactcenterinsights.issueModels.list

For more information, see the IAM documentation.

ListIssues

rpc ListIssues(ListIssuesRequest) returns (ListIssuesResponse)

Lists issues.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • contactcenterinsights.issues.list

For more information, see the IAM documentation.

ListNotes

rpc ListNotes(ListNotesRequest) returns (ListNotesResponse)

List Notes.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permissions on the parent resource:

  • contactcenterinsights.notes.list
  • contactcenterinsights.authorizedNotes.list

For more information, see the IAM documentation.

ListPhraseMatchers

rpc ListPhraseMatchers(ListPhraseMatchersRequest) returns (ListPhraseMatchersResponse)

Lists phrase matchers.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • contactcenterinsights.phraseMatchers.list

For more information, see the IAM documentation.

ListQaQuestionTags

rpc ListQaQuestionTags(ListQaQuestionTagsRequest) returns (ListQaQuestionTagsResponse)

Lists the question tags.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • contactcenterinsights.qaQuestionTags.list

For more information, see the IAM documentation.

ListQaQuestions

rpc ListQaQuestions(ListQaQuestionsRequest) returns (ListQaQuestionsResponse)

Lists QaQuestions.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • contactcenterinsights.qaQuestions.list

For more information, see the IAM documentation.

ListQaScorecardRevisions

rpc ListQaScorecardRevisions(ListQaScorecardRevisionsRequest) returns (ListQaScorecardRevisionsResponse)

Lists all revisions under the parent QaScorecard.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • contactcenterinsights.qaScorecardRevisions.list

For more information, see the IAM documentation.

ListQaScorecards

rpc ListQaScorecards(ListQaScorecardsRequest) returns (ListQaScorecardsResponse)

Lists QaScorecards.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • contactcenterinsights.qaScorecards.list

For more information, see the IAM documentation.

ListViews

rpc ListViews(ListViewsRequest) returns (ListViewsResponse)

Lists views.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • contactcenterinsights.views.list

For more information, see the IAM documentation.

PublishAssessment

rpc PublishAssessment(PublishAssessmentRequest) returns (Assessment)

Publish an Assessment.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires one of the following IAM permissions on the name resource, depending on the resource type:

  • contactcenterinsights.assessments.publish
  • contactcenterinsights.authorizedAssessments.publish

For more information, see the IAM documentation.

QueryMetrics

rpc QueryMetrics(QueryMetricsRequest) returns (Operation)

Query metrics.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permissions on the location resource:

  • contactcenterinsights.authorizedConversations.list
  • contactcenterinsights.conversations.list

For more information, see the IAM documentation.

QueryPerformanceOverview

rpc QueryPerformanceOverview(QueryPerformanceOverviewRequest) returns (Operation)

Generates a summary of predefined performance metrics for a set of conversations. Conversations can be specified by specifying a time window and an agent id, for now. The summary includes a comparison of metrics computed for conversations in the previous time period, and also a comparison with peers in the same time period.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permissions on the parent resource:

  • contactcenterinsights.authorizedConversations.list
  • contactcenterinsights.conversations.list

For more information, see the IAM documentation.

SampleConversations

rpc SampleConversations(SampleConversationsRequest) returns (Operation)

Samples conversations based on user configuration and handles the sampled conversations for different use cases.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permissions on the parent resource:

  • contactcenterinsights.datasetConversations.list
  • contactcenterinsights.conversations.list

For more information, see the IAM documentation.

SearchAuthorizedViews

rpc SearchAuthorizedViews(SearchAuthorizedViewsRequest) returns (SearchAuthorizedViewsResponse)

SearchAuthorizedViewSets

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

TestAutoLabelingRule

rpc TestAutoLabelingRule(TestAutoLabelingRuleRequest) returns (TestAutoLabelingRuleResponse)

Tests auto labeling rules against a conversation.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

TestCorrelationConfig

rpc TestCorrelationConfig(TestCorrelationConfigRequest) returns (Operation)

Tests correlation config on a conversation.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

TuneQaScorecardRevision

rpc TuneQaScorecardRevision(TuneQaScorecardRevisionRequest) returns (Operation)

Fine tune one or more QaModels.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • contactcenterinsights.qaScorecardRevisions.tune

For more information, see the IAM documentation.

UndeployIssueModel

rpc UndeployIssueModel(UndeployIssueModelRequest) returns (Operation)

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

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • contactcenterinsights.issueModels.undeploy

For more information, see the IAM documentation.

UndeployQaScorecardRevision

rpc UndeployQaScorecardRevision(UndeployQaScorecardRevisionRequest) returns (QaScorecardRevision)

Undeploy a QaScorecardRevision.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • contactcenterinsights.qaScorecardRevisions.undeploy

For more information, see the IAM documentation.

UpdateAnalysisRule

rpc UpdateAnalysisRule(UpdateAnalysisRuleRequest) returns (AnalysisRule)

Updates a analysis rule.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • contactcenterinsights.analysisRules.update

For more information, see the IAM documentation.

UpdateAssessmentRule

rpc UpdateAssessmentRule(UpdateAssessmentRuleRequest) returns (AssessmentRule)

Updates an assessment rule.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • contactcenterinsights.assessmentRules.update

For more information, see the IAM documentation.

UpdateAuthorizedView

rpc UpdateAuthorizedView(UpdateAuthorizedViewRequest) returns (AuthorizedView)

Updates an AuthorizedView.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • contactcenterinsights.authorizedViews.update

For more information, see the IAM documentation.

UpdateAuthorizedViewSet

rpc UpdateAuthorizedViewSet(UpdateAuthorizedViewSetRequest) returns (AuthorizedViewSet)

Updates an AuthorizedViewSet.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • contactcenterinsights.authorizedViewSets.update

For more information, see the IAM documentation.

UpdateAutoLabelingRule

rpc UpdateAutoLabelingRule(UpdateAutoLabelingRuleRequest) returns (AutoLabelingRule)

Updates an auto labeling rule.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

UpdateChart

rpc UpdateChart(UpdateChartRequest) returns (Chart)

Updates a Chart.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

UpdateConversation

rpc UpdateConversation(UpdateConversationRequest) returns (Conversation)

Updates a conversation.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires one of the following IAM permissions on the name resource, depending on the resource type:

  • contactcenterinsights.authorizedConversations.update
  • contactcenterinsights.conversations.update
  • contactcenterinsights.datasetConversations.update

For more information, see the IAM documentation.

UpdateCorrelationConfig

rpc UpdateCorrelationConfig(UpdateCorrelationConfigRequest) returns (CorrelationConfig)

Updates correlation config.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

UpdateDashboard

rpc UpdateDashboard(UpdateDashboardRequest) returns (Dashboard)

Updates a Dashboard.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

UpdateDataset

rpc UpdateDataset(UpdateDatasetRequest) returns (Dataset)

Updates a dataset.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • contactcenterinsights.datasets.update

For more information, see the IAM documentation.

UpdateFeedbackLabel

rpc UpdateFeedbackLabel(UpdateFeedbackLabelRequest) returns (FeedbackLabel)

Update feedback label.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires one of the following IAM permissions on the name resource, depending on the resource type:

  • contactcenterinsights.authorizedFeedbackLabels.update
  • contactcenterinsights.datasetFeedbackLabels.update
  • contactcenterinsights.feedbackLabels.update

For more information, see the IAM documentation.

UpdateIssue

rpc UpdateIssue(UpdateIssueRequest) returns (Issue)

Updates an issue.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • contactcenterinsights.issues.update

For more information, see the IAM documentation.

UpdateIssueModel

rpc UpdateIssueModel(UpdateIssueModelRequest) returns (IssueModel)

Updates an issue model.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • contactcenterinsights.issueModels.update

For more information, see the IAM documentation.

UpdateNote

rpc UpdateNote(UpdateNoteRequest) returns (Note)

Update Note.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires one of the following IAM permissions on the name resource, depending on the resource type:

  • contactcenterinsights.authorizedNotes.update
  • contactcenterinsights.notes.update

For more information, see the IAM documentation.

UpdatePhraseMatcher

rpc UpdatePhraseMatcher(UpdatePhraseMatcherRequest) returns (PhraseMatcher)

Updates a phrase matcher.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • contactcenterinsights.phraseMatchers.update

For more information, see the IAM documentation.

UpdateQaQuestion

rpc UpdateQaQuestion(UpdateQaQuestionRequest) returns (QaQuestion)

Updates a QaQuestion.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • contactcenterinsights.qaQuestions.update

For more information, see the IAM documentation.

UpdateQaQuestionTag

rpc UpdateQaQuestionTag(UpdateQaQuestionTagRequest) returns (Operation)

Updates a QaQuestionTag.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • contactcenterinsights.qaQuestionTags.update

For more information, see the IAM documentation.

UpdateQaScorecard

rpc UpdateQaScorecard(UpdateQaScorecardRequest) returns (QaScorecard)

Updates a QaScorecard.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • contactcenterinsights.qaScorecards.update

For more information, see the IAM documentation.

UpdateSettings

rpc UpdateSettings(UpdateSettingsRequest) returns (Settings)

Updates project-level settings.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • contactcenterinsights.settings.update

For more information, see the IAM documentation.

UpdateView

rpc UpdateView(UpdateViewRequest) returns (View)

Updates a view.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • contactcenterinsights.views.update

For more information, see the IAM documentation.

UploadConversation

rpc UploadConversation(UploadConversationRequest) returns (Operation)

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

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permissions on the parent resource:

  • contactcenterinsights.authorizedConversations.upload
  • contactcenterinsights.datasetConversations.upload
  • contactcenterinsights.conversations.upload

For more information, see the IAM documentation.

Analysis

The analysis resource.

Fields
name

string

Immutable. The resource name of the analysis. Format: projects/{project}/locations/{location}/conversations/{conversation}/analyses/{analysis}

request_time

Timestamp

Output only. The time at which the analysis was requested.

create_time

Timestamp

Output only. The time at which the analysis was created, which occurs when the long-running operation completes.

analysis_result

AnalysisResult

Output only. The result of the analysis, which is populated when the analysis finishes.

annotator_selector

AnnotatorSelector

To select the annotators to run and the phrase matchers to use (if any). If not specified, all annotators will be run.

satisfies_pzi

bool

Output only. Whether this resource is zone isolated.

satisfies_pzs

bool

Output only. Whether this resource is zone separated.

AnalysisResult

The result of an analysis.

Fields
end_time

Timestamp

The time at which the analysis ended.

Union field metadata. Metadata discovered during analysis. metadata can be only one of the following:
call_analysis_metadata

CallAnalysisMetadata

Call-specific metadata created by the analysis.

CallAnalysisMetadata

Call-specific metadata created during analysis.

Fields
annotations[]

CallAnnotation

A list of call annotations that apply to this call.

entities

map<string, Entity>

All the entities in the call.

sentiments[]

ConversationLevelSentiment

Overall conversation-level sentiment for each channel of the call.

silence

ConversationLevelSilence

Overall conversation-level silence during the call.

intents

map<string, Intent>

All the matched intents in the call.

phrase_matchers

map<string, PhraseMatchData>

All the matched phrase matchers in the call.

issue_model_result

IssueModelResult

Overall conversation-level issue modeling result.

qa_scorecard_results[]

QaScorecardResult

Results of scoring QaScorecards.

AnalysisRule

The CCAI Insights project wide analysis rule. This rule will be applied to all conversations that match the filter defined in the rule. For a conversation matches the filter, the annotators specified in the rule will be run. If a conversation matches multiple rules, a union of all the annotators will be run. One project can have multiple analysis rules.

Fields
name

string

Identifier. The resource name of the analysis rule. Format: projects/{project}/locations/{location}/analysisRules/{analysis_rule}

create_time

Timestamp

Output only. The time at which this analysis rule was created.

update_time

Timestamp

Output only. The most recent time at which this analysis rule was updated.

conversation_filter

string

Filter for the conversations that should apply this analysis rule. An empty filter means this analysis rule applies to all conversations. Refer to https://cloud.google.com/contact-center/insights/docs/filtering for details.

annotator_selector

AnnotatorSelector

Selector of annotators to run and the phrase matchers to use for conversations that matches the conversation_filter. If not specified, NO annotators will be run.

analysis_percentage

double

Percentage of conversations that we should apply this analysis setting automatically, between [0, 1]. For example, 0.1 means 10%. Conversations are sampled in a determenestic way. The original runtime_percentage & upload percentage will be replaced by defining filters on the conversation.

active

bool

If true, apply this rule to conversations. Otherwise, this rule is inactive and saved as a draft.

satisfies_pzi

bool

Output only. Whether this resource is zone isolated.

satisfies_pzs

bool

Output only. Whether this resource is zone separated.

display_name

string

Display Name of the analysis rule.

AnnotationBoundary

A point in a conversation that marks the start or the end of an annotation.

Fields
transcript_index

int32

The index in the sequence of transcribed pieces of the conversation where the boundary is located. This index starts at zero.

Union field detailed_boundary. A detailed boundary, which describes a more specific point. detailed_boundary can be only one of the following:
word_index

int32

The word index of this boundary with respect to the first word in the transcript piece. This index starts at zero.

AnnotatorSelector

Selector of all available annotators and phrase matchers to run.

Fields
run_interruption_annotator

bool

Whether to run the interruption annotator.

run_silence_annotator

bool

Whether to run the silence annotator.

run_phrase_matcher_annotator

bool

Whether to run the active phrase matcher annotator(s).

phrase_matchers[]

string

The list of phrase matchers to run. If not provided, all active phrase matchers will be used. If inactive phrase matchers are provided, they will not be used. Phrase matchers will be run only if run_phrase_matcher_annotator is set to true. Format: projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}

run_sentiment_annotator

bool

Whether to run the sentiment annotator.

run_entity_annotator

bool

Whether to run the entity annotator.

run_intent_annotator

bool

Whether to run the intent annotator.

run_issue_model_annotator

bool

Whether to run the issue model annotator. A model should have already been deployed for this to take effect.

issue_models[]

string

The issue model to run. If not provided, the most recently deployed topic model will be used. The provided issue model will only be used for inference if the issue model is deployed and if run_issue_model_annotator is set to true. If more than one issue model is provided, only the first provided issue model will be used for inference.

run_summarization_annotator

bool

Whether to run the summarization annotator.

summarization_config

SummarizationConfig

Configuration for the summarization annotator.

run_qa_annotator

bool

Whether to run the QA annotator.

qa_config

QaConfig

Configuration for the QA annotator.

run_auto_labeling_annotator

bool

Optional. Whether to run the auto-labeling annotator. If true, the auto-labeling annotator will be run. This is a non-billable operation designed for fixing or backfilling custom labels.

QaConfig

Configuration for the QA feature.

Fields
Union field scorecard_source. Which scorecards should be scored. scorecard_source can be only one of the following:
scorecard_list

ScorecardList

A manual list of scorecards to score.

ScorecardList

Container for a list of scorecards.

Fields
qa_scorecard_revisions[]

string

List of QaScorecardRevisions.

SummarizationConfig

Configuration for summarization.

Fields
Union field model_source. Summarization must use either a preexisting conversation profile or one of the supported default models. model_source can be only one of the following:
conversation_profile

string

Resource name of the Dialogflow conversation profile. Format: projects/{project}/locations/{location}/conversationProfiles/{conversation_profile}

summarization_model

SummarizationModel

Default summarization model to be used.

generator

string

The resource name of the existing created generator. Format: projects//locations//generators/

SummarizationModel

Summarization model to use, if conversation_profile is not used.

Enums
SUMMARIZATION_MODEL_UNSPECIFIED Unspecified summarization model.
BASELINE_MODEL

The CCAI baseline model. This model is deprecated and will be removed in the future. We recommend using generator instead.

BASELINE_MODEL_V2_0

The CCAI baseline model, V2.0. This model is deprecated and will be removed in the future. We recommend using generator instead.

AnswerFeedback

The feedback that the customer has about a certain answer in the conversation.

Fields
correctness_level

CorrectnessLevel

The correctness level of an answer.

clicked

bool

Indicates whether an answer or item was clicked by the human agent.

displayed

bool

Indicates whether an answer or item was displayed to the human agent in the agent desktop UI.

CorrectnessLevel

The correctness level of an answer.

Enums
CORRECTNESS_LEVEL_UNSPECIFIED Correctness level unspecified.
NOT_CORRECT Answer is totally wrong.
PARTIALLY_CORRECT Answer is partially correct.
FULLY_CORRECT Answer is fully correct.

AppealAssessmentRequest

The message to appeal an assessment.

Fields
name

string

Required. The name of the assessment to appeal.

ArticleSuggestionData

Agent Assist Article Suggestion data.

Fields
title

string

Article title.

uri

string

Article URI.

confidence_score

float

The system's confidence score that this article is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain).

metadata

map<string, string>

Map that contains metadata about the Article Suggestion and the document that it originates from.

query_record

string

The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}

source

string

The knowledge document that this answer was extracted from. Format: projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}

Assessment

The assessment resource.

Fields
name

string

Identifier. The resource name of the assessment. Format: projects/{project}/locations/{location}/conversations/{conversation}/assessments/{assessment}

create_time

Timestamp

Output only. The time at which the assessment was created.

update_time

Timestamp

Output only. The time at which the assessment was last updated.

state

State

Output only. The state of the assessment.

agent_info

AgentInfo

Information about the agent the assessment is for.

State

The state of the assessment. Defaults to DRAFT.

Enums
STATE_UNSPECIFIED The state is unspecified. This value should not be used.
DRAFT The default state of all new assessments.
PUBLISHED The assessment has been published.
APPEALED The assessment has been appealed.
FINALIZED The assessment has been finalized.

AssessmentRule

The CCAI Insights project wide assessment rule. This assessment rule will be applied to all conversations from the previous sampling cycle that match the sample rule defined in the assessment rule. One project can have multiple assessment rules.

Fields
name

string

Identifier. The resource name of the assessment rule. Format: projects/{project}/locations/{location}/assessmentRules/{assessment_rule}

create_time

Timestamp

Output only. The time at which this assessment rule was created.

update_time

Timestamp

Output only. The most recent time at which this assessment rule was updated.

active

bool

If true, apply this rule to conversations. Otherwise, this rule is inactive.

sample_rule

SampleRule

The sample rule for the assessment rule.

schedule_info

ScheduleInfo

Schedule info for the assessment rule.

satisfies_pzi

bool

Output only. Whether this resource is zone isolated.

satisfies_pzs

bool

Output only. Whether this resource is zone separated.

display_name

string

Display Name of the assessment rule.

AuthorizedView

An AuthorizedView represents a view of accessible Insights resources (for example, Conversation and Scorecard). Who have read access to the AuthorizedView resource will have access to these Insight resources as well.

Fields
name

string

Identifier. The resource name of the AuthorizedView. Format: projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view}

display_name

string

Display Name. Limit 64 characters.

conversation_filter

string

A filter to reduce conversation results to a specific subset. The AuthorizedView's assigned permission (read/write) could be applied to the subset of conversations.

If conversation_filter is empty, there is no restriction on the conversations that the AuthorizedView can access.

Having authorizedViews.get access to the AuthorizedView means having the same read/write access to the Conversations (as well as metadata/annotations linked to the conversation) that this AuthorizedView has.

create_time

Timestamp

Output only. The time at which the authorized view was created.

update_time

Timestamp

Output only. The most recent time at which the authorized view was updated.

satisfies_pzi

bool

Output only. Whether this resource is zone isolated.

satisfies_pzs

bool

Output only. Whether this resource is zone separated.

AuthorizedViewSet

An AuthorizedViewSet contains a set of AuthorizedView resources.

Fields
name

string

Identifier. The resource name of the AuthorizedViewSet. Format: projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}

create_time

Timestamp

Output only. Create time.

update_time

Timestamp

Output only. Update time.

satisfies_pzi

bool

Output only. Whether this resource is zone isolated.

satisfies_pzs

bool

Output only. Whether this resource is zone separated.

display_name

string

Display Name. Limit 64 characters.

AutoLabelingRule

Rule for auto-labeling conversations.

Fields
name

string

Identifier. The resource name of the auto-labeling rule. Format: projects/{project}/locations/{location}/autoLabelingRules/{auto_labeling_rule}

active

bool

Whether the rule is active.

display_name

string

The user-provided display name of the rule.

description

string

The description of the rule.

label_key_type

LabelKeyType

The type of the label key.

label_key

string

The label key. This is also the {auto_labeling_rule} in the resource name. Only settable if label_key_type is LABEL_KEY_TYPE_CUSTOM.

conditions[]

LabelingCondition

Conditions to apply for auto-labeling the label_key. Representing sequential block of if .. else if .. else statements. The value of the first matching condition will be used.

create_time

Timestamp

Output only. The time at which this rule was created.

update_time

Timestamp

Output only. The most recent time at which the rule was updated.

LabelKeyType

The type of the label key.

Enums
LABEL_KEY_TYPE_UNSPECIFIED Unspecified label key type.
LABEL_KEY_TYPE_CUSTOM The label key is custom defined by the user.

LabelingCondition

Condition for auto-labeling conversations.

Fields
condition

string

A optional CEL expression to be evaluated as a boolean value. Once evaluated as true, then we will proceed with the value evaluation. An empty condition will be auto evaluated as true.

value

string

CEL expression to be evaluated as the value.

BulkAnalyzeConversationsMetadata

The metadata for a bulk analyze conversations operation.

Fields
create_time

Timestamp

The time the operation was created.

end_time

Timestamp

The time the operation finished running.

request

BulkAnalyzeConversationsRequest

The original request for bulk analyze.

completed_analyses_count

int32

The number of requested analyses that have completed successfully so far.

failed_analyses_count

int32

The number of requested analyses that have failed so far.

total_requested_analyses_count

int32

Total number of analyses requested. Computed by the number of conversations returned by filter multiplied by analysis_percentage in the request.

partial_errors[]

Status

Output only. Partial errors during bulk analyze operation that might cause the operation output to be incomplete.

relabel
(deprecated)

bool

Output only. Deprecated: Use request.annotator_selector.run_auto_labeling_annotator instead. If true, the labeling rules will be re-evaluated for the conversations.

BulkAnalyzeConversationsRequest

The request to analyze conversations in bulk.

Fields
parent

string

Required. The parent resource to create analyses in.

filter

string

Required. Filter used to select the subset of conversations to analyze.

analysis_percentage

float

Required. Percentage of selected conversation to analyze, between [0, 100].

annotator_selector

AnnotatorSelector

To select the annotators to run and the phrase matchers to use (if any). If not specified, all annotators will be run.

relabel
(deprecated)

bool

Optional. Deprecated: Use annotator_selector.run_auto_labeling_annotator instead. If true, the labeling rules will be re-evaluated for the conversations.

BulkAnalyzeConversationsResponse

The response for a bulk analyze conversations operation.

Fields
successful_analysis_count

int32

Count of successful analyses.

failed_analysis_count

int32

Count of failed analyses.

BulkDeleteConversationsMetadata

The metadata for a bulk delete conversations operation.

Fields
create_time

Timestamp

The time the operation was created.

end_time

Timestamp

The time the operation finished running.

request

BulkDeleteConversationsRequest

The original request for bulk delete.

partial_errors[]

Status

Partial errors during bulk delete conversations operation that might cause the operation output to be incomplete.

BulkDeleteConversationsRequest

The request to delete conversations in bulk.

Fields
parent

string

Required. The parent resource to delete conversations from. Format: projects/{project}/locations/{location}

filter

string

Filter used to select the subset of conversations to delete.

max_delete_count

int32

Maximum number of conversations to delete.

force

bool

If set to true, all of this conversation's analyses will also be deleted. Otherwise, the request will only succeed if the conversation has no analyses.

BulkDeleteConversationsResponse

This type has no fields.

The response for a bulk delete conversations operation.

BulkDeleteFeedbackLabelsMetadata

Metadata for the BulkDeleteFeedbackLabels endpoint.

Fields
request

BulkDeleteFeedbackLabelsRequest

Output only. The original request for delete.

partial_errors[]

Status

Partial errors during deletion operation that might cause the operation output to be incomplete.

BulkDeleteFeedbackLabelsRequest

Request for the BulkDeleteFeedbackLabels endpoint.

Fields
parent

string

Required. The parent resource for new feedback labels.

filter

string

Optional. A filter to reduce results to a specific subset. Supports disjunctions (OR) and conjunctions (AND).

Supported fields:

  • issue_model_id
  • qa_question_id
  • qa_scorecard_id
  • min_create_time
  • max_create_time
  • min_update_time
  • max_update_time
  • feedback_label_type: QUALITY_AI, TOPIC_MODELING

BulkDeleteFeedbackLabelsResponse

This type has no fields.

Response for the BulkDeleteFeedbackLabels endpoint.

BulkDownloadFeedbackLabelsMetadata

Metadata for the BulkDownloadFeedbackLabel endpoint.

Fields
create_time

Timestamp

Output only. The time the operation was created.

end_time

Timestamp

Output only. The time the operation finished running.

request

BulkDownloadFeedbackLabelsRequest

Output only. The original request for download.

partial_errors[]

Status

Partial errors during ingest operation that might cause the operation output to be incomplete.

download_stats

DownloadStats

Output only. Statistics for BulkDownloadFeedbackLabels operation.

DownloadStats

Statistics for BulkDownloadFeedbackLabels operation.

Fields
processed_object_count

int32

The number of objects processed during the download operation.

successful_download_count

int32

The number of new feedback labels downloaded during this operation. Different from "processed" because some labels might not be downloaded because an error.

total_files_written

int32

Total number of files written to the provided Cloud Storage bucket.

file_names[]

string

Output only. Full name of the files written to Cloud storage.

BulkDownloadFeedbackLabelsRequest

Request for the BulkDownloadFeedbackLabel endpoint.

Fields
parent

string

Required. The parent resource for new feedback labels.

filter

string

Optional. A filter to reduce results to a specific subset. Supports disjunctions (OR) and conjunctions (AND).

Supported fields:

  • issue_model_id
  • qa_question_id
  • qa_scorecard_id
  • min_create_time
  • max_create_time
  • min_update_time
  • max_update_time
  • feedback_label_type: QUALITY_AI, TOPIC_MODELING
max_download_count

int32

Optional. Limits the maximum number of feedback labels that will be downloaded. The first N feedback labels will be downloaded.

feedback_label_type

FeedbackLabelType

Optional. The type of feedback labels that will be downloaded.

conversation_filter

string

Optional. Filter parent conversations to download feedback labels for. When specified, the feedback labels will be downloaded for the conversations that match the filter. If template_qa_scorecard_id is set, all the conversations that match the filter will be paired with the questions under the scorecard for labeling.

template_qa_scorecard_id[]

string

Optional. If set, a template for labeling conversations and scorecard questions will be created from the conversation_filter and the questions under the scorecard(s). The feedback label filter will be ignored.

Union field destination. Configuration for an external data store to which the feedback labels will be written to. destination can be only one of the following:
gcs_destination

GcsDestination

A cloud storage bucket destination.

sheets_destination

SheetsDestination

A sheets document destination.

FeedbackLabelType

Possible feedback label types that will be downloaded.

Enums
FEEDBACK_LABEL_TYPE_UNSPECIFIED Unspecified format
QUALITY_AI Downloaded file will contain all Quality AI labels from the latest scorecard revision.
TOPIC_MODELING Downloaded file will contain only Topic Modeling labels.
AGENT_ASSIST_SUMMARY Agent Assist Summarization labels.

GcsDestination

Google Cloud Storage Object details to write the feedback labels to.

Fields
format

Format

Required. File format in which the labels will be exported.

object_uri

string

Required. The Google Cloud Storage URI to write the feedback labels to. The file name will be used as a prefix for the files written to the bucket if the output needs to be split across multiple files, otherwise it will be used as is. The file extension will be appended to the file name based on the format selected. E.g. gs://bucket_name/object_uri_prefix

add_whitespace

bool

Optional. Add whitespace to the JSON file. Makes easier to read, but increases file size. Only applicable for JSON format.

always_print_empty_fields

bool

Optional. Always print fields with no presence. This is useful for printing fields that are not set, like implicit 0 value or empty lists/maps. Only applicable for JSON format.

records_per_file_count

int64

Optional. The number of records per file. Applicable for either format.

Format

All permissible file formats. See records_per_file_count to override the default number of records per file.

Enums
FORMAT_UNSPECIFIED Unspecified format.
CSV CSV format. 1,000 labels are stored per CSV file by default.
JSON JSON format. 1 label stored per JSON file by default.

SheetsDestination

Google Sheets document details to write the feedback labels to.

Fields
spreadsheet_uri

string

Required. The Google Sheets document to write the feedback labels to. Retrieved from Google Sheets URI. E.g. https://docs.google.com/spreadsheets/d/1234567890 The spreadsheet must be shared with the Insights P4SA. The spreadsheet ID written to will be returned as file_names in the BulkDownloadFeedbackLabelsMetadata.

sheet_title

string

Optional. The title of the new sheet to write the feedback labels to.

BulkDownloadFeedbackLabelsResponse

This type has no fields.

Response for the BulkDownloadFeedbackLabel endpoint.

BulkUploadFeedbackLabelsMetadata

Metadata for the Bulk Upload Feedback Labels API.

Fields
create_time

Timestamp

Output only. The time the operation was created.

end_time

Timestamp

Output only. The time the operation finished running.

request

BulkUploadFeedbackLabelsRequest

Output only. The original request for ingest.

partial_errors[]

Status

Partial errors during ingest operation that might cause the operation output to be incomplete.

upload_stats

UploadStats

Output only. Statistics for BulkUploadFeedbackLabels operation.

UploadStats

Statistics for BulkUploadFeedbackLabels operation.

Fields
processed_object_count

int32

The number of objects processed during the upload operation.

failed_validation_count

int32

The number of objects skipped because of failed validation

successful_upload_count

int32

The number of new feedback labels added during this ingest operation.

BulkUploadFeedbackLabelsRequest

The request for bulk uploading feedback labels.

Fields
parent

string

Required. The parent resource for new feedback labels.

validate_only

bool

Optional. If set, upload will not happen and the labels will be validated. If not set, then default behavior will be to upload the labels after validation is complete.

Union field source. Configuration for an external data store containing objects that will be converted to FeedbackLabels. source can be only one of the following:
gcs_source

GcsSource

A cloud storage bucket source.

sheets_source

SheetsSource

A sheets document source.

GcsSource

Google Cloud Storage Object details to get the feedback label file from.

Fields
format

Format

Required. File format which will be ingested.

object_uri

string

Required. The Google Cloud Storage URI of the file to import. Format: gs://bucket_name/object_name

Format

All permissible file formats.

Enums
FORMAT_UNSPECIFIED Unspecified format.
CSV CSV format.
JSON JSON format.

SheetsSource

Google Sheets document details to get the feedback label file from.

Fields
spreadsheet_uri

string

Required. The Google Sheets document to write the feedback labels to. Retrieved from Google Sheets URI. E.g. https://docs.google.com/spreadsheets/d/1234567890 The spreadsheet must be shared with the Insights P4SA.

BulkUploadFeedbackLabelsResponse

This type has no fields.

Response for the Bulk Upload Feedback Labels API.

CalculateIssueModelStatsRequest

Request to get statistics of an issue model.

Fields
issue_model

string

Required. The resource name of the issue model to query against.

CalculateIssueModelStatsResponse

Response of querying an issue model's statistics.

Fields
current_stats

IssueModelLabelStats

The latest label statistics for the queried issue model. Includes results on both training data and data labeled after deployment.

CalculateStatsRequest

The request for calculating conversation statistics.

Fields
location

string

Required. The location of the conversations.

filter

string

A filter to reduce results to a specific subset. This field is useful for getting statistics about conversations with specific properties.

CalculateStatsResponse

The response for calculating conversation statistics.

Fields
average_duration

Duration

The average duration of all conversations. The average is calculated using only conversations that have a time duration.

average_turn_count

int32

The average number of turns per conversation.

conversation_count

int32

The total number of conversations.

smart_highlighter_matches

map<string, int32>

A map associating each smart highlighter display name with its respective number of matches in the set of conversations.

custom_highlighter_matches

map<string, int32>

A map associating each custom highlighter resource name with its respective number of matches in the set of conversations.

issue_matches
(deprecated)

map<string, int32>

A map associating each issue resource name with its respective number of matches in the set of conversations. Key has the format: projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID> Deprecated, use issue_matches_stats field instead.

issue_matches_stats

map<string, IssueStats>

A map associating each issue resource name with its respective number of matches in the set of conversations. Key has the format: projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID>

conversation_count_time_series

TimeSeries

A time series representing the count of conversations created over time that match that requested filter criteria.

TimeSeries

A time series representing conversations over time.

Fields
interval_duration

Duration

The duration of each interval.

points[]

Interval

An ordered list of intervals from earliest to latest, where each interval represents the number of conversations that transpired during the time window.

Interval

A single interval in a time series.

Fields
start_time

Timestamp

The start time of this interval.

conversation_count

int32

The number of conversations created in this interval.

CallAnnotation

A piece of metadata that applies to a window of a call.

Fields
channel_tag

int32

The channel of the audio where the annotation occurs. For single-channel audio, this field is not populated.

annotation_start_boundary

AnnotationBoundary

The boundary in the conversation where the annotation starts, inclusive.

annotation_end_boundary

AnnotationBoundary

The boundary in the conversation where the annotation ends, inclusive.

Union field data. The data in the annotation. data can be only one of the following:
interruption_data

InterruptionData

Data specifying an interruption.

sentiment_data

SentimentData

Data specifying sentiment.

silence_data

SilenceData

Data specifying silence.

hold_data

HoldData

Data specifying a hold.

entity_mention_data

EntityMentionData

Data specifying an entity mention.

intent_match_data

IntentMatchData

Data specifying an intent match.

phrase_match_data

PhraseMatchData

Data specifying a phrase match.

issue_match_data

IssueMatchData

Data specifying an issue match.

CesEndSessionAnnotation

The CES end session annotation.

Fields
end_session

EndSession

End session signal from CES.

CesTurnAnnotation

The CES diagnostic information.

Fields
messages[]

Message

The messages in the turn.

root_span

Span

The root span of the action processing.

Chart

Configurable dashboard's widget that displays data as a chart.

Fields
name

string

Identifier. Chart resource name. Format: projects/{project}/locations/{location}/dashboards/{dashboard}/charts/{chart}

display_name

string

User provided display name of the chart.

description

string

Chart description

chart_visualization_type

ChartVisualizationType

Chart visualization type.

create_time

Timestamp

Output only. Chart create time.

update_time

Timestamp

Output only. Chart last update time.

chart_type

ChartType

Output only. Chart type.

data_source

ChartDataSource

width

int32

The width of the chart in grid units.

height

int32

The height of the chart in grid units.

filter

string

Filter applied to all charts in the container. Should support scope later.

date_range_config

DateRangeConfig

Date range config applied to the chart.

action

ChartAction

Optional action to be taken when the chart is clicked.

ChartType

Chart type enum.

Enums
CHART_TYPE_UNSPECIFIED Unspecified chart type.
SYSTEM_DEFINED Pre-defined chart type.
USER_DEFINED Configurable chart type.

ChartAction

The action to be taken when the chart is clicked.

Fields
conversation_filter

string

The conversation filter string.

Union field action. The type of action to be taken when the chart is clicked. action can be only one of the following:
redirect_action

RedirectAction

Redirect action.

ChartDataSource

The request data for visualizing the dataset in the chart.

Fields

Union field data_source.

data_source can be only one of the following:

generative_insights

GenerativeInsights

Use natural language query to generate the chart.

query_metrics

QueryMetrics

Use the existing QueryMetrics to generate the chart.

ChartVisualizationType

This enum represents the different types of charts that can be created.

Enums
CHART_VISUALIZATION_TYPE_UNSPECIFIED Unspecified chart visualization type.
BAR Bar chart.
LINE Line chart.
AREA Area chart.
PIE Pie chart.
SCATTER Scatter chart.
TABLE Table chart.
SCORE_CARD Score card chart.
SUNBURST Sunburst chart.
GAUGE Gauge chart.
SANKEY Sankey chart.

ConstraintEvaluationResult

The result of testing a constraint expression on a pair of conversations.

Fields
conversation_a

string

The first conversation resource name.

conversation_b

string

The second conversation resource name.

rule_constraint_results[]

RuleConstraintResult

The results for each applicable constraint rule.

RuleConstraintResult

The result of a single constraint rule on the pair of conversations.

Fields
rule_id

string

The rule ID.

Union field constraint_result. The result of the constraint expression. constraint_result can be only one of the following:
constraint_met

bool

Whether the constraint expression evaluated to true for (A, B) or (B, A).

error

Status

The error status if the constraint expression failed to evaluate.

Container

Configurable dashboard's container. Container can contain multiple widgets.

Fields
display_name

string

User provided display name of the Container.

widgets[]

Widget

Widgets in the Container.

description

string

Container description

container_id

string

Output only. Unique ID for the container.

filter

string

Filter applied to all charts in the container. Should support scope later.

width

int32

The width of the container in grid units.

height

int32

The height of the container in grid units.

date_range_config

DateRangeConfig

Date range config applied to all charts in the container.

Conversation

The conversation resource.

Fields
name

string

Immutable. The resource name of the conversation. Format: projects/{project}/locations/{location}/conversations/{conversation}

data_source

ConversationDataSource

The source of the audio and transcription for the conversation.

create_time

Timestamp

Output only. The time at which the conversation was created.

update_time

Timestamp

Output only. The most recent time at which the conversation was updated.

start_time

Timestamp

The time at which the conversation started.

language_code

string

A user-specified language code for the conversation.

agent_id

string

An opaque, user-specified string representing the human agent who handled the conversation.

labels

map<string, string>

A map for the user to specify any custom fields. A maximum of 100 labels per conversation is allowed, with a maximum of 256 characters per entry.

quality_metadata

QualityMetadata

Conversation metadata related to quality management.

metadata_json

string

Optional. JSON metadata encoded as a string. This field is primarily used by Insights integrations with various telephony systems and must be in one of Insight's supported formats.

transcript

Transcript

Output only. The conversation transcript.

medium

Medium

Immutable. The conversation medium.

duration

Duration

Output only. The duration of the conversation.

turn_count

int32

Output only. The number of turns in the conversation.

latest_analysis

Analysis

Output only. The conversation's latest analysis, if one exists.

latest_summary

ConversationSummarizationSuggestionData

Output only. Latest summary of the conversation.

runtime_annotations[]

RuntimeAnnotation

Output only. The annotations that were generated during the customer and agent interaction.

dialogflow_intents

map<string, DialogflowIntent>

Output only. All the matched Dialogflow intents in the call. The key corresponds to a Dialogflow intent, format: projects/{project}/agent/{agent}/intents/{intent}

obfuscated_user_id

string

Obfuscated user ID which the customer sent to us.

correlation_info

CorrelationInfo

Output only. Info for correlating across conversations.

satisfies_pzi

bool

Output only. Whether this resource is zone isolated.

satisfies_pzs

bool

Output only. Whether this resource is zone separated.

Union field metadata. Metadata that applies to the conversation. metadata can be only one of the following:
call_metadata

CallMetadata

Call-specific metadata.

Union field expiration. A time to live expiration setting, can be either a specified timestamp or a duration from the time that the conversation creation request was received. Conversations with an expiration set will be removed up to 24 hours after the specified time. expiration can be only one of the following:
expire_time

Timestamp

The time at which this conversation should expire. After this time, the conversation data and any associated analyses will be deleted.

ttl

Duration

Input only. The TTL for this resource. If specified, then this TTL will be used to calculate the expire time.

CallMetadata

Call-specific metadata.

Fields
customer_channel

int32

The audio channel that contains the customer.

agent_channel

int32

The audio channel that contains the agent.

CorrelationInfo

Info for correlating across conversations.

Fields
full_conversation_correlation_id

string

Output only. The full conversation correlation id this conversation is a segment of.

merged_full_conversation_correlation_id

string

Output only. The full conversation correlation id this conversation is a merged conversation of.

correlation_types[]

CorrelationType

Output only. The correlation types of this conversation. A single conversation can have multiple correlation types. For example a conversation that only has a single segment is both a SEGMENT and a FULL_CONVERSATION.

CorrelationType

The type of correlation a conversation has.

Enums
CORRELATION_TYPE_UNSPECIFIED Default value for unspecified.
SEGMENT This conversation represents a segment of a full conversation. The lowest level of granularity.
PARTIAL This conversation represents a partial conversation of potentially multiple segments but is not a full conversation.
FULL This conversation represents a full conversation of potentially multiple segments.
SYNTHETIC This conversation represents a synthetic conversation.

Medium

Possible media for the conversation.

Enums
MEDIUM_UNSPECIFIED Default value for unspecified.
PHONE_CALL The format for conversations that took place over the phone.
CHAT The format for conversations that took place over chat.

QualityMetadata

Conversation metadata related to quality management.

Fields
customer_satisfaction_rating

int32

An arbitrary integer value indicating the customer's satisfaction rating.

wait_duration

Duration

The amount of time the customer waited to connect with an agent.

menu_path

string

An arbitrary string value specifying the menu path the customer took.

agent_info[]

AgentInfo

Information about agents involved in the call.

feedback_labels[]

FeedbackLabel

Input only. The feedback labels associated with the conversation.

AgentInfo

Information about an agent involved in the conversation.

Fields
agent_id

string

A user-specified string representing the agent.

display_name

string

The agent's name.

team
(deprecated)

string

A user-specified string representing the agent's team. Deprecated in favor of the teams field.

teams[]

string

User-specified strings representing the agent's teams.

disposition_code

string

A user-provided string indicating the outcome of the agent's segment of the call.

agent_type

Role

The agent type, e.g. HUMAN_AGENT.

location

string

The agent's location.

deployment_id

string

The agent's deployment ID. Only applicable to automated agents.

deployment_display_name

string

The agent's deployment display name. Only applicable to automated agents.

version_id

string

The agent's version ID. Only applicable to automated agents.

version_display_name

string

The agent's version display name. Only applicable to automated agents.

entry_subagent_display_name

string

The entry subagent's display name.

entry_subagent_id

string

The entry subagent's ID.

Transcript

A message representing the transcript of a conversation.

Fields
transcript_segments[]

TranscriptSegment

A list of sequential transcript segments that comprise the conversation.

TranscriptSegment

A segment of a full transcript.

Fields
message_time

Timestamp

The time that the message occurred, if provided.

text

string

The text of this segment.

confidence

float

A confidence estimate between 0.0 and 1.0 of the fidelity of this segment. A default value of 0.0 indicates that the value is unset.

words[]

WordInfo

A list of the word-specific information for each word in the segment.

language_code

string

The language code of this segment as a BCP-47 language tag. Example: "en-US".

channel_tag

int32

For conversations derived from multi-channel audio, this is the channel number corresponding to the audio from that channel. For audioChannelCount = N, its output values can range from '1' to 'N'. A channel tag of 0 indicates that the audio is mono.

segment_participant

ConversationParticipant

The participant of this segment.

dialogflow_segment_metadata

DialogflowSegmentMetadata

CCAI metadata relating to the current transcript segment.

sentiment

SentimentData

The sentiment for this transcript segment.

turn_level_audio

TurnLevelAudio

Turn level audio for this transcript segment.

parts[]

TranscriptPart

Optional. The structured parts that make up this transcript segment.

DialogflowSegmentMetadata

Metadata from Dialogflow relating to the current transcript segment.

Fields
smart_reply_allowlist_covered

bool

Whether the transcript segment was covered under the configured smart reply allowlist in Agent Assist.

TranscriptPart

A structured component/part of a transcript segment.

Fields
Union field part. The specific part type and payload. part can be only one of the following:
text

TextPart

Optional. Plain text content.

thought

ThoughtPart

Optional. Model thought or internal reasoning.

product_collection

ProductCollectionPart

Optional. Product collection or carousel.

suggestion_chips

SuggestionChipsPart

Optional. Suggestion chips or interactive buttons.

table

TablePart

Optional. Tabular data.

list

ListPart

Optional. Ordered or unordered list.

image

MediaPart

Optional. Image media.

video

MediaPart

Optional. Video media.

citation

CitationPart

Optional. Citation or reference to grounding material.

custom_payload

CustomPayloadPart

Optional. Generic custom structured payload.

Chip

A suggestion chip.

Fields
text

string

Optional. The chip label or text.

action_uri

string

Optional. Optional action or destination URI triggered by the chip.

CitationPart

A citation part.

Fields
source_uri

string

Optional. The cited source URI.

source_title

string

Optional. The cited source title.

snippet

string

Optional. Snippet of the cited text.

CustomPayloadPart

A custom payload part.

Fields
payload_type

string

Optional. Type identifier for the payload.

payload

Struct

Optional. Arbitrary structured payload.

LinkPart

A link part.

Fields
text

string

Optional. Anchor or display text.

uri

string

Optional. Target URI.

ListItem

An item in a list.

Fields
text

string

Optional. The text of the list item.

sub_items[]

ListItem

Optional. Nested sub-items.

ListPart

A list part.

Fields
list_type

ListType

Optional. The type of list.

items[]

ListItem

Optional. List items.

ListType

Type of list.

Enums
LIST_TYPE_UNSPECIFIED Unspecified list type.
UNORDERED Unordered list.
ORDERED_NUMBER Ordered numbered list.
ORDERED_ALPHA Ordered alphabetic list.

MediaPart

A media part.

Fields
uri

string

Optional. URI or URL to the media.

alternative_text

string

Optional. Alternative text description.

Product

A product in a product collection.

Fields
id

string

Optional. Product ID.

display_name

string

Optional. Product display name.

description

string

Optional. Product description.

price

Money

Optional. Product price.

uri

string

Optional. Product URL or deep link.

image_uris[]

string

Optional. Product image URLs.

ProductCollectionPart

A product collection part.

Fields
products[]

Product

Optional. List of products.

SuggestionChipsPart

A suggestion chips part.

Fields
chips[]

Chip

Optional. List of suggestion chips.

TablePart

A table part.

Fields
title

string

Optional. Optional title for the table.

headers[]

string

Optional. Table column headers.

rows[]

TableRow

Optional. Table rows.

TableRow

A row in a table.

Fields
cells[]

string

Optional. The cell values in the row.

TextPart

A text part.

Fields
text

string

Optional. The text content.

ThoughtPart

A thought part.

Fields
text

string

Optional. The thought or reasoning text.

WordInfo

Word-level info for words in a transcript.

Fields
start_offset

Duration

Time offset of the start of this word relative to the beginning of the total conversation.

end_offset

Duration

Time offset of the end of this word relative to the beginning of the total conversation.

word

string

The word itself. Includes punctuation marks that surround the word.

confidence

float

A confidence estimate between 0.0 and 1.0 of the fidelity of this word. A default value of 0.0 indicates that the value is unset.

ConversationAutoLabelingUpdateConfig

Configuration for updating conversation with auto labeling results.

Fields
allow_auto_labeling_update

bool

Optional. If set to true, the conversation will be updated with auto labeling results.

ConversationCorrelationResult

The result of testing correlation config on a single conversation.

Fields
conversation

string

The conversation resource name.

rule_results[]

RuleCorrelationResult

The results for each correlation rule.

RuleCorrelationResult

The result of a single correlation rule.

Fields
rule_id

string

The rule ID.

Union field join_key_result. The result of the join key expression. join_key_result can be only one of the following:
correlation_id

string

The correlation ID generated by the join key expression.

error

Status

The error status if the join key expression failed to evaluate.

ConversationDataOptions

Options for configuring what metadata is included in the conversation data used in QAI and Discovery Engine.

Fields
include_dialogflow_interaction_data

bool

Whether to include the per turn Dialogflow interaction data in conversation transcript.

ConversationDataSource

The conversation source, which is a combination of transcript and audio.

Fields
metadata_uri

string

Cloud Storage URI that points to a file that contains the conversation metadata.

turn_level_audios[]

TurnLevelAudio

Cloud Storage URIs that points to files that contain the conversation audio for each turn. Assume the order of the URIs is the same as the order of the transcript turns.

Union field source. The source of the conversation. source can be only one of the following:
gcs_source

GcsSource

A Cloud Storage location specification for the audio and transcript.

dialogflow_source

DialogflowSource

The source when the conversation comes from Dialogflow.

TurnLevelAudio

A wrapper for holding the audio for any given turn.

Fields
audio_gcs_uri

string

The Cloud Storage URI of the audio for any given turn.

audio_duration

Duration

The duration of the audio.

ConversationLevelSentiment

One channel of conversation-level sentiment data.

Fields
channel_tag

int32

The channel of the audio that the data applies to.

sentiment_data

SentimentData

Data specifying sentiment.

ConversationLevelSilence

Conversation-level silence data.

Fields
silence_duration

Duration

Amount of time calculated to be in silence.

silence_percentage

float

Percentage of the total conversation spent in silence.

ConversationParticipant

The call participant speaking for a given utterance.

Fields
dialogflow_participant
(deprecated)

string

Deprecated. Use dialogflow_participant_name instead. The name of the Dialogflow participant. Format: projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}

obfuscated_external_user_id

string

Obfuscated user ID from Dialogflow.

role

Role

The role of the participant.

Union field participant.

participant can be only one of the following:

dialogflow_participant_name

string

The name of the participant provided by Dialogflow. Format: projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}

user_id

string

A user-specified ID representing the participant.

Role

The role of the participant.

Enums
ROLE_UNSPECIFIED Participant's role is not set.
HUMAN_AGENT Participant is a human agent.
AUTOMATED_AGENT Participant is an automated agent.
END_USER Participant is an end user who conversed with the contact center.
ANY_AGENT Participant is either a human or automated agent.

ConversationSummarizationSuggestionData

Conversation summarization suggestion data.

Fields
text

string

The summarization content that is concatenated into one string.

text_sections

map<string, string>

The summarization content that is divided into sections. The key is the section's name and the value is the section's content. There is no specific format for the key or value.

confidence

float

The confidence score of the summarization.

metadata

map<string, string>

A map that contains metadata about the summarization and the document from which it originates.

answer_record

string

The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}

conversation_model

string

The name of the model that generates this summary. Format: projects/{project}/locations/{location}/conversationModels/{conversation_model}

generator_id

string

Agent Assist generator ID.

ConversationView

Represents the options for viewing a conversation.

Enums
CONVERSATION_VIEW_UNSPECIFIED

The conversation view is not specified.

  • Defaults to FULL in GetConversationRequest.
  • Defaults to BASIC in ListConversationsRequest.
FULL Populates all fields in the conversation.
BASIC Populates all fields in the conversation except the transcript.
FULL_WITH_STRUCTURED_TRANSCRIPT Populates all fields in the conversation, including the structured transcript parts.

CorrelationConfig

A configuration that defines how to correlate conversations for a given a given project.

Fields
name

string

Immutable. Identifier. The resource name of the correlation config. Format: projects/{project}/locations/{location}/correlationConfig

create_time

Timestamp

Output only. The time at which the correlation config was created.

update_time

Timestamp

Output only. The time at which the correlation config was last updated.

full_conversation_config

CorrelationTypeConfig

The correlation type config for full conversations.

CorrelationRule

A correlation rule that defines how to join conversations for a given correlation type.

Fields
rule_id

string

Required. The unique identifier of the rule.

active

bool

Optional. Whether the config is active to be evaluated.

join_key_expression

string

Optional. A cel expression (go/cel) to be evaluated as a string value. This string value will be used as the join key for the correlation.

constraint_expression

string

Optional. A cel expression (go/cel) to be evaluated as a boolean value. Two variables conversation_a and conversation_b will be available for evaluation. This expression should evaluate to true if conversation_a and conversation_b should be joined. This is used as an extra constraint on top of the join_key_expression to further refine the group of conversations that are joined together and will be evaluated in both directions. for two conversations c1 and c2 and the result will be OR'd. We will evaluate: f(c1, c2) OR f(c2, c1)

CorrelationTypeConfig

A list of correlation rules for a given correlation type.

Fields
correlation_rules[]

CorrelationRule

A list of correlation rules to be evaluated for correlation.

CreateAnalysisOperationMetadata

Metadata for a create analysis operation.

Fields
create_time

Timestamp

Output only. The time the operation was created.

end_time

Timestamp

Output only. The time the operation finished running.

conversation

string

Output only. The Conversation that this Analysis Operation belongs to.

annotator_selector

AnnotatorSelector

Output only. The annotator selector used for the analysis (if any).

CreateAnalysisRequest

The request to create an analysis.

Fields
parent

string

Required. The parent resource of the analysis.

analysis

Analysis

Required. The analysis to create.

CreateAnalysisRuleRequest

The request to create a analysis rule. analysis_rule_id will be generated by the server.

Fields
parent

string

Required. The parent resource of the analysis rule. Required. The location to create a analysis rule for. Format: projects/<Project ID>/locations/<Location ID> or projects/<Project Number>/locations/<Location ID>

analysis_rule

AnalysisRule

Required. The analysis rule resource to create.

CreateAssessmentRequest

The request to create an assessment.

Fields
parent

string

Required. The parent resource of the assessment.

assessment

Assessment

Required. The assessment to create.

CreateAssessmentRuleRequest

The request to create an assessment rule.

Fields
parent

string

Required. The parent resource of the assessment rule. Required. The location to create a assessment rule for. Format: projects/<Project ID>/locations/<Location ID> or projects/<Project Number>/locations/<Location ID>

assessment_rule

AssessmentRule

Required. The assessment rule resource to create.

assessment_rule_id

string

Optional. A unique ID for the new AssessmentRule. This ID will become the final component of the AssessmentRule's resource name. If no ID is specified, a server-generated ID will be used.

This value should be 4-64 characters and must match the regular expression ^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$.

CreateAuthorizedViewRequest

The request for creating a AuthorizedView.

Fields
parent

string

Required. The parent resource of the AuthorizedView.

authorized_view

AuthorizedView

Required. The AuthorizedView to create.

authorized_view_id

string

Optional. A unique ID for the new AuthorizedView. This ID will become the final component of the AuthorizedView's resource name. If no ID is specified, a server-generated ID will be used.

This value should be 4-64 characters and must match the regular expression ^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$. See https://google.aip.dev/122#resource-id-segments

CreateAuthorizedViewSetRequest

The request for creating a AuthorizedViewSet.

Fields
parent

string

Required. The parent resource of the AuthorizedViewSet.

authorized_view_set

AuthorizedViewSet

Required. The AuthorizedViewSet to create.

authorized_view_set_id

string

Optional. A unique ID for the new AuthorizedViewSet. This ID will become the final component of the AuthorizedViewSet's resource name. If no ID is specified, a server-generated ID will be used.

This value should be 4-64 characters and must match the regular expression ^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$. See https://google.aip.dev/122#resource-id-segments

CreateAutoLabelingRuleRequest

The request message for creating an auto labeling rule.

Fields
parent

string

Required. The project and location to create the auto labeling rule in. Format: projects/{project}/locations/{location}

auto_labeling_rule

AutoLabelingRule

Required. The auto labeling rule to create. The name field of this rule must be empty. The label_key field will be used to form the resource name.

auto_labeling_rule_id

string

Required. The ID to use for the auto labeling rule, which will become the final component of the auto labeling rule's resource name.

CreateChartRequest

The request to create a chart.

Fields
parent

string

Required. The parent resource of the chart.

chart

Chart

Required. The chart to create.

chart_id

string

Optional. A unique ID for the new Chart. This ID will become the final component of the Chart's resource name. If no ID is specified, a server-generated ID will be used.

This value should be 4-64 characters and must match the regular expression ^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$.

CreateConversationRequest

Request to create a conversation.

Fields
parent

string

Required. The parent resource of the conversation.

conversation

Conversation

Required. The conversation resource to create.

conversation_id

string

A unique ID for the new conversation. This ID will become the final component of the conversation's resource name. If no ID is specified, a server-generated ID will be used.

This value should be 4-64 characters and must match the regular expression ^[a-z0-9-]{4,64}$. Valid characters are [a-z][0-9]-

CreateDashboardRequest

The request to create a dashboard.

Fields
parent

string

Required. The parent resource of the dashboard.

dashboard

Dashboard

Required. The dashboard to create.

dashboard_id

string

Optional. A unique ID for the new Dashboard. This ID will become the final component of the Dashboard's resource name. If no ID is specified, a server-generated ID will be used.

This value should be 4-64 characters and must match the regular expression ^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$.

CreateDatasetRequest

The request to create a dataset.

Fields
parent

string

Required. The parent resource of the dataset.

dataset

Dataset

Required. The dataset to create.

dataset_id

string

Optional. The ID to use for the dataset.

CreateFeedbackLabelRequest

The request for creating a feedback label.

Fields
parent

string

Required. The parent resource of the feedback label.

feedback_label_id

string

Optional. The ID of the feedback label to create. If one is not specified it will be generated by the server.

feedback_label

FeedbackLabel

Required. The feedback label to create.

CreateIssueMetadata

Metadata for creating an issue.

Fields
create_time

Timestamp

Output only. The time the operation was created.

end_time

Timestamp

Output only. The time the operation finished running.

request

CreateIssueRequest

The original request for creation.

CreateIssueModelMetadata

Metadata for creating an issue model.

Fields
create_time

Timestamp

Output only. The time the operation was created.

end_time

Timestamp

Output only. The time the operation finished running.

request

CreateIssueModelRequest

The original request for creation.

CreateIssueModelRequest

The request to create an issue model.

Fields
parent

string

Required. The parent resource of the issue model.

issue_model

IssueModel

Required. The issue model to create.

CreateIssueRequest

The request to create an issue.

Fields
parent

string

Required. The parent resource of the issue.

issue

Issue

Required. The values for the new issue.

CreateNoteRequest

The message to create a note.

Fields
parent

string

Required. The parent resource of the note.

note

Note

Required. The note resource to create.

CreatePhraseMatcherRequest

Request to create a phrase matcher.

Fields
parent

string

Required. The parent resource of the phrase matcher. Required. The location to create a phrase matcher for. Format: projects/<Project ID>/locations/<Location ID> or projects/<Project Number>/locations/<Location ID>

phrase_matcher

PhraseMatcher

Required. The phrase matcher resource to create.

CreateQaQuestionRequest

The request for creating a QaQuestion.

Fields
parent

string

Required. The parent resource of the QaQuestion.

qa_question

QaQuestion

Required. The QaQuestion to create.

qa_question_id

string

Optional. A unique ID for the new question. This ID will become the final component of the question's resource name. If no ID is specified, a server-generated ID will be used.

This value should be 4-64 characters and must match the regular expression ^[a-z0-9-]{4,64}$. Valid characters are [a-z][0-9]-.

CreateQaQuestionTagRequest

The request for creating a QaQuestionTag.

Fields
parent

string

Required. The parent resource of the QaQuestionTag.

qa_question_tag

QaQuestionTag

Required. The QaQuestionTag to create.

qa_question_tag_id

string

Optional. A unique ID for the new QaQuestionTag. This ID will become the final component of the QaQuestionTag's resource name. If no ID is specified, a server-generated ID will be used.

This value should be 4-64 characters and must match the regular expression ^[a-z0-9-]{4,64}$. Valid characters are [a-z][0-9]-.

CreateQaScorecardRequest

The request for creating a QaScorecard.

Fields
parent

string

Required. The parent resource of the QaScorecard.

qa_scorecard

QaScorecard

Required. The QaScorecard to create.

qa_scorecard_id

string

Optional. A unique ID for the new QaScorecard. This ID will become the final component of the QaScorecard's resource name. If no ID is specified, a server-generated ID will be used.

This value should be 4-64 characters and must match the regular expression ^[a-z0-9-]{4,64}$. Valid characters are [a-z][0-9]-.

CreateQaScorecardRevisionRequest

The request for creating a QaScorecardRevision.

Fields
parent

string

Required. The parent resource of the QaScorecardRevision.

qa_scorecard_revision

QaScorecardRevision

Required. The QaScorecardRevision to create.

qa_scorecard_revision_id

string

Optional. A unique ID for the new QaScorecardRevision. This ID will become the final component of the QaScorecardRevision's resource name. If no ID is specified, a server-generated ID will be used.

This value should be 4-64 characters and must match the regular expression ^[a-z0-9-]{4,64}$. Valid characters are [a-z][0-9]-.

CreateViewRequest

The request to create a view.

Fields
parent

string

Required. The parent resource of the view. Required. The location to create a view for. Format: projects/<Project ID>/locations/<Location ID> or projects/<Project Number>/locations/<Location ID>

view

View

Required. The view resource to create.

Dashboard

Configurable dashboard

Fields
name

string

Identifier. Dashboard resource name. Format: projects/{project}/locations/{location}/dashboards/{dashboard}

display_name

string

User provided display name of the dashboard.

root_container

Container

The dashboard's root widget container. We want to display the dashboard layout in a tree-like structure, where the root container contains other widgets (containers or charts) as children.

description

string

Dashboard description

create_time

Timestamp

Output only. Dashboard creation time.

update_time

Timestamp

Output only. Dashboard last update time.

read_only

bool

Output only. Whether the dashboard is read-only. All predefined dashboards are read-only and cannot be modified by the user.

filter

string

Filter applied to all charts in the dashboard. Should support scope later.

date_range_config

DateRangeConfig

Date range config applied to all charts in the dashboard.

Dataset

Dataset resource represents a collection of conversations that may be bounded (Static Dataset, e.g. golden dataset for training), or unbounded (Dynamic Dataset, e.g. live traffic, or agent training traffic)

Fields
name

string

Immutable. Identifier. Resource name of the dataset. Format: projects/{project}/locations/{location}/datasets/{dataset}

display_name

string

Display name for the dataaset

description

string

Dataset description.

type

Type

Dataset usage type.

ttl

Duration

Optional. Option TTL for the dataset.

create_time

Timestamp

Output only. Dataset create time.

update_time

Timestamp

Output only. Dataset update time.

satisfies_pzi

bool

Output only. Whether this resource is zone isolated.

satisfies_pzs

bool

Output only. Whether this resource is zone separated.

Type

Type of datasat: For evals or sampled from live traffic.

Enums
TYPE_UNSPECIFIED Default value for unspecified.
EVAL For evals only.
LIVE Dataset with new conversations coming in regularly (Insights legacy conversations and AI trainer)

DatasetValidationWarning

Enum for the different types of issues a tuning dataset can have. These warnings are currently raised when trying to validate a dataset for tuning a scorecard.

Enums
DATASET_VALIDATION_WARNING_UNSPECIFIED Unspecified data validation warning.
TOO_MANY_INVALID_FEEDBACK_LABELS A non-trivial percentage of the feedback labels are invalid.
INSUFFICIENT_FEEDBACK_LABELS The quantity of valid feedback labels provided is less than the recommended minimum.
INSUFFICIENT_FEEDBACK_LABELS_PER_ANSWER One or more of the answers have less than the recommended minimum of feedback labels.
ALL_FEEDBACK_LABELS_HAVE_THE_SAME_ANSWER All the labels in the dataset come from a single answer choice.

DateRangeConfig

Date range configuration for dashboard charts.

Fields
Union field range. The date range. range can be only one of the following:
relative_date_range

RelativeDateRange

A relative date range.

absolute_date_range

QueryInterval

An absolute date range.

RelativeDateRange

Relative date range configuration.

Fields
quantity

int64

Required. The quantity of units in the past.

unit

TimeUnit

Required. The unit of time.

TimeUnit

The unit of time for relative date range.

Enums
TIME_UNIT_UNSPECIFIED Unspecified.
DAY Day.
WEEK Week.
MONTH Month.
QUARTER Quarter.
YEAR Year.

DeleteAnalysisRequest

The request to delete an analysis.

Fields
name

string

Required. The name of the analysis to delete.

DeleteAnalysisRuleRequest

The request to delete a analysis rule.

Fields
name

string

Required. The name of the analysis rule to delete.

DeleteAssessmentRequest

The request to delete an assessment.

Fields
name

string

Required. The name of the assessment to delete.

force

bool

Optional. If set to true, all of this assessment's notes will also be deleted. Otherwise, the request will only succeed if it has no notes.

DeleteAssessmentRuleRequest

The request to delete an assessment rule.

Fields
name

string

Required. The name of the assessment rule to delete.

DeleteAuthorizedViewRequest

The request for deleting an authorized view.

Fields
name

string

Required. The name of the AuthorizedView to delete.

DeleteAuthorizedViewSetRequest

The request for deleting a AuthorizedViewSet.

Fields
name

string

Required. The name of the AuthorizedViewSet to delete.

force

bool

Optional. If set to true, all of this AuthorizedViewSet's child resources will also be deleted. Otherwise, the request will only succeed if it has none.

DeleteAutoLabelingRuleRequest

The request message for deleting an auto labeling rule.

Fields
name

string

Required. The name of the auto labeling rule to delete. Format: projects/{project}/locations/{location}/autoLabelingRules/{auto_labeling_rule}

DeleteChartRequest

The request to delete a chart.

Fields
name

string

Required. The name of the chart to delete.

DeleteConversationRequest

The request to delete a conversation.

Fields
name

string

Required. The name of the conversation to delete.

force

bool

If set to true, all of this conversation's analyses will also be deleted. Otherwise, the request will only succeed if the conversation has no analyses.

DeleteDashboardRequest

The request to delete a dashboard.

Fields
name

string

Required. The name of the dashboard to delete.

DeleteDatasetMetadata

This type has no fields.

DeleteDatasetRequest

The request to delete a dataset.

Fields
name

string

Required. The name of the dataset to delete.

DeleteFeedbackLabelRequest

The request for deleting a feedback label.

Fields
name

string

Required. The name of the feedback label to delete.

DeleteIssueModelMetadata

Metadata for deleting an issue model.

Fields
create_time

Timestamp

Output only. The time the operation was created.

end_time

Timestamp

Output only. The time the operation finished running.

request

DeleteIssueModelRequest

The original request for deletion.

DeleteIssueModelRequest

The request to delete an issue model.

Fields
name

string

Required. The name of the issue model to delete.

DeleteIssueRequest

The request to delete an issue.

Fields
name

string

Required. The name of the issue to delete.

DeleteNoteRequest

The request to delete a note.

Fields
name

string

Required. The name of the note to delete.

DeletePhraseMatcherRequest

The request to delete a phrase matcher.

Fields
name

string

Required. The name of the phrase matcher to delete.

DeleteQaQuestionRequest

The request for deleting a QaQuestion.

Fields
name

string

Required. The name of the QaQuestion to delete.

DeleteQaQuestionTagMetadata

The metadata for deleting a QaQuestionTag Resource.

Fields
create_time

Timestamp

Output only. The time the operation was created.

end_time

Timestamp

Output only. The time the operation finished running.

request

DeleteQaQuestionTagRequest

Output only. The original request.

DeleteQaQuestionTagRequest

The request for deleting a QaQuestionTag.

Fields
name

string

Required. The name of the QaQuestionTag to delete.

DeleteQaScorecardRequest

The request for deleting a QaScorecard.

Fields
name

string

Required. The name of the QaScorecard to delete.

force

bool

Optional. If set to true, all of this QaScorecard's child resources will also be deleted. Otherwise, the request will only succeed if it has none.

DeleteQaScorecardRevisionRequest

The request to delete a QaScorecardRevision.

Fields
name

string

Required. The name of the QaScorecardRevision to delete.

force

bool

Optional. If set to true, all of this QaScorecardRevision's child resources will also be deleted. Otherwise, the request will only succeed if it has none.

DeleteViewRequest

The request to delete a view.

Fields
name

string

Required. The name of the view to delete.

DeployIssueModelMetadata

Metadata for deploying an issue model.

Fields
create_time

Timestamp

Output only. The time the operation was created.

end_time

Timestamp

Output only. The time the operation finished running.

request

DeployIssueModelRequest

The original request for deployment.

DeployIssueModelRequest

The request to deploy an issue model.

Fields
name

string

Required. The issue model to deploy.

DeployIssueModelResponse

This type has no fields.

The response to deploy an issue model.

DeployQaScorecardRevisionRequest

The request to deploy a QaScorecardRevision

Fields
name

string

Required. The name of the QaScorecardRevision to deploy.

DialogflowIntent

The data for a Dialogflow intent. Represents a detected intent in the conversation, e.g. MAKES_PROMISE.

Fields
display_name

string

The human-readable name of the intent.

DialogflowInteractionData

Dialogflow interaction data.

Fields
dialogflow_intent_id

string

The Dialogflow intent resource path. Format: projects/{project}/agent/{agent}/intents/{intent}

confidence

float

The confidence of the match ranging from 0.0 (completely uncertain) to 1.0 (completely certain).

DialogflowSource

A Dialogflow source of conversation data.

Fields
dialogflow_conversation

string

Output only. The name of the Dialogflow conversation that this conversation resource is derived from. Format: projects/{project}/locations/{location}/conversations/{conversation}

audio_uri

string

Cloud Storage URI that points to a file that contains the conversation audio.

Dimension

A dimension determines the grouping key for the query. In SQL terms, these would be part of both the "SELECT" and "GROUP BY" clauses.

Fields
dimension_key

DimensionKey

The key of the dimension.

Union field dimension_metadata. Output-only metadata about the dimension. dimension_metadata can be only one of the following:
issue_dimension_metadata

IssueDimensionMetadata

Output only. Metadata about the issue dimension.

agent_dimension_metadata

AgentDimensionMetadata

Output only. Metadata about the agent dimension.

qa_question_dimension_metadata

QaQuestionDimensionMetadata

Output only. Metadata about the QA question dimension.

qa_question_answer_dimension_metadata

QaQuestionAnswerDimensionMetadata

Output only. Metadata about the QA question-answer dimension.

qa_scorecard_dimension_metadata

QaScorecardDimensionMetadata

Output only. Metadata about the QA scorecard dimension.

conversation_profile_dimension_metadata

ConversationProfileDimensionMetadata

Output only. Metadata about the conversation profile dimension.

medium_dimension_metadata

MediumDimensionMetadata

Output only. Metadata about the conversation medium dimension.

conversational_agents_playbook_dimension_metadata

ConversationalAgentsPlaybookDimensionMetadata

Output only. Metadata about the Conversational Agents playbook dimension.

conversational_agents_tool_dimension_metadata

ConversationalAgentsToolDimensionMetadata

Output only. Metadata about the Conversational Agents tool dimension.

client_sentiment_category_dimension_metadata

ClientSentimentCategoryDimensionMetadata

Output only. Metadata about the client sentiment category dimension.

label_dimension_metadata

LabelDimensionMetadata

Output only. Metadata about conversation labels.

AgentDimensionMetadata

Metadata about the agent dimension.

Fields
agent_id

string

Optional. A user-specified string representing the agent. This will be populated for AGENT, AGENT_TEAM, AGENT_VERSION_ID, and AGENT_DEPLOYMENT_ID dimensions.

agent_display_name

string

Optional. The agent's name This will be populated for AGENT, AGENT_TEAM, AGENT_VERSION_ID, and AGENT_DEPLOYMENT_ID dimensions.

agent_team

string

Optional. A user-specified string representing the agent's team.

agent_version_display_name

string

Optional. The agent's version display name. Only applicable to automated agents. This will be populated for AGENT_VERSION_ID, and AGENT_DEPLOYMENT_ID dimensions.

agent_version_id

string

Optional. The agent's version ID. Only applicable to automated agents. This will be populated for AGENT_VERSION_ID, and AGENT_DEPLOYMENT_ID dimensions.

agent_deployment_display_name

string

Optional. The agent's deployment display name. Only applicable to automated agents. This will be populated for AGENT_DEPLOYMENT_ID dimensions.

agent_deployment_id

string

Optional. The agent's deployment ID. Only applicable to automated agents. This will be populated for AGENT and AGENT_DEPLOYMENT_ID dimensions.

ClientSentimentCategoryDimensionMetadata

Metadata about the client sentiment category dimension.

Fields
sentiment_category

string

Optional. The client sentiment category.

ConversationProfileDimensionMetadata

Metadata about the conversation profile dimension.

Fields
conversation_profile_id

string

Optional. The conversation profile ID.

ConversationalAgentsPlaybookDimensionMetadata

Metadata about the Conversational Agents playbook dimension.

Fields
playbook_id

string

Optional. The dialogflow playbook ID.

playbook_display_name

string

Optional. The dialogflow playbook display name.

ConversationalAgentsToolDimensionMetadata

Metadata about the Conversational Agents tool dimension.

Fields
tool_id

string

Optional. The dialogflow tool ID.

tool_display_name

string

Optional. The dialogflow tool display name.

DimensionKey

The key of the dimension.

Enums
DIMENSION_KEY_UNSPECIFIED The key of the dimension is unspecified.
ISSUE The dimension is keyed by issues.
ISSUE_NAME The dimension is keyed by issue names.
AGENT The dimension is keyed by agents.
AGENT_TEAM The dimension is keyed by agent teams.
QA_QUESTION_ID The dimension is keyed by QaQuestionIds. Note that: We only group by the QuestionId and not the revision-id of the scorecard this question is a part of. This allows for showing stats for the same question across different scorecard revisions.
QA_QUESTION_ANSWER_VALUE The dimension is keyed by QaQuestionIds-Answer value pairs. Note that: We only group by the QuestionId and not the revision-id of the scorecard this question is a part of. This allows for showing distribution of answers per question across different scorecard revisions.
QA_SCORECARD_ID The dimension is keyed by QaScorecardIds. Note that: We only group by the ScorecardId and not the revision-id of the scorecard. This allows for showing stats for the same scorecard across different revisions. This metric is mostly only useful if querying the average normalized score per scorecard.
CONVERSATION_PROFILE_ID The dimension is keyed by the conversation profile ID.
MEDIUM The dimension is keyed by the conversation medium.
CONVERSATIONAL_AGENTS_PLAYBOOK_ID The dimension is keyed by the Conversational Agents playbook ID.
CONVERSATIONAL_AGENTS_PLAYBOOK_NAME The dimension is keyed by the Conversational Agents playbook display name.
CONVERSATIONAL_AGENTS_TOOL_ID The dimension is keyed by the Conversational Agents tool ID.
CONVERSATIONAL_AGENTS_TOOL_NAME The dimension is keyed by the Conversational Agents tool display name.
CLIENT_SENTIMENT_CATEGORY The dimension is keyed by the client sentiment category.
AGENT_VERSION_ID The dimension is keyed by the agent version ID.
AGENT_DEPLOYMENT_ID The dimension is keyed by the agent deployment ID.
AGENT_ASSIST_SUPERVISOR_ID The dimension is keyed by the supervisor ID of the assigned human supervisor for virtual agents.
LABEL_KEY The dimension is keyed by label keys.
LABEL_VALUE The dimension is keyed by label values.
LABEL_KEY_AND_VALUE The dimension is keyed by label key-value pairs.
LAST_TRANSFER_SUB_AGENT_NAME The dimension is keyed by the last transfer sub agent name.

IssueDimensionMetadata

Metadata about the issue dimension.

Fields
issue_id

string

The issue ID.

issue_display_name

string

The issue display name.

issue_model_id

string

The parent issue model ID.

LabelDimensionMetadata

Metadata about conversation labels.

Fields
label_key

string

Optional. The label key.

label_value

string

Optional. The label value.

MediumDimensionMetadata

Metadata about the conversation medium dimension.

Fields
medium

string

Optional. The conversation medium. Currently supports : PHONE_CALL, CHAT.

QaQuestionAnswerDimensionMetadata

Metadata about the QA question-answer dimension. This is useful for showing the answer distribution for questions for a given scorecard.

Fields
qa_scorecard_id

string

Optional. The QA scorecard ID.

qa_question_id

string

Optional. The QA question ID.

question_body

string

Optional. The full body of the question.

answer_value

string

Optional. The full body of the question.

QaQuestionDimensionMetadata

Metadata about the QA question dimension.

Fields
qa_scorecard_id

string

Optional. The QA scorecard ID.

qa_question_id

string

Optional. The QA question ID.

question_body

string

Optional. The full body of the question.

QaScorecardDimensionMetadata

Metadata about the QA scorecard dimension.

Fields
qa_scorecard_id

string

Optional. The QA scorecard ID.

EncryptionSpec

A customer-managed encryption key specification that can be applied to all created resources (e.g. Conversation).

Fields
name

string

Immutable. The resource name of the encryption key specification resource. Format: projects/{project}/locations/{location}/encryptionSpec

kms_key

string

Required. The name of customer-managed encryption key that is used to secure a resource and its sub-resources. If empty, the resource is secured by our default encryption key. Only the key in the same location as this resource is allowed to be used for encryption. Format: projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{key}

satisfies_pzi

bool

Output only. Whether this resource is zone isolated.

satisfies_pzs

bool

Output only. Whether this resource is zone separated.

Entity

The data for an entity annotation. Represents a phrase in the conversation that is a known entity, such as a person, an organization, or location.

Fields
display_name

string

The representative name for the entity.

type

Type

The entity type.

metadata

map<string, string>

Metadata associated with the entity.

For most entity types, the metadata is a Wikipedia URL (wikipedia_url) and Knowledge Graph MID (mid), if they are available. For the metadata associated with other entity types, see the Type table below.

salience

float

The salience score associated with the entity in the [0, 1.0] range.

The salience score for an entity provides information about the importance or centrality of that entity to the entire document text. Scores closer to 0 are less salient, while scores closer to 1.0 are highly salient.

sentiment

SentimentData

The aggregate sentiment expressed for this entity in the conversation.

Type

The type of the entity. For most entity types, the associated metadata is a Wikipedia URL (wikipedia_url) and Knowledge Graph MID (mid). The table below lists the associated fields for entities that have different metadata.

Enums
TYPE_UNSPECIFIED Unspecified.
PERSON Person.
LOCATION Location.
ORGANIZATION Organization.
EVENT Event.
WORK_OF_ART Artwork.
CONSUMER_GOOD Consumer product.
OTHER Other types of entities.
PHONE_NUMBER

Phone number.

The metadata lists the phone number (formatted according to local convention), plus whichever additional elements appear in the text:

  • number - The actual number, broken down into sections according to local convention.
  • national_prefix - Country code, if detected.
  • area_code - Region or area code, if detected.
  • extension - Phone extension (to be dialed after connection), if detected.
ADDRESS

Address.

The metadata identifies the street number and locality plus whichever additional elements appear in the text:

  • street_number - Street number.
  • locality - City or town.
  • street_name - Street/route name, if detected.
  • postal_code - Postal code, if detected.
  • country - Country, if detected.
  • broad_region - Administrative area, such as the state, if detected.
  • narrow_region - Smaller administrative area, such as county, if detected.
  • sublocality - Used in Asian addresses to demark a district within a city, if detected.
DATE

Date.

The metadata identifies the components of the date:

  • year - Four digit year, if detected.
  • month - Two digit month number, if detected.
  • day - Two digit day number, if detected.
NUMBER

Number.

The metadata is the number itself.

PRICE

Price.

The metadata identifies the value and currency.

EntityMentionData

The data for an entity mention annotation. This represents a mention of an Entity in the conversation.

Fields
entity_unique_id

string

The key of this entity in conversation entities. Can be used to retrieve the exact Entity this mention is attached to.

type

MentionType

The type of the entity mention.

sentiment

SentimentData

Sentiment expressed for this mention of the entity.

MentionType

The supported types of mentions.

Enums
MENTION_TYPE_UNSPECIFIED Unspecified.
PROPER Proper noun.
COMMON Common noun (or noun compound).

ExactMatchConfig

Exact match configuration.

Fields
case_sensitive

bool

Whether to consider case sensitivity when performing an exact match.

ExportInsightsDataMetadata

Metadata for an export insights operation.

Fields
create_time

Timestamp

Output only. The time the operation was created.

end_time

Timestamp

Output only. The time the operation finished running.

request

ExportInsightsDataRequest

The original request for export.

partial_errors[]

Status

Partial errors during export operation that might cause the operation output to be incomplete.

completed_export_count

int32

The number of conversations that were exported successfully.

failed_export_count

int32

The number of conversations that failed to be exported.

ExportInsightsDataRequest

The request to export insights.

Fields
parent

string

Required. The parent resource to export data from.

filter

string

A filter to reduce results to a specific subset. Useful for exporting conversations with specific properties.

kms_key

string

A fully qualified KMS key name for BigQuery tables protected by CMEK. Format: projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}/cryptoKeyVersions/{version}

write_disposition

WriteDisposition

Options for what to do if the destination table already exists.

export_schema_version

ExportSchemaVersion

Optional. Version of the export schema.

Union field destination. Exporter destination. destination can be only one of the following:
big_query_destination

BigQueryDestination

Specified if sink is a BigQuery table.

BigQueryDestination

A BigQuery Table Reference.

Fields
project_id

string

A project ID or number. If specified, then export will attempt to write data to this project instead of the resource project. Otherwise, the resource project will be used.

dataset

string

Required. The name of the BigQuery dataset that the snapshot result should be exported to. If this dataset does not exist, the export call returns an INVALID_ARGUMENT error.

table

string

The BigQuery table name to which the insights data should be written. If this table does not exist, the export call returns an INVALID_ARGUMENT error.

ExportSchemaVersion

Version of the export schema, default to version 3 if not specified.

Enums
EXPORT_SCHEMA_VERSION_UNSPECIFIED Unspecified. Defaults to EXPORT_V3.
EXPORT_V1 Export schema version 1.
EXPORT_V2 Export schema version 2.
EXPORT_V3 Export schema version 3.
EXPORT_V4 Export schema version 4.
EXPORT_V5 Export schema version 5.
EXPORT_V6 Export schema version 6.
EXPORT_V7 Export schema version 7.
EXPORT_V8 Export schema version 8.
EXPORT_V9 Export schema version 9.
EXPORT_V10 Export schema version 10.
EXPORT_V11 Export schema version 11.
EXPORT_V12 Export schema version 12.
EXPORT_V13 Export schema version 13.
EXPORT_V14 Export schema version 14.
EXPORT_V15 Export schema version 15.
EXPORT_V16 Export schema version 16.
EXPORT_V17 Export schema version 17.
EXPORT_VERSION_LATEST_AVAILABLE Export schema version latest available.

WriteDisposition

Specifies the action that occurs if the destination table already exists.

Enums
WRITE_DISPOSITION_UNSPECIFIED Write disposition is not specified. Defaults to WRITE_TRUNCATE.
WRITE_TRUNCATE If the table already exists, BigQuery will overwrite the table data and use the schema from the load.
WRITE_APPEND If the table already exists, BigQuery will append data to the table.

ExportInsightsDataResponse

This type has no fields.

Response for an export insights operation.

ExportIssueModelMetadata

Metadata used for export issue model.

Fields
create_time

Timestamp

The time the operation was created.

end_time

Timestamp

The time the operation finished running.

request

ExportIssueModelRequest

The original export request.

ExportIssueModelRequest

Request to export an issue model.

Fields
name

string

Required. The issue model to export.

Union field Destination. The destination to export the issue model to. Destination can be only one of the following:
gcs_destination

GcsDestination

Google Cloud Storage URI to export the issue model to.

GcsDestination

Google Cloud Storage Object URI to save the issue model to.

Fields
object_uri

string

Required. Format: gs://<bucket-name>/<object-name>

ExportIssueModelResponse

This type has no fields.

Response from export issue model

FaqAnswerData

Agent Assist frequently-asked-question answer data.

Fields
answer

string

The piece of text from the source knowledge base document.

confidence_score

float

The system's confidence score that this answer is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain).

question

string

The corresponding FAQ question.

metadata

map<string, string>

Map that contains metadata about the FAQ answer and the document that it originates from.

query_record

string

The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}

source

string

The knowledge document that this answer was extracted from. Format: projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}.

FeedbackLabel

Represents a conversation, resource, and label provided by the user. Can take the form of a string label or a QaAnswer label. QaAnswer labels are used for Quality AI example conversations. String labels are used for Topic Modeling. AgentAssistSummary labels are used for Agent Assist Summarization.

Fields
name

string

Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label}

labeled_resource

string

Name of the resource to be labeled. Supported resources are:

  • projects/{project}/locations/{location}/qaScorecards/{scorecard}/revisions/{revision}/qaQuestions/{question}
  • projects/{project}/locations/{location}/issueModels/{issue_model}
  • projects/{project}/locations/{location}/generators/{generator_id}
create_time

Timestamp

Output only. Create time of the label.

update_time

Timestamp

Output only. Update time of the label.

satisfies_pzi

bool

Output only. Whether this resource is zone isolated.

satisfies_pzs

bool

Output only. Whether this resource is zone separated.

Union field label_type. Label type. label_type can be only one of the following:
label

string

String label used for Topic Modeling.

qa_answer_label

AnswerValue

QaAnswer label used for Quality AI example conversations.

FinalizeAssessmentRequest

The message to finalize an assessment. Finalizing makes an assessment and its notes immutable.

Fields
name

string

Required. The name of the assessment to finalize.

GcsSource

A Cloud Storage source of conversation data.

Fields
audio_uri
(deprecated)

string

Immutable. Deprecated: Use audio_uris instead.

Cloud Storage URI that points to a file that contains the conversation audio.

transcript_uri

string

Immutable. Cloud Storage URI that points to a file that contains the conversation transcript.

audio_uris[]

string

Immutable. Cloud Storage URIs that point to files that contain the conversation audio. Supports both single audio files and multi-leg session recordings (e.g., call transfers, rolling recording buffers).

GenerateConversationSignedAudioRequest

The request to sign audio for a conversation.

Fields
name

string

Required. The name of the conversation to sign.

GenerateConversationSignedAudioResponse

The response from a GenerateConversationSignedAudio request.

Fields
signed_audio_uris

SignedAudioUris

The signed uris for the audio.

GenerativeInsightConversationTranscript

The conversation transcript for the chart.

Fields
conversation_id

string

The conversation id of the chart.

create_time

Timestamp

Output only. The create time of the conversation.

update_time

Timestamp

Output only. The update time of the conversation.

messages[]

Message

Ordered list of messages, including user inputs and system responses.

Message

The message in the conversation.

Fields
message_id

string

The message id of the message.

create_time

Timestamp

Output only. For user messages, this is the time at which the system received the message. For system messages, this is the time at which the system generated the message.

Union field kind. The kind of message, can be user or system message. kind can be only one of the following:
user_message

UserMessage

A message from the user that is interacting with the system.

system_message_wrapper

SystemMessages

A wrapper for system messages per turn.

SystemMessage

A message from the system in response to the user. This message can also be a message from the user as historical context for multiturn conversations with the system.

Fields
Union field kind. The kind of content in the system message. kind can be only one of the following:
text_message

TextOutput

A direct natural language response to the user message.

generated_sql_query

string

Raw SQL from LLM, before templatization

chart_spec

Struct

Chart spec from LLM

user_provided_sql_query

string

Optional. User provided SQL query

user_provided_chart_spec

Struct

Optional. User provided chart spec

TextOutput

A text output message from the system.

Fields
text[]

string

The parts of the message.

text_type

Type

The type of the text message.

Type

The type of the text message.

Enums
TYPE_UNSPECIFIED The default text type.
THOUGHT The text is a thinking plan generated by the thinking tool.
FINAL_RESPONSE The text is a final response to the user question.
PROGRESS The text is an informational message about the agent's progress, such as a tool being invoked. This is distinct from the agent's internal thought process (THOUGHT) and the final answer to the user (FINAL_RESPONSE). These messages provide insight into the agent's actions.

SystemMessages

A wrapper for system messages per turn.

Fields
system_messages[]

SystemMessage

A message from the system in response to the user.

UserMessage

The user message.

Fields
text

string

A message from the user that is interacting with the system.

GenerativeInsights

Request that use natural language query to generate the chart.

Fields
request

Any

chart_spec

Struct

Chart spec for the chart.

sql_query

string

SQL query used to generate the chart.

sql_comparison_key

string

Optional. For charts with comparison, this key will determine the metric that will be compared between the current and another dataset.

chart_conversations[]
(deprecated)

ChartConversation

Output only. The chart conversations used to generate the chart.

chart_checkpoint

ChartCheckpoint

The chart checkpoint used to generate the chart.

ChartCheckpoint

The current chart checkpoint state.

Fields
session_id

string

The session id of the chart.

revision_id

string

The revision id of the chart.

ChartConversation

The conversation used to generate the chart.

Fields
conversation_id

string

The conversation id of the chart.

create_time

Timestamp

The create time of the conversation.

update_time

Timestamp

The update time of the conversation.

messages[]

Message

Ordered list of messages, including user inputs and system responses.

Message

The message in the conversation.

Fields
message_id

string

The message id of the message.

create_time

Timestamp

For user messages, this is the time at which the system received the message. For system messages, this is the time at which the system generated the message.

Union field kind. The kind of message, can be user or system message. kind can be only one of the following:
user_message

UserMessage

A message from the user that is interacting with the system.

system_message

SystemMessage

A message from the system in response to the user.

SystemMessage

A message from the system in response to the user. This message can also be a message from the user as historical context for multiturn conversations with the system.

Fields
Union field kind. The kind of content in the system message. kind can be only one of the following:
text_output

TextOutput

A direct natural language response to the user message.

generated_sql_query

string

Raw SQL from LLM, before templatization

chart_spec

Struct

Chart spec from LLM

TextOutput

A text output message from the system.

Fields
texts[]

string

The parts of the message.

type

Type

The type of the text message.

Type

The type of the text message.

Enums
TYPE_UNSPECIFIED The default text type.
THOUGHT The text is a thinking plan generated by the thinking tool.
FINAL_RESPONSE The text is a final response to the user question.
PROGRESS The text is an informational message about the agent's progress, such as a tool being invoked. This is distinct from the agent's internal thought process (THOUGHT) and the final answer to the user (FINAL_RESPONSE). These messages provide insight into the agent's actions.

UserMessage

The user message.

Fields
text

string

A message from the user that is interacting with the system.

GenerativeInsightsMetadata

The metadata for generative insights.

Fields
error_messages[]

Status

The error message when the generative insights request fails.

GenerativeInsightsRequest

The request for generative insights.

Fields
location

string

Required. The location of the data. "projects/{project}/locations/{location}"

natural_language_query

string

The natural language query specified by the user. If this field is specified, sql_query will be ignored.

chart

string

The full name of the chart resource this request corresponds to. Format: projects/{project}/locations/{location}/dashboards/{dashboard}/charts/{chart}

filter

string

Filter for the data that can be specified in addition to the natural language query. Users are encouraged to use this field to populate time-windows.

comparison_filter

string

Optional. Filter for the data that can be specified in addition to the natural language query. This filter is specifically used for charts where comparisons are possible. For example, "compare to last month" or "compare to previous quarter".

sql_query

string

Optional. The SQL query specified by the user. This query must be in BigQuery SQL dialect. The filter field will also be ignored, as it is assumed that any filtering is already included in the SQL query.

sql_comparison_key

string

Optional. For charts with comparison, this key will determine the metric that will be compared between the current and another dataset.

session_id

string

Optional. The session id of the conversation. If the session id is not specified, backend will generate a random session id. If the session id is specified, will associate user-provided user_query with the provided session id.

revision_id

string

Optional. The revision id that maps to the state of the chart state revision. When specified, the backend will reload the chart with the sql and visual spec from that revision.

user_provided_chart_spec

Struct

Optional. The user provided chart spec for the chart. This will be used to override the visual spec generated by the LLM.

time_zone

string

Optional. The time zone name from the IANA Time Zone Database (for example, "America/Los_Angeles") used to group daily time-series results. If empty, or if the name is well-formed but not known to the server, UTC is used. Malformed values are rejected with INVALID_ARGUMENT.

GenerativeInsightsResponse

The response for generative insights.

Fields
generative_responses[]

GenerativeResponse

The full list of generative responses. Each response is ordered by time.

transcript

GenerativeInsightConversationTranscript

The transcript of the generative insights conversation.

time_zone

string

The time zone name from the IANA Time Zone Database that the query actually used to group results. Equals the requested time_zone when the chart SQL supports time zones, otherwise "UTC".

GenerativeResponse

Wrapper for storing the generative response for a chart.

Fields
Union field response. Generative responses can be of type text, sql or chart. response can be only one of the following:
text_output
(deprecated)

string

The text output from the LLM. Will be populated during the chart building phase. For a reloaded chart, this will NOT be populated. May contain THOUGHT or a FINAL response or some in-progress response.

generated_sql_query

string

The generated SQL query from the LLM. Will be populated during the chart building phase. The generated SQL will be cached in the corresponding chart resource.

chart_spec

Struct

The chart spec for the data. This will be specified in the vega-lite or vega format.

text_message

TextOutput

The text output from the LLM. Will be populated during the chart building phase. For a reloaded chart, this will NOT be populated. May contain THOUGHT or a FINAL response or some in-progress response.

TextOutput

Wrapper for text output.

Fields
text[]

string

The text output from the LLM.

text_type

Type

The type of text output.

Type

The type of text output.

Enums
TYPE_UNSPECIFIED The type is unspecified.
THOUGHT The text is part of LLM reasoning.
FINAL_RESPONSE The text is the final answer from LLM.
PROGRESS The text is an informational message about the agent's progress, such as a tool being invoked. This is distinct from the agent's internal thought process (THOUGHT) and the final answer to the user (FINAL_RESPONSE). These messages provide insight into the agent's actions.

GetAnalysisRequest

The request to get an analysis.

Fields
name

string

Required. The name of the analysis to get.

GetAnalysisRuleRequest

The request for getting a analysis rule.

Fields
name

string

Required. The name of the AnalysisRule to get.

GetAssessmentRequest

The request to get an assessment.

Fields
name

string

Required. The name of the assessment to get.

GetAssessmentRuleRequest

The request for getting an assessment rule.

Fields
name

string

Required. The name of the assessment rule to get.

GetAuthorizedViewRequest

The request for getting a AuthorizedView.

Fields
name

string

Required. The name of the AuthorizedView to get.

GetAuthorizedViewSetRequest

The request for getting a AuthorizedViewSet.

Fields
name

string

Required. The name of the AuthorizedViewSet to get.

GetAutoLabelingRuleRequest

The request message for getting an auto labeling rule.

Fields
name

string

Required. The name of the auto labeling rule to get. Format: projects/{project}/locations/{location}/autoLabelingRules/{auto_labeling_rule}

GetChartRequest

The request to get a chart.

Fields
name

string

Required. The name of the chart to get.

GetConversationRequest

The request to get a conversation.

Fields
name

string

Required. The name of the conversation to get.

view

ConversationView

The level of details of the conversation. Default is FULL.

GetCorrelationConfigRequest

The request to get correlation config.

Fields
name

string

Required. The name of the correlation config resource to get. Format: projects/{project}/locations/{location}/correlationConfig

GetDashboardRequest

The request to get a dashboard.

Fields
name

string

Required. The name of the dashboard to get.

GetDatasetRequest

The request to get a dataset.

Fields
name

string

Required. The name of the dataset to get.

GetEncryptionSpecRequest

The request to get location-level encryption specification.

Fields
name

string

Required. The name of the encryption spec resource to get.

GetFeedbackLabelRequest

The request for getting a feedback label.

Fields
name

string

Required. The name of the feedback label to get.

GetIssueModelRequest

The request to get an issue model.

Fields
name

string

Required. The name of the issue model to get.

GetIssueRequest

The request to get an issue.

Fields
name

string

Required. The name of the issue to get.

GetPhraseMatcherRequest

The request to get a a phrase matcher.

Fields
name

string

Required. The name of the phrase matcher to get.

GetQaQuestionRequest

The request for a QaQuestion.

Fields
name

string

Required. The name of the QaQuestion to get.

GetQaQuestionTagRequest

The request for a QaQuestionTag.

Fields
name

string

Required. The name of the QaQuestionTag to get.

GetQaScorecardRequest

The request for a QaScorecard. By default, returns the latest revision.

Fields
name

string

Required. The name of the QaScorecard to get.

GetQaScorecardRevisionRequest

The request for a QaScorecardRevision.

Fields
name

string

Required. The name of the QaScorecardRevision to get.

GetSettingsRequest

The request to get project-level settings.

Fields
name

string

Required. The name of the settings resource to get.

GetViewRequest

The request to get a view.

Fields
name

string

Required. The name of the view to get.

HoldData

This type has no fields.

The data for a hold annotation.

ImportIssueModelMetadata

Metadata used for import issue model.

Fields
create_time

Timestamp

The time the operation was created.

end_time

Timestamp

The time the operation finished running.

request

ImportIssueModelRequest

The original import request.

ImportIssueModelRequest

Request to import an issue model.

Fields
parent

string

Required. The parent resource of the issue model.

create_new_model

bool

Optional. If set to true, will create an issue model from the imported file with randomly generated IDs for the issue model and corresponding issues. Otherwise, replaces an existing model with the same ID as the file.

Union field Source. The source to import the issue model from. Source can be only one of the following:
gcs_source

GcsSource

Google Cloud Storage source message.

GcsSource

Google Cloud Storage Object URI to get the issue model file from.

Fields
object_uri

string

Required. Format: gs://<bucket-name>/<object-name>

ImportIssueModelResponse

Response from import issue model

Fields
issue_model

IssueModel

The issue model that was imported.

IngestConversationsMetadata

The metadata for an IngestConversations operation.

Fields
create_time

Timestamp

Output only. The time the operation was created.

end_time

Timestamp

Output only. The time the operation finished running.

request

IngestConversationsRequest

Output only. The original request for ingest.

partial_errors[]

Status

Output only. Partial errors during ingest operation that might cause the operation output to be incomplete.

ingest_conversations_stats

IngestConversationsStats

Output only. Statistics for IngestConversations operation.

sampled_conversations[]

string

Output only. Stores the conversation resources produced by ingest sampling operations.

IngestConversationsStats

Statistics for IngestConversations operation.

Fields
processed_object_count

int32

Output only. The number of objects processed during the ingest operation.

duplicates_skipped_count

int32

Output only. The number of objects skipped because another conversation with the same transcript uri had already been ingested.

successful_ingest_count

int32

Output only. The number of new conversations added during this ingest operation.

failed_ingest_count

int32

Output only. The number of objects which were unable to be ingested due to errors. The errors are populated in the partial_errors field.

IngestConversationsRequest

The request to ingest conversations.

Fields
parent

string

Required. The parent resource for new conversations.

conversation_config

ConversationConfig

Configuration that applies to all conversations.

redaction_config

RedactionConfig

Optional. DLP settings for transcript redaction. Optional, will default to the config specified in Settings.

speech_config

SpeechConfig

Optional. Default Speech-to-Text configuration. Optional, will default to the config specified in Settings.

Union field source. Configuration for an external data store containing objects that will be converted to conversations. source can be only one of the following:
gcs_source

GcsSource

A cloud storage bucket source. Note that any previously ingested objects from the source will be skipped to avoid duplication.

Union field object_config. Configuration for converting individual source objects to conversations. object_config can be only one of the following:
transcript_object_config

TranscriptObjectConfig

Configuration for when source contains conversation transcripts.

sample_size

int32

Optional. If set, this fields indicates the number of objects to ingest from the Cloud Storage bucket. If empty, the entire bucket will be ingested. Unless they are first deleted, conversations produced through sampling won't be ingested by subsequent ingest requests.

ConversationConfig

Configuration that applies to all conversations.

Fields
agent_id

string

Optional. An opaque, user-specified string representing a human agent who handled all conversations in the import. Note that this will be overridden if per-conversation metadata is provided through the metadata_bucket_uri.

agent_channel

int32

Optional. Indicates which of the channels, 1 or 2, contains the agent. Note that this must be set for conversations to be properly displayed and analyzed.

customer_channel

int32

Optional. Indicates which of the channels, 1 or 2, contains the agent. Note that this must be set for conversations to be properly displayed and analyzed.

GcsSource

Configuration for Cloud Storage bucket sources.

Fields
bucket_uri

string

Optional. The Cloud Storage bucket containing source objects. Avoid passing this. Pass this through one of transcript_bucket_uri or audio_bucket_uri.

bucket_object_type

BucketObjectType

Optional. Specifies the type of the objects in bucket_uri. Avoid passing this. This is inferred from the transcript_bucket_uri, audio_bucket_uri.

custom_metadata_keys[]

string

Optional. Custom keys to extract as conversation labels from metadata files in metadata_bucket_uri. Keys not included in this field will be ignored. Note that there is a limit of 100 labels per conversation.

transcript_bucket_uri

string

Optional. The Cloud Storage path to the conversation transcripts. Note that: [1] Transcript files are expected to be in JSON format. [2] Transcript, audio, metadata files must be in separate buckets / folders. [3] A source file and its corresponding metadata file must share the same name to be properly ingested, E.g. gs://bucket/audio/conversation1.mp3 and gs://bucket/metadata/conversation1.json.

audio_bucket_uri

string

Optional. The Cloud Storage path to the conversation audio file. Note that: [1] Audio files will be transcribed if not already. [2] Audio files and transcript files must be in separate buckets / folders. [3] A source file and its corresponding audio file must share the same name to be properly ingested, E.g. gs://bucket/transcript/conversation1.json and gs://bucket/audio/conversation1.mp3.

metadata_bucket_uri

string

Optional. The Cloud Storage path to the conversation metadata. Note that: [1] Metadata files are expected to be in JSON format. [2] Metadata and source files (transcripts or audio) must be in separate buckets / folders. [3] A source file and its corresponding metadata file must share the same name to be properly ingested, E.g. gs://bucket/audio/conversation1.mp3 and gs://bucket/metadata/conversation1.json.

BucketObjectType

The type of object in the Cloud Storage bucket.

Enums
BUCKET_OBJECT_TYPE_UNSPECIFIED The object type is unspecified and will default to TRANSCRIPT.
TRANSCRIPT The object is a transcript.
AUDIO The object is an audio file.

TranscriptObjectConfig

Configuration for processing transcript objects.

Fields
medium

Medium

Required. The medium transcript objects represent.

IngestConversationsResponse

This type has no fields.

The response to an IngestConversations operation.

InitializeEncryptionSpecMetadata

Metadata for initializing a location-level encryption specification.

Fields
create_time

Timestamp

Output only. The time the operation was created.

end_time

Timestamp

Output only. The time the operation finished running.

request

InitializeEncryptionSpecRequest

Output only. The original request for initialization.

partial_errors[]

Status

Partial errors during initializing operation that might cause the operation output to be incomplete.

InitializeEncryptionSpecRequest

The request to initialize a location-level encryption specification.

Fields
encryption_spec

EncryptionSpec

Required. The encryption spec used for CMEK encryption. It is required that the kms key is in the same region as the endpoint. The same key will be used for all provisioned resources, if encryption is available. If the kms_key_name field is left empty, no encryption will be enforced.

InitializeEncryptionSpecResponse

This type has no fields.

The response to initialize a location-level encryption specification.

Intent

The data for an intent. Represents a detected intent in the conversation, for example MAKES_PROMISE.

Fields
id

string

The unique identifier of the intent.

display_name

string

The human-readable name of the intent.

IntentMatchData

The data for an intent match. Represents an intent match for a text segment in the conversation. A text segment can be part of a sentence, a complete sentence, or an utterance with multiple sentences.

Fields
intent_unique_id

string

The id of the matched intent. Can be used to retrieve the corresponding intent information.

InterruptionData

This type has no fields.

The data for an interruption annotation.

Issue

The issue resource.

Fields
name

string

Immutable. The resource name of the issue. Format: projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue}

display_name

string

The representative name for the issue.

create_time

Timestamp

Output only. The time at which this issue was created.

update_time

Timestamp

Output only. The most recent time that this issue was updated.

sample_utterances[]

string

Output only. Resource names of the sample representative utterances that match to this issue.

display_description

string

Representative description of the issue.

IssueAssignment

Information about the issue.

Fields
issue

string

Resource name of the assigned issue.

score

double

Score indicating the likelihood of the issue assignment. currently bounded on [0,1].

display_name

string

Immutable. Display name of the assigned issue. This field is set at time of analysis and immutable since then.

IssueMatchData

The data for an issue match annotation.

Fields
issue_assignment

IssueAssignment

Information about the issue's assignment.

IssueModel

The issue model resource.

Fields
name

string

Immutable. The resource name of the issue model. Format: projects/{project}/locations/{location}/issueModels/{issue_model}

display_name

string

The representative name for the issue model.

create_time

Timestamp

Output only. The time at which this issue model was created.

update_time

Timestamp

Output only. The most recent time at which the issue model was updated.

issue_count

int64

Output only. Number of issues in this issue model.

state

State

Output only. State of the model.

input_data_config

InputDataConfig

Configs for the input data that used to create the issue model.

training_stats

IssueModelLabelStats

Output only. Immutable. The issue model's label statistics on its training data.

model_type

ModelType

Type of the model.

language_code

string

Language of the model.

InputDataConfig

Configs for the input data used to create the issue model.

Fields
medium
(deprecated)

Medium

Medium of conversations used in training data. This field is being deprecated. To specify the medium to be used in training a new issue model, set the medium field on filter.

training_conversations_count

int64

Output only. Number of conversations used in training. Output only.

filter

string

A filter to reduce the conversations used for training the model to a specific subset. Refer to https://cloud.google.com/contact-center/insights/docs/filtering for details.

ModelType

Type of the model.

Enums
MODEL_TYPE_UNSPECIFIED Unspecified model type.
TYPE_V1 Type V1.
TYPE_V2 Type V2.

State

State of the model.

Enums
STATE_UNSPECIFIED Unspecified.
UNDEPLOYED Model is not deployed but is ready to deploy.
DEPLOYING Model is being deployed.
DEPLOYED Model is deployed and is ready to be used. A model can only be used in analysis if it's in this state.
UNDEPLOYING Model is being undeployed.
DELETING Model is being deleted.

IssueModelLabelStats

Aggregated statistics about an issue model.

Fields
analyzed_conversations_count

int64

Number of conversations the issue model has analyzed at this point in time.

unclassified_conversations_count

int64

Number of analyzed conversations for which no issue was applicable at this point in time.

issue_stats

map<string, IssueStats>

Statistics on each issue. Key is the issue's resource name.

IssueStats

Aggregated statistics about an issue.

Fields
issue

string

Issue resource. Format: projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue}

labeled_conversations_count

int64

Number of conversations attached to the issue at this point in time.

display_name

string

Display name of the issue.

IssueModelResult

Issue Modeling result on a conversation.

Fields
issue_model

string

Issue model that generates the result. Format: projects/{project}/locations/{location}/issueModels/{issue_model}

issues[]

IssueAssignment

All the matched issues.

ListAllFeedbackLabelsRequest

The request for listing all feedback labels.

Fields
parent

string

Required. The parent resource of all feedback labels per project.

page_size

int32

Optional. The maximum number of feedback labels to return in the response. A valid page size ranges from 0 to 100,000 inclusive. If the page size is zero or unspecified, a default page size of 100 will be chosen. Note that a call might return fewer results than the requested page size.

page_token

string

Optional. The value returned by the last ListAllFeedbackLabelsResponse. This value indicates that this is a continuation of a prior ListAllFeedbackLabels call and that the system should return the next page of data.

filter

string

Optional. A filter to reduce results to a specific subset in the entire project. Supports disjunctions (OR) and conjunctions (AND).

Supported fields:

  • issue_model_id
  • qa_question_id
  • min_create_time
  • max_create_time
  • min_update_time
  • max_update_time
  • feedback_label_type: QUALITY_AI, TOPIC_MODELING

ListAllFeedbackLabelsResponse

The response for listing all feedback labels.

Fields
feedback_labels[]

FeedbackLabel

The feedback labels that match the request.

next_page_token

string

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

ListAnalysesRequest

The request to list analyses.

Fields
parent

string

Required. The parent resource of the analyses.

page_size

int32

The maximum number of analyses to return in the response. If this value is zero, the service will select a default size. A call might return fewer objects than requested. A non-empty next_page_token in the response indicates that more data is available.

page_token

string

The value returned by the last ListAnalysesResponse; indicates that this is a continuation of a prior ListAnalyses call and the system should return the next page of data.

filter

string

A filter to reduce results to a specific subset. Useful for querying conversations with specific properties.

ListAnalysesResponse

The response to list analyses.

Fields
analyses[]

Analysis

The analyses that match the request.

next_page_token

string

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

ListAnalysisRulesRequest

The request to list analysis rules.

Fields
parent

string

Required. The parent resource of the analysis rules.

page_size

int32

Optional. The maximum number of analysis rule to return in the response. If this value is zero, the service will select a default size. A call may return fewer objects than requested. A non-empty next_page_token in the response indicates that more data is available.

page_token

string

Optional. The value returned by the last ListAnalysisRulesResponse; indicates that this is a continuation of a prior ListAnalysisRules call and the system should return the next page of data.

ListAnalysisRulesResponse

The response of listing views.

Fields
analysis_rules[]

AnalysisRule

The analysis_rule that match the request.

next_page_token

string

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

ListAssessmentRulesRequest

The request to list assessment rules.

Fields
parent

string

Required. The parent resource of the assessment rules.

page_token

string

Optional. The value returned by the last ListAssessmentRulesResponse; indicates that this is a continuation of a prior ListAssessmentRules call and the system should return the next page of data.

page_size

int32

Optional. The maximum number of assessment rule to return in the response. If this value is zero, the service will select a default size. A call may return fewer objects than requested. A non-empty next_page_token in the response indicates that more data is available.

ListAssessmentRulesResponse

The response of listing assessment rules.

Fields
assessment_rules[]

AssessmentRule

The assessment rules that match the request.

next_page_token

string

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

ListAssessmentsRequest

The request to list assessments.

Fields
parent

string

Required. The parent resource of the assessments. To list all assessments in a location, substitute the conversation ID with a '-' character.

page_token

string

Optional. The value returned by the last ListAssessmentRulesResponse; indicates that this is a continuation of a prior ListAssessmentRules call and the system should return the next page of data.

filter

string

Optional. A filter to reduce results to a specific subset. Supported filters include:

  • state - The state of the assessment
  • agent_info.agent_id - The ID of the agent the assessment is for
page_size

int32

The maximum number of assessments to list. If zero, the service will select a default size. A call may return fewer objects than requested. A non-empty next_page_token in the response indicates that more data is available.

ListAssessmentsResponse

The response of listing assessments.

Fields
assessments[]

Assessment

The assessments that match the request.

next_page_token

string

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

ListAuthorizedViewSetsRequest

The request for listing AuthorizedViewSets.

Fields
parent

string

Required. The parent resource of the AuthorizedViewSets.

page_size

int32

Optional. The maximum number of view sets to return in the response. If the value is zero, the service will select a default size. A call might return fewer objects than requested. A non-empty next_page_token in the response indicates that more data is available.

page_token

string

Optional. The value returned by the last ListAuthorizedViewSetsResponse. This value indicates that this is a continuation of a prior ListAuthorizedViewSets call and that the system should return the next page of data.

filter

string

Optional. The filter expression to filter authorized view sets listed in the response.

order_by

string

Optional. The order by expression to order authorized view sets listed in the response.

ListAuthorizedViewSetsResponse

The response from a ListAuthorizedViewSet request.

Fields
authorized_view_sets[]

AuthorizedViewSet

The AuthorizedViewSets under the parent.

next_page_token

string

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

ListAuthorizedViewsRequest

The request for listing AuthorizedViews.

Fields
parent

string

Required. The parent resource of the AuthorizedViews. If the parent is set to -, all AuthorizedViews under the location will be returned.

page_size

int32

Optional. The maximum number of view to return in the response. If the value is zero, the service will select a default size. A call might return fewer objects than requested. A non-empty next_page_token in the response indicates that more data is available.

page_token

string

Optional. The value returned by the last ListAuthorizedViewsResponse. This value indicates that this is a continuation of a prior ListAuthorizedViews call and that the system should return the next page of data.

filter

string

Optional. The filter expression to filter authorized views listed in the response.

order_by

string

Optional. The order by expression to order authorized views listed in the response.

ListAuthorizedViewsResponse

The response from a ListAuthorizedViews request.

Fields
authorized_views[]

AuthorizedView

The AuthorizedViews under the parent.

next_page_token

string

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

ListAutoLabelingRulesRequest

The request message for listing auto labeling rules.

Fields
parent

string

Required. The project and location to list auto labeling rules from. Format: projects/{project}/locations/{location}

page_size

int32

Optional. The maximum number of auto labeling rules to return in a single response. If unspecified, at most 100 rules will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

page_token

string

Optional. The next_page_token value returned from a previous List request, if any.

ListAutoLabelingRulesResponse

The response message for listing auto labeling rules.

Fields
auto_labeling_rules[]

AutoLabelingRule

The auto labeling rules.

next_page_token

string

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

ListChartsRequest

The request to list charts.

Fields
parent

string

Required. The parent resource of the charts.

ListChartsResponse

The response of listing charts.

Fields
charts[]

Chart

The charts under the parent.

next_page_token

string

The value returned by the last ListChartsResponse. This value indicates that this is a continuation of a prior ListCharts call and that the system should return the next page of data.

ListConversationsRequest

Request to list conversations.

Fields
parent

string

Required. The parent resource of the conversation.

page_size

int32

The maximum number of conversations to return in the response. A valid page size ranges from 0 to 100,000 inclusive. If the page size is zero or unspecified, a default page size of 100 will be chosen. Note that a call might return fewer results than the requested page size.

page_token

string

The value returned by the last ListConversationsResponse. This value indicates that this is a continuation of a prior ListConversations call and that the system should return the next page of data.

filter

string

A filter to reduce results to a specific subset. Useful for querying conversations with specific properties.

order_by

string

Optional. The attribute by which to order conversations in the response. If empty, conversations will be ordered by descending creation time. Supported values are one of the following:

  • create_time
  • customer_satisfaction_rating
  • duration
  • latest_analysis
  • start_time
  • turn_count

The default sort order is ascending. To specify order, append asc or desc (create_time desc). For more details, see Google AIPs Ordering.

view

ConversationView

The level of details of the conversation. Default is BASIC.

ListConversationsResponse

The response of listing conversations.

Fields
conversations[]

Conversation

The conversations that match the request.

next_page_token

string

A token which can be sent as page_token to retrieve the next page. If this field is set, it means there is another page available. If it is not set, it means no other pages are available.

ListDashboardsRequest

The request to list dashboards.

Fields
parent

string

Required. The parent resource of the dashboards.

page_size

int32

Optional. The maximum number of dashboards to return. The service may return fewer than this value. The default and maximum value is 100.

page_token

string

Optional. The value returned by the last ListDashboardsResponse. This value indicates that this is a continuation of a prior ListDashboards call and that the system should return the next page of data.

filter

string

Optional. The filter expression to filter dashboards listed in the response.

order_by

string

Optional. The order by expression to order dashboards listed in the response.

ListDashboardsResponse

The response of listing dashboards.

Fields
dashboards[]

Dashboard

The dashboards under the parent.

next_page_token

string

The value returned by the last ListDashboardsResponse. This value indicates that this is a continuation of a prior ListDashboards call and that the system should return the next page of data.

ListDatasetsRequest

The request to list datasets.

Fields
parent

string

Required. The parent resource of the dataset.

page_size

int32

Optional. The maximum number of datasets to return in the response. If this value is zero, the service will select a default size. A call might return fewer objects than requested. A non-empty next_page_token in the response indicates that more data is available.

page_token

string

Optional. The value returned by the last ListDatasetsResponse; indicates that this is a continuation of a prior ListDatasets call and the system should return the next page of data.

filter

string

Optional. A filter to reduce results to a specific subset. Useful for querying datasets with specific properties. Supported fields include, for Q2 though we only support list by project: - type - description - project_number

ListDatasetsResponse

The response to list datasets.

Fields
datasets[]

Dataset

The datasets that match the request.

next_page_token

string

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

ListFeedbackLabelsRequest

The request for listing feedback labels.

Fields
parent

string

Required. The parent resource of the feedback labels.

filter

string

Optional. A filter to reduce results to a specific subset. Supports disjunctions (OR) and conjunctions (AND). Automatically sorts by conversation ID. To sort by all feedback labels in a project see ListAllFeedbackLabels.

Supported fields:

  • issue_model_id
  • qa_question_id
  • qa_scorecard_id
  • min_create_time
  • max_create_time
  • min_update_time
  • max_update_time
  • feedback_label_type: QUALITY_AI, TOPIC_MODELING
page_size

int32

Optional. The maximum number of feedback labels to return in the response. A valid page size ranges from 0 to 100,000 inclusive. If the page size is zero or unspecified, a default page size of 100 will be chosen. Note that a call might return fewer results than the requested page size.

page_token

string

Optional. The value returned by the last ListFeedbackLabelsResponse. This value indicates that this is a continuation of a prior ListFeedbackLabels call and that the system should return the next page of data.

ListFeedbackLabelsResponse

The response for listing feedback labels.

Fields
feedback_labels[]

FeedbackLabel

The feedback labels that match the request.

next_page_token

string

The next page token.

ListIssueModelsRequest

Request to list issue models.

Fields
parent

string

Required. The parent resource of the issue model.

ListIssueModelsResponse

The response of listing issue models.

Fields
issue_models[]

IssueModel

The issue models that match the request.

ListIssuesRequest

Request to list issues.

Fields
parent

string

Required. The parent resource of the issue.

ListIssuesResponse

The response of listing issues.

Fields
issues[]

Issue

The issues that match the request.

ListNotesRequest

The message to list notes.

Fields
parent

string

Required. The parent resource of the notes.

page_size

int32

Optional. The maximum number of notes to return in the response. If zero the service will select a default size. A call might return fewer objects than requested. A non-empty next_page_token in the response indicates that more data is available.

page_token

string

Optional. The value returned by the last ListNotesResponse. This value indicates that this is a continuation of a prior ListNotes call and that the system should return the next page of data.

ListNotesResponse

The response of listing notes.

Fields
notes[]

Note

The notes that match the request.

next_page_token

string

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

ListPhraseMatchersRequest

Request to list phrase matchers.

Fields
parent

string

Required. The parent resource of the phrase matcher.

page_size

int32

The maximum number of phrase matchers to return in the response. If this value is zero, the service will select a default size. A call might return fewer objects than requested. A non-empty next_page_token in the response indicates that more data is available.

page_token

string

The value returned by the last ListPhraseMatchersResponse. This value indicates that this is a continuation of a prior ListPhraseMatchers call and that the system should return the next page of data.

filter

string

A filter to reduce results to a specific subset. Useful for querying phrase matchers with specific properties.

ListPhraseMatchersResponse

The response of listing phrase matchers.

Fields
phrase_matchers[]

PhraseMatcher

The phrase matchers that match the request.

next_page_token

string

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

ListQaQuestionTagsRequest

Request to list QaQuestionsTags.

Fields
parent

string

Required. The parent resource of the QaQuestionTags.

filter

string

Optional. A filter to reduce results to a specific subset. Supports conjunctions (ie. AND operators). Supported fields include the following:

  • project_id - id of the project to list tags for
  • qa_scorecard_id - id of the scorecard to list tags for
  • revision_id - id of the scorecard revision to list tags for`
  • qa_question_id - id of the question to list tags for

ListQaQuestionTagsResponse

The response from a ListQaQuestionTags request.

Fields
qa_question_tags[]

QaQuestionTag

The parent resource of the questions.

next_page_token

string

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

ListQaQuestionsRequest

Request to list QaQuestions.

Fields
parent

string

Required. The parent resource of the questions.

page_size

int32

Optional. The maximum number of questions to return in the response. If the value is zero, the service will select a default size. A call might return fewer objects than requested. A non-empty next_page_token in the response indicates that more data is available.

page_token

string

Optional. The value returned by the last ListQaQuestionsResponse. This value indicates that this is a continuation of a prior ListQaQuestions call and that the system should return the next page of data.

ListQaQuestionsResponse

The response from a ListQaQuestions request.

Fields
qa_questions[]

QaQuestion

The QaQuestions under the parent.

next_page_token

string

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

ListQaScorecardRevisionsRequest

Request to list QaScorecardRevisions

Fields
parent

string

Required. The parent resource of the scorecard revisions. To list all revisions of all scorecards, substitute the QaScorecard ID with a '-' character.

page_size

int32

Optional. The maximum number of scorecard revisions to return in the response. If the value is zero, the service will select a default size. A call might return fewer objects than requested. A non-empty next_page_token in the response indicates that more data is available.

page_token

string

Optional. The value returned by the last ListQaScorecardRevisionsResponse. This value indicates that this is a continuation of a prior ListQaScorecardRevisions call and that the system should return the next page of data.

filter

string

Optional. A filter to reduce results to a specific subset. Useful for querying scorecard revisions with specific properties.

qa_scorecard_sources[]

QaScorecardSource

Optional. The source of scorecards are based on how those Scorecards were created, e.g., a customer-defined scorecard, a predefined scorecard, etc. This field is used to retrieve Scorecards Revisions from Scorecards of one or more sources.

ListQaScorecardRevisionsResponse

The response from a ListQaScorecardRevisions request.

Fields
qa_scorecard_revisions[]

QaScorecardRevision

The QaScorecards under the parent.

next_page_token

string

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

ListQaScorecardsRequest

Request to list QaScorecards.

Fields
parent

string

Required. The parent resource of the scorecards.

page_size

int32

Optional. The maximum number of scorecards to return in the response. If the value is zero, the service will select a default size. A call might return fewer objects than requested. A non-empty next_page_token in the response indicates that more data is available.

page_token

string

Optional. The value returned by the last ListQaScorecardsResponse. This value indicates that this is a continuation of a prior ListQaScorecards call and that the system should return the next page of data.

qa_scorecard_sources[]

QaScorecardSource

Optional. The source of scorecards are based on how those Scorecards were created, e.g., a customer-defined scorecard, a predefined scorecard, etc. This field is used to retrieve Scorecards of one or more sources.

ListQaScorecardsResponse

The response from a ListQaScorecards request.

Fields
qa_scorecards[]

QaScorecard

The QaScorecards under the parent.

next_page_token

string

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

ListViewsRequest

The request to list views.

Fields
parent

string

Required. The parent resource of the views.

page_size

int32

The maximum number of views to return in the response. If this value is zero, the service will select a default size. A call may return fewer objects than requested. A non-empty next_page_token in the response indicates that more data is available.

page_token

string

The value returned by the last ListViewsResponse; indicates that this is a continuation of a prior ListViews call and the system should return the next page of data.

ListViewsResponse

The response of listing views.

Fields
views[]

View

The views that match the request.

next_page_token

string

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

MetricDefinition

A definition for a metric to be calculated during analysis.

Fields
display_name

string

Output only. The user-visible name of the metric (e.g., "Containment Rate").

source_id

string

Output only. The resource name of the underlying Insights primitive (e.g., Tag or QaQuestion) used to calculate this metric.

Note

The conversation assessment note resource.

Fields
name

string

Identifier. The resource name of the note. Format: projects/{project}/locations/{location}/conversations/{conversation}/assessments/{assessment}/notes/{note}

create_time

Timestamp

Output only. The time at which the note was created.

update_time

Timestamp

Output only. The time at which the note was last updated.

note_creator

UserInfo

Output only. The user that created the note.

Union field note_type. Required - the type of the note. note_type can be only one of the following:
conversation_turn_note

ConversationTurnNote

The note is associated with a conversation turn.

qa_question_note

QaQuestionNote

The note is associated with a QA question in one of the conversation's scorecard results.

assessment_note

AssessmentNote

The note is associated to the entire parent assessment.

content

string

The note content.

AssessmentNote

This type has no fields.

A note about the entire parent assessment.

ConversationTurnNote

A note about a conversation turn.

Fields
turn_index

int32

The conversation turn index that the note is associated with.

QaQuestionNote

A note about a QA question.

Fields
qa_question

string

The question resource that the note is associated with.

PhraseMatchData

The data for a matched phrase matcher. Represents information identifying a phrase matcher for a given match.

Fields
phrase_matcher

string

The unique identifier (the resource name) of the phrase matcher.

display_name

string

The human-readable name of the phrase matcher.

PhraseMatchRule

The data for a phrase match rule.

Fields
query

string

Required. The phrase to be matched.

negated

bool

Specifies whether the phrase must be missing from the transcript segment or present in the transcript segment.

config

PhraseMatchRuleConfig

Provides additional information about the rule that specifies how to apply the rule.

PhraseMatchRuleConfig

Configuration information of a phrase match rule.

Fields
Union field config. The configuration of the phrase match rule. config can be only one of the following:
exact_match_config

ExactMatchConfig

The configuration for the exact match rule.

regex_match_config

RegexMatchConfig

The configuration for the regex match rule.

PhraseMatchRuleGroup

A message representing a rule in the phrase matcher.

Fields
type

PhraseMatchRuleGroupType

Required. The type of this phrase match rule group.

phrase_match_rules[]

PhraseMatchRule

A list of phrase match rules that are included in this group.

PhraseMatchRuleGroupType

Specifies how to combine each phrase match rule for whether there is a match.

Enums
PHRASE_MATCH_RULE_GROUP_TYPE_UNSPECIFIED Unspecified.
ALL_OF Must meet all phrase match rules or there is no match.
ANY_OF If any of the phrase match rules are met, there is a match.

PhraseMatcher

The phrase matcher resource.

Fields
name

string

The resource name of the phrase matcher. Format: projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}

revision_id

string

Output only. Immutable. The revision ID of the phrase matcher. A new revision is committed whenever the matcher is changed, except when it is activated or deactivated. A server generated random ID will be used. Example: locations/global/phraseMatchers/my-first-matcher@1234567

version_tag

string

The customized version tag to use for the phrase matcher. If not specified, it will default to revision_id.

revision_create_time

Timestamp

Output only. The timestamp of when the revision was created. It is also the create time when a new matcher is added.

display_name

string

The human-readable name of the phrase matcher.

type

PhraseMatcherType

Required. The type of this phrase matcher.

active

bool

Applies the phrase matcher only when it is active.

phrase_match_rule_groups[]

PhraseMatchRuleGroup

A list of phase match rule groups that are included in this matcher.

activation_update_time

Timestamp

Output only. The most recent time at which the activation status was updated.

role_match

Role

The role whose utterances the phrase matcher should be matched against. If the role is ROLE_UNSPECIFIED it will be matched against any utterances in the transcript.

update_time

Timestamp

Output only. The most recent time at which the phrase matcher was updated.

PhraseMatcherType

Specifies how to combine each phrase match rule group to determine whether there is a match.

Enums
PHRASE_MATCHER_TYPE_UNSPECIFIED Unspecified.
ALL_OF Must meet all phrase match rule groups or there is no match.
ANY_OF If any of the phrase match rule groups are met, there is a match.

PublishAssessmentRequest

The message to publish an assessment. Draft and appealed assessments can be published. Publishing simply changes the state of the assessment to published, allowing the console and authorized views to filter on the state.

Fields
name

string

Required. The name of the assessment to publish.

QaAnswer

An answer to a QaQuestion.

Fields
qa_question

string

The QaQuestion answered by this answer.

conversation

string

The conversation the answer applies to.

question_body

string

Question text. E.g., "Did the agent greet the customer?"

answer_value

AnswerValue

The answer value from this source. This field is populated by default, unless the question has a selection strategy configured to return multiple answer values, in which case answer_values will be populated instead.

tags[]

string

User-defined list of arbitrary tags. Matches the value from QaScorecard.ScorecardQuestion.tags. Used for grouping/organization and for weighting the score of each answer.

answer_sources[]

AnswerSource

Lists all answer sources containing one or more answer values of a specific source type, e.g., all system-generated answer sources, or all manual edit answer sources.

AnswerSource

A question may have multiple answers from varying sources, one of which becomes the "main" answer above. AnswerSource represents each individual answer.

Fields
source_type

SourceType

What created the answer.

answer_value

AnswerValue

The answer value from this source. This field is populated by default, unless the question has a selection strategy configured to return multiple answer values, in which case answer_values will be populated instead.

SourceType

What created the answer.

Enums
SOURCE_TYPE_UNSPECIFIED Source type is unspecified.
SYSTEM_GENERATED Answer was system-generated; created during an Insights analysis.
MANUAL_EDIT Answer was created by a human via manual edit.

AnswerValue

Message for holding the value of a QaAnswer. QaQuestion.AnswerChoice defines the possible answer values for a question.

Fields
key

string

A short string used as an identifier. Matches the value used in QaQuestion.AnswerChoice.key.

Union field value. The answer value may be one of a few different types. value can be only one of the following:
str_value

string

String value.

num_value

double

Numerical value.

bool_value

bool

Boolean value.

na_value

bool

A value of "Not Applicable (N/A)". Should only ever be true.

skip_value

bool

Output only. A value of "Skip". If provided, this field may only be set to true. If a question receives this answer, it will be excluded from any score calculations. This would mean that the question was not evaluated.

score

double

Output only. Numerical score of the answer.

potential_score

double

Output only. The maximum potential score of the question.

normalized_score

double

Output only. Normalized score of the questions. Calculated as score / potential_score.

QaQuestion

A single question to be scored by the Insights QA feature.

Fields
name

string

Identifier. The resource name of the question. Format: projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision}/qaQuestions/{qa_question}

abbreviation

string

Short, descriptive string, used in the UI where it's not practical to display the full question body. E.g., "Greeting".

create_time

Timestamp

Output only. The time at which this question was created.

update_time

Timestamp

Output only. The most recent time at which the question was updated.

question_type

QaQuestionType

The type of question.

qa_question_data_options

QaQuestionDataOptions

Options for configuring the data used to generate the QA question.

predefined_question_config

PredefinedQuestionConfig

The configuration of the predefined question. This field will only be set if the Question Type is predefined.

question_body

string

Question text. E.g., "Did the agent greet the customer?"

answer_instructions

string

Instructions describing how to determine the answer.

answer_choices[]

AnswerChoice

A list of valid answers to the question, which the LLM must choose from.

tags[]

string

Questions are tagged for categorization and scoring. Tags can either be: - Default Tags: These are predefined categories. They are identified by their string value (e.g., "BUSINESS", "COMPLIANCE", and "CUSTOMER"). - Custom Tags: These are user-defined categories. They are identified by their full resource name (e.g., projects/{project}/locations/{location}/qaQuestionTags/{qa_question_tag}). Both default and custom tags are used to group questions and to influence the scoring of each question.

order

int32

Defines the order of the question within its parent scorecard revision.

metrics

Metrics

Metrics of the underlying tuned LLM over a holdout/test set while fine tuning the underlying LLM for the given question. This field will only be populated if and only if the question is part of a scorecard revision that has been tuned.

tuning_metadata

TuningMetadata

Metadata about the tuning operation for the question.This field will only be populated if and only if the question is part of a scorecard revision that has been tuned.

satisfies_pzi

bool

Output only. Whether this resource is zone isolated.

satisfies_pzs

bool

Output only. Whether this resource is zone separated.

AnswerChoice

Message representing a possible answer to the question.

Fields
key

string

A short string used as an identifier.

Union field value. The answer value may be one of a few different types. value can be only one of the following:
str_value

string

String value.

num_value

double

Numerical value.

bool_value

bool

Boolean value.

na_value

bool

A value of "Not Applicable (N/A)". If provided, this field may only be set to true. If a question receives this answer, it will be excluded from any score calculations.

score

double

Numerical score of the answer, used for generating the overall score of a QaScorecardResult. If the answer uses na_value, this field is unused.

Metrics

A wrapper representing metrics calculated against a test-set on a LLM that was fine tuned for this question.

Fields
accuracy

double

Output only. Accuracy of the model. Measures the percentage of correct answers the model gave on the test set.

PredefinedQuestionConfig

Configuration for a predefined question. This field will only be set if the Question Type is predefined.

Fields
type

PredefinedQuestionType

The type of the predefined question.

PredefinedQuestionType

Enum representing the type of the predefined question. This enum is not frozen and new values may be added in the future.

Enums
PREDEFINED_QUESTION_TYPE_UNSPECIFIED The type of the predefined question is unspecified.
CONVERSATION_OUTCOME A prebuilt classifier classfying the outcome of the conversation. For example, if the customer issue mentioned in a conversation has been resolved or not.
CONVERSATION_OUTCOME_ESCALATION_INITIATOR_ROLE A prebuilt classifier classfying the initiator of the conversation escalation. For example, if it was initiated by the customer or the agent.
CONVERSATION_OUTCOME_AI_AVERSION Classifies whether the customer demonstrates AI aversion by instantly requesting escalation to a human agent without attempting to work with the AI agent.
CONVERSATION_OUTCOME_ESCALATION_REASON Classifies the primary reason for escalating the conversation to a human agent.

QaQuestionDataOptions

Options for configuring the data used to generate the QA question.

Fields
conversation_data_options

ConversationDataOptions

Options for configuring the conversation data used to generate the QA question.

QaQuestionType

Enum representing the type of the question.

Enums
QA_QUESTION_TYPE_UNSPECIFIED The type of the question is unspecified.
CUSTOMIZABLE The default question type. The question is fully customizable by the user.
PREDEFINED The question type is using a predefined model provided by CCAI teams. Users are not allowed to edit the question_body, answer_choices, upload feedback labels for the question nor fine-tune the question. However, users may edit other fields like question tags, question order, etc.

TuningMetadata

Metadata about the tuning operation for the question. Will only be set if a scorecard containing this question has been tuned.

Fields
total_valid_label_count

int64

Total number of valid labels provided for the question at the time of tuining.

dataset_validation_warnings[]

DatasetValidationWarning

A list of any applicable data validation warnings about the question's feedback labels.

tuning_error

string

Error status of the tuning operation for the question. Will only be set if the tuning operation failed.

QaQuestionTag

A tag is a resource which aims to categorize a set of questions across multiple scorecards, e.g., "Customer Satisfaction","Billing", etc.

Fields
name

string

Identifier. Resource name for the QaQuestionTag Format projects/{project}/locations/{location}/qaQuestionTags/{qa_question_tag} In the above format, the last segment, i.e., qa_question_tag, is a server-generated ID corresponding to the tag resource.

display_name

string

Required. A user-specified display name for the tag.

qa_question_ids[]

string

Optional. The list of Scorecard Question IDs that the tag applies to. Each QaQuestionId is represented as a full resource name containing the Question ID. Lastly, Since a tag may not necessarily be referenced by any Scorecard Questions, we treat this field as optional.

create_time

Timestamp

Output only. The time at which the question tag was created.

update_time

Timestamp

Output only. The most recent time at which the question tag was updated.

satisfies_pzi

bool

Output only. Whether this resource is zone isolated.

satisfies_pzs

bool

Output only. Whether this resource is zone separated.

QaScorecard

A QaScorecard represents a collection of questions to be scored during analysis.

Fields
name

string

Identifier. The scorecard name. Format: projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}

display_name

string

The user-specified display name of the scorecard.

description

string

A text description explaining the intent of the scorecard.

create_time

Timestamp

Output only. The time at which this scorecard was created.

update_time

Timestamp

Output only. The most recent time at which the scorecard was updated.

is_default

bool

Whether the scorecard is the default one for the project. A default scorecard cannot be deleted and will always appear first in scorecard selector.

source

QaScorecardSource

Output only. The source of the scorecard.

satisfies_pzi

bool

Output only. Whether this resource is zone isolated.

satisfies_pzs

bool

Output only. Whether this resource is zone separated.

QaScorecardResult

The results of scoring a single conversation against a QaScorecard. Contains a collection of QaAnswers and aggregate score.

Fields
name

string

Identifier. The name of the scorecard result. Format: projects/{project}/locations/{location}/qaScorecardResults/{qa_scorecard_result}

qa_scorecard_revision

string

The QaScorecardRevision scored by this result.

conversation

string

The conversation scored by this result.

create_time

Timestamp

Output only. The timestamp that the revision was created.

agent_id

string

ID of the agent that handled the conversation.

qa_answers[]

QaAnswer

Set of QaAnswers represented in the result.

qa_tag_results[]

QaTagResult

Collection of tags and their scores.

score_sources[]

ScoreSource

List of all individual score sets.

score

double

The overall numerical score of the result, incorporating any manual edits if they exist.

potential_score

double

The maximum potential overall score of the scorecard. Any questions answered using na_value are excluded from this calculation.

normalized_score

double

The normalized score, which is the score divided by the potential score. Any manual edits are included if they exist.

QaTagResult

Tags and their corresponding results.

Fields
tag

string

The tag the score applies to.

score

double

The score the tag applies to.

potential_score

double

The potential score the tag applies to.

normalized_score

double

The normalized score the tag applies to.

ScoreSource

A scorecard result may have multiple sets of scores from varying sources, one of which becomes the "main" answer above. A ScoreSource represents each individual set of scores.

Fields
source_type

SourceType

What created the score.

qa_tag_results[]

QaTagResult

Collection of tags and their scores.

score

double

The overall numerical score of the result.

potential_score

double

The maximum potential overall score of the scorecard. Any questions answered using na_value are excluded from this calculation.

normalized_score

double

The normalized score, which is the score divided by the potential score.

SourceType

What created the score.

Enums
SOURCE_TYPE_UNSPECIFIED Source type is unspecified.
SYSTEM_GENERATED_ONLY Score is derived only from system-generated answers.
INCLUDES_MANUAL_EDITS Score is derived from both system-generated answers, and includes any manual edits if they exist.

QaScorecardRevision

A revision of a QaScorecard.

Modifying published scorecard fields would invalidate existing scorecard results — the questions may have changed, or the score weighting will make existing scores impossible to understand. So changes must create a new revision, rather than modifying the existing resource.

Fields
name

string

Identifier. The name of the scorecard revision. Format: projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision}

snapshot

QaScorecard

The snapshot of the scorecard at the time of this revision's creation.

create_time

Timestamp

Output only. The timestamp that the revision was created.

alternate_ids[]

string

Output only. Alternative IDs for this revision of the scorecard, e.g., latest.

state

State

Output only. State of the scorecard revision, indicating whether it's ready to be used in analysis.

satisfies_pzi

bool

Output only. Whether this resource is zone isolated.

satisfies_pzs

bool

Output only. Whether this resource is zone separated.

State

Enum representing the set of states a scorecard revision may be in.

Enums
STATE_UNSPECIFIED Unspecified.
EDITABLE The scorecard revision can be edited.
TRAINING Scorecard model training is in progress.
TRAINING_FAILED Scorecard revision model training failed.
READY The revision can be used in analysis.
DELETING Scorecard is being deleted.
TRAINING_CANCELLED Scorecard model training was explicitly cancelled by the user.

QaScorecardSource

Enum representing the source of the scorecard. Used to determine how the scorecard is displayed on the UI.

Enums
QA_SCORECARD_SOURCE_UNSPECIFIED The source of the scorecard is unspecified. Default to QA_SCORECARD_SOURCE_CUSTOMER_DEFINED.
QA_SCORECARD_SOURCE_CUSTOMER_DEFINED The scorecard is a custom scorecard created by the user.
QA_SCORECARD_SOURCE_DISCOVERY_ENGINE The scorecard is a scorecard created through discovery engine deployment.
QA_SCORECARD_SOURCE_INTENT_TAXONOMY The scorecard is derived from the custom intent taxonomy. Customers can edit question content, but cannot delete the scorecard or add/remove questions.

QueryInterval

A time window for querying conversations.

Fields
start_time

Timestamp

Required. The start time of the time window.

end_time

Timestamp

Required. The end time of the time window.

QueryMetrics

Request data that use the existing QueryMetrics.

Fields
request

Any

QueryMetricsMetadata

The metadata from querying metrics.

Fields
result_is_truncated

bool

Whether the result rows were truncated because the result row size is too large to materialize.

QueryMetricsRequest

The request for querying metrics.

Fields
location

string

Required. The location of the data. "projects/{project}/locations/{location}"

filter

string

Required. Filter to select a subset of conversations to compute the metrics. Must specify a window of the conversation create time to compute the metrics. The returned metrics will be from the range [DATE(starting create time), DATE(ending create time)).

time_granularity

TimeGranularity

The time granularity of each data point in the time series. Defaults to NONE if this field is unspecified.

dimensions[]

Dimension

The dimensions that determine the grouping key for the query. Defaults to no dimension if this field is unspecified. If a dimension is specified, its key must also be specified. Each dimension's key must be unique.

If a time granularity is also specified, metric values in the dimension will be bucketed by this granularity.

Up to one dimension is supported for now.

measure_mask

FieldMask

Measures to return. Defaults to all measures if this field is unspecified. A valid mask should traverse from the measure field from the response. For example, a path from a measure mask to get the conversation count is "conversation_measure.count".

TimeGranularity

A time granularity divides the time line into discrete time periods. This is useful for defining buckets over which filtering and aggregation should be performed.

Enums
TIME_GRANULARITY_UNSPECIFIED The time granularity is unspecified and will default to NONE.
NONE No time granularity. The response won't contain a time series. This is the default value if no time granularity is specified.
DAILY Data points in the time series will aggregate at a daily granularity. 1 day means [midnight to midnight).
HOURLY Data points in the time series will aggregate at a daily granularity. 1 HOUR means [01:00 to 02:00).
PER_MINUTE Data points in the time series will aggregate at a daily granularity. PER_MINUTE means [01:00 to 01:01).
PER_5_MINUTES Data points in the time series will aggregate at a 1 minute granularity. PER_5_MINUTES means [01:00 to 01:05).
MONTHLY Data points in the time series will aggregate at a monthly granularity. 1 MONTH means [01st of the month to 1st of the next month).

QueryMetricsResponse

The response for querying metrics.

Fields
location

string

Required. The location of the data. "projects/{project}/locations/{location}"

update_time

Timestamp

The metrics last update time.

slices[]

Slice

A slice contains a total and (if the request specified a time granularity) a time series of metric values. Each slice contains a unique combination of the cardinality of dimensions from the request.

macro_average_slice

Slice

The macro average slice contains aggregated averages across all selected dimensions. i.e. if group_by agent and scorecard_id is specified, this field will contain the average across all agents and all scorecards. This field is only populated if the request specifies a Dimension.

Slice

A slice contains a total and (if the request specified a time granularity) a time series of metric values. Each slice contains a unique combination of the cardinality of dimensions from the request.

For example, if the request specifies a single ISSUE dimension and it has a cardinality of 2 (i.e. the data used to compute the metrics has 2 issues in total), the response will have 2 slices:

  • Slice 1 -> dimensions=[Issue 1]
  • Slice 2 -> dimensions=[Issue 2]
Fields
dimensions[]

Dimension

A unique combination of dimensions that this slice represents.

total

DataPoint

The total metric value. The interval of this data point is [starting create time, ending create time) from the request.

time_series

TimeSeries

A time series of metric values. This is only populated if the request specifies a time granularity other than NONE.

DataPoint

A data point contains the metric values mapped to an interval.

Fields
interval

Interval

The interval that this data point represents.

  • If this is the total data point, the interval is [starting create time, ending create time) from the request.
  • If this a data point from the time series, the interval is [time, time + time granularity from the request).
Union field measure. The measure included in this data point. measure can be only one of the following:
conversation_measure

ConversationMeasure

The measure related to conversations.

dialogflow_interaction_measure

DialogflowInteractionMeasure

The measure related to dialogflow interactions.

ConversationMeasure

The measure related to conversations.

Fields
qa_tag_scores[]

QaTagScore

Average QA normalized score for all the tags.

conversation_count

int32

The conversation count.

average_silence_percentage

float

The average silence percentage.

average_duration

Duration

The average duration.

average_turn_count

float

The average turn count.

average_agent_sentiment_score

float

The average agent's sentiment score.

average_client_sentiment_score

float

The average client's sentiment score.

average_customer_satisfaction_rating

double

The average customer satisfaction rating.

average_qa_normalized_score

double

The average normalized QA score for a scorecard. When computing the average across a set of conversations, if a conversation has been evaluated with multiple revisions of a scorecard, only the latest revision results will be used. Will exclude 0's in average calculation. Will be only populated if the request specifies a dimension of QA_SCORECARD_ID.

average_qa_question_normalized_score

double

Average QA normalized score averaged for questions averaged across all revisions of the parent scorecard. Will be only populated if the request specifies a dimension of QA_QUESTION_ID.

knowledge_search_result_count

int32

Count of knowledge search results (Generative Knowledge Assist) shown to the user.

knowledge_search_agent_query_source_ratio

double

Proportion of knowledge search (Generative Knowledge Assist) queries made by the agent compared to the total number of knowledge search queries made.

knowledge_search_suggested_query_source_ratio

double

Proportion of knowledge search (Generative Knowledge Assist) queries suggested compared to the total number of knowledge search queries made.

knowledge_assist_result_count

int32

Count of knowledge assist results (Proactive Generative Knowledge Assist) shown to the user.

knowledge_search_uri_click_ratio

double

Proportion of knowledge search (Generative Knowledge Assist) queries that had a URL clicked.

knowledge_assist_uri_click_ratio

double

Proportion of knowledge assist (Proactive Generative Knowledge Assist) queries that had a URL clicked.

knowledge_search_positive_feedback_ratio

double

Proportion of knowledge search (Generative Knowledge Assist) queries that had positive feedback.

knowledge_search_negative_feedback_ratio

double

Proportion of knowledge search (Generative Knowledge Assist) queries that had negative feedback.

knowledge_assist_positive_feedback_ratio

double

Proportion of knowledge assist (Proactive Generative Knowledge Assist) queries that had positive feedback.

knowledge_assist_negative_feedback_ratio

double

Proportion of knowledge assist (Proactive Generative Knowledge Assist) queries that had negative feedback.

summarization_suggestion_edit_ratio

double

Proportion of summarization suggestions that were manually edited.

average_summarization_suggestion_edit_distance

double

Average edit distance of the summarization suggestions. Edit distance (also called as levenshtein distance) is calculated by summing up number of insertions, deletions and substitutions required to transform the summization feedback to the original summary suggestion.

average_summarization_suggestion_normalized_edit_distance

double

Normalized Average edit distance of the summarization suggestions. Edit distance (also called as levenshtein distance) is calculated by summing up number of insertions, deletions and substitutions required to transform the summization feedback to the original summary suggestion. Normalized edit distance is the average of (edit distance / summary length).

conversation_suggested_summary_ratio

double

Proportion of conversations that had a suggested summary.

summarization_suggestion_result_count

int32

Count of summarization suggestions results.

dialogflow_interactions_no_match_ratio

double

Proportion of dialogflow interactions that has no intent match for the input.

dialogflow_interactions_no_input_ratio

double

Proportion of dialogflow interactions that has empty input.

dialogflow_webhook_failure_ratio

double

Proportion of dialogflow webhook calls that failed.

dialogflow_webhook_timeout_ratio

double

Proportion of dialogflow webhook calls that timed out.

dialogflow_average_webhook_latency

double

Average latency of dialogflow webhook calls.

dialogflow_conversations_escalation_ratio

double

Proportion of conversations that was handed off from virtual agent to human agent.

dialogflow_conversations_escalation_count

double

count of conversations that was handed off from virtual agent to human agent.

conversational_agents_average_tts_latency

double

The macro average latency of conversational agents' TTS latency per interaction. This is computed as the average of the all the interactions' TTS latencies in a conversation and averaged across conversations.

conversational_agents_average_llm_call_latency

double

The average latency of conversational agents' LLM call latency per interaction. This is computed as the average of the all the interactions LLM call latencies in a conversation and averaged across conversations.

conversational_agents_average_audio_in_audio_out_latency

double

The average latency of conversational agents' audio in audio out latency per interaction. This is computed as the average of the all the interactions' audio in audio out latencies in a conversation and averaged across conversations.

conversation_ai_coach_suggestion_ratio

double

Proportion of conversations that has Ai Coach Suggestions.

ai_coach_suggestion_agent_usage_ratio

double

Proportion of Ai Coach Suggestion that has been used by agents.

ai_coach_suggestion_customer_message_trigger_ratio

double

Proportion of customer messages that triggered an Ai Coach Suggestion.

conversational_agents_average_end_to_end_latency

double

The average latency of conversational agents' latency per interaction. This is computed as the average of the all the iteractions' end to end latencies in a conversation and averaged across conversations. The e2e latency is the time between the end of the user utterance and the start of the agent utterance on the interaction level.

conversation_ai_coach_suggestion_count

int32

Count of conversations that has Ai Coach Suggestions.

ai_coach_suggestion_agent_usage_count

int32

Count of Ai Coach Suggestion that has been used by agents.

ai_coach_suggestion_customer_message_trigger_count

int32

Count of customer messages that triggered an Ai Coach Suggestion.

ai_coach_suggestion_agent_message_trigger_count

int32

Count of agent messages that triggered an Ai Coach Suggestion.

conversation_total_customer_message_count

int32

The customer message count.

conversation_total_agent_message_count

int32

The agent message count.

aa_supervisor_monitored_conversations_count

int32

The number of conversations scanned by the AA human supervisor.

aa_supervisor_escalated_conversations_count

int32

The number of conversations that were escalated to an AA human supervisor for intervention.

aa_supervisor_assigned_conversations_count

int32

The number of conversations that were assigned to an AA human supervisor.

aa_supervisor_dropped_conversations_count

int32

The number of conversations that were dropped, i.e. escalated but not assigned to an AA human supervisor.

aa_supervisor_transferred_to_human_agent_conv_count

int32

The number of conversations transferred to a human agent.

avg_conversation_client_turn_sentiment_ema

double

The exponential moving average of the sentiment score of client turns in the conversation.

ai_coach_suggestion_message_trigger_ratio

double

Proportion of end_of_utterance trigger event messages that triggered an Ai Coach Suggestion.

ai_coach_suggestion_message_trigger_count

int32

Count of end_of_utterance trigger event messages that triggered an Ai Coach Suggestion.

contained_conversation_count

int32

The number of conversations that were contained.

contained_conversation_ratio

double

The percentage of conversations that were contained.

QaTagScore

Average QA normalized score for the tag.

Fields
tag

string

Tag name.

average_tag_normalized_score

double

Average tag normalized score per tag.

DialogflowInteractionMeasure

The measure related to dialogflow interactions.

Fields
percentile_audio_in_audio_out_latency

PercentileResult

The percentile result for audio in audio out latency in milliseconds per dialogflow interaction level.

percentile_llm_call_latency

PercentileResult

The percentile result for LLM latency in milliseconds per dialogflow interaction level.

percentile_tts_latency

PercentileResult

The percentile result for TTS latency in milliseconds per dialogflow interaction level.

percentile_tool_use_latency

PercentileResult

The percentile result for tool use latency in milliseconds per dialogflow interaction level.

percentile_end_to_end_latency

PercentileResult

The percentile result for end to end chat latency in milliseconds per dialogflow interaction level.

PercentileResult

The percentile result. Currently supported percentiles are 50th, 90th, and 99th.

Fields
p50

double

The 50th percentile value.

p90

double

The 90th percentile value.

p99

double

The 99th percentile value.

TimeSeries

A time series of metric values.

Fields
data_points[]

DataPoint

The data points that make up the time series .

QueryPerformanceOverviewMetadata

This type has no fields.

The metadata for querying performance overview.

QueryPerformanceOverviewRequest

The request for summarizing performance according to different metrics for conversations over a specified time window.

Fields
parent

string

Required. The parent resource of the conversations to derive performance stats from. "projects/{project}/locations/{location}"

filter

string

Optional. Filter to select a subset of conversations to compute the performance overview. Supports the same filters as the filter field in QueryMetricsRequest. The source and query interval/comparison query interval should not be included here.

query_interval

QueryInterval

Required. The time window of the conversations to derive performance stats from.

Union field source. The type of source of conversations to derive performance from. source can be only one of the following:
agent_performance_source

AgentSource

Conversations are from a single agent.

comparison_query_interval

QueryInterval

The time window of the conversations to compare the performance to.

AgentSource

The entity whose performance is being queried is a single agent.

Fields
agent_id

string

Required. Agent id to query performance overview for.

QueryPerformanceOverviewResponse

The response for querying performance overview.

Fields
summary_text

string

The summary text of the performance.

RedactionConfig

DLP resources used for redaction while ingesting conversations. DLP settings are applied to conversations ingested from the UploadConversation and IngestConversations endpoints, including conversation coming from CCAI Platform. They are not applied to conversations ingested from the CreateConversation endpoint or the Dialogflow / Agent Assist runtime integrations. When using Dialogflow / Agent Assist runtime integrations, redaction should be performed in Dialogflow / Agent Assist.

Fields
deidentify_template

string

The fully-qualified DLP deidentify template resource name. Format: projects/{project}/deidentifyTemplates/{template}

inspect_template

string

The fully-qualified DLP inspect template resource name. Format: projects/{project}/locations/{location}/inspectTemplates/{template}

RedirectAction

The redirect action to be taken when the chart is clicked.

Fields
relative_path

string

The relative path to redirect to.

query_params

map<string, string>

The query params to be added to the redirect path.

RegexMatchConfig

This type has no fields.

Regex match configuration.

RuntimeAnnotation

An annotation that was generated during the customer and agent interaction.

Fields
annotation_id

string

The unique identifier of the annotation. Format: projects/{project}/locations/{location}/conversationDatasets/{dataset}/conversationDataItems/{data_item}/conversationAnnotations/{annotation}

create_time

Timestamp

The time at which this annotation was created.

start_boundary

AnnotationBoundary

The boundary in the conversation where the annotation starts, inclusive.

end_boundary

AnnotationBoundary

The boundary in the conversation where the annotation ends, inclusive.

answer_feedback

AnswerFeedback

The feedback that the customer has about the answer in data.

user_input

UserInput

Explicit input used for generating the answer

Union field data. The data in the annotation. data can be only one of the following:
article_suggestion

ArticleSuggestionData

Agent Assist Article Suggestion data.

faq_answer

FaqAnswerData

Agent Assist FAQ answer data.

smart_reply

SmartReplyData

Agent Assist Smart Reply data.

smart_compose_suggestion

SmartComposeSuggestionData

Agent Assist Smart Compose suggestion data.

dialogflow_interaction

DialogflowInteractionData

Dialogflow interaction data.

conversation_summarization_suggestion

ConversationSummarizationSuggestionData

Conversation summarization suggestion data.

ces_turn_annotation

CesTurnAnnotation

The CES turn annotation.

ces_end_session_annotation

CesEndSessionAnnotation

The CES end session annotation.

UserInput

Explicit input used for generating the answer

Fields
query

string

Query text. Article Search uses this to store the input query used to generate the search results.

generator_name

string

The resource name of associated generator. Format: projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>

query_source

QuerySource

Query source for the answer.

QuerySource

The source of the query.

Enums
QUERY_SOURCE_UNSPECIFIED Unknown query source.
AGENT_QUERY The query is from agents.
SUGGESTED_QUERY The query is a query from previous suggestions, e.g. from a preceding SuggestKnowledgeAssist response.

SampleConversationsMetadata

The metadata for an SampleConversations operation.

Fields
create_time

Timestamp

Output only. The time the operation was created.

end_time

Timestamp

Output only. The time the operation finished running.

request

SampleConversationsRequest

Output only. The original request for sample conversations to dataset.

partial_errors[]

Status

Output only. Partial errors during sample conversations operation that might cause the operation output to be incomplete.

sample_conversations_stats

SampleConversationsStats

Output only. Statistics for SampleConversations operation.

SampleConversationsStats

Statistics for SampleConversations operation.

Fields
successful_sample_count

int32

Output only. The number of new conversations added during this sample operation.

failed_sample_count

int32

Output only. The number of objects which were unable to be sampled due to errors. The errors are populated in the partial_errors field.

SampleConversationsRequest

The request to sample conversations to a dataset.

Fields
parent

string

Required. The parent resource of the dataset.

sample_rule

SampleRule

Optional. The sample rule used for sampling conversations.

Union field destination. The destination of the sampled conversations. destination can be only one of the following:
destination_dataset

Dataset

The dataset resource to copy the sampled conversations to.

SampleConversationsResponse

This type has no fields.

The response to an SampleConversations operation.

SampleRule

Message for sampling conversations.

Fields
dimension

string

Optional. Group by dimension to sample the conversation. If no dimension is provided, the sampling will be applied to the project level. Current supported dimensions is 'quality_metadata.agent_info.agent_id'.

conversation_filter

string

To specify the filter for the conversions that should apply this sample rule. An empty filter means this sample rule applies to all conversations.

Union field SampleVolume. Determines how the conversations are selected. SampleVolume can be only one of the following:
sample_percentage

double

Percentage of conversations that we should sample based on the dimension between [0, 100].

sample_row

int64

Number of the conversations that we should sample based on the dimension.

ScheduleInfo

Message for schedule info.

Fields
start_time

Timestamp

Start time of the schedule. If not specified, will start as soon as the schedule is created.

end_time

Timestamp

End time of the schedule. If not specified, will keep scheduling new pipelines for execution util the schedule is no longer active or deleted.

schedule

string

The groc expression. Format: every [number] [time_unit] [synchronized] Time units can be: minutes, hours Synchronized is optional and indicates that the schedule should be synchronized to the start of the interval: every 5 minutes synchronized means 00:00, 00:05 ... Otherwise the start time is random within the interval. Example: every 5 minutes could be 00:02, 00:07, 00:12, ...

time_zone

string

The timezone to use for the groc expression. If not specified, defaults to UTC.

SearchAuthorizedViewsRequest

The request for listing AuthorizedViews.

Fields
parent

string

Required. The parent resource of the AuthorizedViews. If the parent is set to -, all AuthorizedViews under the location will be returned.

page_size

int32

Optional. The maximum number of view to return in the response. If the value is zero, the service will select a default size. A call might return fewer objects than requested. A non-empty next_page_token in the response indicates that more data is available.

page_token

string

Optional. The value returned by the last ListAuthorizedViewsResponse. This value indicates that this is a continuation of a prior ListAuthorizedViews call and that the system should return the next page of data.

query

string

Optional. The query expression to search authorized views.

order_by

string

Optional. The order by expression to order authorized views listed in the response.

SearchAuthorizedViewsResponse

The response from a ListAuthorizedViews request.

Fields
authorized_views[]

AuthorizedView

The AuthorizedViews under the parent.

next_page_token

string

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

SentimentData

The data for a sentiment annotation.

Fields
magnitude

float

A non-negative number from 0 to infinity which represents the absolute magnitude of sentiment regardless of score.

score

float

The sentiment score between -1.0 (negative) and 1.0 (positive).

Settings

The CCAI Insights project wide settings. Use these settings to configure the behavior of Insights. View these settings with getsettings and change the settings with updateSettings.

Fields
name

string

Immutable. The resource name of the settings resource. Format: projects/{project}/locations/{location}/settings

create_time

Timestamp

Output only. The time at which the settings was created.

update_time

Timestamp

Output only. The time at which the settings were last updated.

language_code

string

A language code to be applied to each transcript segment unless the segment already specifies a language code. Language code defaults to "en-US" if it is neither specified on the segment nor here.

conversation_ttl

Duration

The default TTL for newly-created conversations. If a conversation has a specified expiration, that value will be used instead. Changing this value will not change the expiration of existing conversations. Conversations with no expire time persist until they are deleted.

diagnostic_metric_config

DiagnosticMetricConfig

Optional. Configuration for diagnostic metrics.

pubsub_notification_settings

map<string, string>

A map that maps a notification trigger to a Pub/Sub topic. Each time a specified trigger occurs, Insights will notify the corresponding Pub/Sub topic.

Keys are notification triggers. Supported keys are:

  • "all-triggers": Notify each time any of the supported triggers occurs.
  • "create-analysis": Notify each time an analysis is created.
  • "create-conversation": Notify each time a conversation is created.
  • "export-insights-data": Notify each time an export is complete.
  • "ingest-conversations": Notify each time an IngestConversations LRO is complete.
  • "update-conversation": Notify each time a conversation is updated via UpdateConversation.
  • "upload-conversation": Notify when an UploadConversation LRO is complete.
  • "update-or-analyze-conversation": Notify when an analysis for a conversation is completed or when the conversation is updated. The message will contain the conversation with transcript, analysis and other metadata.

Values are Pub/Sub topics. The format of each Pub/Sub topic is: projects/{project}/topics/{topic}

analysis_config

AnalysisConfig

Default analysis settings.

redaction_config

RedactionConfig

Default DLP redaction resources to be applied while ingesting conversations. This applies to conversations ingested from the UploadConversation and IngestConversations endpoints, including conversations coming from CCAI Platform.

speech_config

SpeechConfig

Optional. Default Speech-to-Text resources to use while ingesting audio files. Optional, CCAI Insights will create a default if not provided. This applies to conversations ingested from the UploadConversation and IngestConversations endpoints, including conversations coming from CCAI Platform.

screen_recording_bucket_uri

string

Optional. The path to a Cloud Storage bucket containing conversation screen recordings. If provided, Insights will search in the bucket for a screen recording file matching the conversation data source object name prefix. If matches are found, these file URIs will be stored in the conversation screen recordings field.

time_zone

string

Optional. The time zone applied to the project. This is a string representation of the time zone, for example, "America/New_York". This field follows the IANA TZ database format. See https://www.iana.org/time-zones for a list of valid values. If no value is set the user time zone will be used.

satisfies_pzi

bool

Output only. Whether this resource is zone isolated.

satisfies_pzs

bool

Output only. Whether this resource is zone separated.

AnalysisConfig

Default configuration when creating Analyses in Insights.

Fields
runtime_integration_analysis_percentage

double

Percentage of conversations created using Dialogflow runtime integration to analyze automatically, between [0, 100].

upload_conversation_analysis_percentage

double

Percentage of conversations created using the UploadConversation endpoint to analyze automatically, between [0, 100].

annotator_selector

AnnotatorSelector

To select the annotators to run and the phrase matchers to use (if any). If not specified, all annotators will be run.

DiagnosticMetricConfig

Configuration for diagnostic metrics.

Fields
metrics

map<string, MetricDefinition>

Optional. A map of diagnostic metrics. The key is a unique identifier for the metric (e.g., "containment").

SignedAudioUris

Signed audio URIs for a conversation.

Fields
signed_turn_level_audios[]

TurnLevelAudio

The signed URI for the audio corresponding to each turn in the conversation.

signed_gcs_audio_uris[]

string

Output only. The signed URIs for the audio from the Cloud Storage conversation source when multiple audio files exist (e.g. multi-leg conversations).

Union field signed_audio_uri. The signed URI for the audio corresponding to the data source of the conversation. signed_audio_uri can be only one of the following:
signed_gcs_audio_uri

string

The signed URI for the audio from the Cloud Storage conversation source.

signed_dialogflow_audio_uri

string

The signed URI for the audio from the Dialogflow conversation source.

SilenceData

This type has no fields.

The data for a silence annotation.

SmartComposeSuggestionData

Agent Assist Smart Compose suggestion data.

Fields
suggestion

string

The content of the suggestion.

confidence_score

double

The system's confidence score that this suggestion is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain).

metadata

map<string, string>

Map that contains metadata about the Smart Compose suggestion and the document from which it originates.

query_record

string

The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}

SmartReplyData

Agent Assist Smart Reply data.

Fields
reply

string

The content of the reply.

confidence_score

double

The system's confidence score that this reply is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain).

metadata

map<string, string>

Map that contains metadata about the Smart Reply and the document from which it originates.

query_record

string

The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}

SpeechConfig

Speech-to-Text configuration. Speech-to-Text settings are applied to conversations ingested from the UploadConversation and IngestConversations endpoints, including conversation coming from CCAI Platform. They are not applied to conversations ingested from the CreateConversation endpoint.

Fields
speech_recognizer

string

The fully-qualified Speech Recognizer resource name. Format: projects/{project_id}/locations/{location}/recognizer/{recognizer}

disable_word_time_offsets

bool

Whether to disable word time offsets. If true, the enable_word_time_offsets field in the recognition config will be set to false.

TestAutoLabelingRuleRequest

The request message for testing auto labeling rules.

Fields
parent

string

Required. The parent project and location. Format: projects/{project}/locations/{location}

conversation

Conversation

Required. Conversation data to test rules against.

auto_labeling_rule

AutoLabelingRule

Required. The auto labeling rule to test.

TestAutoLabelingRuleResponse

The response message for testing auto labeling rules.

Fields
label_result

string

The result of the test auto labeling rule.

TestCorrelationConfigMetadata

Metadata for testing correlation config.

Fields
create_time

Timestamp

Output only. The time the operation was created.

dataset

string

The dataset used for sampling conversations.

stats

FullConversationCorrelationStats

The statistics for the operation.

FullConversationCorrelationStats

Statistics for TestCorrelationConfig operation.

Fields
sampled_conversations_count

int32

The number of conversations sampled.

correlated_conversations_count

int32

The number of conversations correlated.

failed_conversations_count

int32

The number of conversations that failed correlation.

partial_errors[]

Status

Partial errors during test correlation config operation that might cause the operation output to be incomplete.

conversation_correlation_errors[]

ConversationCorrelationError

A list of errors that occurred during correlation, one for each conversation that failed.

ConversationCorrelationError

An error that occurred during correlation for a specific conversation.

Fields
conversation

string

The conversation resource name that had an error during correlation.

status

Status

The error status.

TestCorrelationConfigRequest

The request to test correlation config.

Fields
correlation_config

CorrelationConfig

Required. The correlation config to test.

location

string

Required. The location to test correlation config. Format: projects/{project}/locations/{location}

max_sample_count

int32

Optional. The maximum number of conversations to sample when using the filter. If not set, defaults to 1000. Values greater than 1000 are coerced to 1000. This field is ignored if conversations is provided.

Union field test_data. Data to test the correlation config against. test_data can be only one of the following:
filter

string

Optional. Filter to select conversations to test correlation against. Conversations matching this filter will be sampled based on start time. The most recent max_sample_count conversations will be selected. If no conversations match the filter, the request will fail with an INVALID_ARGUMENT error.

conversations

Conversations

Optional. A list of conversations to test against.

Conversations

Wrapper for a list of conversations.

Fields
conversations[]

Conversation

Optional. The conversations.

TestCorrelationConfigResponse

The response of testing correlation config.

Fields
detailed_results

DetailedCorrelationResults

Results for the DETAILED_SYNC execution mode.

partial_errors[]

Status

Partial errors during test correlation config operation that might cause the operation output to be incomplete.

DetailedCorrelationResults

Wrapper for detailed, step-by-step results.

Fields
join_key_results[]

ConversationCorrelationResult

A list of join key correlation results for each conversation tested.

constraint_results[]

ConstraintEvaluationResult

A list of constraint evaluation results for each pair of conversations.

TuneQaScorecardRevisionMetadata

Metadata for TuneQaScorecardRevision endpoint.

Fields
create_time

Timestamp

Output only. The time the operation was created.

end_time

Timestamp

Output only. The time the operation finished running.

request

TuneQaScorecardRevisionRequest

Output only. The original request.

qa_question_dataset_validation_results[]

QaQuestionDatasetValidationResult

Output only. The results of data validation per question in the request.

qa_question_dataset_tuning_metrics[]

QaQuestionDatasetTuningMetrics

Output only. The metrics for each QaQuestion in the TuneScorecardRevision request.

tuning_completion_ratio

double

Output only. The percentage of the tuning job that has completed. Always between 0 and 1 where 0 indicates the job has not started i.e. 0% and 1 indicates the job has completed i.e. 100%.

QaQuestionDatasetTuningMetrics

Contains performance metrics for each QaQuestion in the TuneScorecardRevision request.

Fields
question

string

Output only. The resource path of the question whose dataset was evaluated for tuning.

metrics

Metrics

Output only. The metrics for the question's dataset.

Metrics

Performance metrics for the question's dataset calculated over the tuned model.

Fields
accuracy

double

Accuracy of the question's dataset.

QaQuestionDatasetValidationResult

Contains validation results for a question in the tuning request.

Fields
question

string

Output only. The resource path of the question whose dataset was evaluated for tuning.

dataset_validation_warnings[]

DatasetValidationWarning

A list of any applicable data validation warnings about the question's feedback labels.

valid_feedback_labels_count

int32

The number of valid feedback labels in the question's dataset.

TuneQaScorecardRevisionRequest

Request for TuneQaScorecardRevision endpoint.

Fields
parent

string

Required. The parent resource for new fine tuning job instance.

filter

string

Required. Filter for selecting the feedback labels that needs to be used for training. This filter can be used to limit the feedback labels used for tuning to a feedback labels created or updated for a specific time-window etc.

validate_only

bool

Optional. Run in validate only mode, no fine tuning will actually run. Data quality validations like training data distributions will run. Even when set to false, the data quality validations will still run but once the validations complete we will proceed with the fine tune, if applicable.

TuneQaScorecardRevisionResponse

This type has no fields.

Response for TuneQaScorecardRevision endpoint.

UndeployIssueModelMetadata

Metadata for undeploying an issue model.

Fields
create_time

Timestamp

Output only. The time the operation was created.

end_time

Timestamp

Output only. The time the operation finished running.

request

UndeployIssueModelRequest

The original request for undeployment.

UndeployIssueModelRequest

The request to undeploy an issue model.

Fields
name

string

Required. The issue model to undeploy.

UndeployIssueModelResponse

This type has no fields.

The response to undeploy an issue model.

UndeployQaScorecardRevisionRequest

The request to undeploy a QaScorecardRevision

Fields
name

string

Required. The name of the QaScorecardRevision to undeploy.

UpdateAnalysisRuleRequest

The request to update a analysis rule.

Fields
analysis_rule

AnalysisRule

Required. The new analysis rule.

update_mask

FieldMask

Optional. The list of fields to be updated. If the update_mask is not provided, the update will be applied to all fields.

UpdateAssessmentRuleRequest

The request to update an assessment rule.

Fields
assessment_rule

AssessmentRule

Required. The new assessment rule.

update_mask

FieldMask

Optional. The list of fields to be updated. If the update_mask is not provided, the update will be applied to all fields.

UpdateAuthorizedViewRequest

The request for updating an AuthorizedView.

Fields
authorized_view

AuthorizedView

Required. The AuthorizedView to update.

update_mask

FieldMask

Optional. The list of fields to be updated. All possible fields can be updated by passing *, or a subset of the following updateable fields can be provided:

  • conversation_filter
  • display_name

UpdateAuthorizedViewSetRequest

The request for updating an AuthorizedViewSet.

Fields
authorized_view_set

AuthorizedViewSet

Required. The AuthorizedViewSet to update.

update_mask

FieldMask

Optional. The list of fields to be updated. All possible fields can be updated by passing *, or a subset of the following updateable fields can be provided:

  • display_name

UpdateAutoLabelingRuleRequest

The request message for updating an auto labeling rule.

Fields
auto_labeling_rule

AutoLabelingRule

Required. The auto labeling rule to update. The rule's name field is used to identify the rule to update. Format: projects/{project}/locations/{location}/autoLabelingRules/{auto_labeling_rule}

update_mask

FieldMask

Optional. The list of fields to be updated.

UpdateChartRequest

The request to update a chart.

Fields
chart

Chart

Required. The chart to update.

update_mask

FieldMask

Optional. List of fields to be updated. All possible fields can be updated by passing *, or a subset of the following updateable fields can be provided:

  • display_name

UpdateConversationRequest

The request to update a conversation.

Fields
conversation

Conversation

Required. The new values for the conversation.

update_mask

FieldMask

The list of fields to be updated. All possible fields can be updated by passing *, or a subset of the following updateable fields can be provided:

  • agent_id
  • language_code
  • labels
  • metadata
  • quality_metadata
  • call_metadata
  • start_time
  • expire_time or ttl
  • data_source.gcs_source.audio_uri or
  • data_source.dialogflow_source.audio_uri
  • data_source.screen_recordings
conversation_auto_labeling_update_config

ConversationAutoLabelingUpdateConfig

Optional. Configuration for updating conversation with auto labeling results.

allow_missing

bool

Optional. Defaults to false. If set to true, and the conversation is not found, a new conversation will be created. In this situation, update_mask is ignored.

UpdateCorrelationConfigRequest

The request to update correlation config.

Fields
correlation_config

CorrelationConfig

Required. The new correlation config values.

update_mask

FieldMask

Optional. The list of fields to be updated.

UpdateDashboardRequest

The request to update a dashboard.

Fields
dashboard

Dashboard

Required. The dashboard to update.

update_mask

FieldMask

Optional. List of fields to be updated. All possible fields can be updated by passing *, or a subset of the following updateable fields can be provided:

  • display_name
  • root_container
  • description

UpdateDatasetRequest

The request to update a dataset.

Fields
dataset

Dataset

Required. The dataset to update.

update_mask

FieldMask

Optional. The list of fields to update.

UpdateFeedbackLabelRequest

The request for updating a feedback label.

Fields
feedback_label

FeedbackLabel

Required. The feedback label to update.

update_mask

FieldMask

Required. The list of fields to be updated.

UpdateIssueModelRequest

The request to update an issue model.

Fields
issue_model

IssueModel

Required. The new values for the issue model.

update_mask

FieldMask

The list of fields to be updated.

UpdateIssueRequest

The request to update an issue.

Fields
issue

Issue

Required. The new values for the issue.

update_mask

FieldMask

The list of fields to be updated.

UpdateNoteRequest

The request to update a note.

Fields
note

Note

Required. The note to update.

update_mask

FieldMask

Optional. The list of fields to be updated. If the update_mask is empty, all updateable fields will be updated. Acceptable fields include: * content

UpdatePhraseMatcherRequest

The request to update a phrase matcher.

Fields
phrase_matcher

PhraseMatcher

Required. The new values for the phrase matcher.

update_mask

FieldMask

The list of fields to be updated.

UpdateQaQuestionRequest

The request for updating a QaQuestion.

Fields
qa_question

QaQuestion

Required. The QaQuestion to update.

update_mask

FieldMask

Required. The list of fields to be updated. All possible fields can be updated by passing *, or a subset of the following updateable fields can be provided:

  • abbreviation
  • answer_choices
  • answer_instructions
  • order
  • question_body
  • tags

UpdateQaQuestionTagMetadata

The metadata for updating a QaQuestionTag Resource.

Fields
create_time

Timestamp

Output only. The time the operation was created.

end_time

Timestamp

Output only. The time the operation finished running.

request

UpdateQaQuestionTagRequest

Output only. The original request.

UpdateQaQuestionTagRequest

The request for updating a QaQuestionTag.

Fields
qa_question_tag

QaQuestionTag

Required. The QaQuestionTag to update.

update_mask

FieldMask

Optional. The list of fields to be updated. All possible fields can be updated by passing *, or a subset of the following updateable fields can be provided:

  • qa_question_tag_name - the name of the tag
  • qa_question_ids - the list of questions the tag applies to

UpdateQaScorecardRequest

The request for updating a QaScorecard.

Fields
qa_scorecard

QaScorecard

Required. The QaScorecard to update.

update_mask

FieldMask

Required. The list of fields to be updated. All possible fields can be updated by passing *, or a subset of the following updateable fields can be provided:

  • description
  • display_name

UpdateSettingsRequest

The request to update project-level settings.

Fields
settings

Settings

Required. The new settings values.

update_mask

FieldMask

Required. The list of fields to be updated.

UpdateViewRequest

The request to update a view.

Fields
view

View

Required. The new view.

update_mask

FieldMask

The list of fields to be updated.

UploadConversationMetadata

The metadata for an UploadConversation operation.

Fields
create_time

Timestamp

Output only. The time the operation was created.

end_time

Timestamp

Output only. The time the operation finished running.

request

UploadConversationRequest

Output only. The original request.

analysis_operation

string

Output only. The operation name for a successfully created analysis operation, if any.

applied_redaction_config

RedactionConfig

Output only. The redaction config applied to the uploaded conversation.

UploadConversationRequest

Request to upload a conversation.

Fields
parent

string

Required. The parent resource of the conversation.

conversation

Conversation

Required. The conversation resource to create.

conversation_id

string

Optional. A unique ID for the new conversation. This ID will become the final component of the conversation's resource name. If no ID is specified, a server-generated ID will be used.

This value should be 4-64 characters and must match the regular expression ^[a-z0-9-]{4,64}$. Valid characters are [a-z][0-9]-

redaction_config

RedactionConfig

Optional. DLP settings for transcript redaction. Will default to the config specified in Settings.

speech_config

SpeechConfig

Optional. Speech-to-Text configuration. Will default to the config specified in Settings.

UserInfo

Information about a user.

Fields
username

string

The user's username.

View

The View resource.

Fields
name

string

Immutable. The resource name of the view. Format: projects/{project}/locations/{location}/views/{view}

display_name

string

The human-readable display name of the view.

create_time

Timestamp

Output only. The time at which this view was created.

update_time

Timestamp

Output only. The most recent time at which the view was updated.

value

string

A filter to reduce conversation results to a specific subset. Refer to https://cloud.google.com/contact-center/insights/docs/filtering for details.

Widget

Represents a dashboard element, could be a nested Container or Chart.

Fields

Union field widget.

widget can be only one of the following:

container

Container

A container widget.

chart

Chart

A chart widget.

chart_reference

string

A reference to a chart widget. Format: projects/{project}/locations/{location}/dashboards/{dashboard}/charts/{chart}

filter

string

Filter applied to all charts in the container. Should support scope later.