@maxim_mazurok/gapi.client.contactcenterinsights-v1 0.1.20251125 → 0.1.20251219
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +1494 -88
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://contactcenterinsights.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20251219
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -948,9 +948,9 @@ declare namespace gapi.client {
|
|
|
948
948
|
phraseMatcher?: string;
|
|
949
949
|
}
|
|
950
950
|
interface GoogleCloudContactcenterinsightsV1alpha1QaAnswer {
|
|
951
|
-
/**
|
|
951
|
+
/** 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. */
|
|
952
952
|
answerSources?: GoogleCloudContactcenterinsightsV1alpha1QaAnswerAnswerSource[];
|
|
953
|
-
/** The
|
|
953
|
+
/** The answer value from this source. This field is populated by default, unless the question has a selection strategy configured to return multiple answer values, in which case `answer_values` will be populated instead. */
|
|
954
954
|
answerValue?: GoogleCloudContactcenterinsightsV1alpha1QaAnswerAnswerValue;
|
|
955
955
|
/** The conversation the answer applies to. */
|
|
956
956
|
conversation?: string;
|
|
@@ -962,7 +962,7 @@ declare namespace gapi.client {
|
|
|
962
962
|
tags?: string[];
|
|
963
963
|
}
|
|
964
964
|
interface GoogleCloudContactcenterinsightsV1alpha1QaAnswerAnswerSource {
|
|
965
|
-
/** The answer value from this source. */
|
|
965
|
+
/** The answer value from this source. This field is populated by default, unless the question has a selection strategy configured to return multiple answer values, in which case `answer_values` will be populated instead. */
|
|
966
966
|
answerValue?: GoogleCloudContactcenterinsightsV1alpha1QaAnswerAnswerValue;
|
|
967
967
|
/** What created the answer. */
|
|
968
968
|
sourceType?: string;
|
|
@@ -1215,6 +1215,8 @@ declare namespace gapi.client {
|
|
|
1215
1215
|
reply?: string;
|
|
1216
1216
|
}
|
|
1217
1217
|
interface GoogleCloudContactcenterinsightsV1alpha1SpeechConfig {
|
|
1218
|
+
/** Whether to disable word time offsets. If true, the `enable_word_time_offsets` field in the recognition config will be set to false. */
|
|
1219
|
+
disableWordTimeOffsets?: boolean;
|
|
1218
1220
|
/** The fully-qualified Speech Recognizer resource name. Format: `projects/{project_id}/locations/{location}/recognizer/{recognizer}` */
|
|
1219
1221
|
speechRecognizer?: string;
|
|
1220
1222
|
}
|
|
@@ -1717,6 +1719,12 @@ declare namespace gapi.client {
|
|
|
1717
1719
|
/** Cloud Storage URI that points to a file that contains the conversation metadata. */
|
|
1718
1720
|
metadataUri?: string;
|
|
1719
1721
|
}
|
|
1722
|
+
interface GoogleCloudContactcenterinsightsV1ConversationDataSourceTurnLevelAudio {
|
|
1723
|
+
/** The duration of the audio. */
|
|
1724
|
+
audioDuration?: string;
|
|
1725
|
+
/** The Cloud Storage URI of the audio for any given turn. */
|
|
1726
|
+
audioGcsUri?: string;
|
|
1727
|
+
}
|
|
1720
1728
|
interface GoogleCloudContactcenterinsightsV1ConversationLevelSentiment {
|
|
1721
1729
|
/** The channel of the audio that the data applies to. */
|
|
1722
1730
|
channelTag?: number;
|
|
@@ -2162,6 +2170,10 @@ declare namespace gapi.client {
|
|
|
2162
2170
|
/** Immutable. Cloud Storage URI that points to a file that contains the conversation transcript. */
|
|
2163
2171
|
transcriptUri?: string;
|
|
2164
2172
|
}
|
|
2173
|
+
interface GoogleCloudContactcenterinsightsV1GenerateConversationSignedAudioResponse {
|
|
2174
|
+
/** The signed uris for the audio. */
|
|
2175
|
+
signedAudioUris?: GoogleCloudContactcenterinsightsV1SignedAudioUris;
|
|
2176
|
+
}
|
|
2165
2177
|
interface GoogleCloudContactcenterinsightsV1HoldData {}
|
|
2166
2178
|
interface GoogleCloudContactcenterinsightsV1ImportIssueModelMetadata {
|
|
2167
2179
|
/** The time the operation was created. */
|
|
@@ -2372,103 +2384,1403 @@ declare namespace gapi.client {
|
|
|
2372
2384
|
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
2373
2385
|
nextPageToken?: string;
|
|
2374
2386
|
}
|
|
2375
|
-
interface GoogleCloudContactcenterinsightsV1ListAnalysisRulesResponse {
|
|
2376
|
-
/** The analysis_rule that match the request. */
|
|
2377
|
-
analysisRules?: GoogleCloudContactcenterinsightsV1AnalysisRule[];
|
|
2378
|
-
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
2379
|
-
nextPageToken?: string;
|
|
2387
|
+
interface GoogleCloudContactcenterinsightsV1ListAnalysisRulesResponse {
|
|
2388
|
+
/** The analysis_rule that match the request. */
|
|
2389
|
+
analysisRules?: GoogleCloudContactcenterinsightsV1AnalysisRule[];
|
|
2390
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
2391
|
+
nextPageToken?: string;
|
|
2392
|
+
}
|
|
2393
|
+
interface GoogleCloudContactcenterinsightsV1ListAssessmentRulesResponse {
|
|
2394
|
+
/** The assessment rules that match the request. */
|
|
2395
|
+
assessmentRules?: GoogleCloudContactcenterinsightsV1AssessmentRule[];
|
|
2396
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
2397
|
+
nextPageToken?: string;
|
|
2398
|
+
}
|
|
2399
|
+
interface GoogleCloudContactcenterinsightsV1ListAssessmentsResponse {
|
|
2400
|
+
/** The assessments that match the request. */
|
|
2401
|
+
assessments?: GoogleCloudContactcenterinsightsV1Assessment[];
|
|
2402
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
2403
|
+
nextPageToken?: string;
|
|
2404
|
+
}
|
|
2405
|
+
interface GoogleCloudContactcenterinsightsV1ListAuthorizedViewSetsResponse {
|
|
2406
|
+
/** The AuthorizedViewSets under the parent. */
|
|
2407
|
+
authorizedViewSets?: GoogleCloudContactcenterinsightsV1AuthorizedViewSet[];
|
|
2408
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
2409
|
+
nextPageToken?: string;
|
|
2410
|
+
}
|
|
2411
|
+
interface GoogleCloudContactcenterinsightsV1ListAuthorizedViewsResponse {
|
|
2412
|
+
/** The AuthorizedViews under the parent. */
|
|
2413
|
+
authorizedViews?: GoogleCloudContactcenterinsightsV1AuthorizedView[];
|
|
2414
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
2415
|
+
nextPageToken?: string;
|
|
2416
|
+
}
|
|
2417
|
+
interface GoogleCloudContactcenterinsightsV1ListConversationsResponse {
|
|
2418
|
+
/** The conversations that match the request. */
|
|
2419
|
+
conversations?: GoogleCloudContactcenterinsightsV1Conversation[];
|
|
2420
|
+
/** A token which can be sent as `page_token` to retrieve the next page. If this field is set, it means there is another page available. If it is not set, it means no other pages are available. */
|
|
2421
|
+
nextPageToken?: string;
|
|
2422
|
+
}
|
|
2423
|
+
interface GoogleCloudContactcenterinsightsV1ListDatasetsResponse {
|
|
2424
|
+
/** The datasets that match the request. */
|
|
2425
|
+
datasets?: GoogleCloudContactcenterinsightsV1Dataset[];
|
|
2426
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
2427
|
+
nextPageToken?: string;
|
|
2428
|
+
}
|
|
2429
|
+
interface GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse {
|
|
2430
|
+
/** The feedback labels that match the request. */
|
|
2431
|
+
feedbackLabels?: GoogleCloudContactcenterinsightsV1FeedbackLabel[];
|
|
2432
|
+
/** The next page token. */
|
|
2433
|
+
nextPageToken?: string;
|
|
2434
|
+
}
|
|
2435
|
+
interface GoogleCloudContactcenterinsightsV1ListIssueModelsResponse {
|
|
2436
|
+
/** The issue models that match the request. */
|
|
2437
|
+
issueModels?: GoogleCloudContactcenterinsightsV1IssueModel[];
|
|
2438
|
+
}
|
|
2439
|
+
interface GoogleCloudContactcenterinsightsV1ListIssuesResponse {
|
|
2440
|
+
/** The issues that match the request. */
|
|
2441
|
+
issues?: GoogleCloudContactcenterinsightsV1Issue[];
|
|
2442
|
+
}
|
|
2443
|
+
interface GoogleCloudContactcenterinsightsV1ListNotesResponse {
|
|
2444
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
2445
|
+
nextPageToken?: string;
|
|
2446
|
+
/** The notes that match the request. */
|
|
2447
|
+
notes?: GoogleCloudContactcenterinsightsV1Note[];
|
|
2448
|
+
}
|
|
2449
|
+
interface GoogleCloudContactcenterinsightsV1ListPhraseMatchersResponse {
|
|
2450
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
2451
|
+
nextPageToken?: string;
|
|
2452
|
+
/** The phrase matchers that match the request. */
|
|
2453
|
+
phraseMatchers?: GoogleCloudContactcenterinsightsV1PhraseMatcher[];
|
|
2454
|
+
}
|
|
2455
|
+
interface GoogleCloudContactcenterinsightsV1ListQaQuestionsResponse {
|
|
2456
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
2457
|
+
nextPageToken?: string;
|
|
2458
|
+
/** The QaQuestions under the parent. */
|
|
2459
|
+
qaQuestions?: GoogleCloudContactcenterinsightsV1QaQuestion[];
|
|
2460
|
+
}
|
|
2461
|
+
interface GoogleCloudContactcenterinsightsV1ListQaQuestionTagsResponse {
|
|
2462
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
2463
|
+
nextPageToken?: string;
|
|
2464
|
+
/** The parent resource of the questions. */
|
|
2465
|
+
qaQuestionTags?: GoogleCloudContactcenterinsightsV1QaQuestionTag[];
|
|
2466
|
+
}
|
|
2467
|
+
interface GoogleCloudContactcenterinsightsV1ListQaScorecardRevisionsResponse {
|
|
2468
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
2469
|
+
nextPageToken?: string;
|
|
2470
|
+
/** The QaScorecards under the parent. */
|
|
2471
|
+
qaScorecardRevisions?: GoogleCloudContactcenterinsightsV1QaScorecardRevision[];
|
|
2472
|
+
}
|
|
2473
|
+
interface GoogleCloudContactcenterinsightsV1ListQaScorecardsResponse {
|
|
2474
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
2475
|
+
nextPageToken?: string;
|
|
2476
|
+
/** The QaScorecards under the parent. */
|
|
2477
|
+
qaScorecards?: GoogleCloudContactcenterinsightsV1QaScorecard[];
|
|
2478
|
+
}
|
|
2479
|
+
interface GoogleCloudContactcenterinsightsV1ListViewsResponse {
|
|
2480
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
2481
|
+
nextPageToken?: string;
|
|
2482
|
+
/** The views that match the request. */
|
|
2483
|
+
views?: GoogleCloudContactcenterinsightsV1View[];
|
|
2484
|
+
}
|
|
2485
|
+
interface GoogleCloudContactcenterinsightsV1mainAnalysis {
|
|
2486
|
+
/** Output only. The result of the analysis, which is populated when the analysis finishes. */
|
|
2487
|
+
analysisResult?: GoogleCloudContactcenterinsightsV1mainAnalysisResult;
|
|
2488
|
+
/** To select the annotators to run and the phrase matchers to use (if any). If not specified, all annotators will be run. */
|
|
2489
|
+
annotatorSelector?: GoogleCloudContactcenterinsightsV1mainAnnotatorSelector;
|
|
2490
|
+
/** Output only. The time at which the analysis was created, which occurs when the long-running operation completes. */
|
|
2491
|
+
createTime?: string;
|
|
2492
|
+
/** Immutable. The resource name of the analysis. Format: projects/{project}/locations/{location}/conversations/{conversation}/analyses/{analysis} */
|
|
2493
|
+
name?: string;
|
|
2494
|
+
/** Output only. The time at which the analysis was requested. */
|
|
2495
|
+
requestTime?: string;
|
|
2496
|
+
}
|
|
2497
|
+
interface GoogleCloudContactcenterinsightsV1mainAnalysisResult {
|
|
2498
|
+
/** Call-specific metadata created by the analysis. */
|
|
2499
|
+
callAnalysisMetadata?: GoogleCloudContactcenterinsightsV1mainAnalysisResultCallAnalysisMetadata;
|
|
2500
|
+
/** The time at which the analysis ended. */
|
|
2501
|
+
endTime?: string;
|
|
2502
|
+
}
|
|
2503
|
+
interface GoogleCloudContactcenterinsightsV1mainAnalysisResultCallAnalysisMetadata {
|
|
2504
|
+
/** A list of call annotations that apply to this call. */
|
|
2505
|
+
annotations?: GoogleCloudContactcenterinsightsV1mainCallAnnotation[];
|
|
2506
|
+
/** All the entities in the call. */
|
|
2507
|
+
entities?: {[P in string]: GoogleCloudContactcenterinsightsV1mainEntity};
|
|
2508
|
+
/** All the matched intents in the call. */
|
|
2509
|
+
intents?: {[P in string]: GoogleCloudContactcenterinsightsV1mainIntent};
|
|
2510
|
+
/** Overall conversation-level issue modeling result. */
|
|
2511
|
+
issueModelResult?: GoogleCloudContactcenterinsightsV1mainIssueModelResult;
|
|
2512
|
+
/** All the matched phrase matchers in the call. */
|
|
2513
|
+
phraseMatchers?: {
|
|
2514
|
+
[P in string]: GoogleCloudContactcenterinsightsV1mainPhraseMatchData;
|
|
2515
|
+
};
|
|
2516
|
+
/** Results of scoring QaScorecards. */
|
|
2517
|
+
qaScorecardResults?: GoogleCloudContactcenterinsightsV1mainQaScorecardResult[];
|
|
2518
|
+
/** Overall conversation-level sentiment for each channel of the call. */
|
|
2519
|
+
sentiments?: GoogleCloudContactcenterinsightsV1mainConversationLevelSentiment[];
|
|
2520
|
+
/** Overall conversation-level silence during the call. */
|
|
2521
|
+
silence?: GoogleCloudContactcenterinsightsV1mainConversationLevelSilence;
|
|
2522
|
+
}
|
|
2523
|
+
interface GoogleCloudContactcenterinsightsV1mainAnnotationBoundary {
|
|
2524
|
+
/** The index in the sequence of transcribed pieces of the conversation where the boundary is located. This index starts at zero. */
|
|
2525
|
+
transcriptIndex?: number;
|
|
2526
|
+
/** The word index of this boundary with respect to the first word in the transcript piece. This index starts at zero. */
|
|
2527
|
+
wordIndex?: number;
|
|
2528
|
+
}
|
|
2529
|
+
interface GoogleCloudContactcenterinsightsV1mainAnnotatorSelector {
|
|
2530
|
+
/** 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. */
|
|
2531
|
+
issueModels?: string[];
|
|
2532
|
+
/** 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} */
|
|
2533
|
+
phraseMatchers?: string[];
|
|
2534
|
+
/** Configuration for the QA annotator. */
|
|
2535
|
+
qaConfig?: GoogleCloudContactcenterinsightsV1mainAnnotatorSelectorQaConfig;
|
|
2536
|
+
/** Whether to run the entity annotator. */
|
|
2537
|
+
runEntityAnnotator?: boolean;
|
|
2538
|
+
/** Whether to run the intent annotator. */
|
|
2539
|
+
runIntentAnnotator?: boolean;
|
|
2540
|
+
/** Whether to run the interruption annotator. */
|
|
2541
|
+
runInterruptionAnnotator?: boolean;
|
|
2542
|
+
/** Whether to run the issue model annotator. A model should have already been deployed for this to take effect. */
|
|
2543
|
+
runIssueModelAnnotator?: boolean;
|
|
2544
|
+
/** Whether to run the active phrase matcher annotator(s). */
|
|
2545
|
+
runPhraseMatcherAnnotator?: boolean;
|
|
2546
|
+
/** Whether to run the QA annotator. */
|
|
2547
|
+
runQaAnnotator?: boolean;
|
|
2548
|
+
/** Whether to run the sentiment annotator. */
|
|
2549
|
+
runSentimentAnnotator?: boolean;
|
|
2550
|
+
/** Whether to run the silence annotator. */
|
|
2551
|
+
runSilenceAnnotator?: boolean;
|
|
2552
|
+
/** Whether to run the summarization annotator. */
|
|
2553
|
+
runSummarizationAnnotator?: boolean;
|
|
2554
|
+
/** Configuration for the summarization annotator. */
|
|
2555
|
+
summarizationConfig?: GoogleCloudContactcenterinsightsV1mainAnnotatorSelectorSummarizationConfig;
|
|
2556
|
+
}
|
|
2557
|
+
interface GoogleCloudContactcenterinsightsV1mainAnnotatorSelectorQaConfig {
|
|
2558
|
+
/** A manual list of scorecards to score. */
|
|
2559
|
+
scorecardList?: GoogleCloudContactcenterinsightsV1mainAnnotatorSelectorQaConfigScorecardList;
|
|
2560
|
+
}
|
|
2561
|
+
interface GoogleCloudContactcenterinsightsV1mainAnnotatorSelectorQaConfigScorecardList {
|
|
2562
|
+
/** List of QaScorecardRevisions. */
|
|
2563
|
+
qaScorecardRevisions?: string[];
|
|
2564
|
+
}
|
|
2565
|
+
interface GoogleCloudContactcenterinsightsV1mainAnnotatorSelectorSummarizationConfig {
|
|
2566
|
+
/** Resource name of the Dialogflow conversation profile. Format: projects/{project}/locations/{location}/conversationProfiles/{conversation_profile} */
|
|
2567
|
+
conversationProfile?: string;
|
|
2568
|
+
/** The resource name of the existing created generator. Format: projects//locations//generators/ */
|
|
2569
|
+
generator?: string;
|
|
2570
|
+
/** Default summarization model to be used. */
|
|
2571
|
+
summarizationModel?: string;
|
|
2572
|
+
}
|
|
2573
|
+
interface GoogleCloudContactcenterinsightsV1mainAnswerFeedback {
|
|
2574
|
+
/** Indicates whether an answer or item was clicked by the human agent. */
|
|
2575
|
+
clicked?: boolean;
|
|
2576
|
+
/** The correctness level of an answer. */
|
|
2577
|
+
correctnessLevel?: string;
|
|
2578
|
+
/** Indicates whether an answer or item was displayed to the human agent in the agent desktop UI. */
|
|
2579
|
+
displayed?: boolean;
|
|
2580
|
+
}
|
|
2581
|
+
interface GoogleCloudContactcenterinsightsV1mainArticleSuggestionData {
|
|
2582
|
+
/** 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). */
|
|
2583
|
+
confidenceScore?: number;
|
|
2584
|
+
/** Map that contains metadata about the Article Suggestion and the document that it originates from. */
|
|
2585
|
+
metadata?: {[P in string]: string};
|
|
2586
|
+
/** The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record} */
|
|
2587
|
+
queryRecord?: string;
|
|
2588
|
+
/** The knowledge document that this answer was extracted from. Format: projects/{project}/knowledgeBases/{knowledge_base}/documents/{document} */
|
|
2589
|
+
source?: string;
|
|
2590
|
+
/** Article title. */
|
|
2591
|
+
title?: string;
|
|
2592
|
+
/** Article URI. */
|
|
2593
|
+
uri?: string;
|
|
2594
|
+
}
|
|
2595
|
+
interface GoogleCloudContactcenterinsightsV1mainBulkAnalyzeConversationsMetadata {
|
|
2596
|
+
/** The number of requested analyses that have completed successfully so far. */
|
|
2597
|
+
completedAnalysesCount?: number;
|
|
2598
|
+
/** The time the operation was created. */
|
|
2599
|
+
createTime?: string;
|
|
2600
|
+
/** The time the operation finished running. */
|
|
2601
|
+
endTime?: string;
|
|
2602
|
+
/** The number of requested analyses that have failed so far. */
|
|
2603
|
+
failedAnalysesCount?: number;
|
|
2604
|
+
/** Output only. Partial errors during bulk analyze operation that might cause the operation output to be incomplete. */
|
|
2605
|
+
partialErrors?: GoogleRpcStatus[];
|
|
2606
|
+
/** The original request for bulk analyze. */
|
|
2607
|
+
request?: GoogleCloudContactcenterinsightsV1mainBulkAnalyzeConversationsRequest;
|
|
2608
|
+
/** Total number of analyses requested. Computed by the number of conversations returned by `filter` multiplied by `analysis_percentage` in the request. */
|
|
2609
|
+
totalRequestedAnalysesCount?: number;
|
|
2610
|
+
}
|
|
2611
|
+
interface GoogleCloudContactcenterinsightsV1mainBulkAnalyzeConversationsRequest {
|
|
2612
|
+
/** Required. Percentage of selected conversation to analyze, between [0, 100]. */
|
|
2613
|
+
analysisPercentage?: number;
|
|
2614
|
+
/** To select the annotators to run and the phrase matchers to use (if any). If not specified, all annotators will be run. */
|
|
2615
|
+
annotatorSelector?: GoogleCloudContactcenterinsightsV1mainAnnotatorSelector;
|
|
2616
|
+
/** Required. Filter used to select the subset of conversations to analyze. */
|
|
2617
|
+
filter?: string;
|
|
2618
|
+
/** Required. The parent resource to create analyses in. */
|
|
2619
|
+
parent?: string;
|
|
2620
|
+
}
|
|
2621
|
+
interface GoogleCloudContactcenterinsightsV1mainBulkAnalyzeConversationsResponse {
|
|
2622
|
+
/** Count of failed analyses. */
|
|
2623
|
+
failedAnalysisCount?: number;
|
|
2624
|
+
/** Count of successful analyses. */
|
|
2625
|
+
successfulAnalysisCount?: number;
|
|
2626
|
+
}
|
|
2627
|
+
interface GoogleCloudContactcenterinsightsV1mainBulkDeleteConversationsMetadata {
|
|
2628
|
+
/** The time the operation was created. */
|
|
2629
|
+
createTime?: string;
|
|
2630
|
+
/** The time the operation finished running. */
|
|
2631
|
+
endTime?: string;
|
|
2632
|
+
/** Partial errors during bulk delete conversations operation that might cause the operation output to be incomplete. */
|
|
2633
|
+
partialErrors?: GoogleRpcStatus[];
|
|
2634
|
+
/** The original request for bulk delete. */
|
|
2635
|
+
request?: GoogleCloudContactcenterinsightsV1mainBulkDeleteConversationsRequest;
|
|
2636
|
+
}
|
|
2637
|
+
interface GoogleCloudContactcenterinsightsV1mainBulkDeleteConversationsRequest {
|
|
2638
|
+
/** Filter used to select the subset of conversations to delete. */
|
|
2639
|
+
filter?: string;
|
|
2640
|
+
/** 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. */
|
|
2641
|
+
force?: boolean;
|
|
2642
|
+
/** Maximum number of conversations to delete. */
|
|
2643
|
+
maxDeleteCount?: number;
|
|
2644
|
+
/** Required. The parent resource to delete conversations from. Format: projects/{project}/locations/{location} */
|
|
2645
|
+
parent?: string;
|
|
2646
|
+
}
|
|
2647
|
+
interface GoogleCloudContactcenterinsightsV1mainBulkDeleteConversationsResponse {}
|
|
2648
|
+
interface GoogleCloudContactcenterinsightsV1mainBulkDeleteFeedbackLabelsMetadata {
|
|
2649
|
+
/** Partial errors during deletion operation that might cause the operation output to be incomplete. */
|
|
2650
|
+
partialErrors?: GoogleRpcStatus[];
|
|
2651
|
+
/** Output only. The original request for delete. */
|
|
2652
|
+
request?: GoogleCloudContactcenterinsightsV1mainBulkDeleteFeedbackLabelsRequest;
|
|
2653
|
+
}
|
|
2654
|
+
interface GoogleCloudContactcenterinsightsV1mainBulkDeleteFeedbackLabelsRequest {
|
|
2655
|
+
/** Optional. A filter to reduce results to a specific subset. Supports disjunctions (OR) and conjunctions (AND). Supported fields: * `issue_model_id` * `qa_question_id` * `qa_scorecard_id` * `min_create_time` * `max_create_time` * `min_update_time` * `max_update_time` * `feedback_label_type`: QUALITY_AI, TOPIC_MODELING */
|
|
2656
|
+
filter?: string;
|
|
2657
|
+
/** Required. The parent resource for new feedback labels. */
|
|
2658
|
+
parent?: string;
|
|
2659
|
+
}
|
|
2660
|
+
interface GoogleCloudContactcenterinsightsV1mainBulkDeleteFeedbackLabelsResponse {}
|
|
2661
|
+
interface GoogleCloudContactcenterinsightsV1mainBulkDownloadFeedbackLabelsMetadata {
|
|
2662
|
+
/** Output only. The time the operation was created. */
|
|
2663
|
+
createTime?: string;
|
|
2664
|
+
/** Output only. Statistics for BulkDownloadFeedbackLabels operation. */
|
|
2665
|
+
downloadStats?: GoogleCloudContactcenterinsightsV1mainBulkDownloadFeedbackLabelsMetadataDownloadStats;
|
|
2666
|
+
/** Output only. The time the operation finished running. */
|
|
2667
|
+
endTime?: string;
|
|
2668
|
+
/** Partial errors during ingest operation that might cause the operation output to be incomplete. */
|
|
2669
|
+
partialErrors?: GoogleRpcStatus[];
|
|
2670
|
+
/** Output only. The original request for download. */
|
|
2671
|
+
request?: GoogleCloudContactcenterinsightsV1mainBulkDownloadFeedbackLabelsRequest;
|
|
2672
|
+
}
|
|
2673
|
+
interface GoogleCloudContactcenterinsightsV1mainBulkDownloadFeedbackLabelsMetadataDownloadStats {
|
|
2674
|
+
/** Output only. Full name of the files written to Cloud storage. */
|
|
2675
|
+
fileNames?: string[];
|
|
2676
|
+
/** The number of objects processed during the download operation. */
|
|
2677
|
+
processedObjectCount?: number;
|
|
2678
|
+
/** The number of new feedback labels downloaded during this operation. Different from "processed" because some labels might not be downloaded because an error. */
|
|
2679
|
+
successfulDownloadCount?: number;
|
|
2680
|
+
/** Total number of files written to the provided Cloud Storage bucket. */
|
|
2681
|
+
totalFilesWritten?: number;
|
|
2682
|
+
}
|
|
2683
|
+
interface GoogleCloudContactcenterinsightsV1mainBulkDownloadFeedbackLabelsRequest {
|
|
2684
|
+
/** Optional. Filter parent conversations to download feedback labels for. When specified, the feedback labels will be downloaded for the conversations that match the filter. If `template_qa_scorecard_id` is set, all the conversations that match the filter will be paired with the questions under the scorecard for labeling. */
|
|
2685
|
+
conversationFilter?: string;
|
|
2686
|
+
/** Optional. The type of feedback labels that will be downloaded. */
|
|
2687
|
+
feedbackLabelType?: string;
|
|
2688
|
+
/** Optional. A filter to reduce results to a specific subset. Supports disjunctions (OR) and conjunctions (AND). Supported fields: * `issue_model_id` * `qa_question_id` * `qa_scorecard_id` * `min_create_time` * `max_create_time` * `min_update_time` * `max_update_time` * `feedback_label_type`: QUALITY_AI, TOPIC_MODELING */
|
|
2689
|
+
filter?: string;
|
|
2690
|
+
/** A cloud storage bucket destination. */
|
|
2691
|
+
gcsDestination?: GoogleCloudContactcenterinsightsV1mainBulkDownloadFeedbackLabelsRequestGcsDestination;
|
|
2692
|
+
/** Optional. Limits the maximum number of feedback labels that will be downloaded. The first `N` feedback labels will be downloaded. */
|
|
2693
|
+
maxDownloadCount?: number;
|
|
2694
|
+
/** Required. The parent resource for new feedback labels. */
|
|
2695
|
+
parent?: string;
|
|
2696
|
+
/** A sheets document destination. */
|
|
2697
|
+
sheetsDestination?: GoogleCloudContactcenterinsightsV1mainBulkDownloadFeedbackLabelsRequestSheetsDestination;
|
|
2698
|
+
/** Optional. If set, a template for labeling conversations and scorecard questions will be created from the conversation_filter and the questions under the scorecard(s). The feedback label `filter` will be ignored. */
|
|
2699
|
+
templateQaScorecardId?: string[];
|
|
2700
|
+
}
|
|
2701
|
+
interface GoogleCloudContactcenterinsightsV1mainBulkDownloadFeedbackLabelsRequestGcsDestination {
|
|
2702
|
+
/** Optional. Add whitespace to the JSON file. Makes easier to read, but increases file size. Only applicable for JSON format. */
|
|
2703
|
+
addWhitespace?: boolean;
|
|
2704
|
+
/** 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. */
|
|
2705
|
+
alwaysPrintEmptyFields?: boolean;
|
|
2706
|
+
/** Required. File format in which the labels will be exported. */
|
|
2707
|
+
format?: string;
|
|
2708
|
+
/** Required. The Google Cloud Storage URI to write the feedback labels to. The file name will be used as a prefix for the files written to the bucket if the output needs to be split across multiple files, otherwise it will be used as is. The file extension will be appended to the file name based on the format selected. E.g. `gs://bucket_name/object_uri_prefix` */
|
|
2709
|
+
objectUri?: string;
|
|
2710
|
+
/** Optional. The number of records per file. Applicable for either format. */
|
|
2711
|
+
recordsPerFileCount?: string;
|
|
2712
|
+
}
|
|
2713
|
+
interface GoogleCloudContactcenterinsightsV1mainBulkDownloadFeedbackLabelsRequestSheetsDestination {
|
|
2714
|
+
/** Optional. The title of the new sheet to write the feedback labels to. */
|
|
2715
|
+
sheetTitle?: string;
|
|
2716
|
+
/** Required. The Google Sheets document to write the feedback labels to. Retrieved from Google Sheets URI. E.g. `https://docs.google.com/spreadsheets/d/1234567890` The spreadsheet must be shared with the Insights P4SA. The spreadsheet ID written to will be returned as `file_names` in the BulkDownloadFeedbackLabelsMetadata. */
|
|
2717
|
+
spreadsheetUri?: string;
|
|
2718
|
+
}
|
|
2719
|
+
interface GoogleCloudContactcenterinsightsV1mainBulkDownloadFeedbackLabelsResponse {}
|
|
2720
|
+
interface GoogleCloudContactcenterinsightsV1mainCallAnnotation {
|
|
2721
|
+
/** The boundary in the conversation where the annotation ends, inclusive. */
|
|
2722
|
+
annotationEndBoundary?: GoogleCloudContactcenterinsightsV1mainAnnotationBoundary;
|
|
2723
|
+
/** The boundary in the conversation where the annotation starts, inclusive. */
|
|
2724
|
+
annotationStartBoundary?: GoogleCloudContactcenterinsightsV1mainAnnotationBoundary;
|
|
2725
|
+
/** The channel of the audio where the annotation occurs. For single-channel audio, this field is not populated. */
|
|
2726
|
+
channelTag?: number;
|
|
2727
|
+
/** Data specifying an entity mention. */
|
|
2728
|
+
entityMentionData?: GoogleCloudContactcenterinsightsV1mainEntityMentionData;
|
|
2729
|
+
/** Data specifying a hold. */
|
|
2730
|
+
holdData?: any;
|
|
2731
|
+
/** Data specifying an intent match. */
|
|
2732
|
+
intentMatchData?: GoogleCloudContactcenterinsightsV1mainIntentMatchData;
|
|
2733
|
+
/** Data specifying an interruption. */
|
|
2734
|
+
interruptionData?: any;
|
|
2735
|
+
/** Data specifying an issue match. */
|
|
2736
|
+
issueMatchData?: GoogleCloudContactcenterinsightsV1mainIssueMatchData;
|
|
2737
|
+
/** Data specifying a phrase match. */
|
|
2738
|
+
phraseMatchData?: GoogleCloudContactcenterinsightsV1mainPhraseMatchData;
|
|
2739
|
+
/** Data specifying sentiment. */
|
|
2740
|
+
sentimentData?: GoogleCloudContactcenterinsightsV1mainSentimentData;
|
|
2741
|
+
/** Data specifying silence. */
|
|
2742
|
+
silenceData?: any;
|
|
2743
|
+
}
|
|
2744
|
+
interface GoogleCloudContactcenterinsightsV1mainConversation {
|
|
2745
|
+
/** An opaque, user-specified string representing the human agent who handled the conversation. */
|
|
2746
|
+
agentId?: string;
|
|
2747
|
+
/** Call-specific metadata. */
|
|
2748
|
+
callMetadata?: GoogleCloudContactcenterinsightsV1mainConversationCallMetadata;
|
|
2749
|
+
/** Output only. The time at which the conversation was created. */
|
|
2750
|
+
createTime?: string;
|
|
2751
|
+
/** The source of the audio and transcription for the conversation. */
|
|
2752
|
+
dataSource?: GoogleCloudContactcenterinsightsV1mainConversationDataSource;
|
|
2753
|
+
/** Output only. All the matched Dialogflow intents in the call. The key corresponds to a Dialogflow intent, format: projects/{project}/agent/{agent}/intents/{intent} */
|
|
2754
|
+
dialogflowIntents?: {
|
|
2755
|
+
[P in string]: GoogleCloudContactcenterinsightsV1mainDialogflowIntent;
|
|
2756
|
+
};
|
|
2757
|
+
/** Output only. The duration of the conversation. */
|
|
2758
|
+
duration?: string;
|
|
2759
|
+
/** The time at which this conversation should expire. After this time, the conversation data and any associated analyses will be deleted. */
|
|
2760
|
+
expireTime?: string;
|
|
2761
|
+
/** 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. */
|
|
2762
|
+
labels?: {[P in string]: string};
|
|
2763
|
+
/** A user-specified language code for the conversation. */
|
|
2764
|
+
languageCode?: string;
|
|
2765
|
+
/** Output only. The conversation's latest analysis, if one exists. */
|
|
2766
|
+
latestAnalysis?: GoogleCloudContactcenterinsightsV1mainAnalysis;
|
|
2767
|
+
/** Output only. Latest summary of the conversation. */
|
|
2768
|
+
latestSummary?: GoogleCloudContactcenterinsightsV1mainConversationSummarizationSuggestionData;
|
|
2769
|
+
/** Immutable. The conversation medium, if unspecified will default to PHONE_CALL. */
|
|
2770
|
+
medium?: string;
|
|
2771
|
+
/** Input only. 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. */
|
|
2772
|
+
metadataJson?: string;
|
|
2773
|
+
/** Immutable. The resource name of the conversation. Format: projects/{project}/locations/{location}/conversations/{conversation} */
|
|
2774
|
+
name?: string;
|
|
2775
|
+
/** Obfuscated user ID which the customer sent to us. */
|
|
2776
|
+
obfuscatedUserId?: string;
|
|
2777
|
+
/** Conversation metadata related to quality management. */
|
|
2778
|
+
qualityMetadata?: GoogleCloudContactcenterinsightsV1mainConversationQualityMetadata;
|
|
2779
|
+
/** Output only. The annotations that were generated during the customer and agent interaction. */
|
|
2780
|
+
runtimeAnnotations?: GoogleCloudContactcenterinsightsV1mainRuntimeAnnotation[];
|
|
2781
|
+
/** The time at which the conversation started. */
|
|
2782
|
+
startTime?: string;
|
|
2783
|
+
/** Output only. The conversation transcript. */
|
|
2784
|
+
transcript?: GoogleCloudContactcenterinsightsV1mainConversationTranscript;
|
|
2785
|
+
/** Input only. The TTL for this resource. If specified, then this TTL will be used to calculate the expire time. */
|
|
2786
|
+
ttl?: string;
|
|
2787
|
+
/** Output only. The number of turns in the conversation. */
|
|
2788
|
+
turnCount?: number;
|
|
2789
|
+
/** Output only. The most recent time at which the conversation was updated. */
|
|
2790
|
+
updateTime?: string;
|
|
2791
|
+
}
|
|
2792
|
+
interface GoogleCloudContactcenterinsightsV1mainConversationCallMetadata {
|
|
2793
|
+
/** The audio channel that contains the agent. */
|
|
2794
|
+
agentChannel?: number;
|
|
2795
|
+
/** The audio channel that contains the customer. */
|
|
2796
|
+
customerChannel?: number;
|
|
2797
|
+
}
|
|
2798
|
+
interface GoogleCloudContactcenterinsightsV1mainConversationDataSource {
|
|
2799
|
+
/** The source when the conversation comes from Dialogflow. */
|
|
2800
|
+
dialogflowSource?: GoogleCloudContactcenterinsightsV1mainDialogflowSource;
|
|
2801
|
+
/** A Cloud Storage location specification for the audio and transcript. */
|
|
2802
|
+
gcsSource?: GoogleCloudContactcenterinsightsV1mainGcsSource;
|
|
2803
|
+
/** Cloud Storage URI that points to a file that contains the conversation metadata. */
|
|
2804
|
+
metadataUri?: string;
|
|
2805
|
+
}
|
|
2806
|
+
interface GoogleCloudContactcenterinsightsV1mainConversationLevelSentiment {
|
|
2807
|
+
/** The channel of the audio that the data applies to. */
|
|
2808
|
+
channelTag?: number;
|
|
2809
|
+
/** Data specifying sentiment. */
|
|
2810
|
+
sentimentData?: GoogleCloudContactcenterinsightsV1mainSentimentData;
|
|
2811
|
+
}
|
|
2812
|
+
interface GoogleCloudContactcenterinsightsV1mainConversationLevelSilence {
|
|
2813
|
+
/** Amount of time calculated to be in silence. */
|
|
2814
|
+
silenceDuration?: string;
|
|
2815
|
+
/** Percentage of the total conversation spent in silence. */
|
|
2816
|
+
silencePercentage?: number;
|
|
2817
|
+
}
|
|
2818
|
+
interface GoogleCloudContactcenterinsightsV1mainConversationParticipant {
|
|
2819
|
+
/** Deprecated. Use `dialogflow_participant_name` instead. The name of the Dialogflow participant. Format: projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant} */
|
|
2820
|
+
dialogflowParticipant?: string;
|
|
2821
|
+
/** The name of the participant provided by Dialogflow. Format: projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant} */
|
|
2822
|
+
dialogflowParticipantName?: string;
|
|
2823
|
+
/** Obfuscated user ID from Dialogflow. */
|
|
2824
|
+
obfuscatedExternalUserId?: string;
|
|
2825
|
+
/** The role of the participant. */
|
|
2826
|
+
role?: string;
|
|
2827
|
+
/** A user-specified ID representing the participant. */
|
|
2828
|
+
userId?: string;
|
|
2829
|
+
}
|
|
2830
|
+
interface GoogleCloudContactcenterinsightsV1mainConversationQualityMetadata {
|
|
2831
|
+
/** Information about agents involved in the call. */
|
|
2832
|
+
agentInfo?: GoogleCloudContactcenterinsightsV1mainConversationQualityMetadataAgentInfo[];
|
|
2833
|
+
/** An arbitrary integer value indicating the customer's satisfaction rating. */
|
|
2834
|
+
customerSatisfactionRating?: number;
|
|
2835
|
+
/** Input only. The feedback labels associated with the conversation. */
|
|
2836
|
+
feedbackLabels?: GoogleCloudContactcenterinsightsV1mainFeedbackLabel[];
|
|
2837
|
+
/** An arbitrary string value specifying the menu path the customer took. */
|
|
2838
|
+
menuPath?: string;
|
|
2839
|
+
/** The amount of time the customer waited to connect with an agent. */
|
|
2840
|
+
waitDuration?: string;
|
|
2841
|
+
}
|
|
2842
|
+
interface GoogleCloudContactcenterinsightsV1mainConversationQualityMetadataAgentInfo {
|
|
2843
|
+
/** A user-specified string representing the agent. */
|
|
2844
|
+
agentId?: string;
|
|
2845
|
+
/** The agent type, e.g. HUMAN_AGENT. */
|
|
2846
|
+
agentType?: string;
|
|
2847
|
+
/** The agent's deployment display name. Only applicable to automated agents. */
|
|
2848
|
+
deploymentDisplayName?: string;
|
|
2849
|
+
/** The agent's deployment ID. Only applicable to automated agents. */
|
|
2850
|
+
deploymentId?: string;
|
|
2851
|
+
/** The agent's name. */
|
|
2852
|
+
displayName?: string;
|
|
2853
|
+
/** A user-provided string indicating the outcome of the agent's segment of the call. */
|
|
2854
|
+
dispositionCode?: string;
|
|
2855
|
+
/** The agent's location. */
|
|
2856
|
+
location?: string;
|
|
2857
|
+
/** A user-specified string representing the agent's team. Deprecated in favor of the `teams` field. */
|
|
2858
|
+
team?: string;
|
|
2859
|
+
/** User-specified strings representing the agent's teams. */
|
|
2860
|
+
teams?: string[];
|
|
2861
|
+
/** The agent's version display name. Only applicable to automated agents. */
|
|
2862
|
+
versionDisplayName?: string;
|
|
2863
|
+
/** The agent's version ID. Only applicable to automated agents. */
|
|
2864
|
+
versionId?: string;
|
|
2865
|
+
}
|
|
2866
|
+
interface GoogleCloudContactcenterinsightsV1mainConversationSummarizationSuggestionData {
|
|
2867
|
+
/** The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record} */
|
|
2868
|
+
answerRecord?: string;
|
|
2869
|
+
/** The confidence score of the summarization. */
|
|
2870
|
+
confidence?: number;
|
|
2871
|
+
/** The name of the model that generates this summary. Format: projects/{project}/locations/{location}/conversationModels/{conversation_model} */
|
|
2872
|
+
conversationModel?: string;
|
|
2873
|
+
/** Agent Assist generator ID. */
|
|
2874
|
+
generatorId?: string;
|
|
2875
|
+
/** A map that contains metadata about the summarization and the document from which it originates. */
|
|
2876
|
+
metadata?: {[P in string]: string};
|
|
2877
|
+
/** The summarization content that is concatenated into one string. */
|
|
2878
|
+
text?: string;
|
|
2879
|
+
/** 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. */
|
|
2880
|
+
textSections?: {[P in string]: string};
|
|
2881
|
+
}
|
|
2882
|
+
interface GoogleCloudContactcenterinsightsV1mainConversationTranscript {
|
|
2883
|
+
/** A list of sequential transcript segments that comprise the conversation. */
|
|
2884
|
+
transcriptSegments?: GoogleCloudContactcenterinsightsV1mainConversationTranscriptTranscriptSegment[];
|
|
2885
|
+
}
|
|
2886
|
+
interface GoogleCloudContactcenterinsightsV1mainConversationTranscriptTranscriptSegment {
|
|
2887
|
+
/** 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. */
|
|
2888
|
+
channelTag?: number;
|
|
2889
|
+
/** 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. */
|
|
2890
|
+
confidence?: number;
|
|
2891
|
+
/** CCAI metadata relating to the current transcript segment. */
|
|
2892
|
+
dialogflowSegmentMetadata?: GoogleCloudContactcenterinsightsV1mainConversationTranscriptTranscriptSegmentDialogflowSegmentMetadata;
|
|
2893
|
+
/** The language code of this segment as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. Example: "en-US". */
|
|
2894
|
+
languageCode?: string;
|
|
2895
|
+
/** The time that the message occurred, if provided. */
|
|
2896
|
+
messageTime?: string;
|
|
2897
|
+
/** The participant of this segment. */
|
|
2898
|
+
segmentParticipant?: GoogleCloudContactcenterinsightsV1mainConversationParticipant;
|
|
2899
|
+
/** The sentiment for this transcript segment. */
|
|
2900
|
+
sentiment?: GoogleCloudContactcenterinsightsV1mainSentimentData;
|
|
2901
|
+
/** The text of this segment. */
|
|
2902
|
+
text?: string;
|
|
2903
|
+
/** A list of the word-specific information for each word in the segment. */
|
|
2904
|
+
words?: GoogleCloudContactcenterinsightsV1mainConversationTranscriptTranscriptSegmentWordInfo[];
|
|
2905
|
+
}
|
|
2906
|
+
interface GoogleCloudContactcenterinsightsV1mainConversationTranscriptTranscriptSegmentDialogflowSegmentMetadata {
|
|
2907
|
+
/** Whether the transcript segment was covered under the configured smart reply allowlist in Agent Assist. */
|
|
2908
|
+
smartReplyAllowlistCovered?: boolean;
|
|
2909
|
+
}
|
|
2910
|
+
interface GoogleCloudContactcenterinsightsV1mainConversationTranscriptTranscriptSegmentWordInfo {
|
|
2911
|
+
/** 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. */
|
|
2912
|
+
confidence?: number;
|
|
2913
|
+
/** Time offset of the end of this word relative to the beginning of the total conversation. */
|
|
2914
|
+
endOffset?: string;
|
|
2915
|
+
/** Time offset of the start of this word relative to the beginning of the total conversation. */
|
|
2916
|
+
startOffset?: string;
|
|
2917
|
+
/** The word itself. Includes punctuation marks that surround the word. */
|
|
2918
|
+
word?: string;
|
|
2919
|
+
}
|
|
2920
|
+
interface GoogleCloudContactcenterinsightsV1mainCreateAnalysisOperationMetadata {
|
|
2921
|
+
/** Output only. The annotator selector used for the analysis (if any). */
|
|
2922
|
+
annotatorSelector?: GoogleCloudContactcenterinsightsV1mainAnnotatorSelector;
|
|
2923
|
+
/** Output only. The Conversation that this Analysis Operation belongs to. */
|
|
2924
|
+
conversation?: string;
|
|
2925
|
+
/** Output only. The time the operation was created. */
|
|
2926
|
+
createTime?: string;
|
|
2927
|
+
/** Output only. The time the operation finished running. */
|
|
2928
|
+
endTime?: string;
|
|
2929
|
+
}
|
|
2930
|
+
interface GoogleCloudContactcenterinsightsV1mainCreateIssueMetadata {
|
|
2931
|
+
/** Output only. The time the operation was created. */
|
|
2932
|
+
createTime?: string;
|
|
2933
|
+
/** Output only. The time the operation finished running. */
|
|
2934
|
+
endTime?: string;
|
|
2935
|
+
/** The original request for creation. */
|
|
2936
|
+
request?: GoogleCloudContactcenterinsightsV1mainCreateIssueRequest;
|
|
2937
|
+
}
|
|
2938
|
+
interface GoogleCloudContactcenterinsightsV1mainCreateIssueModelMetadata {
|
|
2939
|
+
/** Output only. The time the operation was created. */
|
|
2940
|
+
createTime?: string;
|
|
2941
|
+
/** Output only. The time the operation finished running. */
|
|
2942
|
+
endTime?: string;
|
|
2943
|
+
/** The original request for creation. */
|
|
2944
|
+
request?: GoogleCloudContactcenterinsightsV1mainCreateIssueModelRequest;
|
|
2945
|
+
}
|
|
2946
|
+
interface GoogleCloudContactcenterinsightsV1mainCreateIssueModelRequest {
|
|
2947
|
+
/** Required. The issue model to create. */
|
|
2948
|
+
issueModel?: GoogleCloudContactcenterinsightsV1mainIssueModel;
|
|
2949
|
+
/** Required. The parent resource of the issue model. */
|
|
2950
|
+
parent?: string;
|
|
2951
|
+
}
|
|
2952
|
+
interface GoogleCloudContactcenterinsightsV1mainCreateIssueRequest {
|
|
2953
|
+
/** Required. The values for the new issue. */
|
|
2954
|
+
issue?: GoogleCloudContactcenterinsightsV1mainIssue;
|
|
2955
|
+
/** Required. The parent resource of the issue. */
|
|
2956
|
+
parent?: string;
|
|
2957
|
+
}
|
|
2958
|
+
interface GoogleCloudContactcenterinsightsV1mainDataset {
|
|
2959
|
+
/** Output only. Dataset create time. */
|
|
2960
|
+
createTime?: string;
|
|
2961
|
+
/** Dataset description. */
|
|
2962
|
+
description?: string;
|
|
2963
|
+
/** Display name for the dataaset */
|
|
2964
|
+
displayName?: string;
|
|
2965
|
+
/** Immutable. Identifier. Resource name of the dataset. Format: projects/{project}/locations/{location}/datasets/{dataset} */
|
|
2966
|
+
name?: string;
|
|
2967
|
+
/** Optional. Option TTL for the dataset. */
|
|
2968
|
+
ttl?: string;
|
|
2969
|
+
/** Dataset usage type. */
|
|
2970
|
+
type?: string;
|
|
2971
|
+
/** Output only. Dataset update time. */
|
|
2972
|
+
updateTime?: string;
|
|
2973
|
+
}
|
|
2974
|
+
interface GoogleCloudContactcenterinsightsV1mainDeleteIssueModelMetadata {
|
|
2975
|
+
/** Output only. The time the operation was created. */
|
|
2976
|
+
createTime?: string;
|
|
2977
|
+
/** Output only. The time the operation finished running. */
|
|
2978
|
+
endTime?: string;
|
|
2979
|
+
/** The original request for deletion. */
|
|
2980
|
+
request?: GoogleCloudContactcenterinsightsV1mainDeleteIssueModelRequest;
|
|
2981
|
+
}
|
|
2982
|
+
interface GoogleCloudContactcenterinsightsV1mainDeleteIssueModelRequest {
|
|
2983
|
+
/** Required. The name of the issue model to delete. */
|
|
2984
|
+
name?: string;
|
|
2985
|
+
}
|
|
2986
|
+
interface GoogleCloudContactcenterinsightsV1mainDeleteQaQuestionTagMetadata {
|
|
2987
|
+
/** Output only. The time the operation was created. */
|
|
2988
|
+
createTime?: string;
|
|
2989
|
+
/** Output only. The time the operation finished running. */
|
|
2990
|
+
endTime?: string;
|
|
2991
|
+
/** Output only. The original request. */
|
|
2992
|
+
request?: GoogleCloudContactcenterinsightsV1mainDeleteQaQuestionTagRequest;
|
|
2993
|
+
}
|
|
2994
|
+
interface GoogleCloudContactcenterinsightsV1mainDeleteQaQuestionTagRequest {
|
|
2995
|
+
/** Required. The name of the QaQuestionTag to delete. */
|
|
2996
|
+
name?: string;
|
|
2997
|
+
}
|
|
2998
|
+
interface GoogleCloudContactcenterinsightsV1mainDeployIssueModelMetadata {
|
|
2999
|
+
/** Output only. The time the operation was created. */
|
|
3000
|
+
createTime?: string;
|
|
3001
|
+
/** Output only. The time the operation finished running. */
|
|
3002
|
+
endTime?: string;
|
|
3003
|
+
/** The original request for deployment. */
|
|
3004
|
+
request?: GoogleCloudContactcenterinsightsV1mainDeployIssueModelRequest;
|
|
3005
|
+
}
|
|
3006
|
+
interface GoogleCloudContactcenterinsightsV1mainDeployIssueModelRequest {
|
|
3007
|
+
/** Required. The issue model to deploy. */
|
|
3008
|
+
name?: string;
|
|
3009
|
+
}
|
|
3010
|
+
interface GoogleCloudContactcenterinsightsV1mainDeployIssueModelResponse {}
|
|
3011
|
+
interface GoogleCloudContactcenterinsightsV1mainDialogflowIntent {
|
|
3012
|
+
/** The human-readable name of the intent. */
|
|
3013
|
+
displayName?: string;
|
|
3014
|
+
}
|
|
3015
|
+
interface GoogleCloudContactcenterinsightsV1mainDialogflowInteractionData {
|
|
3016
|
+
/** The confidence of the match ranging from 0.0 (completely uncertain) to 1.0 (completely certain). */
|
|
3017
|
+
confidence?: number;
|
|
3018
|
+
/** The Dialogflow intent resource path. Format: projects/{project}/agent/{agent}/intents/{intent} */
|
|
3019
|
+
dialogflowIntentId?: string;
|
|
3020
|
+
}
|
|
3021
|
+
interface GoogleCloudContactcenterinsightsV1mainDialogflowSource {
|
|
3022
|
+
/** Cloud Storage URI that points to a file that contains the conversation audio. */
|
|
3023
|
+
audioUri?: string;
|
|
3024
|
+
/** Output only. The name of the Dialogflow conversation that this conversation resource is derived from. Format: projects/{project}/locations/{location}/conversations/{conversation} */
|
|
3025
|
+
dialogflowConversation?: string;
|
|
3026
|
+
}
|
|
3027
|
+
interface GoogleCloudContactcenterinsightsV1mainDimension {
|
|
3028
|
+
/** Output only. Metadata about the agent dimension. */
|
|
3029
|
+
agentDimensionMetadata?: GoogleCloudContactcenterinsightsV1mainDimensionAgentDimensionMetadata;
|
|
3030
|
+
/** Output only. Metadata about the client sentiment category dimension. */
|
|
3031
|
+
clientSentimentCategoryDimensionMetadata?: GoogleCloudContactcenterinsightsV1mainDimensionClientSentimentCategoryDimensionMetadata;
|
|
3032
|
+
/** Output only. Metadata about the Conversational Agents playbook dimension. */
|
|
3033
|
+
conversationalAgentsPlaybookDimensionMetadata?: GoogleCloudContactcenterinsightsV1mainDimensionConversationalAgentsPlaybookDimensionMetadata;
|
|
3034
|
+
/** Output only. Metadata about the Conversational Agents tool dimension. */
|
|
3035
|
+
conversationalAgentsToolDimensionMetadata?: GoogleCloudContactcenterinsightsV1mainDimensionConversationalAgentsToolDimensionMetadata;
|
|
3036
|
+
/** Output only. Metadata about the conversation profile dimension. */
|
|
3037
|
+
conversationProfileDimensionMetadata?: GoogleCloudContactcenterinsightsV1mainDimensionConversationProfileDimensionMetadata;
|
|
3038
|
+
/** The key of the dimension. */
|
|
3039
|
+
dimensionKey?: string;
|
|
3040
|
+
/** Output only. Metadata about the issue dimension. */
|
|
3041
|
+
issueDimensionMetadata?: GoogleCloudContactcenterinsightsV1mainDimensionIssueDimensionMetadata;
|
|
3042
|
+
/** Output only. Metadata about conversation labels. */
|
|
3043
|
+
labelDimensionMetadata?: GoogleCloudContactcenterinsightsV1mainDimensionLabelDimensionMetadata;
|
|
3044
|
+
/** Output only. Metadata about the conversation medium dimension. */
|
|
3045
|
+
mediumDimensionMetadata?: GoogleCloudContactcenterinsightsV1mainDimensionMediumDimensionMetadata;
|
|
3046
|
+
/** Output only. Metadata about the QA question-answer dimension. */
|
|
3047
|
+
qaQuestionAnswerDimensionMetadata?: GoogleCloudContactcenterinsightsV1mainDimensionQaQuestionAnswerDimensionMetadata;
|
|
3048
|
+
/** Output only. Metadata about the QA question dimension. */
|
|
3049
|
+
qaQuestionDimensionMetadata?: GoogleCloudContactcenterinsightsV1mainDimensionQaQuestionDimensionMetadata;
|
|
3050
|
+
/** Output only. Metadata about the QA scorecard dimension. */
|
|
3051
|
+
qaScorecardDimensionMetadata?: GoogleCloudContactcenterinsightsV1mainDimensionQaScorecardDimensionMetadata;
|
|
3052
|
+
}
|
|
3053
|
+
interface GoogleCloudContactcenterinsightsV1mainDimensionAgentDimensionMetadata {
|
|
3054
|
+
/** Optional. The agent's deployment display name. Only applicable to automated agents. This will be populated for AGENT_DEPLOYMENT_ID dimensions. */
|
|
3055
|
+
agentDeploymentDisplayName?: string;
|
|
3056
|
+
/** Optional. The agent's deployment ID. Only applicable to automated agents. This will be populated for AGENT and AGENT_DEPLOYMENT_ID dimensions. */
|
|
3057
|
+
agentDeploymentId?: string;
|
|
3058
|
+
/** Optional. The agent's name This will be populated for AGENT, AGENT_TEAM, AGENT_VERSION_ID, and AGENT_DEPLOYMENT_ID dimensions. */
|
|
3059
|
+
agentDisplayName?: string;
|
|
3060
|
+
/** Optional. A user-specified string representing the agent. This will be populated for AGENT, AGENT_TEAM, AGENT_VERSION_ID, and AGENT_DEPLOYMENT_ID dimensions. */
|
|
3061
|
+
agentId?: string;
|
|
3062
|
+
/** Optional. A user-specified string representing the agent's team. */
|
|
3063
|
+
agentTeam?: string;
|
|
3064
|
+
/** 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. */
|
|
3065
|
+
agentVersionDisplayName?: string;
|
|
3066
|
+
/** Optional. The agent's version ID. Only applicable to automated agents. This will be populated for AGENT_VERSION_ID, and AGENT_DEPLOYMENT_ID dimensions. */
|
|
3067
|
+
agentVersionId?: string;
|
|
3068
|
+
}
|
|
3069
|
+
interface GoogleCloudContactcenterinsightsV1mainDimensionClientSentimentCategoryDimensionMetadata {
|
|
3070
|
+
/** Optional. The client sentiment category. */
|
|
3071
|
+
sentimentCategory?: string;
|
|
3072
|
+
}
|
|
3073
|
+
interface GoogleCloudContactcenterinsightsV1mainDimensionConversationalAgentsPlaybookDimensionMetadata {
|
|
3074
|
+
/** Optional. The dialogflow playbook display name. */
|
|
3075
|
+
playbookDisplayName?: string;
|
|
3076
|
+
/** Optional. The dialogflow playbook ID. */
|
|
3077
|
+
playbookId?: string;
|
|
3078
|
+
}
|
|
3079
|
+
interface GoogleCloudContactcenterinsightsV1mainDimensionConversationalAgentsToolDimensionMetadata {
|
|
3080
|
+
/** Optional. The dialogflow tool display name. */
|
|
3081
|
+
toolDisplayName?: string;
|
|
3082
|
+
/** Optional. The dialogflow tool ID. */
|
|
3083
|
+
toolId?: string;
|
|
3084
|
+
}
|
|
3085
|
+
interface GoogleCloudContactcenterinsightsV1mainDimensionConversationProfileDimensionMetadata {
|
|
3086
|
+
/** Optional. The conversation profile ID. */
|
|
3087
|
+
conversationProfileId?: string;
|
|
3088
|
+
}
|
|
3089
|
+
interface GoogleCloudContactcenterinsightsV1mainDimensionIssueDimensionMetadata {
|
|
3090
|
+
/** The issue display name. */
|
|
3091
|
+
issueDisplayName?: string;
|
|
3092
|
+
/** The issue ID. */
|
|
3093
|
+
issueId?: string;
|
|
3094
|
+
/** The parent issue model ID. */
|
|
3095
|
+
issueModelId?: string;
|
|
3096
|
+
}
|
|
3097
|
+
interface GoogleCloudContactcenterinsightsV1mainDimensionLabelDimensionMetadata {
|
|
3098
|
+
/** Optional. The label key. */
|
|
3099
|
+
labelKey?: string;
|
|
3100
|
+
/** Optional. The label value. */
|
|
3101
|
+
labelValue?: string;
|
|
3102
|
+
}
|
|
3103
|
+
interface GoogleCloudContactcenterinsightsV1mainDimensionMediumDimensionMetadata {
|
|
3104
|
+
/** Optional. The conversation medium. Currently supports : PHONE_CALL, CHAT. */
|
|
3105
|
+
medium?: string;
|
|
3106
|
+
}
|
|
3107
|
+
interface GoogleCloudContactcenterinsightsV1mainDimensionQaQuestionAnswerDimensionMetadata {
|
|
3108
|
+
/** Optional. The full body of the question. */
|
|
3109
|
+
answerValue?: string;
|
|
3110
|
+
/** Optional. The QA question ID. */
|
|
3111
|
+
qaQuestionId?: string;
|
|
3112
|
+
/** Optional. The QA scorecard ID. */
|
|
3113
|
+
qaScorecardId?: string;
|
|
3114
|
+
/** Optional. The full body of the question. */
|
|
3115
|
+
questionBody?: string;
|
|
3116
|
+
}
|
|
3117
|
+
interface GoogleCloudContactcenterinsightsV1mainDimensionQaQuestionDimensionMetadata {
|
|
3118
|
+
/** Optional. The QA question ID. */
|
|
3119
|
+
qaQuestionId?: string;
|
|
3120
|
+
/** Optional. The QA scorecard ID. */
|
|
3121
|
+
qaScorecardId?: string;
|
|
3122
|
+
/** Optional. The full body of the question. */
|
|
3123
|
+
questionBody?: string;
|
|
3124
|
+
}
|
|
3125
|
+
interface GoogleCloudContactcenterinsightsV1mainDimensionQaScorecardDimensionMetadata {
|
|
3126
|
+
/** Optional. The QA scorecard ID. */
|
|
3127
|
+
qaScorecardId?: string;
|
|
3128
|
+
}
|
|
3129
|
+
interface GoogleCloudContactcenterinsightsV1mainEncryptionSpec {
|
|
3130
|
+
/** Required. The name of customer-managed encryption key that is used to secure a resource and its sub-resources. If empty, the resource is secured by our default encryption key. Only the key in the same location as this resource is allowed to be used for encryption. Format: `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{key}` */
|
|
3131
|
+
kmsKey?: string;
|
|
3132
|
+
/** Immutable. The resource name of the encryption key specification resource. Format: projects/{project}/locations/{location}/encryptionSpec */
|
|
3133
|
+
name?: string;
|
|
3134
|
+
}
|
|
3135
|
+
interface GoogleCloudContactcenterinsightsV1mainEntity {
|
|
3136
|
+
/** The representative name for the entity. */
|
|
3137
|
+
displayName?: string;
|
|
3138
|
+
/** Metadata associated with the entity. For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`) and Knowledge Graph MID (`mid`), if they are available. For the metadata associated with other entity types, see the Type table below. */
|
|
3139
|
+
metadata?: {[P in string]: string};
|
|
3140
|
+
/** 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. */
|
|
3141
|
+
salience?: number;
|
|
3142
|
+
/** The aggregate sentiment expressed for this entity in the conversation. */
|
|
3143
|
+
sentiment?: GoogleCloudContactcenterinsightsV1mainSentimentData;
|
|
3144
|
+
/** The entity type. */
|
|
3145
|
+
type?: string;
|
|
3146
|
+
}
|
|
3147
|
+
interface GoogleCloudContactcenterinsightsV1mainEntityMentionData {
|
|
3148
|
+
/** The key of this entity in conversation entities. Can be used to retrieve the exact `Entity` this mention is attached to. */
|
|
3149
|
+
entityUniqueId?: string;
|
|
3150
|
+
/** Sentiment expressed for this mention of the entity. */
|
|
3151
|
+
sentiment?: GoogleCloudContactcenterinsightsV1mainSentimentData;
|
|
3152
|
+
/** The type of the entity mention. */
|
|
3153
|
+
type?: string;
|
|
3154
|
+
}
|
|
3155
|
+
interface GoogleCloudContactcenterinsightsV1mainExportInsightsDataMetadata {
|
|
3156
|
+
/** The number of conversations that were exported successfully. */
|
|
3157
|
+
completedExportCount?: number;
|
|
3158
|
+
/** Output only. The time the operation was created. */
|
|
3159
|
+
createTime?: string;
|
|
3160
|
+
/** Output only. The time the operation finished running. */
|
|
3161
|
+
endTime?: string;
|
|
3162
|
+
/** The number of conversations that failed to be exported. */
|
|
3163
|
+
failedExportCount?: number;
|
|
3164
|
+
/** Partial errors during export operation that might cause the operation output to be incomplete. */
|
|
3165
|
+
partialErrors?: GoogleRpcStatus[];
|
|
3166
|
+
/** The original request for export. */
|
|
3167
|
+
request?: GoogleCloudContactcenterinsightsV1mainExportInsightsDataRequest;
|
|
3168
|
+
}
|
|
3169
|
+
interface GoogleCloudContactcenterinsightsV1mainExportInsightsDataRequest {
|
|
3170
|
+
/** Specified if sink is a BigQuery table. */
|
|
3171
|
+
bigQueryDestination?: GoogleCloudContactcenterinsightsV1mainExportInsightsDataRequestBigQueryDestination;
|
|
3172
|
+
/** Optional. Version of the export schema. */
|
|
3173
|
+
exportSchemaVersion?: string;
|
|
3174
|
+
/** A filter to reduce results to a specific subset. Useful for exporting conversations with specific properties. */
|
|
3175
|
+
filter?: string;
|
|
3176
|
+
/** A fully qualified KMS key name for BigQuery tables protected by CMEK. Format: projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}/cryptoKeyVersions/{version} */
|
|
3177
|
+
kmsKey?: string;
|
|
3178
|
+
/** Required. The parent resource to export data from. */
|
|
3179
|
+
parent?: string;
|
|
3180
|
+
/** Options for what to do if the destination table already exists. */
|
|
3181
|
+
writeDisposition?: string;
|
|
3182
|
+
}
|
|
3183
|
+
interface GoogleCloudContactcenterinsightsV1mainExportInsightsDataRequestBigQueryDestination {
|
|
3184
|
+
/** 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. */
|
|
3185
|
+
dataset?: string;
|
|
3186
|
+
/** 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. */
|
|
3187
|
+
projectId?: string;
|
|
3188
|
+
/** 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. */
|
|
3189
|
+
table?: string;
|
|
3190
|
+
}
|
|
3191
|
+
interface GoogleCloudContactcenterinsightsV1mainExportInsightsDataResponse {}
|
|
3192
|
+
interface GoogleCloudContactcenterinsightsV1mainExportIssueModelMetadata {
|
|
3193
|
+
/** The time the operation was created. */
|
|
3194
|
+
createTime?: string;
|
|
3195
|
+
/** The time the operation finished running. */
|
|
3196
|
+
endTime?: string;
|
|
3197
|
+
/** The original export request. */
|
|
3198
|
+
request?: GoogleCloudContactcenterinsightsV1mainExportIssueModelRequest;
|
|
3199
|
+
}
|
|
3200
|
+
interface GoogleCloudContactcenterinsightsV1mainExportIssueModelRequest {
|
|
3201
|
+
/** Google Cloud Storage URI to export the issue model to. */
|
|
3202
|
+
gcsDestination?: GoogleCloudContactcenterinsightsV1mainExportIssueModelRequestGcsDestination;
|
|
3203
|
+
/** Required. The issue model to export. */
|
|
3204
|
+
name?: string;
|
|
3205
|
+
}
|
|
3206
|
+
interface GoogleCloudContactcenterinsightsV1mainExportIssueModelRequestGcsDestination {
|
|
3207
|
+
/** Required. Format: `gs:///` */
|
|
3208
|
+
objectUri?: string;
|
|
3209
|
+
}
|
|
3210
|
+
interface GoogleCloudContactcenterinsightsV1mainExportIssueModelResponse {}
|
|
3211
|
+
interface GoogleCloudContactcenterinsightsV1mainFaqAnswerData {
|
|
3212
|
+
/** The piece of text from the `source` knowledge base document. */
|
|
3213
|
+
answer?: string;
|
|
3214
|
+
/** 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). */
|
|
3215
|
+
confidenceScore?: number;
|
|
3216
|
+
/** Map that contains metadata about the FAQ answer and the document that it originates from. */
|
|
3217
|
+
metadata?: {[P in string]: string};
|
|
3218
|
+
/** The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record} */
|
|
3219
|
+
queryRecord?: string;
|
|
3220
|
+
/** The corresponding FAQ question. */
|
|
3221
|
+
question?: string;
|
|
3222
|
+
/** The knowledge document that this answer was extracted from. Format: projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}. */
|
|
3223
|
+
source?: string;
|
|
3224
|
+
}
|
|
3225
|
+
interface GoogleCloudContactcenterinsightsV1mainFeedbackLabel {
|
|
3226
|
+
/** Output only. Create time of the label. */
|
|
3227
|
+
createTime?: string;
|
|
3228
|
+
/** String label used for Topic Modeling. */
|
|
3229
|
+
label?: string;
|
|
3230
|
+
/** Name of the resource to be labeled. Supported resources are: * `projects/{project}/locations/{location}/qaScorecards/{scorecard}/revisions/{revision}/qaQuestions/{question}` * `projects/{project}/locations/{location}/issueModels/{issue_model}` * `projects/{project}/locations/{location}/generators/{generator_id}` */
|
|
3231
|
+
labeledResource?: string;
|
|
3232
|
+
/** Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label} */
|
|
3233
|
+
name?: string;
|
|
3234
|
+
/** QaAnswer label used for Quality AI example conversations. */
|
|
3235
|
+
qaAnswerLabel?: GoogleCloudContactcenterinsightsV1mainQaAnswerAnswerValue;
|
|
3236
|
+
/** Output only. Update time of the label. */
|
|
3237
|
+
updateTime?: string;
|
|
3238
|
+
}
|
|
3239
|
+
interface GoogleCloudContactcenterinsightsV1mainGcsSource {
|
|
3240
|
+
/** Cloud Storage URI that points to a file that contains the conversation audio. */
|
|
3241
|
+
audioUri?: string;
|
|
3242
|
+
/** Immutable. Cloud Storage URI that points to a file that contains the conversation transcript. */
|
|
3243
|
+
transcriptUri?: string;
|
|
3244
|
+
}
|
|
3245
|
+
interface GoogleCloudContactcenterinsightsV1mainHoldData {}
|
|
3246
|
+
interface GoogleCloudContactcenterinsightsV1mainImportIssueModelMetadata {
|
|
3247
|
+
/** The time the operation was created. */
|
|
3248
|
+
createTime?: string;
|
|
3249
|
+
/** The time the operation finished running. */
|
|
3250
|
+
endTime?: string;
|
|
3251
|
+
/** The original import request. */
|
|
3252
|
+
request?: GoogleCloudContactcenterinsightsV1mainImportIssueModelRequest;
|
|
3253
|
+
}
|
|
3254
|
+
interface GoogleCloudContactcenterinsightsV1mainImportIssueModelRequest {
|
|
3255
|
+
/** 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. */
|
|
3256
|
+
createNewModel?: boolean;
|
|
3257
|
+
/** Google Cloud Storage source message. */
|
|
3258
|
+
gcsSource?: GoogleCloudContactcenterinsightsV1mainImportIssueModelRequestGcsSource;
|
|
3259
|
+
/** Required. The parent resource of the issue model. */
|
|
3260
|
+
parent?: string;
|
|
3261
|
+
}
|
|
3262
|
+
interface GoogleCloudContactcenterinsightsV1mainImportIssueModelRequestGcsSource {
|
|
3263
|
+
/** Required. Format: `gs:///` */
|
|
3264
|
+
objectUri?: string;
|
|
3265
|
+
}
|
|
3266
|
+
interface GoogleCloudContactcenterinsightsV1mainImportIssueModelResponse {
|
|
3267
|
+
/** The issue model that was imported. */
|
|
3268
|
+
issueModel?: GoogleCloudContactcenterinsightsV1mainIssueModel;
|
|
3269
|
+
}
|
|
3270
|
+
interface GoogleCloudContactcenterinsightsV1mainIngestConversationsMetadata {
|
|
3271
|
+
/** Output only. The time the operation was created. */
|
|
3272
|
+
createTime?: string;
|
|
3273
|
+
/** Output only. The time the operation finished running. */
|
|
3274
|
+
endTime?: string;
|
|
3275
|
+
/** Output only. Statistics for IngestConversations operation. */
|
|
3276
|
+
ingestConversationsStats?: GoogleCloudContactcenterinsightsV1mainIngestConversationsMetadataIngestConversationsStats;
|
|
3277
|
+
/** Output only. Partial errors during ingest operation that might cause the operation output to be incomplete. */
|
|
3278
|
+
partialErrors?: GoogleRpcStatus[];
|
|
3279
|
+
/** Output only. The original request for ingest. */
|
|
3280
|
+
request?: GoogleCloudContactcenterinsightsV1mainIngestConversationsRequest;
|
|
3281
|
+
/** Output only. Stores the conversation resources produced by ingest sampling operations. */
|
|
3282
|
+
sampledConversations?: string[];
|
|
3283
|
+
}
|
|
3284
|
+
interface GoogleCloudContactcenterinsightsV1mainIngestConversationsMetadataIngestConversationsStats {
|
|
3285
|
+
/** Output only. The number of objects skipped because another conversation with the same transcript uri had already been ingested. */
|
|
3286
|
+
duplicatesSkippedCount?: number;
|
|
3287
|
+
/** Output only. The number of objects which were unable to be ingested due to errors. The errors are populated in the partial_errors field. */
|
|
3288
|
+
failedIngestCount?: number;
|
|
3289
|
+
/** Output only. The number of objects processed during the ingest operation. */
|
|
3290
|
+
processedObjectCount?: number;
|
|
3291
|
+
/** Output only. The number of new conversations added during this ingest operation. */
|
|
3292
|
+
successfulIngestCount?: number;
|
|
3293
|
+
}
|
|
3294
|
+
interface GoogleCloudContactcenterinsightsV1mainIngestConversationsRequest {
|
|
3295
|
+
/** Configuration that applies to all conversations. */
|
|
3296
|
+
conversationConfig?: GoogleCloudContactcenterinsightsV1mainIngestConversationsRequestConversationConfig;
|
|
3297
|
+
/** A cloud storage bucket source. Note that any previously ingested objects from the source will be skipped to avoid duplication. */
|
|
3298
|
+
gcsSource?: GoogleCloudContactcenterinsightsV1mainIngestConversationsRequestGcsSource;
|
|
3299
|
+
/** Required. The parent resource for new conversations. */
|
|
3300
|
+
parent?: string;
|
|
3301
|
+
/** Optional. DLP settings for transcript redaction. Optional, will default to the config specified in Settings. */
|
|
3302
|
+
redactionConfig?: GoogleCloudContactcenterinsightsV1mainRedactionConfig;
|
|
3303
|
+
/** 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. */
|
|
3304
|
+
sampleSize?: number;
|
|
3305
|
+
/** Optional. Default Speech-to-Text configuration. Optional, will default to the config specified in Settings. */
|
|
3306
|
+
speechConfig?: GoogleCloudContactcenterinsightsV1mainSpeechConfig;
|
|
3307
|
+
/** Configuration for when `source` contains conversation transcripts. */
|
|
3308
|
+
transcriptObjectConfig?: GoogleCloudContactcenterinsightsV1mainIngestConversationsRequestTranscriptObjectConfig;
|
|
3309
|
+
}
|
|
3310
|
+
interface GoogleCloudContactcenterinsightsV1mainIngestConversationsRequestConversationConfig {
|
|
3311
|
+
/** 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. */
|
|
3312
|
+
agentChannel?: number;
|
|
3313
|
+
/** Optional. An opaque, user-specified string representing a human agent who handled all conversations in the import. Note that this will be overridden if per-conversation metadata is provided through the `metadata_bucket_uri`. */
|
|
3314
|
+
agentId?: string;
|
|
3315
|
+
/** 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. */
|
|
3316
|
+
customerChannel?: number;
|
|
3317
|
+
}
|
|
3318
|
+
interface GoogleCloudContactcenterinsightsV1mainIngestConversationsRequestGcsSource {
|
|
3319
|
+
/** Optional. The Cloud Storage path to the conversation audio file. Note that: [1] Audio files will be transcribed if not already. [2] Audio files and transcript files must be in separate buckets / folders. [3] A source file and its corresponding audio file must share the same name to be properly ingested, E.g. `gs://bucket/transcript/conversation1.json` and `gs://bucket/audio/conversation1.mp3`. */
|
|
3320
|
+
audioBucketUri?: string;
|
|
3321
|
+
/** Optional. Specifies the type of the objects in `bucket_uri`. Avoid passing this. This is inferred from the `transcript_bucket_uri`, `audio_bucket_uri`. */
|
|
3322
|
+
bucketObjectType?: string;
|
|
3323
|
+
/** Optional. The Cloud Storage bucket containing source objects. Avoid passing this. Pass this through one of `transcript_bucket_uri` or `audio_bucket_uri`. */
|
|
3324
|
+
bucketUri?: string;
|
|
3325
|
+
/** Optional. Custom keys to extract as conversation labels from metadata files in `metadata_bucket_uri`. Keys not included in this field will be ignored. Note that there is a limit of 100 labels per conversation. */
|
|
3326
|
+
customMetadataKeys?: string[];
|
|
3327
|
+
/** Optional. The Cloud Storage path to the conversation metadata. Note that: [1] Metadata files are expected to be in JSON format. [2] Metadata and source files (transcripts or audio) must be in separate buckets / folders. [3] A source file and its corresponding metadata file must share the same name to be properly ingested, E.g. `gs://bucket/audio/conversation1.mp3` and `gs://bucket/metadata/conversation1.json`. */
|
|
3328
|
+
metadataBucketUri?: string;
|
|
3329
|
+
/** Optional. The Cloud Storage path to the conversation transcripts. Note that: [1] Transcript files are expected to be in JSON format. [2] Transcript, audio, metadata files must be in separate buckets / folders. [3] A source file and its corresponding metadata file must share the same name to be properly ingested, E.g. `gs://bucket/audio/conversation1.mp3` and `gs://bucket/metadata/conversation1.json`. */
|
|
3330
|
+
transcriptBucketUri?: string;
|
|
3331
|
+
}
|
|
3332
|
+
interface GoogleCloudContactcenterinsightsV1mainIngestConversationsRequestTranscriptObjectConfig {
|
|
3333
|
+
/** Required. The medium transcript objects represent. */
|
|
3334
|
+
medium?: string;
|
|
3335
|
+
}
|
|
3336
|
+
interface GoogleCloudContactcenterinsightsV1mainIngestConversationsResponse {}
|
|
3337
|
+
interface GoogleCloudContactcenterinsightsV1mainInitializeEncryptionSpecMetadata {
|
|
3338
|
+
/** Output only. The time the operation was created. */
|
|
3339
|
+
createTime?: string;
|
|
3340
|
+
/** Output only. The time the operation finished running. */
|
|
3341
|
+
endTime?: string;
|
|
3342
|
+
/** Partial errors during initializing operation that might cause the operation output to be incomplete. */
|
|
3343
|
+
partialErrors?: GoogleRpcStatus[];
|
|
3344
|
+
/** Output only. The original request for initialization. */
|
|
3345
|
+
request?: GoogleCloudContactcenterinsightsV1mainInitializeEncryptionSpecRequest;
|
|
3346
|
+
}
|
|
3347
|
+
interface GoogleCloudContactcenterinsightsV1mainInitializeEncryptionSpecRequest {
|
|
3348
|
+
/** Required. The encryption spec used for CMEK encryption. It is required that the kms key is in the same region as the endpoint. The same key will be used for all provisioned resources, if encryption is available. If the `kms_key_name` field is left empty, no encryption will be enforced. */
|
|
3349
|
+
encryptionSpec?: GoogleCloudContactcenterinsightsV1mainEncryptionSpec;
|
|
3350
|
+
}
|
|
3351
|
+
interface GoogleCloudContactcenterinsightsV1mainInitializeEncryptionSpecResponse {}
|
|
3352
|
+
interface GoogleCloudContactcenterinsightsV1mainIntent {
|
|
3353
|
+
/** The human-readable name of the intent. */
|
|
3354
|
+
displayName?: string;
|
|
3355
|
+
/** The unique identifier of the intent. */
|
|
3356
|
+
id?: string;
|
|
3357
|
+
}
|
|
3358
|
+
interface GoogleCloudContactcenterinsightsV1mainIntentMatchData {
|
|
3359
|
+
/** The id of the matched intent. Can be used to retrieve the corresponding intent information. */
|
|
3360
|
+
intentUniqueId?: string;
|
|
3361
|
+
}
|
|
3362
|
+
interface GoogleCloudContactcenterinsightsV1mainInterruptionData {}
|
|
3363
|
+
interface GoogleCloudContactcenterinsightsV1mainIssue {
|
|
3364
|
+
/** Output only. The time at which this issue was created. */
|
|
3365
|
+
createTime?: string;
|
|
3366
|
+
/** Representative description of the issue. */
|
|
3367
|
+
displayDescription?: string;
|
|
3368
|
+
/** The representative name for the issue. */
|
|
3369
|
+
displayName?: string;
|
|
3370
|
+
/** Immutable. The resource name of the issue. Format: projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue} */
|
|
3371
|
+
name?: string;
|
|
3372
|
+
/** Output only. Resource names of the sample representative utterances that match to this issue. */
|
|
3373
|
+
sampleUtterances?: string[];
|
|
3374
|
+
/** Output only. The most recent time that this issue was updated. */
|
|
3375
|
+
updateTime?: string;
|
|
3376
|
+
}
|
|
3377
|
+
interface GoogleCloudContactcenterinsightsV1mainIssueAssignment {
|
|
3378
|
+
/** Immutable. Display name of the assigned issue. This field is set at time of analysis and immutable since then. */
|
|
3379
|
+
displayName?: string;
|
|
3380
|
+
/** Resource name of the assigned issue. */
|
|
3381
|
+
issue?: string;
|
|
3382
|
+
/** Score indicating the likelihood of the issue assignment. currently bounded on [0,1]. */
|
|
3383
|
+
score?: number;
|
|
3384
|
+
}
|
|
3385
|
+
interface GoogleCloudContactcenterinsightsV1mainIssueMatchData {
|
|
3386
|
+
/** Information about the issue's assignment. */
|
|
3387
|
+
issueAssignment?: GoogleCloudContactcenterinsightsV1mainIssueAssignment;
|
|
3388
|
+
}
|
|
3389
|
+
interface GoogleCloudContactcenterinsightsV1mainIssueModel {
|
|
3390
|
+
/** Output only. The time at which this issue model was created. */
|
|
3391
|
+
createTime?: string;
|
|
3392
|
+
/** The representative name for the issue model. */
|
|
3393
|
+
displayName?: string;
|
|
3394
|
+
/** Configs for the input data that used to create the issue model. */
|
|
3395
|
+
inputDataConfig?: GoogleCloudContactcenterinsightsV1mainIssueModelInputDataConfig;
|
|
3396
|
+
/** Output only. Number of issues in this issue model. */
|
|
3397
|
+
issueCount?: string;
|
|
3398
|
+
/** Language of the model. */
|
|
3399
|
+
languageCode?: string;
|
|
3400
|
+
/** Type of the model. */
|
|
3401
|
+
modelType?: string;
|
|
3402
|
+
/** Immutable. The resource name of the issue model. Format: projects/{project}/locations/{location}/issueModels/{issue_model} */
|
|
3403
|
+
name?: string;
|
|
3404
|
+
/** Output only. State of the model. */
|
|
3405
|
+
state?: string;
|
|
3406
|
+
/** Output only. Immutable. The issue model's label statistics on its training data. */
|
|
3407
|
+
trainingStats?: GoogleCloudContactcenterinsightsV1mainIssueModelLabelStats;
|
|
3408
|
+
/** Output only. The most recent time at which the issue model was updated. */
|
|
3409
|
+
updateTime?: string;
|
|
3410
|
+
}
|
|
3411
|
+
interface GoogleCloudContactcenterinsightsV1mainIssueModelInputDataConfig {
|
|
3412
|
+
/** 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. */
|
|
3413
|
+
filter?: string;
|
|
3414
|
+
/** Medium of conversations used in training data. This field is being deprecated. To specify the medium to be used in training a new issue model, set the `medium` field on `filter`. */
|
|
3415
|
+
medium?: string;
|
|
3416
|
+
/** Output only. Number of conversations used in training. Output only. */
|
|
3417
|
+
trainingConversationsCount?: string;
|
|
3418
|
+
}
|
|
3419
|
+
interface GoogleCloudContactcenterinsightsV1mainIssueModelLabelStats {
|
|
3420
|
+
/** Number of conversations the issue model has analyzed at this point in time. */
|
|
3421
|
+
analyzedConversationsCount?: string;
|
|
3422
|
+
/** Statistics on each issue. Key is the issue's resource name. */
|
|
3423
|
+
issueStats?: {
|
|
3424
|
+
[P in string]: GoogleCloudContactcenterinsightsV1mainIssueModelLabelStatsIssueStats;
|
|
3425
|
+
};
|
|
3426
|
+
/** Number of analyzed conversations for which no issue was applicable at this point in time. */
|
|
3427
|
+
unclassifiedConversationsCount?: string;
|
|
3428
|
+
}
|
|
3429
|
+
interface GoogleCloudContactcenterinsightsV1mainIssueModelLabelStatsIssueStats {
|
|
3430
|
+
/** Display name of the issue. */
|
|
3431
|
+
displayName?: string;
|
|
3432
|
+
/** Issue resource. Format: projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue} */
|
|
3433
|
+
issue?: string;
|
|
3434
|
+
/** Number of conversations attached to the issue at this point in time. */
|
|
3435
|
+
labeledConversationsCount?: string;
|
|
3436
|
+
}
|
|
3437
|
+
interface GoogleCloudContactcenterinsightsV1mainIssueModelResult {
|
|
3438
|
+
/** Issue model that generates the result. Format: projects/{project}/locations/{location}/issueModels/{issue_model} */
|
|
3439
|
+
issueModel?: string;
|
|
3440
|
+
/** All the matched issues. */
|
|
3441
|
+
issues?: GoogleCloudContactcenterinsightsV1mainIssueAssignment[];
|
|
3442
|
+
}
|
|
3443
|
+
interface GoogleCloudContactcenterinsightsV1mainListAllFeedbackLabelsResponse {
|
|
3444
|
+
/** The feedback labels that match the request. */
|
|
3445
|
+
feedbackLabels?: GoogleCloudContactcenterinsightsV1mainFeedbackLabel[];
|
|
3446
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
3447
|
+
nextPageToken?: string;
|
|
3448
|
+
}
|
|
3449
|
+
interface GoogleCloudContactcenterinsightsV1mainListFeedbackLabelsResponse {
|
|
3450
|
+
/** The feedback labels that match the request. */
|
|
3451
|
+
feedbackLabels?: GoogleCloudContactcenterinsightsV1mainFeedbackLabel[];
|
|
3452
|
+
/** The next page token. */
|
|
3453
|
+
nextPageToken?: string;
|
|
3454
|
+
}
|
|
3455
|
+
interface GoogleCloudContactcenterinsightsV1mainPhraseMatchData {
|
|
3456
|
+
/** The human-readable name of the phrase matcher. */
|
|
3457
|
+
displayName?: string;
|
|
3458
|
+
/** The unique identifier (the resource name) of the phrase matcher. */
|
|
3459
|
+
phraseMatcher?: string;
|
|
3460
|
+
}
|
|
3461
|
+
interface GoogleCloudContactcenterinsightsV1mainQaAnswer {
|
|
3462
|
+
/** 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. */
|
|
3463
|
+
answerSources?: GoogleCloudContactcenterinsightsV1mainQaAnswerAnswerSource[];
|
|
3464
|
+
/** The answer value from this source. This field is populated by default, unless the question has a selection strategy configured to return multiple answer values, in which case `answer_values` will be populated instead. */
|
|
3465
|
+
answerValue?: GoogleCloudContactcenterinsightsV1mainQaAnswerAnswerValue;
|
|
3466
|
+
/** The conversation the answer applies to. */
|
|
3467
|
+
conversation?: string;
|
|
3468
|
+
/** The QaQuestion answered by this answer. */
|
|
3469
|
+
qaQuestion?: string;
|
|
3470
|
+
/** Question text. E.g., "Did the agent greet the customer?" */
|
|
3471
|
+
questionBody?: string;
|
|
3472
|
+
/** 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. */
|
|
3473
|
+
tags?: string[];
|
|
3474
|
+
}
|
|
3475
|
+
interface GoogleCloudContactcenterinsightsV1mainQaAnswerAnswerSource {
|
|
3476
|
+
/** The answer value from this source. This field is populated by default, unless the question has a selection strategy configured to return multiple answer values, in which case `answer_values` will be populated instead. */
|
|
3477
|
+
answerValue?: GoogleCloudContactcenterinsightsV1mainQaAnswerAnswerValue;
|
|
3478
|
+
/** What created the answer. */
|
|
3479
|
+
sourceType?: string;
|
|
3480
|
+
}
|
|
3481
|
+
interface GoogleCloudContactcenterinsightsV1mainQaAnswerAnswerValue {
|
|
3482
|
+
/** Boolean value. */
|
|
3483
|
+
boolValue?: boolean;
|
|
3484
|
+
/** A short string used as an identifier. Matches the value used in QaQuestion.AnswerChoice.key. */
|
|
3485
|
+
key?: string;
|
|
3486
|
+
/** A value of "Not Applicable (N/A)". Should only ever be `true`. */
|
|
3487
|
+
naValue?: boolean;
|
|
3488
|
+
/** Output only. Normalized score of the questions. Calculated as score / potential_score. */
|
|
3489
|
+
normalizedScore?: number;
|
|
3490
|
+
/** Numerical value. */
|
|
3491
|
+
numValue?: number;
|
|
3492
|
+
/** Output only. The maximum potential score of the question. */
|
|
3493
|
+
potentialScore?: number;
|
|
3494
|
+
/** Output only. Numerical score of the answer. */
|
|
3495
|
+
score?: number;
|
|
3496
|
+
/** Output only. A value of "Skip". If provided, this field may only be set to `true`. If a question receives this answer, it will be excluded from any score calculations. This would mean that the question was not evaluated. */
|
|
3497
|
+
skipValue?: boolean;
|
|
3498
|
+
/** String value. */
|
|
3499
|
+
strValue?: string;
|
|
3500
|
+
}
|
|
3501
|
+
interface GoogleCloudContactcenterinsightsV1mainQaQuestionTag {
|
|
3502
|
+
/** Output only. The time at which the question tag was created. */
|
|
3503
|
+
createTime?: string;
|
|
3504
|
+
/** Required. A user-specified display name for the tag. */
|
|
3505
|
+
displayName?: string;
|
|
3506
|
+
/** 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. */
|
|
3507
|
+
name?: string;
|
|
3508
|
+
/** 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. */
|
|
3509
|
+
qaQuestionIds?: string[];
|
|
3510
|
+
/** Output only. The most recent time at which the question tag was updated. */
|
|
3511
|
+
updateTime?: string;
|
|
3512
|
+
}
|
|
3513
|
+
interface GoogleCloudContactcenterinsightsV1mainQaScorecardResult {
|
|
3514
|
+
/** ID of the agent that handled the conversation. */
|
|
3515
|
+
agentId?: string;
|
|
3516
|
+
/** The conversation scored by this result. */
|
|
3517
|
+
conversation?: string;
|
|
3518
|
+
/** Output only. The timestamp that the revision was created. */
|
|
3519
|
+
createTime?: string;
|
|
3520
|
+
/** Identifier. The name of the scorecard result. Format: projects/{project}/locations/{location}/qaScorecardResults/{qa_scorecard_result} */
|
|
3521
|
+
name?: string;
|
|
3522
|
+
/** The normalized score, which is the score divided by the potential score. Any manual edits are included if they exist. */
|
|
3523
|
+
normalizedScore?: number;
|
|
3524
|
+
/** The maximum potential overall score of the scorecard. Any questions answered using `na_value` are excluded from this calculation. */
|
|
3525
|
+
potentialScore?: number;
|
|
3526
|
+
/** Set of QaAnswers represented in the result. */
|
|
3527
|
+
qaAnswers?: GoogleCloudContactcenterinsightsV1mainQaAnswer[];
|
|
3528
|
+
/** The QaScorecardRevision scored by this result. */
|
|
3529
|
+
qaScorecardRevision?: string;
|
|
3530
|
+
/** Collection of tags and their scores. */
|
|
3531
|
+
qaTagResults?: GoogleCloudContactcenterinsightsV1mainQaScorecardResultQaTagResult[];
|
|
3532
|
+
/** The overall numerical score of the result, incorporating any manual edits if they exist. */
|
|
3533
|
+
score?: number;
|
|
3534
|
+
/** List of all individual score sets. */
|
|
3535
|
+
scoreSources?: GoogleCloudContactcenterinsightsV1mainQaScorecardResultScoreSource[];
|
|
3536
|
+
}
|
|
3537
|
+
interface GoogleCloudContactcenterinsightsV1mainQaScorecardResultQaTagResult {
|
|
3538
|
+
/** The normalized score the tag applies to. */
|
|
3539
|
+
normalizedScore?: number;
|
|
3540
|
+
/** The potential score the tag applies to. */
|
|
3541
|
+
potentialScore?: number;
|
|
3542
|
+
/** The score the tag applies to. */
|
|
3543
|
+
score?: number;
|
|
3544
|
+
/** The tag the score applies to. */
|
|
3545
|
+
tag?: string;
|
|
3546
|
+
}
|
|
3547
|
+
interface GoogleCloudContactcenterinsightsV1mainQaScorecardResultScoreSource {
|
|
3548
|
+
/** The normalized score, which is the score divided by the potential score. */
|
|
3549
|
+
normalizedScore?: number;
|
|
3550
|
+
/** The maximum potential overall score of the scorecard. Any questions answered using `na_value` are excluded from this calculation. */
|
|
3551
|
+
potentialScore?: number;
|
|
3552
|
+
/** Collection of tags and their scores. */
|
|
3553
|
+
qaTagResults?: GoogleCloudContactcenterinsightsV1mainQaScorecardResultQaTagResult[];
|
|
3554
|
+
/** The overall numerical score of the result. */
|
|
3555
|
+
score?: number;
|
|
3556
|
+
/** What created the score. */
|
|
3557
|
+
sourceType?: string;
|
|
3558
|
+
}
|
|
3559
|
+
interface GoogleCloudContactcenterinsightsV1mainQueryMetricsMetadata {
|
|
3560
|
+
/** Whether the result rows were truncated because the result row size is too large to materialize. */
|
|
3561
|
+
resultIsTruncated?: boolean;
|
|
3562
|
+
}
|
|
3563
|
+
interface GoogleCloudContactcenterinsightsV1mainQueryMetricsResponse {
|
|
3564
|
+
/** Required. The location of the data. "projects/{project}/locations/{location}" */
|
|
3565
|
+
location?: string;
|
|
3566
|
+
/** 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. */
|
|
3567
|
+
macroAverageSlice?: GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSlice;
|
|
3568
|
+
/** 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. */
|
|
3569
|
+
slices?: GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSlice[];
|
|
3570
|
+
/** The metrics last update time. */
|
|
3571
|
+
updateTime?: string;
|
|
3572
|
+
}
|
|
3573
|
+
interface GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSlice {
|
|
3574
|
+
/** A unique combination of dimensions that this slice represents. */
|
|
3575
|
+
dimensions?: GoogleCloudContactcenterinsightsV1mainDimension[];
|
|
3576
|
+
/** A time series of metric values. This is only populated if the request specifies a time granularity other than NONE. */
|
|
3577
|
+
timeSeries?: GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceTimeSeries;
|
|
3578
|
+
/** The total metric value. The interval of this data point is [starting create time, ending create time) from the request. */
|
|
3579
|
+
total?: GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPoint;
|
|
3580
|
+
}
|
|
3581
|
+
interface GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPoint {
|
|
3582
|
+
/** The measure related to conversations. */
|
|
3583
|
+
conversationMeasure?: GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointConversationMeasure;
|
|
3584
|
+
/** The interval that this data point represents. * If this is the total data point, the interval is [starting create time, ending create time) from the request. * If this a data point from the time series, the interval is [time, time + time granularity from the request). */
|
|
3585
|
+
interval?: GoogleTypeInterval;
|
|
3586
|
+
}
|
|
3587
|
+
interface GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointConversationMeasure {
|
|
3588
|
+
/** The average agent's sentiment score. */
|
|
3589
|
+
averageAgentSentimentScore?: number;
|
|
3590
|
+
/** The average client's sentiment score. */
|
|
3591
|
+
averageClientSentimentScore?: number;
|
|
3592
|
+
/** The average customer satisfaction rating. */
|
|
3593
|
+
averageCustomerSatisfactionRating?: number;
|
|
3594
|
+
/** The average duration. */
|
|
3595
|
+
averageDuration?: string;
|
|
3596
|
+
/** 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. */
|
|
3597
|
+
averageQaNormalizedScore?: number;
|
|
3598
|
+
/** 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. */
|
|
3599
|
+
averageQaQuestionNormalizedScore?: number;
|
|
3600
|
+
/** The average silence percentage. */
|
|
3601
|
+
averageSilencePercentage?: number;
|
|
3602
|
+
/** The average turn count. */
|
|
3603
|
+
averageTurnCount?: number;
|
|
3604
|
+
/** The conversation count. */
|
|
3605
|
+
conversationCount?: number;
|
|
3606
|
+
/** Average QA normalized score for all the tags. */
|
|
3607
|
+
qaTagScores?: GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointConversationMeasureQaTagScore[];
|
|
3608
|
+
}
|
|
3609
|
+
interface GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointConversationMeasureQaTagScore {
|
|
3610
|
+
/** Average tag normalized score per tag. */
|
|
3611
|
+
averageTagNormalizedScore?: number;
|
|
3612
|
+
/** Tag name. */
|
|
3613
|
+
tag?: string;
|
|
3614
|
+
}
|
|
3615
|
+
interface GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceTimeSeries {
|
|
3616
|
+
/** The data points that make up the time series . */
|
|
3617
|
+
dataPoints?: GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPoint[];
|
|
2380
3618
|
}
|
|
2381
|
-
interface
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
nextPageToken?: string;
|
|
3619
|
+
interface GoogleCloudContactcenterinsightsV1mainQueryPerformanceOverviewMetadata {}
|
|
3620
|
+
interface GoogleCloudContactcenterinsightsV1mainQueryPerformanceOverviewResponse {
|
|
3621
|
+
/** The summary text of the performance. */
|
|
3622
|
+
summaryText?: string;
|
|
2386
3623
|
}
|
|
2387
|
-
interface
|
|
2388
|
-
/** The
|
|
2389
|
-
|
|
2390
|
-
/**
|
|
2391
|
-
|
|
3624
|
+
interface GoogleCloudContactcenterinsightsV1mainRedactionConfig {
|
|
3625
|
+
/** The fully-qualified DLP deidentify template resource name. Format: `projects/{project}/deidentifyTemplates/{template}` */
|
|
3626
|
+
deidentifyTemplate?: string;
|
|
3627
|
+
/** The fully-qualified DLP inspect template resource name. Format: `projects/{project}/locations/{location}/inspectTemplates/{template}` */
|
|
3628
|
+
inspectTemplate?: string;
|
|
2392
3629
|
}
|
|
2393
|
-
interface
|
|
2394
|
-
/** The
|
|
2395
|
-
|
|
2396
|
-
/**
|
|
2397
|
-
|
|
3630
|
+
interface GoogleCloudContactcenterinsightsV1mainRuntimeAnnotation {
|
|
3631
|
+
/** The unique identifier of the annotation. Format: projects/{project}/locations/{location}/conversationDatasets/{dataset}/conversationDataItems/{data_item}/conversationAnnotations/{annotation} */
|
|
3632
|
+
annotationId?: string;
|
|
3633
|
+
/** The feedback that the customer has about the answer in `data`. */
|
|
3634
|
+
answerFeedback?: GoogleCloudContactcenterinsightsV1mainAnswerFeedback;
|
|
3635
|
+
/** Agent Assist Article Suggestion data. */
|
|
3636
|
+
articleSuggestion?: GoogleCloudContactcenterinsightsV1mainArticleSuggestionData;
|
|
3637
|
+
/** Conversation summarization suggestion data. */
|
|
3638
|
+
conversationSummarizationSuggestion?: GoogleCloudContactcenterinsightsV1mainConversationSummarizationSuggestionData;
|
|
3639
|
+
/** The time at which this annotation was created. */
|
|
3640
|
+
createTime?: string;
|
|
3641
|
+
/** Dialogflow interaction data. */
|
|
3642
|
+
dialogflowInteraction?: GoogleCloudContactcenterinsightsV1mainDialogflowInteractionData;
|
|
3643
|
+
/** The boundary in the conversation where the annotation ends, inclusive. */
|
|
3644
|
+
endBoundary?: GoogleCloudContactcenterinsightsV1mainAnnotationBoundary;
|
|
3645
|
+
/** Agent Assist FAQ answer data. */
|
|
3646
|
+
faqAnswer?: GoogleCloudContactcenterinsightsV1mainFaqAnswerData;
|
|
3647
|
+
/** Agent Assist Smart Compose suggestion data. */
|
|
3648
|
+
smartComposeSuggestion?: GoogleCloudContactcenterinsightsV1mainSmartComposeSuggestionData;
|
|
3649
|
+
/** Agent Assist Smart Reply data. */
|
|
3650
|
+
smartReply?: GoogleCloudContactcenterinsightsV1mainSmartReplyData;
|
|
3651
|
+
/** The boundary in the conversation where the annotation starts, inclusive. */
|
|
3652
|
+
startBoundary?: GoogleCloudContactcenterinsightsV1mainAnnotationBoundary;
|
|
3653
|
+
/** Explicit input used for generating the answer */
|
|
3654
|
+
userInput?: GoogleCloudContactcenterinsightsV1mainRuntimeAnnotationUserInput;
|
|
2398
3655
|
}
|
|
2399
|
-
interface
|
|
2400
|
-
/** The
|
|
2401
|
-
|
|
2402
|
-
/**
|
|
2403
|
-
|
|
3656
|
+
interface GoogleCloudContactcenterinsightsV1mainRuntimeAnnotationUserInput {
|
|
3657
|
+
/** The resource name of associated generator. Format: `projects//locations//generators/` */
|
|
3658
|
+
generatorName?: string;
|
|
3659
|
+
/** Query text. Article Search uses this to store the input query used to generate the search results. */
|
|
3660
|
+
query?: string;
|
|
3661
|
+
/** Query source for the answer. */
|
|
3662
|
+
querySource?: string;
|
|
2404
3663
|
}
|
|
2405
|
-
interface
|
|
2406
|
-
/**
|
|
2407
|
-
|
|
2408
|
-
/**
|
|
2409
|
-
|
|
3664
|
+
interface GoogleCloudContactcenterinsightsV1mainSampleConversationsMetadata {
|
|
3665
|
+
/** Output only. The time the operation was created. */
|
|
3666
|
+
createTime?: string;
|
|
3667
|
+
/** Output only. The time the operation finished running. */
|
|
3668
|
+
endTime?: string;
|
|
3669
|
+
/** Output only. Partial errors during sample conversations operation that might cause the operation output to be incomplete. */
|
|
3670
|
+
partialErrors?: GoogleRpcStatus[];
|
|
3671
|
+
/** Output only. The original request for sample conversations to dataset. */
|
|
3672
|
+
request?: GoogleCloudContactcenterinsightsV1mainSampleConversationsRequest;
|
|
3673
|
+
/** Output only. Statistics for SampleConversations operation. */
|
|
3674
|
+
sampleConversationsStats?: GoogleCloudContactcenterinsightsV1mainSampleConversationsMetadataSampleConversationsStats;
|
|
2410
3675
|
}
|
|
2411
|
-
interface
|
|
2412
|
-
/** The
|
|
2413
|
-
|
|
2414
|
-
/**
|
|
2415
|
-
|
|
3676
|
+
interface GoogleCloudContactcenterinsightsV1mainSampleConversationsMetadataSampleConversationsStats {
|
|
3677
|
+
/** Output only. The number of objects which were unable to be sampled due to errors. The errors are populated in the partial_errors field. */
|
|
3678
|
+
failedSampleCount?: number;
|
|
3679
|
+
/** Output only. The number of new conversations added during this sample operation. */
|
|
3680
|
+
successfulSampleCount?: number;
|
|
2416
3681
|
}
|
|
2417
|
-
interface
|
|
2418
|
-
/** The
|
|
2419
|
-
|
|
2420
|
-
/** The
|
|
2421
|
-
|
|
3682
|
+
interface GoogleCloudContactcenterinsightsV1mainSampleConversationsRequest {
|
|
3683
|
+
/** The dataset resource to copy the sampled conversations to. */
|
|
3684
|
+
destinationDataset?: GoogleCloudContactcenterinsightsV1mainDataset;
|
|
3685
|
+
/** Required. The parent resource of the dataset. */
|
|
3686
|
+
parent?: string;
|
|
3687
|
+
/** Optional. The sample rule used for sampling conversations. */
|
|
3688
|
+
sampleRule?: GoogleCloudContactcenterinsightsV1mainSampleRule;
|
|
2422
3689
|
}
|
|
2423
|
-
interface
|
|
2424
|
-
|
|
2425
|
-
|
|
3690
|
+
interface GoogleCloudContactcenterinsightsV1mainSampleConversationsResponse {}
|
|
3691
|
+
interface GoogleCloudContactcenterinsightsV1mainSampleRule {
|
|
3692
|
+
/** To specify the filter for the conversions that should apply this sample rule. An empty filter means this sample rule applies to all conversations. */
|
|
3693
|
+
conversationFilter?: string;
|
|
3694
|
+
/** 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'. */
|
|
3695
|
+
dimension?: string;
|
|
3696
|
+
/** Percentage of conversations that we should sample based on the dimension between [0, 100]. */
|
|
3697
|
+
samplePercentage?: number;
|
|
3698
|
+
/** Number of the conversations that we should sample based on the dimension. */
|
|
3699
|
+
sampleRow?: string;
|
|
2426
3700
|
}
|
|
2427
|
-
interface
|
|
2428
|
-
/**
|
|
2429
|
-
|
|
3701
|
+
interface GoogleCloudContactcenterinsightsV1mainSentimentData {
|
|
3702
|
+
/** A non-negative number from 0 to infinity which represents the absolute magnitude of sentiment regardless of score. */
|
|
3703
|
+
magnitude?: number;
|
|
3704
|
+
/** The sentiment score between -1.0 (negative) and 1.0 (positive). */
|
|
3705
|
+
score?: number;
|
|
2430
3706
|
}
|
|
2431
|
-
interface
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
|
|
3707
|
+
interface GoogleCloudContactcenterinsightsV1mainSilenceData {}
|
|
3708
|
+
interface GoogleCloudContactcenterinsightsV1mainSmartComposeSuggestionData {
|
|
3709
|
+
/** 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). */
|
|
3710
|
+
confidenceScore?: number;
|
|
3711
|
+
/** Map that contains metadata about the Smart Compose suggestion and the document from which it originates. */
|
|
3712
|
+
metadata?: {[P in string]: string};
|
|
3713
|
+
/** The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record} */
|
|
3714
|
+
queryRecord?: string;
|
|
3715
|
+
/** The content of the suggestion. */
|
|
3716
|
+
suggestion?: string;
|
|
2436
3717
|
}
|
|
2437
|
-
interface
|
|
2438
|
-
/**
|
|
2439
|
-
|
|
2440
|
-
/**
|
|
2441
|
-
|
|
3718
|
+
interface GoogleCloudContactcenterinsightsV1mainSmartReplyData {
|
|
3719
|
+
/** 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). */
|
|
3720
|
+
confidenceScore?: number;
|
|
3721
|
+
/** Map that contains metadata about the Smart Reply and the document from which it originates. */
|
|
3722
|
+
metadata?: {[P in string]: string};
|
|
3723
|
+
/** The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record} */
|
|
3724
|
+
queryRecord?: string;
|
|
3725
|
+
/** The content of the reply. */
|
|
3726
|
+
reply?: string;
|
|
2442
3727
|
}
|
|
2443
|
-
interface
|
|
2444
|
-
/**
|
|
2445
|
-
|
|
2446
|
-
/** The
|
|
2447
|
-
|
|
3728
|
+
interface GoogleCloudContactcenterinsightsV1mainSpeechConfig {
|
|
3729
|
+
/** Whether to disable word time offsets. If true, the `enable_word_time_offsets` field in the recognition config will be set to false. */
|
|
3730
|
+
disableWordTimeOffsets?: boolean;
|
|
3731
|
+
/** The fully-qualified Speech Recognizer resource name. Format: `projects/{project_id}/locations/{location}/recognizer/{recognizer}` */
|
|
3732
|
+
speechRecognizer?: string;
|
|
2448
3733
|
}
|
|
2449
|
-
interface
|
|
2450
|
-
/**
|
|
2451
|
-
|
|
2452
|
-
/**
|
|
2453
|
-
|
|
3734
|
+
interface GoogleCloudContactcenterinsightsV1mainUndeployIssueModelMetadata {
|
|
3735
|
+
/** Output only. The time the operation was created. */
|
|
3736
|
+
createTime?: string;
|
|
3737
|
+
/** Output only. The time the operation finished running. */
|
|
3738
|
+
endTime?: string;
|
|
3739
|
+
/** The original request for undeployment. */
|
|
3740
|
+
request?: GoogleCloudContactcenterinsightsV1mainUndeployIssueModelRequest;
|
|
2454
3741
|
}
|
|
2455
|
-
interface
|
|
2456
|
-
/**
|
|
2457
|
-
|
|
2458
|
-
/** The QaScorecards under the parent. */
|
|
2459
|
-
qaScorecardRevisions?: GoogleCloudContactcenterinsightsV1QaScorecardRevision[];
|
|
3742
|
+
interface GoogleCloudContactcenterinsightsV1mainUndeployIssueModelRequest {
|
|
3743
|
+
/** Required. The issue model to undeploy. */
|
|
3744
|
+
name?: string;
|
|
2460
3745
|
}
|
|
2461
|
-
interface
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
3746
|
+
interface GoogleCloudContactcenterinsightsV1mainUndeployIssueModelResponse {}
|
|
3747
|
+
interface GoogleCloudContactcenterinsightsV1mainUpdateQaQuestionTagMetadata {
|
|
3748
|
+
/** Output only. The time the operation was created. */
|
|
3749
|
+
createTime?: string;
|
|
3750
|
+
/** Output only. The time the operation finished running. */
|
|
3751
|
+
endTime?: string;
|
|
3752
|
+
/** Output only. The original request. */
|
|
3753
|
+
request?: GoogleCloudContactcenterinsightsV1mainUpdateQaQuestionTagRequest;
|
|
2466
3754
|
}
|
|
2467
|
-
interface
|
|
2468
|
-
/**
|
|
2469
|
-
|
|
2470
|
-
/** The
|
|
2471
|
-
|
|
3755
|
+
interface GoogleCloudContactcenterinsightsV1mainUpdateQaQuestionTagRequest {
|
|
3756
|
+
/** Required. The QaQuestionTag to update. */
|
|
3757
|
+
qaQuestionTag?: GoogleCloudContactcenterinsightsV1mainQaQuestionTag;
|
|
3758
|
+
/** Optional. The list of fields to be updated. All possible fields can be updated by passing `*`, or a subset of the following updateable fields can be provided: * `qa_question_tag_name` - the name of the tag * `qa_question_ids` - the list of questions the tag applies to */
|
|
3759
|
+
updateMask?: string;
|
|
3760
|
+
}
|
|
3761
|
+
interface GoogleCloudContactcenterinsightsV1mainUploadConversationMetadata {
|
|
3762
|
+
/** Output only. The operation name for a successfully created analysis operation, if any. */
|
|
3763
|
+
analysisOperation?: string;
|
|
3764
|
+
/** Output only. The redaction config applied to the uploaded conversation. */
|
|
3765
|
+
appliedRedactionConfig?: GoogleCloudContactcenterinsightsV1mainRedactionConfig;
|
|
3766
|
+
/** Output only. The time the operation was created. */
|
|
3767
|
+
createTime?: string;
|
|
3768
|
+
/** Output only. The time the operation finished running. */
|
|
3769
|
+
endTime?: string;
|
|
3770
|
+
/** Output only. The original request. */
|
|
3771
|
+
request?: GoogleCloudContactcenterinsightsV1mainUploadConversationRequest;
|
|
3772
|
+
}
|
|
3773
|
+
interface GoogleCloudContactcenterinsightsV1mainUploadConversationRequest {
|
|
3774
|
+
/** Required. The conversation resource to create. */
|
|
3775
|
+
conversation?: GoogleCloudContactcenterinsightsV1mainConversation;
|
|
3776
|
+
/** Optional. A unique ID for the new conversation. This ID will become the final component of the conversation's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular expression `^[a-z0-9-]{4,64}$`. Valid characters are `a-z-` */
|
|
3777
|
+
conversationId?: string;
|
|
3778
|
+
/** Required. The parent resource of the conversation. */
|
|
3779
|
+
parent?: string;
|
|
3780
|
+
/** Optional. DLP settings for transcript redaction. Will default to the config specified in Settings. */
|
|
3781
|
+
redactionConfig?: GoogleCloudContactcenterinsightsV1mainRedactionConfig;
|
|
3782
|
+
/** Optional. Speech-to-Text configuration. Will default to the config specified in Settings. */
|
|
3783
|
+
speechConfig?: GoogleCloudContactcenterinsightsV1mainSpeechConfig;
|
|
2472
3784
|
}
|
|
2473
3785
|
interface GoogleCloudContactcenterinsightsV1Note {
|
|
2474
3786
|
/** The note is associated to the entire parent assessment. */
|
|
@@ -2538,6 +3850,8 @@ declare namespace gapi.client {
|
|
|
2538
3850
|
interface GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfig {
|
|
2539
3851
|
/** The configuration for the exact match rule. */
|
|
2540
3852
|
exactMatchConfig?: GoogleCloudContactcenterinsightsV1ExactMatchConfig;
|
|
3853
|
+
/** The configuration for the regex match rule. */
|
|
3854
|
+
regexMatchConfig?: any;
|
|
2541
3855
|
}
|
|
2542
3856
|
interface GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup {
|
|
2543
3857
|
/** A list of phrase match rules that are included in this group. */
|
|
@@ -2547,9 +3861,9 @@ declare namespace gapi.client {
|
|
|
2547
3861
|
}
|
|
2548
3862
|
interface GoogleCloudContactcenterinsightsV1PublishAssessmentRequest {}
|
|
2549
3863
|
interface GoogleCloudContactcenterinsightsV1QaAnswer {
|
|
2550
|
-
/**
|
|
3864
|
+
/** 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. */
|
|
2551
3865
|
answerSources?: GoogleCloudContactcenterinsightsV1QaAnswerAnswerSource[];
|
|
2552
|
-
/** The
|
|
3866
|
+
/** The answer value from this source. This field is populated by default, unless the question has a selection strategy configured to return multiple answer values, in which case `answer_values` will be populated instead. */
|
|
2553
3867
|
answerValue?: GoogleCloudContactcenterinsightsV1QaAnswerAnswerValue;
|
|
2554
3868
|
/** The conversation the answer applies to. */
|
|
2555
3869
|
conversation?: string;
|
|
@@ -2561,7 +3875,7 @@ declare namespace gapi.client {
|
|
|
2561
3875
|
tags?: string[];
|
|
2562
3876
|
}
|
|
2563
3877
|
interface GoogleCloudContactcenterinsightsV1QaAnswerAnswerSource {
|
|
2564
|
-
/** The answer value from this source. */
|
|
3878
|
+
/** The answer value from this source. This field is populated by default, unless the question has a selection strategy configured to return multiple answer values, in which case `answer_values` will be populated instead. */
|
|
2565
3879
|
answerValue?: GoogleCloudContactcenterinsightsV1QaAnswerAnswerValue;
|
|
2566
3880
|
/** What created the answer. */
|
|
2567
3881
|
sourceType?: string;
|
|
@@ -2831,6 +4145,7 @@ declare namespace gapi.client {
|
|
|
2831
4145
|
/** The fully-qualified DLP inspect template resource name. Format: `projects/{project}/locations/{location}/inspectTemplates/{template}` */
|
|
2832
4146
|
inspectTemplate?: string;
|
|
2833
4147
|
}
|
|
4148
|
+
interface GoogleCloudContactcenterinsightsV1RegexMatchConfig {}
|
|
2834
4149
|
interface GoogleCloudContactcenterinsightsV1RuntimeAnnotation {
|
|
2835
4150
|
/** The unique identifier of the annotation. Format: projects/{project}/locations/{location}/conversationDatasets/{dataset}/conversationDataItems/{data_item}/conversationAnnotations/{annotation} */
|
|
2836
4151
|
annotationId?: string;
|
|
@@ -2954,6 +4269,14 @@ declare namespace gapi.client {
|
|
|
2954
4269
|
/** Percentage of conversations created using the UploadConversation endpoint to analyze automatically, between [0, 100]. */
|
|
2955
4270
|
uploadConversationAnalysisPercentage?: number;
|
|
2956
4271
|
}
|
|
4272
|
+
interface GoogleCloudContactcenterinsightsV1SignedAudioUris {
|
|
4273
|
+
/** The signed URI for the audio from the Dialogflow conversation source. */
|
|
4274
|
+
signedDialogflowAudioUri?: string;
|
|
4275
|
+
/** The signed URI for the audio from the Cloud Storage conversation source. */
|
|
4276
|
+
signedGcsAudioUri?: string;
|
|
4277
|
+
/** The signed URI for the audio corresponding to each turn in the conversation. */
|
|
4278
|
+
signedTurnLevelAudios?: GoogleCloudContactcenterinsightsV1ConversationDataSourceTurnLevelAudio[];
|
|
4279
|
+
}
|
|
2957
4280
|
interface GoogleCloudContactcenterinsightsV1SilenceData {}
|
|
2958
4281
|
interface GoogleCloudContactcenterinsightsV1SmartComposeSuggestionData {
|
|
2959
4282
|
/** 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). */
|
|
@@ -2976,6 +4299,8 @@ declare namespace gapi.client {
|
|
|
2976
4299
|
reply?: string;
|
|
2977
4300
|
}
|
|
2978
4301
|
interface GoogleCloudContactcenterinsightsV1SpeechConfig {
|
|
4302
|
+
/** Whether to disable word time offsets. If true, the `enable_word_time_offsets` field in the recognition config will be set to false. */
|
|
4303
|
+
disableWordTimeOffsets?: boolean;
|
|
2979
4304
|
/** The fully-qualified Speech Recognizer resource name. Format: `projects/{project_id}/locations/{location}/recognizer/{recognizer}` */
|
|
2980
4305
|
speechRecognizer?: string;
|
|
2981
4306
|
}
|
|
@@ -4336,6 +5661,33 @@ declare namespace gapi.client {
|
|
|
4336
5661
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4337
5662
|
uploadType?: string;
|
|
4338
5663
|
}): Request<{}>;
|
|
5664
|
+
/** Gets the signed URI for the audio for the given conversation. */
|
|
5665
|
+
generateSignedAudio(request?: {
|
|
5666
|
+
/** V1 error format. */
|
|
5667
|
+
'$.xgafv'?: string;
|
|
5668
|
+
/** OAuth access token. */
|
|
5669
|
+
access_token?: string;
|
|
5670
|
+
/** Data format for response. */
|
|
5671
|
+
alt?: string;
|
|
5672
|
+
/** JSONP */
|
|
5673
|
+
callback?: string;
|
|
5674
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
5675
|
+
fields?: string;
|
|
5676
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
5677
|
+
key?: string;
|
|
5678
|
+
/** Required. The name of the conversation to sign. */
|
|
5679
|
+
name: string;
|
|
5680
|
+
/** OAuth 2.0 token for the current user. */
|
|
5681
|
+
oauth_token?: string;
|
|
5682
|
+
/** Returns response with indentations and line breaks. */
|
|
5683
|
+
prettyPrint?: boolean;
|
|
5684
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
5685
|
+
quotaUser?: string;
|
|
5686
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5687
|
+
upload_protocol?: string;
|
|
5688
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5689
|
+
uploadType?: string;
|
|
5690
|
+
}): Request<GoogleCloudContactcenterinsightsV1GenerateConversationSignedAudioResponse>;
|
|
4339
5691
|
/** Gets a conversation. */
|
|
4340
5692
|
get(request?: {
|
|
4341
5693
|
/** V1 error format. */
|
|
@@ -6332,6 +7684,33 @@ declare namespace gapi.client {
|
|
|
6332
7684
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6333
7685
|
uploadType?: string;
|
|
6334
7686
|
}): Request<{}>;
|
|
7687
|
+
/** Gets the signed URI for the audio for the given conversation. */
|
|
7688
|
+
generateSignedAudio(request?: {
|
|
7689
|
+
/** V1 error format. */
|
|
7690
|
+
'$.xgafv'?: string;
|
|
7691
|
+
/** OAuth access token. */
|
|
7692
|
+
access_token?: string;
|
|
7693
|
+
/** Data format for response. */
|
|
7694
|
+
alt?: string;
|
|
7695
|
+
/** JSONP */
|
|
7696
|
+
callback?: string;
|
|
7697
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
7698
|
+
fields?: string;
|
|
7699
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
7700
|
+
key?: string;
|
|
7701
|
+
/** Required. The name of the conversation to sign. */
|
|
7702
|
+
name: string;
|
|
7703
|
+
/** OAuth 2.0 token for the current user. */
|
|
7704
|
+
oauth_token?: string;
|
|
7705
|
+
/** Returns response with indentations and line breaks. */
|
|
7706
|
+
prettyPrint?: boolean;
|
|
7707
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
7708
|
+
quotaUser?: string;
|
|
7709
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
7710
|
+
upload_protocol?: string;
|
|
7711
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7712
|
+
uploadType?: string;
|
|
7713
|
+
}): Request<GoogleCloudContactcenterinsightsV1GenerateConversationSignedAudioResponse>;
|
|
6335
7714
|
/** Gets a conversation. */
|
|
6336
7715
|
get(request?: {
|
|
6337
7716
|
/** V1 error format. */
|
|
@@ -7002,6 +8381,33 @@ declare namespace gapi.client {
|
|
|
7002
8381
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7003
8382
|
uploadType?: string;
|
|
7004
8383
|
}): Request<{}>;
|
|
8384
|
+
/** Gets the signed URI for the audio for the given conversation. */
|
|
8385
|
+
generateSignedAudio(request?: {
|
|
8386
|
+
/** V1 error format. */
|
|
8387
|
+
'$.xgafv'?: string;
|
|
8388
|
+
/** OAuth access token. */
|
|
8389
|
+
access_token?: string;
|
|
8390
|
+
/** Data format for response. */
|
|
8391
|
+
alt?: string;
|
|
8392
|
+
/** JSONP */
|
|
8393
|
+
callback?: string;
|
|
8394
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
8395
|
+
fields?: string;
|
|
8396
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
8397
|
+
key?: string;
|
|
8398
|
+
/** Required. The name of the conversation to sign. */
|
|
8399
|
+
name: string;
|
|
8400
|
+
/** OAuth 2.0 token for the current user. */
|
|
8401
|
+
oauth_token?: string;
|
|
8402
|
+
/** Returns response with indentations and line breaks. */
|
|
8403
|
+
prettyPrint?: boolean;
|
|
8404
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
8405
|
+
quotaUser?: string;
|
|
8406
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8407
|
+
upload_protocol?: string;
|
|
8408
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8409
|
+
uploadType?: string;
|
|
8410
|
+
}): Request<GoogleCloudContactcenterinsightsV1GenerateConversationSignedAudioResponse>;
|
|
7005
8411
|
/** Gets a conversation. */
|
|
7006
8412
|
get(request?: {
|
|
7007
8413
|
/** V1 error format. */
|