Index
Analysis(message)AnalysisResult(message)AnalysisResult.CallAnalysisMetadata(message)AnnotationBoundary(message)AnnotatorSelector(message)AnnotatorSelector.QaConfig(message)AnnotatorSelector.QaConfig.ScorecardList(message)AnnotatorSelector.SummarizationConfig(message)AnnotatorSelector.SummarizationConfig.SummarizationModel(enum)AnswerFeedback(message)AnswerFeedback.CorrectnessLevel(enum)ArticleSuggestionData(message)BulkAnalyzeConversationsMetadata(message)BulkAnalyzeConversationsRequest(message)BulkAnalyzeConversationsResponse(message)BulkDeleteConversationsMetadata(message)BulkDeleteConversationsRequest(message)BulkDeleteConversationsResponse(message)BulkDeleteFeedbackLabelsMetadata(message)BulkDeleteFeedbackLabelsRequest(message)BulkDeleteFeedbackLabelsResponse(message)BulkDownloadFeedbackLabelsMetadata(message)BulkDownloadFeedbackLabelsMetadata.DownloadStats(message)BulkDownloadFeedbackLabelsRequest(message)BulkDownloadFeedbackLabelsRequest.FeedbackLabelType(enum)BulkDownloadFeedbackLabelsRequest.GcsDestination(message)BulkDownloadFeedbackLabelsRequest.GcsDestination.Format(enum)BulkDownloadFeedbackLabelsRequest.SheetsDestination(message)BulkDownloadFeedbackLabelsResponse(message)CallAnnotation(message)CesEndSessionAnnotation(message)CesTurnAnnotation(message)ConstraintEvaluationResult(message)ConstraintEvaluationResult.RuleConstraintResult(message)Conversation(message)Conversation.CallMetadata(message)Conversation.CorrelationInfo(message)Conversation.CorrelationInfo.CorrelationType(enum)Conversation.Medium(enum)Conversation.QualityMetadata(message)Conversation.QualityMetadata.AgentInfo(message)Conversation.Transcript(message)Conversation.Transcript.TranscriptSegment(message)Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata(message)Conversation.Transcript.TranscriptSegment.TranscriptPart(message)Conversation.Transcript.TranscriptSegment.TranscriptPart.Chip(message)Conversation.Transcript.TranscriptSegment.TranscriptPart.CitationPart(message)Conversation.Transcript.TranscriptSegment.TranscriptPart.CustomPayloadPart(message)Conversation.Transcript.TranscriptSegment.TranscriptPart.LinkPart(message)Conversation.Transcript.TranscriptSegment.TranscriptPart.ListItem(message)Conversation.Transcript.TranscriptSegment.TranscriptPart.ListPart(message)Conversation.Transcript.TranscriptSegment.TranscriptPart.ListPart.ListType(enum)Conversation.Transcript.TranscriptSegment.TranscriptPart.MediaPart(message)Conversation.Transcript.TranscriptSegment.TranscriptPart.Product(message)Conversation.Transcript.TranscriptSegment.TranscriptPart.ProductCollectionPart(message)Conversation.Transcript.TranscriptSegment.TranscriptPart.SuggestionChipsPart(message)Conversation.Transcript.TranscriptSegment.TranscriptPart.TablePart(message)Conversation.Transcript.TranscriptSegment.TranscriptPart.TableRow(message)Conversation.Transcript.TranscriptSegment.TranscriptPart.TextPart(message)Conversation.Transcript.TranscriptSegment.TranscriptPart.ThoughtPart(message)Conversation.Transcript.TranscriptSegment.WordInfo(message)ConversationCorrelationResult(message)ConversationCorrelationResult.RuleCorrelationResult(message)ConversationDataSource(message)ConversationDataSource.TurnLevelAudio(message)ConversationLevelSentiment(message)ConversationLevelSilence(message)ConversationParticipant(message)ConversationParticipant.Role(enum)ConversationSummarizationSuggestionData(message)CreateAnalysisOperationMetadata(message)CreateIssueMetadata(message)CreateIssueModelMetadata(message)CreateIssueModelRequest(message)CreateIssueRequest(message)Dataset(message)Dataset.Type(enum)DeleteIssueModelMetadata(message)DeleteIssueModelRequest(message)DeleteQaQuestionTagMetadata(message)DeleteQaQuestionTagRequest(message)DeployIssueModelMetadata(message)DeployIssueModelRequest(message)DeployIssueModelResponse(message)DialogflowIntent(message)DialogflowInteractionData(message)DialogflowSource(message)Dimension(message)Dimension.AgentDimensionMetadata(message)Dimension.ClientSentimentCategoryDimensionMetadata(message)Dimension.ConversationProfileDimensionMetadata(message)Dimension.ConversationalAgentsPlaybookDimensionMetadata(message)Dimension.ConversationalAgentsToolDimensionMetadata(message)Dimension.DimensionKey(enum)Dimension.IssueDimensionMetadata(message)Dimension.LabelDimensionMetadata(message)Dimension.MediumDimensionMetadata(message)Dimension.QaQuestionAnswerDimensionMetadata(message)Dimension.QaQuestionDimensionMetadata(message)Dimension.QaScorecardDimensionMetadata(message)EncryptionSpec(message)Entity(message)Entity.Type(enum)EntityMentionData(message)EntityMentionData.MentionType(enum)ExportInsightsDataMetadata(message)ExportInsightsDataRequest(message)ExportInsightsDataRequest.BigQueryDestination(message)ExportInsightsDataRequest.ExportSchemaVersion(enum)ExportInsightsDataRequest.WriteDisposition(enum)ExportInsightsDataResponse(message)ExportIssueModelMetadata(message)ExportIssueModelRequest(message)ExportIssueModelRequest.GcsDestination(message)ExportIssueModelResponse(message)FaqAnswerData(message)FeedbackLabel(message)GcsSource(message)GenerativeInsightConversationTranscript(message)GenerativeInsightConversationTranscript.Message(message)GenerativeInsightConversationTranscript.Message.SystemMessage(message)GenerativeInsightConversationTranscript.Message.SystemMessage.TextOutput(message)GenerativeInsightConversationTranscript.Message.SystemMessage.TextOutput.Type(enum)GenerativeInsightConversationTranscript.Message.SystemMessages(message)GenerativeInsightConversationTranscript.Message.UserMessage(message)GenerativeInsightsMetadata(message)GenerativeInsightsResponse(message)GenerativeInsightsResponse.GenerativeResponse(message)GenerativeInsightsResponse.GenerativeResponse.TextOutput(message)GenerativeInsightsResponse.GenerativeResponse.TextOutput.Type(enum)HoldData(message)ImportIssueModelMetadata(message)ImportIssueModelRequest(message)ImportIssueModelRequest.GcsSource(message)ImportIssueModelResponse(message)IngestConversationsMetadata(message)IngestConversationsMetadata.IngestConversationsStats(message)IngestConversationsRequest(message)IngestConversationsRequest.ConversationConfig(message)IngestConversationsRequest.GcsSource(message)IngestConversationsRequest.GcsSource.BucketObjectType(enum)IngestConversationsRequest.TranscriptObjectConfig(message)IngestConversationsResponse(message)InitializeEncryptionSpecMetadata(message)InitializeEncryptionSpecRequest(message)InitializeEncryptionSpecResponse(message)Intent(message)IntentMatchData(message)InterruptionData(message)Issue(message)IssueAssignment(message)IssueMatchData(message)IssueModel(message)IssueModel.InputDataConfig(message)IssueModel.ModelType(enum)IssueModel.State(enum)IssueModelLabelStats(message)IssueModelLabelStats.IssueStats(message)IssueModelResult(message)ListAllFeedbackLabelsResponse(message)ListFeedbackLabelsResponse(message)PhraseMatchData(message)QaAnswer(message)QaAnswer.AnswerSource(message)QaAnswer.AnswerSource.SourceType(enum)QaAnswer.AnswerValue(message)QaQuestionTag(message)QaScorecardResult(message)QaScorecardResult.QaTagResult(message)QaScorecardResult.ScoreSource(message)QaScorecardResult.ScoreSource.SourceType(enum)QueryMetricsMetadata(message)QueryMetricsResponse(message)QueryMetricsResponse.Slice(message)QueryMetricsResponse.Slice.DataPoint(message)QueryMetricsResponse.Slice.DataPoint.ConversationMeasure(message)QueryMetricsResponse.Slice.DataPoint.ConversationMeasure.QaTagScore(message)QueryMetricsResponse.Slice.DataPoint.DialogflowInteractionMeasure(message)QueryMetricsResponse.Slice.DataPoint.PercentileResult(message)QueryMetricsResponse.Slice.TimeSeries(message)QueryPerformanceOverviewMetadata(message)QueryPerformanceOverviewResponse(message)RedactionConfig(message)RuntimeAnnotation(message)RuntimeAnnotation.UserInput(message)RuntimeAnnotation.UserInput.QuerySource(enum)SampleConversationsMetadata(message)SampleConversationsMetadata.SampleConversationsStats(message)SampleConversationsRequest(message)SampleConversationsResponse(message)SampleRule(message)SentimentData(message)SilenceData(message)SmartComposeSuggestionData(message)SmartReplyData(message)SpeechConfig(message)TestCorrelationConfigMetadata(message)TestCorrelationConfigMetadata.FullConversationCorrelationStats(message)TestCorrelationConfigMetadata.FullConversationCorrelationStats.ConversationCorrelationError(message)TestCorrelationConfigResponse(message)TestCorrelationConfigResponse.DetailedCorrelationResults(message)UndeployIssueModelMetadata(message)UndeployIssueModelRequest(message)UndeployIssueModelResponse(message)UpdateQaQuestionTagMetadata(message)UpdateQaQuestionTagRequest(message)UploadConversationMetadata(message)UploadConversationRequest(message)
Analysis
The analysis resource.
| Fields | |
|---|---|
name |
Immutable. The resource name of the analysis. Format: projects/{project}/locations/{location}/conversations/{conversation}/analyses/{analysis} |
request_time |
Output only. The time at which the analysis was requested. |
create_time |
Output only. The time at which the analysis was created, which occurs when the long-running operation completes. |
analysis_result |
Output only. The result of the analysis, which is populated when the analysis finishes. |
annotator_selector |
To select the annotators to run and the phrase matchers to use (if any). If not specified, all annotators will be run. |
satisfies_pzi |
Output only. Whether this resource is zone isolated. |
satisfies_pzs |
Output only. Whether this resource is zone separated. |
AnalysisResult
The result of an analysis.
| Fields | |
|---|---|
end_time |
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 |
Call-specific metadata created by the analysis. |
CallAnalysisMetadata
Call-specific metadata created during analysis.
| Fields | |
|---|---|
annotations[] |
A list of call annotations that apply to this call. |
entities |
All the entities in the call. |
sentiments[] |
Overall conversation-level sentiment for each channel of the call. |
silence |
Overall conversation-level silence during the call. |
intents |
All the matched intents in the call. |
phrase_matchers |
All the matched phrase matchers in the call. |
issue_model_result |
Overall conversation-level issue modeling result. |
qa_scorecard_results[] |
Results of scoring QaScorecards. |
AnnotationBoundary
A point in a conversation that marks the start or the end of an annotation.
| Fields | |
|---|---|
transcript_index |
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 |
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 |
Whether to run the interruption annotator. |
run_silence_annotator |
Whether to run the silence annotator. |
run_phrase_matcher_annotator |
Whether to run the active phrase matcher annotator(s). |
phrase_matchers[] |
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 |
Whether to run the sentiment annotator. |
run_entity_annotator |
Whether to run the entity annotator. |
run_intent_annotator |
Whether to run the intent annotator. |
run_issue_model_annotator |
Whether to run the issue model annotator. A model should have already been deployed for this to take effect. |
issue_models[] |
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 |
Whether to run the summarization annotator. |
summarization_config |
Configuration for the summarization annotator. |
run_qa_annotator |
Whether to run the QA annotator. |
qa_config |
Configuration for the QA annotator. |
run_auto_labeling_annotator |
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 |
A manual list of scorecards to score. |
ScorecardList
Container for a list of scorecards.
| Fields | |
|---|---|
qa_scorecard_revisions[] |
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 |
Resource name of the Dialogflow conversation profile. Format: projects/{project}/locations/{location}/conversationProfiles/{conversation_profile} |
summarization_model |
Default summarization model to be used. |
generator |
The resource name of the existing created generator. Format: projects/ |
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 |
BASELINE_MODEL_V2_0 |
The CCAI baseline model, V2.0. This model is deprecated and will be removed in the future. We recommend using |
AnswerFeedback
The feedback that the customer has about a certain answer in the conversation.
| Fields | |
|---|---|
correctness_level |
The correctness level of an answer. |
clicked |
Indicates whether an answer or item was clicked by the human agent. |
displayed |
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. |
ArticleSuggestionData
Agent Assist Article Suggestion data.
| Fields | |
|---|---|
title |
Article title. |
uri |
Article URI. |
confidence_score |
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 that contains metadata about the Article Suggestion and the document that it originates from. |
query_record |
The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record} |
source |
The knowledge document that this answer was extracted from. Format: projects/{project}/knowledgeBases/{knowledge_base}/documents/{document} |
BulkAnalyzeConversationsMetadata
The metadata for a bulk analyze conversations operation.
| Fields | |
|---|---|
create_time |
The time the operation was created. |
end_time |
The time the operation finished running. |
request |
The original request for bulk analyze. |
completed_analyses_count |
The number of requested analyses that have completed successfully so far. |
failed_analyses_count |
The number of requested analyses that have failed so far. |
total_requested_analyses_count |
Total number of analyses requested. Computed by the number of conversations returned by |
partial_errors[] |
Output only. Partial errors during bulk analyze operation that might cause the operation output to be incomplete. |
relabel |
Output only. Deprecated: Use |
BulkAnalyzeConversationsRequest
The request to analyze conversations in bulk.
| Fields | |
|---|---|
parent |
Required. The parent resource to create analyses in. |
filter |
Required. Filter used to select the subset of conversations to analyze. |
analysis_percentage |
Required. Percentage of selected conversation to analyze, between [0, 100]. |
annotator_selector |
To select the annotators to run and the phrase matchers to use (if any). If not specified, all annotators will be run. |
relabel |
Optional. Deprecated: Use |
BulkAnalyzeConversationsResponse
The response for a bulk analyze conversations operation.
| Fields | |
|---|---|
successful_analysis_count |
Count of successful analyses. |
failed_analysis_count |
Count of failed analyses. |
BulkDeleteConversationsMetadata
The metadata for a bulk delete conversations operation.
| Fields | |
|---|---|
create_time |
The time the operation was created. |
end_time |
The time the operation finished running. |
request |
The original request for bulk delete. |
partial_errors[] |
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 |
Required. The parent resource to delete conversations from. Format: projects/{project}/locations/{location} |
filter |
Filter used to select the subset of conversations to delete. |
max_delete_count |
Maximum number of conversations to delete. |
force |
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 |
Output only. The original request for delete. |
partial_errors[] |
Partial errors during deletion operation that might cause the operation output to be incomplete. |
BulkDeleteFeedbackLabelsRequest
Request for the BulkDeleteFeedbackLabels endpoint.
| Fields | |
|---|---|
parent |
Required. The parent resource for new feedback labels. |
filter |
Optional. A filter to reduce results to a specific subset. Supports disjunctions (OR) and conjunctions (AND). Supported fields:
|
BulkDeleteFeedbackLabelsResponse
This type has no fields.
Response for the BulkDeleteFeedbackLabels endpoint.
BulkDownloadFeedbackLabelsMetadata
Metadata for the BulkDownloadFeedbackLabel endpoint.
| Fields | |
|---|---|
create_time |
Output only. The time the operation was created. |
end_time |
Output only. The time the operation finished running. |
request |
Output only. The original request for download. |
partial_errors[] |
Partial errors during ingest operation that might cause the operation output to be incomplete. |
download_stats |
Output only. Statistics for BulkDownloadFeedbackLabels operation. |
DownloadStats
Statistics for BulkDownloadFeedbackLabels operation.
| Fields | |
|---|---|
processed_object_count |
The number of objects processed during the download operation. |
successful_download_count |
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 |
Total number of files written to the provided Cloud Storage bucket. |
file_names[] |
Output only. Full name of the files written to Cloud storage. |
BulkDownloadFeedbackLabelsRequest
Request for the BulkDownloadFeedbackLabel endpoint.
| Fields | |
|---|---|
parent |
Required. The parent resource for new feedback labels. |
filter |
Optional. A filter to reduce results to a specific subset. Supports disjunctions (OR) and conjunctions (AND). Supported fields:
|
max_download_count |
Optional. Limits the maximum number of feedback labels that will be downloaded. The first |
feedback_label_type |
Optional. The type of feedback labels that will be downloaded. |
conversation_filter |
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[] |
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 |
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 |
A cloud storage bucket destination. |
sheets_destination |
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 |
Required. File format in which the labels will be exported. |
object_uri |
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. |
add_whitespace |
Optional. Add whitespace to the JSON file. Makes easier to read, but increases file size. Only applicable for JSON format. |
always_print_empty_fields |
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 |
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 |
Required. The Google Sheets document to write the feedback labels to. Retrieved from Google Sheets URI. E.g. |
sheet_title |
Optional. The title of the new sheet to write the feedback labels to. |
BulkDownloadFeedbackLabelsResponse
This type has no fields.
Response for the BulkDownloadFeedbackLabel endpoint.
CallAnnotation
A piece of metadata that applies to a window of a call.
| Fields | |
|---|---|
channel_tag |
The channel of the audio where the annotation occurs. For single-channel audio, this field is not populated. |
annotation_start_boundary |
The boundary in the conversation where the annotation starts, inclusive. |
annotation_end_boundary |
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 |
Data specifying an interruption. |
sentiment_data |
Data specifying sentiment. |
silence_data |
Data specifying silence. |
hold_data |
Data specifying a hold. |
entity_mention_data |
Data specifying an entity mention. |
intent_match_data |
Data specifying an intent match. |
phrase_match_data |
Data specifying a phrase match. |
issue_match_data |
Data specifying an issue match. |
CesEndSessionAnnotation
The CES end session annotation.
| Fields | |
|---|---|
end_session |
End session signal from CES. |
CesTurnAnnotation
The CES diagnostic information.
| Fields | |
|---|---|
messages[] |
The messages in the turn. |
root_span |
The root span of the action processing. |
ConstraintEvaluationResult
The result of testing a constraint expression on a pair of conversations.
| Fields | |
|---|---|
conversation_a |
The first conversation resource name. |
conversation_b |
The second conversation resource name. |
rule_constraint_results[] |
The results for each applicable constraint rule. |
RuleConstraintResult
The result of a single constraint rule on the pair of conversations.
| Fields | |
|---|---|
rule_id |
The rule ID. |
Union field constraint_result. The result of the constraint expression. constraint_result can be only one of the following: |
|
constraint_met |
Whether the constraint expression evaluated to true for (A, B) or (B, A). |
error |
The error status if the constraint expression failed to evaluate. |
Conversation
The conversation resource.
| Fields | |
|---|---|
name |
Immutable. The resource name of the conversation. Format: projects/{project}/locations/{location}/conversations/{conversation} |
data_source |
The source of the audio and transcription for the conversation. |
create_time |
Output only. The time at which the conversation was created. |
update_time |
Output only. The most recent time at which the conversation was updated. |
start_time |
The time at which the conversation started. |
language_code |
A user-specified language code for the conversation. |
agent_id |
An opaque, user-specified string representing the human agent who handled the conversation. |
labels |
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 |
Conversation metadata related to quality management. |
metadata_json |
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 |
Output only. The conversation transcript. |
medium |
Immutable. The conversation medium. |
duration |
Output only. The duration of the conversation. |
turn_count |
Output only. The number of turns in the conversation. |
latest_analysis |
Output only. The conversation's latest analysis, if one exists. |
latest_summary |
Output only. Latest summary of the conversation. |
runtime_annotations[] |
Output only. The annotations that were generated during the customer and agent interaction. |
dialogflow_intents |
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 |
Obfuscated user ID which the customer sent to us. |
correlation_info |
Output only. Info for correlating across conversations. |
satisfies_pzi |
Output only. Whether this resource is zone isolated. |
satisfies_pzs |
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 |
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 |
The time at which this conversation should expire. After this time, the conversation data and any associated analyses will be deleted. |
ttl |
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 |
The audio channel that contains the customer. |
agent_channel |
The audio channel that contains the agent. |
CorrelationInfo
Info for correlating across conversations.
| Fields | |
|---|---|
full_conversation_correlation_id |
Output only. The full conversation correlation id this conversation is a segment of. |
merged_full_conversation_correlation_id |
Output only. The full conversation correlation id this conversation is a merged conversation of. |
correlation_types[] |
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 |
An arbitrary integer value indicating the customer's satisfaction rating. |
wait_duration |
The amount of time the customer waited to connect with an agent. |
menu_path |
An arbitrary string value specifying the menu path the customer took. |
agent_info[] |
Information about agents involved in the call. |
feedback_labels[] |
Input only. The feedback labels associated with the conversation. |
AgentInfo
Information about an agent involved in the conversation.
| Fields | |
|---|---|
agent_id |
A user-specified string representing the agent. |
display_name |
The agent's name. |
team |
A user-specified string representing the agent's team. Deprecated in favor of the |
teams[] |
User-specified strings representing the agent's teams. |
disposition_code |
A user-provided string indicating the outcome of the agent's segment of the call. |
agent_type |
The agent type, e.g. HUMAN_AGENT. |
location |
The agent's location. |
deployment_id |
The agent's deployment ID. Only applicable to automated agents. |
deployment_display_name |
The agent's deployment display name. Only applicable to automated agents. |
version_id |
The agent's version ID. Only applicable to automated agents. |
version_display_name |
The agent's version display name. Only applicable to automated agents. |
entry_subagent_display_name |
The entry subagent's display name. |
entry_subagent_id |
The entry subagent's ID. |
Transcript
A message representing the transcript of a conversation.
| Fields | |
|---|---|
transcript_segments[] |
A list of sequential transcript segments that comprise the conversation. |
TranscriptSegment
A segment of a full transcript.
| Fields | |
|---|---|
message_time |
The time that the message occurred, if provided. |
text |
The text of this segment. |
confidence |
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[] |
A list of the word-specific information for each word in the segment. |
language_code |
The language code of this segment as a BCP-47 language tag. Example: "en-US". |
channel_tag |
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 |
The participant of this segment. |
dialogflow_segment_metadata |
CCAI metadata relating to the current transcript segment. |
sentiment |
The sentiment for this transcript segment. |
turn_level_audio |
Turn level audio for this transcript segment. |
parts[] |
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 |
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 |
Optional. Plain text content. |
thought |
Optional. Model thought or internal reasoning. |
product_collection |
Optional. Product collection or carousel. |
suggestion_chips |
Optional. Suggestion chips or interactive buttons. |
table |
Optional. Tabular data. |
list |
Optional. Ordered or unordered list. |
image |
Optional. Image media. |
video |
Optional. Video media. |
link |
Optional. Web link or URL. |
citation |
Optional. Citation or reference to grounding material. |
custom_payload |
Optional. Generic custom structured payload. |
Chip
A suggestion chip.
| Fields | |
|---|---|
text |
Optional. The chip label or text. |
action_uri |
Optional. Optional action or destination URI triggered by the chip. |
CitationPart
A citation part.
| Fields | |
|---|---|
source_uri |
Optional. The cited source URI. |
source_title |
Optional. The cited source title. |
snippet |
Optional. Snippet of the cited text. |
CustomPayloadPart
A custom payload part.
| Fields | |
|---|---|
payload_type |
Optional. Type identifier for the payload. |
payload |
Optional. Arbitrary structured payload. |
LinkPart
A link part.
| Fields | |
|---|---|
text |
Optional. Anchor or display text. |
uri |
Optional. Target URI. |
ListItem
An item in a list.
| Fields | |
|---|---|
text |
Optional. The text of the list item. |
sub_items[] |
Optional. Nested sub-items. |
ListPart
A list part.
| Fields | |
|---|---|
list_type |
Optional. The type of list. |
items[] |
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 |
Optional. URI or URL to the media. |
alternative_text |
Optional. Alternative text description. |
Product
A product in a product collection.
| Fields | |
|---|---|
id |
Optional. Product ID. |
display_name |
Optional. Product display name. |
description |
Optional. Product description. |
price |
Optional. Product price. |
uri |
Optional. Product URL or deep link. |
image_uris[] |
Optional. Product image URLs. |
ProductCollectionPart
A product collection part.
| Fields | |
|---|---|
products[] |
Optional. List of products. |
SuggestionChipsPart
A suggestion chips part.
| Fields | |
|---|---|
chips[] |
Optional. List of suggestion chips. |
TablePart
A table part.
| Fields | |
|---|---|
title |
Optional. Optional title for the table. |
headers[] |
Optional. Table column headers. |
rows[] |
Optional. Table rows. |
TableRow
A row in a table.
| Fields | |
|---|---|
cells[] |
Optional. The cell values in the row. |
TextPart
A text part.
| Fields | |
|---|---|
text |
Optional. The text content. |
ThoughtPart
A thought part.
| Fields | |
|---|---|
text |
Optional. The thought or reasoning text. |
WordInfo
Word-level info for words in a transcript.
| Fields | |
|---|---|
start_offset |
Time offset of the start of this word relative to the beginning of the total conversation. |
end_offset |
Time offset of the end of this word relative to the beginning of the total conversation. |
word |
The word itself. Includes punctuation marks that surround the word. |
confidence |
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. |
ConversationCorrelationResult
The result of testing correlation config on a single conversation.
| Fields | |
|---|---|
conversation |
The conversation resource name. |
rule_results[] |
The results for each correlation rule. |
RuleCorrelationResult
The result of a single correlation rule.
| Fields | |
|---|---|
rule_id |
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 |
The correlation ID generated by the join key expression. |
error |
The error status if the join key expression failed to evaluate. |
ConversationDataSource
The conversation source, which is a combination of transcript and audio.
| Fields | |
|---|---|
metadata_uri |
Cloud Storage URI that points to a file that contains the conversation metadata. |
turn_level_audios[] |
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 |
A Cloud Storage location specification for the audio and transcript. |
dialogflow_source |
The source when the conversation comes from Dialogflow. |
TurnLevelAudio
A wrapper for holding the audio for any given turn.
| Fields | |
|---|---|
audio_gcs_uri |
The Cloud Storage URI of the audio for any given turn. |
audio_duration |
The duration of the audio. |
ConversationLevelSentiment
One channel of conversation-level sentiment data.
| Fields | |
|---|---|
channel_tag |
The channel of the audio that the data applies to. |
sentiment_data |
Data specifying sentiment. |
ConversationLevelSilence
Conversation-level silence data.
| Fields | |
|---|---|
silence_duration |
Amount of time calculated to be in silence. |
silence_percentage |
Percentage of the total conversation spent in silence. |
ConversationParticipant
The call participant speaking for a given utterance.
| Fields | |
|---|---|
dialogflow_participant |
Deprecated. Use |
obfuscated_external_user_id |
Obfuscated user ID from Dialogflow. |
role |
The role of the participant. |
Union field
|
|
dialogflow_participant_name |
The name of the participant provided by Dialogflow. Format: projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant} |
user_id |
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 |
The summarization content that is concatenated into one string. |
text_sections |
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 |
The confidence score of the summarization. |
metadata |
A map that contains metadata about the summarization and the document from which it originates. |
answer_record |
The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record} |
conversation_model |
The name of the model that generates this summary. Format: projects/{project}/locations/{location}/conversationModels/{conversation_model} |
generator_id |
Agent Assist generator ID. |
CreateAnalysisOperationMetadata
Metadata for a create analysis operation.
| Fields | |
|---|---|
create_time |
Output only. The time the operation was created. |
end_time |
Output only. The time the operation finished running. |
conversation |
Output only. The Conversation that this Analysis Operation belongs to. |
annotator_selector |
Output only. The annotator selector used for the analysis (if any). |
CreateIssueMetadata
Metadata for creating an issue.
| Fields | |
|---|---|
create_time |
Output only. The time the operation was created. |
end_time |
Output only. The time the operation finished running. |
request |
The original request for creation. |
CreateIssueModelMetadata
Metadata for creating an issue model.
| Fields | |
|---|---|
create_time |
Output only. The time the operation was created. |
end_time |
Output only. The time the operation finished running. |
request |
The original request for creation. |
CreateIssueModelRequest
The request to create an issue model.
| Fields | |
|---|---|
parent |
Required. The parent resource of the issue model. |
issue_model |
Required. The issue model to create. |
CreateIssueRequest
The request to create an issue.
| Fields | |
|---|---|
parent |
Required. The parent resource of the issue. |
issue |
Required. The values for the new issue. |
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 |
Immutable. Identifier. Resource name of the dataset. Format: projects/{project}/locations/{location}/datasets/{dataset} |
display_name |
Display name for the dataaset |
description |
Dataset description. |
type |
Dataset usage type. |
ttl |
Optional. Option TTL for the dataset. |
create_time |
Output only. Dataset create time. |
update_time |
Output only. Dataset update time. |
satisfies_pzi |
Output only. Whether this resource is zone isolated. |
satisfies_pzs |
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) |
DeleteIssueModelMetadata
Metadata for deleting an issue model.
| Fields | |
|---|---|
create_time |
Output only. The time the operation was created. |
end_time |
Output only. The time the operation finished running. |
request |
The original request for deletion. |
DeleteIssueModelRequest
The request to delete an issue model.
| Fields | |
|---|---|
name |
Required. The name of the issue model to delete. |
DeleteQaQuestionTagMetadata
The metadata for deleting a QaQuestionTag Resource.
| Fields | |
|---|---|
create_time |
Output only. The time the operation was created. |
end_time |
Output only. The time the operation finished running. |
request |
Output only. The original request. |
DeleteQaQuestionTagRequest
The request for deleting a QaQuestionTag.
| Fields | |
|---|---|
name |
Required. The name of the QaQuestionTag to delete. |
DeployIssueModelMetadata
Metadata for deploying an issue model.
| Fields | |
|---|---|
create_time |
Output only. The time the operation was created. |
end_time |
Output only. The time the operation finished running. |
request |
The original request for deployment. |
DeployIssueModelRequest
The request to deploy an issue model.
| Fields | |
|---|---|
name |
Required. The issue model to deploy. |
DeployIssueModelResponse
This type has no fields.
The response to deploy an issue model.
DialogflowIntent
The data for a Dialogflow intent. Represents a detected intent in the conversation, e.g. MAKES_PROMISE.
| Fields | |
|---|---|
display_name |
The human-readable name of the intent. |
DialogflowInteractionData
Dialogflow interaction data.
| Fields | |
|---|---|
dialogflow_intent_id |
The Dialogflow intent resource path. Format: projects/{project}/agent/{agent}/intents/{intent} |
confidence |
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 |
Output only. The name of the Dialogflow conversation that this conversation resource is derived from. Format: projects/{project}/locations/{location}/conversations/{conversation} |
audio_uri |
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 |
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 |
Output only. Metadata about the issue dimension. |
agent_dimension_metadata |
Output only. Metadata about the agent dimension. |
qa_question_dimension_metadata |
Output only. Metadata about the QA question dimension. |
qa_question_answer_dimension_metadata |
Output only. Metadata about the QA question-answer dimension. |
qa_scorecard_dimension_metadata |
Output only. Metadata about the QA scorecard dimension. |
conversation_profile_dimension_metadata |
Output only. Metadata about the conversation profile dimension. |
medium_dimension_metadata |
Output only. Metadata about the conversation medium dimension. |
conversational_agents_playbook_dimension_metadata |
Output only. Metadata about the Conversational Agents playbook dimension. |
conversational_agents_tool_dimension_metadata |
Output only. Metadata about the Conversational Agents tool dimension. |
client_sentiment_category_dimension_metadata |
Output only. Metadata about the client sentiment category dimension. |
label_dimension_metadata |
Output only. Metadata about conversation labels. |
AgentDimensionMetadata
Metadata about the agent dimension.
| Fields | |
|---|---|
agent_id |
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 |
Optional. The agent's name This will be populated for AGENT, AGENT_TEAM, AGENT_VERSION_ID, and AGENT_DEPLOYMENT_ID dimensions. |
agent_team |
Optional. A user-specified string representing the agent's team. |
agent_version_display_name |
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 |
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 |
Optional. The agent's deployment display name. Only applicable to automated agents. This will be populated for AGENT_DEPLOYMENT_ID dimensions. |
agent_deployment_id |
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 |
Optional. The client sentiment category. |
ConversationProfileDimensionMetadata
Metadata about the conversation profile dimension.
| Fields | |
|---|---|
conversation_profile_id |
Optional. The conversation profile ID. |
ConversationalAgentsPlaybookDimensionMetadata
Metadata about the Conversational Agents playbook dimension.
| Fields | |
|---|---|
playbook_id |
Optional. The dialogflow playbook ID. |
playbook_display_name |
Optional. The dialogflow playbook display name. |
ConversationalAgentsToolDimensionMetadata
Metadata about the Conversational Agents tool dimension.
| Fields | |
|---|---|
tool_id |
Optional. The dialogflow tool ID. |
tool_display_name |
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 |
The issue ID. |
issue_display_name |
The issue display name. |
issue_model_id |
The parent issue model ID. |
LabelDimensionMetadata
Metadata about conversation labels.
| Fields | |
|---|---|
label_key |
Optional. The label key. |
label_value |
Optional. The label value. |
MediumDimensionMetadata
Metadata about the conversation medium dimension.
| Fields | |
|---|---|
medium |
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 |
Optional. The QA scorecard ID. |
qa_question_id |
Optional. The QA question ID. |
question_body |
Optional. The full body of the question. |
answer_value |
Optional. The full body of the question. |
QaQuestionDimensionMetadata
Metadata about the QA question dimension.
| Fields | |
|---|---|
qa_scorecard_id |
Optional. The QA scorecard ID. |
qa_question_id |
Optional. The QA question ID. |
question_body |
Optional. The full body of the question. |
QaScorecardDimensionMetadata
Metadata about the QA scorecard dimension.
| Fields | |
|---|---|
qa_scorecard_id |
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 |
Immutable. The resource name of the encryption key specification resource. Format: projects/{project}/locations/{location}/encryptionSpec |
kms_key |
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: |
satisfies_pzi |
Output only. Whether this resource is zone isolated. |
satisfies_pzs |
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 |
The representative name for the entity. |
type |
The entity type. |
metadata |
Metadata associated with the entity. For most entity types, the metadata is a Wikipedia URL ( |
salience |
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 |
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:
|
ADDRESS |
Address. The metadata identifies the street number and locality plus whichever additional elements appear in the text:
|
DATE |
Date. The metadata identifies the components of the date:
|
NUMBER |
Number. The metadata is the number itself. |
PRICE |
Price. The metadata identifies the |
EntityMentionData
The data for an entity mention annotation. This represents a mention of an Entity in the conversation.
| Fields | |
|---|---|
entity_unique_id |
The key of this entity in conversation entities. Can be used to retrieve the exact |
type |
The type of the entity mention. |
sentiment |
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). |
ExportInsightsDataMetadata
Metadata for an export insights operation.
| Fields | |
|---|---|
create_time |
Output only. The time the operation was created. |
end_time |
Output only. The time the operation finished running. |
request |
The original request for export. |
partial_errors[] |
Partial errors during export operation that might cause the operation output to be incomplete. |
completed_export_count |
The number of conversations that were exported successfully. |
failed_export_count |
The number of conversations that failed to be exported. |
ExportInsightsDataRequest
The request to export insights.
| Fields | |
|---|---|
parent |
Required. The parent resource to export data from. |
filter |
A filter to reduce results to a specific subset. Useful for exporting conversations with specific properties. |
kms_key |
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 |
Options for what to do if the destination table already exists. |
export_schema_version |
Optional. Version of the export schema. |
Union field destination. Exporter destination. destination can be only one of the following: |
|
big_query_destination |
Specified if sink is a BigQuery table. |
BigQueryDestination
A BigQuery Table Reference.
| Fields | |
|---|---|
project_id |
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 |
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 |
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 |
The time the operation was created. |
end_time |
The time the operation finished running. |
request |
The original export request. |
ExportIssueModelRequest
Request to export an issue model.
| Fields | |
|---|---|
name |
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 |
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 |
Required. Format: |
ExportIssueModelResponse
This type has no fields.
Response from export issue model
FaqAnswerData
Agent Assist frequently-asked-question answer data.
| Fields | |
|---|---|
answer |
The piece of text from the |
confidence_score |
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 |
The corresponding FAQ question. |
metadata |
Map that contains metadata about the FAQ answer and the document that it originates from. |
query_record |
The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record} |
source |
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 |
Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label} |
labeled_resource |
Name of the resource to be labeled. Supported resources are:
|
create_time |
Output only. Create time of the label. |
update_time |
Output only. Update time of the label. |
satisfies_pzi |
Output only. Whether this resource is zone isolated. |
satisfies_pzs |
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 label used for Topic Modeling. |
qa_answer_label |
QaAnswer label used for Quality AI example conversations. |
GcsSource
A Cloud Storage source of conversation data.
| Fields | |
|---|---|
audio_uri |
Immutable. Deprecated: Use Cloud Storage URI that points to a file that contains the conversation audio. |
transcript_uri |
Immutable. Cloud Storage URI that points to a file that contains the conversation transcript. |
audio_uris[] |
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). |
GenerativeInsightConversationTranscript
The conversation transcript for the chart.
| Fields | |
|---|---|
conversation_id |
The conversation id of the chart. |
create_time |
Output only. The create time of the conversation. |
update_time |
Output only. The update time of the conversation. |
messages[] |
Ordered list of messages, including user inputs and system responses. |
Message
The message in the conversation.
| Fields | |
|---|---|
message_id |
The message id of the message. |
create_time |
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 |
A message from the user that is interacting with the system. |
system_message_wrapper |
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 |
A direct natural language response to the user message. |
generated_sql_query |
Raw SQL from LLM, before templatization |
chart_spec |
Chart spec from LLM |
user_provided_sql_query |
Optional. User provided SQL query |
user_provided_chart_spec |
Optional. User provided chart spec |
TextOutput
A text output message from the system.
| Fields | |
|---|---|
text[] |
The parts of the message. |
text_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[] |
A message from the system in response to the user. |
UserMessage
The user message.
| Fields | |
|---|---|
text |
A message from the user that is interacting with the system. |
GenerativeInsightsMetadata
The metadata for generative insights.
| Fields | |
|---|---|
error_messages[] |
The error message when the generative insights request fails. |
GenerativeInsightsResponse
The response for generative insights.
| Fields | |
|---|---|
generative_responses[] |
The full list of generative responses. Each response is ordered by time. |
transcript |
The transcript of the generative insights conversation. |
time_zone |
The time zone name from the IANA Time Zone Database that the query actually used to group results. Equals the requested |
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 |
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 |
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 |
The chart spec for the data. This will be specified in the vega-lite or vega format. |
text_message |
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[] |
The text output from the LLM. |
text_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. |
HoldData
This type has no fields.
The data for a hold annotation.
ImportIssueModelMetadata
Metadata used for import issue model.
| Fields | |
|---|---|
create_time |
The time the operation was created. |
end_time |
The time the operation finished running. |
request |
The original import request. |
ImportIssueModelRequest
Request to import an issue model.
| Fields | |
|---|---|
parent |
Required. The parent resource of the issue model. |
create_new_model |
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 |
Google Cloud Storage source message. |
GcsSource
Google Cloud Storage Object URI to get the issue model file from.
| Fields | |
|---|---|
object_uri |
Required. Format: |
ImportIssueModelResponse
Response from import issue model
| Fields | |
|---|---|
issue_model |
The issue model that was imported. |
IngestConversationsMetadata
The metadata for an IngestConversations operation.
| Fields | |
|---|---|
create_time |
Output only. The time the operation was created. |
end_time |
Output only. The time the operation finished running. |
request |
Output only. The original request for ingest. |
partial_errors[] |
Output only. Partial errors during ingest operation that might cause the operation output to be incomplete. |
ingest_conversations_stats |
Output only. Statistics for IngestConversations operation. |
sampled_conversations[] |
Output only. Stores the conversation resources produced by ingest sampling operations. |
IngestConversationsStats
Statistics for IngestConversations operation.
| Fields | |
|---|---|
processed_object_count |
Output only. The number of objects processed during the ingest operation. |
duplicates_skipped_count |
Output only. The number of objects skipped because another conversation with the same transcript uri had already been ingested. |
successful_ingest_count |
Output only. The number of new conversations added during this ingest operation. |
failed_ingest_count |
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 |
Required. The parent resource for new conversations. |
conversation_config |
Configuration that applies to all conversations. |
redaction_config |
Optional. DLP settings for transcript redaction. Optional, will default to the config specified in Settings. |
speech_config |
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 |
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 |
Configuration for when |
sample_size |
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 |
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 |
agent_channel |
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 |
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 |
Optional. The Cloud Storage bucket containing source objects. Avoid passing this. Pass this through one of |
bucket_object_type |
Optional. Specifies the type of the objects in |
custom_metadata_keys[] |
Optional. Custom keys to extract as conversation labels from metadata files in |
transcript_bucket_uri |
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. |
audio_bucket_uri |
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. |
metadata_bucket_uri |
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. |
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 |
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 |
Output only. The time the operation was created. |
end_time |
Output only. The time the operation finished running. |
request |
Output only. The original request for initialization. |
partial_errors[] |
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 |
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 |
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 |
The unique identifier of the intent. |
display_name |
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 |
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 |
Immutable. The resource name of the issue. Format: projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue} |
display_name |
The representative name for the issue. |
create_time |
Output only. The time at which this issue was created. |
update_time |
Output only. The most recent time that this issue was updated. |
sample_utterances[] |
Output only. Resource names of the sample representative utterances that match to this issue. |
display_description |
Representative description of the issue. |
IssueAssignment
Information about the issue.
| Fields | |
|---|---|
issue |
Resource name of the assigned issue. |
score |
Score indicating the likelihood of the issue assignment. currently bounded on [0,1]. |
display_name |
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 |
Information about the issue's assignment. |
IssueModel
The issue model resource.
| Fields | |
|---|---|
name |
Immutable. The resource name of the issue model. Format: projects/{project}/locations/{location}/issueModels/{issue_model} |
display_name |
The representative name for the issue model. |
create_time |
Output only. The time at which this issue model was created. |
update_time |
Output only. The most recent time at which the issue model was updated. |
issue_count |
Output only. Number of issues in this issue model. |
state |
Output only. State of the model. |
input_data_config |
Configs for the input data that used to create the issue model. |
training_stats |
Output only. Immutable. The issue model's label statistics on its training data. |
model_type |
Type of the model. |
language_code |
Language of the model. |
InputDataConfig
Configs for the input data used to create the issue model.
| Fields | |
|---|---|
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 |
training_conversations_count |
Output only. Number of conversations used in training. Output only. |
filter |
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 |
Number of conversations the issue model has analyzed at this point in time. |
unclassified_conversations_count |
Number of analyzed conversations for which no issue was applicable at this point in time. |
issue_stats |
Statistics on each issue. Key is the issue's resource name. |
IssueStats
Aggregated statistics about an issue.
| Fields | |
|---|---|
issue |
Issue resource. Format: projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue} |
labeled_conversations_count |
Number of conversations attached to the issue at this point in time. |
display_name |
Display name of the issue. |
IssueModelResult
Issue Modeling result on a conversation.
| Fields | |
|---|---|
issue_model |
Issue model that generates the result. Format: projects/{project}/locations/{location}/issueModels/{issue_model} |
issues[] |
All the matched issues. |
ListAllFeedbackLabelsResponse
The response for listing all feedback labels.
| Fields | |
|---|---|
feedback_labels[] |
The feedback labels that match the request. |
next_page_token |
A token, which can be sent as |
ListFeedbackLabelsResponse
The response for listing feedback labels.
| Fields | |
|---|---|
feedback_labels[] |
The feedback labels that match the request. |
next_page_token |
The next page token. |
PhraseMatchData
The data for a matched phrase matcher. Represents information identifying a phrase matcher for a given match.
| Fields | |
|---|---|
phrase_matcher |
The unique identifier (the resource name) of the phrase matcher. |
display_name |
The human-readable name of the phrase matcher. |
QaAnswer
An answer to a QaQuestion.
| Fields | |
|---|---|
qa_question |
The QaQuestion answered by this answer. |
conversation |
The conversation the answer applies to. |
question_body |
Question text. E.g., "Did the agent greet the customer?" |
answer_value |
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 |
tags[] |
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[] |
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 |
What created the answer. |
answer_value |
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 |
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 |
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 value. |
num_value |
Numerical value. |
bool_value |
Boolean value. |
na_value |
A value of "Not Applicable (N/A)". Should only ever be |
skip_value |
Output only. A value of "Skip". If provided, this field may only be set to |
score |
Output only. Numerical score of the answer. |
potential_score |
Output only. The maximum potential score of the question. |
normalized_score |
Output only. Normalized score of the questions. Calculated as score / potential_score. |
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 |
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 |
Required. A user-specified display name for the tag. |
qa_question_ids[] |
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 |
Output only. The time at which the question tag was created. |
update_time |
Output only. The most recent time at which the question tag was updated. |
satisfies_pzi |
Output only. Whether this resource is zone isolated. |
satisfies_pzs |
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 |
Identifier. The name of the scorecard result. Format: projects/{project}/locations/{location}/qaScorecardResults/{qa_scorecard_result} |
qa_scorecard_revision |
The QaScorecardRevision scored by this result. |
conversation |
The conversation scored by this result. |
create_time |
Output only. The timestamp that the revision was created. |
agent_id |
ID of the agent that handled the conversation. |
qa_answers[] |
Set of QaAnswers represented in the result. |
qa_tag_results[] |
Collection of tags and their scores. |
score_sources[] |
List of all individual score sets. |
score |
The overall numerical score of the result, incorporating any manual edits if they exist. |
potential_score |
The maximum potential overall score of the scorecard. Any questions answered using |
normalized_score |
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 |
The tag the score applies to. |
score |
The score the tag applies to. |
potential_score |
The potential score the tag applies to. |
normalized_score |
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 |
What created the score. |
qa_tag_results[] |
Collection of tags and their scores. |
score |
The overall numerical score of the result. |
potential_score |
The maximum potential overall score of the scorecard. Any questions answered using |
normalized_score |
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. |
QueryMetricsMetadata
The metadata from querying metrics.
| Fields | |
|---|---|
result_is_truncated |
Whether the result rows were truncated because the result row size is too large to materialize. |
QueryMetricsResponse
The response for querying metrics.
| Fields | |
|---|---|
location |
Required. The location of the data. "projects/{project}/locations/{location}" |
update_time |
The metrics last update time. |
slices[] |
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 |
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[] |
A unique combination of dimensions that this slice represents. |
total |
The total metric value. The interval of this data point is [starting create time, ending create time) from the request. |
time_series |
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 |
The interval that this data point represents.
|
Union field measure. The measure included in this data point. measure can be only one of the following: |
|
conversation_measure |
The measure related to conversations. |
dialogflow_interaction_measure |
The measure related to dialogflow interactions. |
ConversationMeasure
The measure related to conversations.
| Fields | |
|---|---|
qa_tag_scores[] |
Average QA normalized score for all the tags. |
conversation_count |
The conversation count. |
average_silence_percentage |
The average silence percentage. |
average_duration |
The average duration. |
average_turn_count |
The average turn count. |
average_agent_sentiment_score |
The average agent's sentiment score. |
average_client_sentiment_score |
The average client's sentiment score. |
average_customer_satisfaction_rating |
The average customer satisfaction rating. |
average_qa_normalized_score |
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 |
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 |
Count of knowledge search results (Generative Knowledge Assist) shown to the user. |
knowledge_search_agent_query_source_ratio |
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 |
Proportion of knowledge search (Generative Knowledge Assist) queries suggested compared to the total number of knowledge search queries made. |
knowledge_assist_result_count |
Count of knowledge assist results (Proactive Generative Knowledge Assist) shown to the user. |
knowledge_search_uri_click_ratio |
Proportion of knowledge search (Generative Knowledge Assist) queries that had a URL clicked. |
knowledge_assist_uri_click_ratio |
Proportion of knowledge assist (Proactive Generative Knowledge Assist) queries that had a URL clicked. |
knowledge_search_positive_feedback_ratio |
Proportion of knowledge search (Generative Knowledge Assist) queries that had positive feedback. |
knowledge_search_negative_feedback_ratio |
Proportion of knowledge search (Generative Knowledge Assist) queries that had negative feedback. |
knowledge_assist_positive_feedback_ratio |
Proportion of knowledge assist (Proactive Generative Knowledge Assist) queries that had positive feedback. |
knowledge_assist_negative_feedback_ratio |
Proportion of knowledge assist (Proactive Generative Knowledge Assist) queries that had negative feedback. |
summarization_suggestion_edit_ratio |
Proportion of summarization suggestions that were manually edited. |
average_summarization_suggestion_edit_distance |
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 |
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 |
Proportion of conversations that had a suggested summary. |
summarization_suggestion_result_count |
Count of summarization suggestions results. |
dialogflow_interactions_no_match_ratio |
Proportion of dialogflow interactions that has no intent match for the input. |
dialogflow_interactions_no_input_ratio |
Proportion of dialogflow interactions that has empty input. |
dialogflow_webhook_failure_ratio |
Proportion of dialogflow webhook calls that failed. |
dialogflow_webhook_timeout_ratio |
Proportion of dialogflow webhook calls that timed out. |
dialogflow_average_webhook_latency |
Average latency of dialogflow webhook calls. |
dialogflow_conversations_escalation_ratio |
Proportion of conversations that was handed off from virtual agent to human agent. |
dialogflow_conversations_escalation_count |
count of conversations that was handed off from virtual agent to human agent. |
conversational_agents_average_tts_latency |
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 |
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 |
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 |
Proportion of conversations that has Ai Coach Suggestions. |
ai_coach_suggestion_agent_usage_ratio |
Proportion of Ai Coach Suggestion that has been used by agents. |
ai_coach_suggestion_customer_message_trigger_ratio |
Proportion of customer messages that triggered an Ai Coach Suggestion. |
conversational_agents_average_end_to_end_latency |
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 |
Count of conversations that has Ai Coach Suggestions. |
ai_coach_suggestion_agent_usage_count |
Count of Ai Coach Suggestion that has been used by agents. |
ai_coach_suggestion_customer_message_trigger_count |
Count of customer messages that triggered an Ai Coach Suggestion. |
ai_coach_suggestion_agent_message_trigger_count |
Count of agent messages that triggered an Ai Coach Suggestion. |
conversation_total_customer_message_count |
The customer message count. |
conversation_total_agent_message_count |
The agent message count. |
aa_supervisor_monitored_conversations_count |
The number of conversations scanned by the AA human supervisor. |
aa_supervisor_escalated_conversations_count |
The number of conversations that were escalated to an AA human supervisor for intervention. |
aa_supervisor_assigned_conversations_count |
The number of conversations that were assigned to an AA human supervisor. |
aa_supervisor_dropped_conversations_count |
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 |
The number of conversations transferred to a human agent. |
avg_conversation_client_turn_sentiment_ema |
The exponential moving average of the sentiment score of client turns in the conversation. |
ai_coach_suggestion_message_trigger_ratio |
Proportion of end_of_utterance trigger event messages that triggered an Ai Coach Suggestion. |
ai_coach_suggestion_message_trigger_count |
Count of end_of_utterance trigger event messages that triggered an Ai Coach Suggestion. |
contained_conversation_count |
The number of conversations that were contained. |
contained_conversation_ratio |
The percentage of conversations that were contained. |
QaTagScore
Average QA normalized score for the tag.
| Fields | |
|---|---|
tag |
Tag name. |
average_tag_normalized_score |
Average tag normalized score per tag. |
DialogflowInteractionMeasure
The measure related to dialogflow interactions.
| Fields | |
|---|---|
percentile_audio_in_audio_out_latency |
The percentile result for audio in audio out latency in milliseconds per dialogflow interaction level. |
percentile_llm_call_latency |
The percentile result for LLM latency in milliseconds per dialogflow interaction level. |
percentile_tts_latency |
The percentile result for TTS latency in milliseconds per dialogflow interaction level. |
percentile_tool_use_latency |
The percentile result for tool use latency in milliseconds per dialogflow interaction level. |
percentile_end_to_end_latency |
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 |
The 50th percentile value. |
p90 |
The 90th percentile value. |
p99 |
The 99th percentile value. |
TimeSeries
A time series of metric values.
| Fields | |
|---|---|
data_points[] |
The data points that make up the time series . |
QueryPerformanceOverviewMetadata
This type has no fields.
The metadata for querying performance overview.
QueryPerformanceOverviewResponse
The response for querying performance overview.
| Fields | |
|---|---|
summary_text |
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 |
The fully-qualified DLP deidentify template resource name. Format: |
inspect_template |
The fully-qualified DLP inspect template resource name. Format: |
RuntimeAnnotation
An annotation that was generated during the customer and agent interaction.
| Fields | |
|---|---|
annotation_id |
The unique identifier of the annotation. Format: projects/{project}/locations/{location}/conversationDatasets/{dataset}/conversationDataItems/{data_item}/conversationAnnotations/{annotation} |
create_time |
The time at which this annotation was created. |
start_boundary |
The boundary in the conversation where the annotation starts, inclusive. |
end_boundary |
The boundary in the conversation where the annotation ends, inclusive. |
answer_feedback |
The feedback that the customer has about the answer in |
user_input |
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 |
Agent Assist Article Suggestion data. |
faq_answer |
Agent Assist FAQ answer data. |
smart_reply |
Agent Assist Smart Reply data. |
smart_compose_suggestion |
Agent Assist Smart Compose suggestion data. |
dialogflow_interaction |
Dialogflow interaction data. |
conversation_summarization_suggestion |
Conversation summarization suggestion data. |
ces_turn_annotation |
The CES turn annotation. |
ces_end_session_annotation |
The CES end session annotation. |
UserInput
Explicit input used for generating the answer
| Fields | |
|---|---|
query |
Query text. Article Search uses this to store the input query used to generate the search results. |
generator_name |
The resource name of associated generator. Format: |
query_source |
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 |
Output only. The time the operation was created. |
end_time |
Output only. The time the operation finished running. |
request |
Output only. The original request for sample conversations to dataset. |
partial_errors[] |
Output only. Partial errors during sample conversations operation that might cause the operation output to be incomplete. |
sample_conversations_stats |
Output only. Statistics for SampleConversations operation. |
SampleConversationsStats
Statistics for SampleConversations operation.
| Fields | |
|---|---|
successful_sample_count |
Output only. The number of new conversations added during this sample operation. |
failed_sample_count |
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 |
Required. The parent resource of the dataset. |
sample_rule |
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 |
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 |
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 |
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 |
Percentage of conversations that we should sample based on the dimension between [0, 100]. |
sample_row |
Number of the conversations that we should sample based on the dimension. |
SentimentData
The data for a sentiment annotation.
| Fields | |
|---|---|
magnitude |
A non-negative number from 0 to infinity which represents the absolute magnitude of sentiment regardless of score. |
score |
The sentiment score between -1.0 (negative) and 1.0 (positive). |
SilenceData
This type has no fields.
The data for a silence annotation.
SmartComposeSuggestionData
Agent Assist Smart Compose suggestion data.
| Fields | |
|---|---|
suggestion |
The content of the suggestion. |
confidence_score |
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 that contains metadata about the Smart Compose suggestion and the document from which it originates. |
query_record |
The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record} |
SmartReplyData
Agent Assist Smart Reply data.
| Fields | |
|---|---|
reply |
The content of the reply. |
confidence_score |
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 that contains metadata about the Smart Reply and the document from which it originates. |
query_record |
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 |
The fully-qualified Speech Recognizer resource name. Format: |
disable_word_time_offsets |
Whether to disable word time offsets. If true, the |
TestCorrelationConfigMetadata
Metadata for testing correlation config.
| Fields | |
|---|---|
create_time |
Output only. The time the operation was created. |
dataset |
The dataset used for sampling conversations. |
stats |
The statistics for the operation. |
FullConversationCorrelationStats
Statistics for TestCorrelationConfig operation.
| Fields | |
|---|---|
sampled_conversations_count |
The number of conversations sampled. |
correlated_conversations_count |
The number of conversations correlated. |
failed_conversations_count |
The number of conversations that failed correlation. |
partial_errors[] |
Partial errors during test correlation config operation that might cause the operation output to be incomplete. |
conversation_correlation_errors[] |
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 |
The conversation resource name that had an error during correlation. |
status |
The error status. |
TestCorrelationConfigResponse
The response of testing correlation config.
| Fields | |
|---|---|
detailed_results |
Results for the DETAILED_SYNC execution mode. |
partial_errors[] |
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[] |
A list of join key correlation results for each conversation tested. |
constraint_results[] |
A list of constraint evaluation results for each pair of conversations. |
UndeployIssueModelMetadata
Metadata for undeploying an issue model.
| Fields | |
|---|---|
create_time |
Output only. The time the operation was created. |
end_time |
Output only. The time the operation finished running. |
request |
The original request for undeployment. |
UndeployIssueModelRequest
The request to undeploy an issue model.
| Fields | |
|---|---|
name |
Required. The issue model to undeploy. |
UndeployIssueModelResponse
This type has no fields.
The response to undeploy an issue model.
UpdateQaQuestionTagMetadata
The metadata for updating a QaQuestionTag Resource.
| Fields | |
|---|---|
create_time |
Output only. The time the operation was created. |
end_time |
Output only. The time the operation finished running. |
request |
Output only. The original request. |
UpdateQaQuestionTagRequest
The request for updating a QaQuestionTag.
| Fields | |
|---|---|
qa_question_tag |
Required. The QaQuestionTag to update. |
update_mask |
Optional. The list of fields to be updated. All possible fields can be updated by passing
|
UploadConversationMetadata
The metadata for an UploadConversation operation.
| Fields | |
|---|---|
create_time |
Output only. The time the operation was created. |
end_time |
Output only. The time the operation finished running. |
request |
Output only. The original request. |
analysis_operation |
Output only. The operation name for a successfully created analysis operation, if any. |
applied_redaction_config |
Output only. The redaction config applied to the uploaded conversation. |
UploadConversationRequest
Request to upload a conversation.
| Fields | |
|---|---|
parent |
Required. The parent resource of the conversation. |
conversation |
Required. The conversation resource to create. |
conversation_id |
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 |
redaction_config |
Optional. DLP settings for transcript redaction. Will default to the config specified in Settings. |
speech_config |
Optional. Speech-to-Text configuration. Will default to the config specified in Settings. |