@maxim_mazurok/gapi.client.contactcenterinsights-v1 0.0.20250505 → 0.0.20250521

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.
Files changed (2) hide show
  1. package/index.d.ts +2930 -414
  2. 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: 20250505
12
+ // Revision: 20250521
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -435,8 +435,16 @@ declare namespace gapi.client {
435
435
  createTime?: string;
436
436
  /** Dataset description. */
437
437
  description?: string;
438
+ /** Display name for the dataaset */
439
+ displayName?: string;
438
440
  /** Immutable. Identifier. Resource name of the dataset. Format: projects/{project}/locations/{location}/datasets/{dataset} */
439
441
  name?: string;
442
+ /** Optional. Option TTL for the dataset. */
443
+ ttl?: string;
444
+ /** Dataset usage type. */
445
+ type?: string;
446
+ /** Output only. Dataset update time. */
447
+ updateTime?: string;
440
448
  }
441
449
  interface GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelMetadata {
442
450
  /** Output only. The time the operation was created. */
@@ -1040,33 +1048,33 @@ declare namespace gapi.client {
1040
1048
  /** Query source for the answer. */
1041
1049
  querySource?: string;
1042
1050
  }
1043
- interface GoogleCloudContactcenterinsightsV1alpha1SampleConversationsToDatasetMetadata {
1051
+ interface GoogleCloudContactcenterinsightsV1alpha1SampleConversationsMetadata {
1044
1052
  /** Output only. The time the operation was created. */
1045
1053
  createTime?: string;
1046
1054
  /** Output only. The time the operation finished running. */
1047
1055
  endTime?: string;
1048
- /** Output only. Partial errors during sample conversations to dataset operation that might cause the operation output to be incomplete. */
1056
+ /** Output only. Partial errors during sample conversations operation that might cause the operation output to be incomplete. */
1049
1057
  partialErrors?: GoogleRpcStatus[];
1050
1058
  /** Output only. The original request for sample conversations to dataset. */
1051
- request?: GoogleCloudContactcenterinsightsV1alpha1SampleConversationsToDatasetRequest;
1052
- /** Output only. Statistics for SampleConversationsToDataset operation. */
1053
- sampleConversationsToDatasetStats?: GoogleCloudContactcenterinsightsV1alpha1SampleConversationsToDatasetMetadataSampleConversationsToDatasetStats;
1059
+ request?: GoogleCloudContactcenterinsightsV1alpha1SampleConversationsRequest;
1060
+ /** Output only. Statistics for SampleConversations operation. */
1061
+ sampleConversationsStats?: GoogleCloudContactcenterinsightsV1alpha1SampleConversationsMetadataSampleConversationsStats;
1054
1062
  }
1055
- interface GoogleCloudContactcenterinsightsV1alpha1SampleConversationsToDatasetMetadataSampleConversationsToDatasetStats {
1063
+ interface GoogleCloudContactcenterinsightsV1alpha1SampleConversationsMetadataSampleConversationsStats {
1056
1064
  /** Output only. The number of objects which were unable to be sampled due to errors. The errors are populated in the partial_errors field. */
1057
1065
  failedSampleCount?: number;
1058
1066
  /** Output only. The number of new conversations added during this sample operation. */
1059
1067
  successfulSampleCount?: number;
1060
1068
  }
1061
- interface GoogleCloudContactcenterinsightsV1alpha1SampleConversationsToDatasetRequest {
1062
- /** Required. The dataset resource to copy the conversations to. */
1069
+ interface GoogleCloudContactcenterinsightsV1alpha1SampleConversationsRequest {
1070
+ /** The dataset resource to copy the sampled conversations to. */
1063
1071
  destinationDataset?: GoogleCloudContactcenterinsightsV1alpha1Dataset;
1064
1072
  /** Required. The parent resource of the dataset. */
1065
1073
  parent?: string;
1066
1074
  /** Optional. The sample rule used for sampling conversations. */
1067
1075
  sampleRule?: GoogleCloudContactcenterinsightsV1alpha1SampleRule;
1068
1076
  }
1069
- interface GoogleCloudContactcenterinsightsV1alpha1SampleConversationsToDatasetResponse {}
1077
+ interface GoogleCloudContactcenterinsightsV1alpha1SampleConversationsResponse {}
1070
1078
  interface GoogleCloudContactcenterinsightsV1alpha1SampleRule {
1071
1079
  /** To specify the filter for the conversions that should apply this sample rule. An empty filter means this sample rule applies to all conversations. */
1072
1080
  conversationFilter?: string;
@@ -1259,6 +1267,7 @@ declare namespace gapi.client {
1259
1267
  /** Indicates whether an answer or item was displayed to the human agent in the agent desktop UI. */
1260
1268
  displayed?: boolean;
1261
1269
  }
1270
+ interface GoogleCloudContactcenterinsightsV1AppealAssessmentRequest {}
1262
1271
  interface GoogleCloudContactcenterinsightsV1ArticleSuggestionData {
1263
1272
  /** 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). */
1264
1273
  confidenceScore?: number;
@@ -1273,6 +1282,56 @@ declare namespace gapi.client {
1273
1282
  /** Article URI. */
1274
1283
  uri?: string;
1275
1284
  }
1285
+ interface GoogleCloudContactcenterinsightsV1Assessment {
1286
+ /** Information about the agent the assessment is for. */
1287
+ agentInfo?: GoogleCloudContactcenterinsightsV1ConversationQualityMetadataAgentInfo;
1288
+ /** Output only. The time at which the assessment was created. */
1289
+ createTime?: string;
1290
+ /** Identifier. The resource name of the assessment. Format: projects/{project}/locations/{location}/conversations/{conversation}/assessments/{assessment} */
1291
+ name?: string;
1292
+ /** Output only. The state of the assessment. */
1293
+ state?: string;
1294
+ /** Output only. The time at which the assessment was last updated. */
1295
+ updateTime?: string;
1296
+ }
1297
+ interface GoogleCloudContactcenterinsightsV1AssessmentRule {
1298
+ /** If true, apply this rule to conversations. Otherwise, this rule is inactive. */
1299
+ active?: boolean;
1300
+ /** Output only. The time at which this assessment rule was created. */
1301
+ createTime?: string;
1302
+ /** Display Name of the assessment rule. */
1303
+ displayName?: string;
1304
+ /** Identifier. The resource name of the assessment rule. Format: projects/{project}/locations/{location}/assessmentRules/{assessment_rule} */
1305
+ name?: string;
1306
+ /** The sample rule for the assessment rule. */
1307
+ sampleRule?: GoogleCloudContactcenterinsightsV1SampleRule;
1308
+ /** Schedule info for the assessment rule. */
1309
+ scheduleInfo?: GoogleCloudContactcenterinsightsV1ScheduleInfo;
1310
+ /** Output only. The most recent time at which this assessment rule was updated. */
1311
+ updateTime?: string;
1312
+ }
1313
+ interface GoogleCloudContactcenterinsightsV1AuthorizedView {
1314
+ /** A filter to reduce conversation results to a specific subset. The AuthorizedView's assigned permission (read/write) could be applied to the subset of conversations. If conversation_filter is empty, there is no restriction on the conversations that the AuthorizedView can access. Having *authorizedViews.get* access to the AuthorizedView means having the same read/write access to the Conversations (as well as metadata/annotations liked to the conversation) that this AuthorizedView has. */
1315
+ conversationFilter?: string;
1316
+ /** Output only. The time at which the authorized view was created. */
1317
+ createTime?: string;
1318
+ /** Display Name. Limit 64 characters. */
1319
+ displayName?: string;
1320
+ /** Identifier. The resource name of the AuthorizedView. Format: projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view} */
1321
+ name?: string;
1322
+ /** Output only. The most recent time at which the authorized view was updated. */
1323
+ updateTime?: string;
1324
+ }
1325
+ interface GoogleCloudContactcenterinsightsV1AuthorizedViewSet {
1326
+ /** Output only. Create time. */
1327
+ createTime?: string;
1328
+ /** Display Name. Limit 64 characters. */
1329
+ displayName?: string;
1330
+ /** Identifier. The resource name of the AuthorizedViewSet. Format: projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set} */
1331
+ name?: string;
1332
+ /** Output only. Update time. */
1333
+ updateTime?: string;
1334
+ }
1276
1335
  interface GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsMetadata {
1277
1336
  /** The number of requested analyses that have completed successfully so far. */
1278
1337
  completedAnalysesCount?: number;
@@ -1685,8 +1744,16 @@ declare namespace gapi.client {
1685
1744
  createTime?: string;
1686
1745
  /** Dataset description. */
1687
1746
  description?: string;
1747
+ /** Display name for the dataaset */
1748
+ displayName?: string;
1688
1749
  /** Immutable. Identifier. Resource name of the dataset. Format: projects/{project}/locations/{location}/datasets/{dataset} */
1689
1750
  name?: string;
1751
+ /** Optional. Option TTL for the dataset. */
1752
+ ttl?: string;
1753
+ /** Dataset usage type. */
1754
+ type?: string;
1755
+ /** Output only. Dataset update time. */
1756
+ updateTime?: string;
1690
1757
  }
1691
1758
  interface GoogleCloudContactcenterinsightsV1DeleteIssueModelMetadata {
1692
1759
  /** Output only. The time the operation was created. */
@@ -1890,6 +1957,7 @@ declare namespace gapi.client {
1890
1957
  /** Output only. Update time of the label. */
1891
1958
  updateTime?: string;
1892
1959
  }
1960
+ interface GoogleCloudContactcenterinsightsV1FinalizeAssessmentRequest {}
1893
1961
  interface GoogleCloudContactcenterinsightsV1GcsSource {
1894
1962
  /** Cloud Storage URI that points to a file that contains the conversation audio. */
1895
1963
  audioUri?: string;
@@ -2106,6 +2174,30 @@ declare namespace gapi.client {
2106
2174
  /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
2107
2175
  nextPageToken?: string;
2108
2176
  }
2177
+ interface GoogleCloudContactcenterinsightsV1ListAssessmentRulesResponse {
2178
+ /** The assessment rules that match the request. */
2179
+ assessmentRules?: GoogleCloudContactcenterinsightsV1AssessmentRule[];
2180
+ /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
2181
+ nextPageToken?: string;
2182
+ }
2183
+ interface GoogleCloudContactcenterinsightsV1ListAssessmentsResponse {
2184
+ /** The assessments that match the request. */
2185
+ assessments?: GoogleCloudContactcenterinsightsV1Assessment[];
2186
+ /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
2187
+ nextPageToken?: string;
2188
+ }
2189
+ interface GoogleCloudContactcenterinsightsV1ListAuthorizedViewSetsResponse {
2190
+ /** The AuthorizedViewSets under the parent. */
2191
+ authorizedViewSets?: GoogleCloudContactcenterinsightsV1AuthorizedViewSet[];
2192
+ /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
2193
+ nextPageToken?: string;
2194
+ }
2195
+ interface GoogleCloudContactcenterinsightsV1ListAuthorizedViewsResponse {
2196
+ /** The AuthorizedViews under the parent. */
2197
+ authorizedViews?: GoogleCloudContactcenterinsightsV1AuthorizedView[];
2198
+ /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
2199
+ nextPageToken?: string;
2200
+ }
2109
2201
  interface GoogleCloudContactcenterinsightsV1ListConversationsResponse {
2110
2202
  /** The conversations that match the request. */
2111
2203
  conversations?: GoogleCloudContactcenterinsightsV1Conversation[];
@@ -2126,6 +2218,12 @@ declare namespace gapi.client {
2126
2218
  /** The issues that match the request. */
2127
2219
  issues?: GoogleCloudContactcenterinsightsV1Issue[];
2128
2220
  }
2221
+ interface GoogleCloudContactcenterinsightsV1ListNotesResponse {
2222
+ /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
2223
+ nextPageToken?: string;
2224
+ /** The notes that match the request. */
2225
+ notes?: GoogleCloudContactcenterinsightsV1Note[];
2226
+ }
2129
2227
  interface GoogleCloudContactcenterinsightsV1ListPhraseMatchersResponse {
2130
2228
  /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
2131
2229
  nextPageToken?: string;
@@ -2156,6 +2254,33 @@ declare namespace gapi.client {
2156
2254
  /** The views that match the request. */
2157
2255
  views?: GoogleCloudContactcenterinsightsV1View[];
2158
2256
  }
2257
+ interface GoogleCloudContactcenterinsightsV1Note {
2258
+ /** The note is associated to the entire parent assessment. */
2259
+ assessmentNote?: any;
2260
+ /** The note content. */
2261
+ content?: string;
2262
+ /** The note is associated with a conversation turn. */
2263
+ conversationTurnNote?: GoogleCloudContactcenterinsightsV1NoteConversationTurnNote;
2264
+ /** Output only. The time at which the note was created. */
2265
+ createTime?: string;
2266
+ /** Identifier. The resource name of the note. Format: projects/{project}/locations/{location}/conversations/{conversation}/assessments/{assessment}/notes/{note} */
2267
+ name?: string;
2268
+ /** Output only. The user that created the note. */
2269
+ noteCreator?: GoogleCloudContactcenterinsightsV1UserInfo;
2270
+ /** The note is associated with a QA question in one of the conversation's scorecard results. */
2271
+ qaQuestionNote?: GoogleCloudContactcenterinsightsV1NoteQaQuestionNote;
2272
+ /** Output only. The time at which the note was last updated. */
2273
+ updateTime?: string;
2274
+ }
2275
+ interface GoogleCloudContactcenterinsightsV1NoteAssessmentNote {}
2276
+ interface GoogleCloudContactcenterinsightsV1NoteConversationTurnNote {
2277
+ /** The conversation turn index that the note is associated with. */
2278
+ turnIndex?: number;
2279
+ }
2280
+ interface GoogleCloudContactcenterinsightsV1NoteQaQuestionNote {
2281
+ /** The question resource that the note is associated with. */
2282
+ qaQuestion?: string;
2283
+ }
2159
2284
  interface GoogleCloudContactcenterinsightsV1PhraseMatchData {
2160
2285
  /** The human-readable name of the phrase matcher. */
2161
2286
  displayName?: string;
@@ -2204,6 +2329,7 @@ declare namespace gapi.client {
2204
2329
  /** Required. The type of this phrase match rule group. */
2205
2330
  type?: string;
2206
2331
  }
2332
+ interface GoogleCloudContactcenterinsightsV1PublishAssessmentRequest {}
2207
2333
  interface GoogleCloudContactcenterinsightsV1QaAnswer {
2208
2334
  /** List of all individual answers given to the question. */
2209
2335
  answerSources?: GoogleCloudContactcenterinsightsV1QaAnswerAnswerSource[];
@@ -2259,7 +2385,7 @@ declare namespace gapi.client {
2259
2385
  order?: number;
2260
2386
  /** Question text. E.g., "Did the agent greet the customer?" */
2261
2387
  questionBody?: string;
2262
- /** User-defined list of arbitrary tags for the question. Used for grouping/organization and for weighting the score of each question. */
2388
+ /** Questions are tagged for categorization and scoring. Tags can either be: - Default Tags: These are predefined categories. They are identified by their string value (e.g., "BUSINESS", "COMPLIANCE", and "CUSTOMER"). - Custom Tags: These are user-defined categories. They are identified by their full resource name (e.g., projects/{project}/locations/{location}/qaQuestionTags/{qa_question_tag}). Both default and custom tags are used to group questions and to influence the scoring of each question. */
2263
2389
  tags?: string[];
2264
2390
  /** Metadata about the tuning operation for the question.This field will only be populated if and only if the question is part of a scorecard revision that has been tuned. */
2265
2391
  tuningMetadata?: GoogleCloudContactcenterinsightsV1QaQuestionTuningMetadata;
@@ -2477,33 +2603,33 @@ declare namespace gapi.client {
2477
2603
  /** Query source for the answer. */
2478
2604
  querySource?: string;
2479
2605
  }
2480
- interface GoogleCloudContactcenterinsightsV1SampleConversationsToDatasetMetadata {
2606
+ interface GoogleCloudContactcenterinsightsV1SampleConversationsMetadata {
2481
2607
  /** Output only. The time the operation was created. */
2482
2608
  createTime?: string;
2483
2609
  /** Output only. The time the operation finished running. */
2484
2610
  endTime?: string;
2485
- /** Output only. Partial errors during sample conversations to dataset operation that might cause the operation output to be incomplete. */
2611
+ /** Output only. Partial errors during sample conversations operation that might cause the operation output to be incomplete. */
2486
2612
  partialErrors?: GoogleRpcStatus[];
2487
2613
  /** Output only. The original request for sample conversations to dataset. */
2488
- request?: GoogleCloudContactcenterinsightsV1SampleConversationsToDatasetRequest;
2489
- /** Output only. Statistics for SampleConversationsToDataset operation. */
2490
- sampleConversationsToDatasetStats?: GoogleCloudContactcenterinsightsV1SampleConversationsToDatasetMetadataSampleConversationsToDatasetStats;
2614
+ request?: GoogleCloudContactcenterinsightsV1SampleConversationsRequest;
2615
+ /** Output only. Statistics for SampleConversations operation. */
2616
+ sampleConversationsStats?: GoogleCloudContactcenterinsightsV1SampleConversationsMetadataSampleConversationsStats;
2491
2617
  }
2492
- interface GoogleCloudContactcenterinsightsV1SampleConversationsToDatasetMetadataSampleConversationsToDatasetStats {
2618
+ interface GoogleCloudContactcenterinsightsV1SampleConversationsMetadataSampleConversationsStats {
2493
2619
  /** Output only. The number of objects which were unable to be sampled due to errors. The errors are populated in the partial_errors field. */
2494
2620
  failedSampleCount?: number;
2495
2621
  /** Output only. The number of new conversations added during this sample operation. */
2496
2622
  successfulSampleCount?: number;
2497
2623
  }
2498
- interface GoogleCloudContactcenterinsightsV1SampleConversationsToDatasetRequest {
2499
- /** Required. The dataset resource to copy the conversations to. */
2624
+ interface GoogleCloudContactcenterinsightsV1SampleConversationsRequest {
2625
+ /** The dataset resource to copy the sampled conversations to. */
2500
2626
  destinationDataset?: GoogleCloudContactcenterinsightsV1Dataset;
2501
2627
  /** Required. The parent resource of the dataset. */
2502
2628
  parent?: string;
2503
2629
  /** Optional. The sample rule used for sampling conversations. */
2504
2630
  sampleRule?: GoogleCloudContactcenterinsightsV1SampleRule;
2505
2631
  }
2506
- interface GoogleCloudContactcenterinsightsV1SampleConversationsToDatasetResponse {}
2632
+ interface GoogleCloudContactcenterinsightsV1SampleConversationsResponse {}
2507
2633
  interface GoogleCloudContactcenterinsightsV1SampleRule {
2508
2634
  /** To specify the filter for the conversions that should apply this sample rule. An empty filter means this sample rule applies to all conversations. */
2509
2635
  conversationFilter?: string;
@@ -2514,6 +2640,22 @@ declare namespace gapi.client {
2514
2640
  /** Number of the conversations that we should sample based on the dimension. */
2515
2641
  sampleRow?: string;
2516
2642
  }
2643
+ interface GoogleCloudContactcenterinsightsV1ScheduleInfo {
2644
+ /** End time of the schedule. If not specified, will keep scheduling new pipelines for execution util the schedule is no longer active or deleted. */
2645
+ endTime?: string;
2646
+ /** The groc expression. Format: `every number [synchronized]` Time units can be: minutes, hours Synchronized is optional and indicates that the schedule should be synchronized to the start of the interval: every 5 minutes synchronized means 00:00, 00:05 ... Otherwise the start time is random within the interval. Example: `every 5 minutes` could be 00:02, 00:07, 00:12, ... */
2647
+ schedule?: string;
2648
+ /** Start time of the schedule. If not specified, will start as soon as the schedule is created. */
2649
+ startTime?: string;
2650
+ /** The timezone to use for the groc expression. If not specified, defaults to UTC. */
2651
+ timeZone?: string;
2652
+ }
2653
+ interface GoogleCloudContactcenterinsightsV1SearchAuthorizedViewsResponse {
2654
+ /** The AuthorizedViews under the parent. */
2655
+ authorizedViews?: GoogleCloudContactcenterinsightsV1AuthorizedView[];
2656
+ /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
2657
+ nextPageToken?: string;
2658
+ }
2517
2659
  interface GoogleCloudContactcenterinsightsV1SentimentData {
2518
2660
  /** A non-negative number from 0 to infinity which represents the absolute magnitude of sentiment regardless of score. */
2519
2661
  magnitude?: number;
@@ -2617,6 +2759,10 @@ declare namespace gapi.client {
2617
2759
  /** Optional. Speech-to-Text configuration. Will default to the config specified in Settings. */
2618
2760
  speechConfig?: GoogleCloudContactcenterinsightsV1SpeechConfig;
2619
2761
  }
2762
+ interface GoogleCloudContactcenterinsightsV1UserInfo {
2763
+ /** The user's username. */
2764
+ username?: string;
2765
+ }
2620
2766
  interface GoogleCloudContactcenterinsightsV1View {
2621
2767
  /** Output only. The time at which this view was created. */
2622
2768
  createTime?: string;
@@ -2869,8 +3015,8 @@ declare namespace gapi.client {
2869
3015
  body: GoogleCloudContactcenterinsightsV1AnalysisRule,
2870
3016
  ): Request<GoogleCloudContactcenterinsightsV1AnalysisRule>;
2871
3017
  }
2872
- interface AnalysesResource {
2873
- /** Creates an analysis. The long running operation is done when the analysis has completed. */
3018
+ interface AssessmentRulesResource {
3019
+ /** Creates an assessment rule. */
2874
3020
  create(request: {
2875
3021
  /** V1 error format. */
2876
3022
  '$.xgafv'?: string;
@@ -2878,6 +3024,8 @@ declare namespace gapi.client {
2878
3024
  access_token?: string;
2879
3025
  /** Data format for response. */
2880
3026
  alt?: string;
3027
+ /** Optional. A unique ID for the new AssessmentRule. This ID will become the final component of the AssessmentRule's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular expression `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`. */
3028
+ assessmentRuleId?: string;
2881
3029
  /** JSONP */
2882
3030
  callback?: string;
2883
3031
  /** Selector specifying which fields to include in a partial response. */
@@ -2886,7 +3034,7 @@ declare namespace gapi.client {
2886
3034
  key?: string;
2887
3035
  /** OAuth 2.0 token for the current user. */
2888
3036
  oauth_token?: string;
2889
- /** Required. The parent resource of the analysis. */
3037
+ /** Required. The parent resource of the assessment rule. Required. The location to create a assessment rule for. Format: `projects//locations/` or `projects//locations/` */
2890
3038
  parent: string;
2891
3039
  /** Returns response with indentations and line breaks. */
2892
3040
  prettyPrint?: boolean;
@@ -2897,8 +3045,8 @@ declare namespace gapi.client {
2897
3045
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2898
3046
  uploadType?: string;
2899
3047
  /** Request body */
2900
- resource: GoogleCloudContactcenterinsightsV1Analysis;
2901
- }): Request<GoogleLongrunningOperation>;
3048
+ resource: GoogleCloudContactcenterinsightsV1AssessmentRule;
3049
+ }): Request<GoogleCloudContactcenterinsightsV1AssessmentRule>;
2902
3050
  create(
2903
3051
  request: {
2904
3052
  /** V1 error format. */
@@ -2907,6 +3055,8 @@ declare namespace gapi.client {
2907
3055
  access_token?: string;
2908
3056
  /** Data format for response. */
2909
3057
  alt?: string;
3058
+ /** Optional. A unique ID for the new AssessmentRule. This ID will become the final component of the AssessmentRule's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular expression `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`. */
3059
+ assessmentRuleId?: string;
2910
3060
  /** JSONP */
2911
3061
  callback?: string;
2912
3062
  /** Selector specifying which fields to include in a partial response. */
@@ -2915,7 +3065,7 @@ declare namespace gapi.client {
2915
3065
  key?: string;
2916
3066
  /** OAuth 2.0 token for the current user. */
2917
3067
  oauth_token?: string;
2918
- /** Required. The parent resource of the analysis. */
3068
+ /** Required. The parent resource of the assessment rule. Required. The location to create a assessment rule for. Format: `projects//locations/` or `projects//locations/` */
2919
3069
  parent: string;
2920
3070
  /** Returns response with indentations and line breaks. */
2921
3071
  prettyPrint?: boolean;
@@ -2926,9 +3076,9 @@ declare namespace gapi.client {
2926
3076
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2927
3077
  uploadType?: string;
2928
3078
  },
2929
- body: GoogleCloudContactcenterinsightsV1Analysis,
2930
- ): Request<GoogleLongrunningOperation>;
2931
- /** Deletes an analysis. */
3079
+ body: GoogleCloudContactcenterinsightsV1AssessmentRule,
3080
+ ): Request<GoogleCloudContactcenterinsightsV1AssessmentRule>;
3081
+ /** Deletes an assessment rule. */
2932
3082
  delete(request?: {
2933
3083
  /** V1 error format. */
2934
3084
  '$.xgafv'?: string;
@@ -2942,7 +3092,7 @@ declare namespace gapi.client {
2942
3092
  fields?: string;
2943
3093
  /** 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. */
2944
3094
  key?: string;
2945
- /** Required. The name of the analysis to delete. */
3095
+ /** Required. The name of the assessment rule to delete. */
2946
3096
  name: string;
2947
3097
  /** OAuth 2.0 token for the current user. */
2948
3098
  oauth_token?: string;
@@ -2955,7 +3105,7 @@ declare namespace gapi.client {
2955
3105
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2956
3106
  uploadType?: string;
2957
3107
  }): Request<{}>;
2958
- /** Gets an analysis. */
3108
+ /** Get an assessment rule. */
2959
3109
  get(request?: {
2960
3110
  /** V1 error format. */
2961
3111
  '$.xgafv'?: string;
@@ -2969,7 +3119,7 @@ declare namespace gapi.client {
2969
3119
  fields?: string;
2970
3120
  /** 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. */
2971
3121
  key?: string;
2972
- /** Required. The name of the analysis to get. */
3122
+ /** Required. The name of the assessment rule to get. */
2973
3123
  name: string;
2974
3124
  /** OAuth 2.0 token for the current user. */
2975
3125
  oauth_token?: string;
@@ -2981,8 +3131,8 @@ declare namespace gapi.client {
2981
3131
  upload_protocol?: string;
2982
3132
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2983
3133
  uploadType?: string;
2984
- }): Request<GoogleCloudContactcenterinsightsV1Analysis>;
2985
- /** Lists analyses. */
3134
+ }): Request<GoogleCloudContactcenterinsightsV1AssessmentRule>;
3135
+ /** Lists assessment rules. */
2986
3136
  list(request?: {
2987
3137
  /** V1 error format. */
2988
3138
  '$.xgafv'?: string;
@@ -2994,17 +3144,15 @@ declare namespace gapi.client {
2994
3144
  callback?: string;
2995
3145
  /** Selector specifying which fields to include in a partial response. */
2996
3146
  fields?: string;
2997
- /** A filter to reduce results to a specific subset. Useful for querying conversations with specific properties. */
2998
- filter?: string;
2999
3147
  /** 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. */
3000
3148
  key?: string;
3001
3149
  /** OAuth 2.0 token for the current user. */
3002
3150
  oauth_token?: string;
3003
- /** The maximum number of analyses to return in the response. If this value is zero, the service will select a default size. A call might return fewer objects than requested. A non-empty `next_page_token` in the response indicates that more data is available. */
3151
+ /** Optional. The maximum number of assessment rule to return in the response. If this value is zero, the service will select a default size. A call may return fewer objects than requested. A non-empty `next_page_token` in the response indicates that more data is available. */
3004
3152
  pageSize?: number;
3005
- /** The value returned by the last `ListAnalysesResponse`; indicates that this is a continuation of a prior `ListAnalyses` call and the system should return the next page of data. */
3153
+ /** Optional. The value returned by the last `ListAssessmentRulesResponse`; indicates that this is a continuation of a prior `ListAssessmentRules` call and the system should return the next page of data. */
3006
3154
  pageToken?: string;
3007
- /** Required. The parent resource of the analyses. */
3155
+ /** Required. The parent resource of the assessment rules. */
3008
3156
  parent: string;
3009
3157
  /** Returns response with indentations and line breaks. */
3010
3158
  prettyPrint?: boolean;
@@ -3014,10 +3162,72 @@ declare namespace gapi.client {
3014
3162
  upload_protocol?: string;
3015
3163
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3016
3164
  uploadType?: string;
3017
- }): Request<GoogleCloudContactcenterinsightsV1ListAnalysesResponse>;
3165
+ }): Request<GoogleCloudContactcenterinsightsV1ListAssessmentRulesResponse>;
3166
+ /** Updates an assessment rule. */
3167
+ patch(request: {
3168
+ /** V1 error format. */
3169
+ '$.xgafv'?: string;
3170
+ /** OAuth access token. */
3171
+ access_token?: string;
3172
+ /** Data format for response. */
3173
+ alt?: string;
3174
+ /** JSONP */
3175
+ callback?: string;
3176
+ /** Selector specifying which fields to include in a partial response. */
3177
+ fields?: string;
3178
+ /** 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. */
3179
+ key?: string;
3180
+ /** Identifier. The resource name of the assessment rule. Format: projects/{project}/locations/{location}/assessmentRules/{assessment_rule} */
3181
+ name: string;
3182
+ /** OAuth 2.0 token for the current user. */
3183
+ oauth_token?: string;
3184
+ /** Returns response with indentations and line breaks. */
3185
+ prettyPrint?: boolean;
3186
+ /** 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. */
3187
+ quotaUser?: string;
3188
+ /** Optional. The list of fields to be updated. If the update_mask is not provided, the update will be applied to all fields. */
3189
+ updateMask?: string;
3190
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3191
+ upload_protocol?: string;
3192
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3193
+ uploadType?: string;
3194
+ /** Request body */
3195
+ resource: GoogleCloudContactcenterinsightsV1AssessmentRule;
3196
+ }): Request<GoogleCloudContactcenterinsightsV1AssessmentRule>;
3197
+ patch(
3198
+ request: {
3199
+ /** V1 error format. */
3200
+ '$.xgafv'?: string;
3201
+ /** OAuth access token. */
3202
+ access_token?: string;
3203
+ /** Data format for response. */
3204
+ alt?: string;
3205
+ /** JSONP */
3206
+ callback?: string;
3207
+ /** Selector specifying which fields to include in a partial response. */
3208
+ fields?: string;
3209
+ /** 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. */
3210
+ key?: string;
3211
+ /** Identifier. The resource name of the assessment rule. Format: projects/{project}/locations/{location}/assessmentRules/{assessment_rule} */
3212
+ name: string;
3213
+ /** OAuth 2.0 token for the current user. */
3214
+ oauth_token?: string;
3215
+ /** Returns response with indentations and line breaks. */
3216
+ prettyPrint?: boolean;
3217
+ /** 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. */
3218
+ quotaUser?: string;
3219
+ /** Optional. The list of fields to be updated. If the update_mask is not provided, the update will be applied to all fields. */
3220
+ updateMask?: string;
3221
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3222
+ upload_protocol?: string;
3223
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3224
+ uploadType?: string;
3225
+ },
3226
+ body: GoogleCloudContactcenterinsightsV1AssessmentRule,
3227
+ ): Request<GoogleCloudContactcenterinsightsV1AssessmentRule>;
3018
3228
  }
3019
- interface FeedbackLabelsResource {
3020
- /** Create feedback label. */
3229
+ interface AnalysesResource {
3230
+ /** Creates an analysis. The long running operation is done when the analysis has completed. */
3021
3231
  create(request: {
3022
3232
  /** V1 error format. */
3023
3233
  '$.xgafv'?: string;
@@ -3027,15 +3237,13 @@ declare namespace gapi.client {
3027
3237
  alt?: string;
3028
3238
  /** JSONP */
3029
3239
  callback?: string;
3030
- /** Optional. The ID of the feedback label to create. If one is not specified it will be generated by the server. */
3031
- feedbackLabelId?: string;
3032
3240
  /** Selector specifying which fields to include in a partial response. */
3033
3241
  fields?: string;
3034
3242
  /** 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. */
3035
3243
  key?: string;
3036
3244
  /** OAuth 2.0 token for the current user. */
3037
3245
  oauth_token?: string;
3038
- /** Required. The parent resource of the feedback label. */
3246
+ /** Required. The parent resource of the analysis. */
3039
3247
  parent: string;
3040
3248
  /** Returns response with indentations and line breaks. */
3041
3249
  prettyPrint?: boolean;
@@ -3046,8 +3254,8 @@ declare namespace gapi.client {
3046
3254
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3047
3255
  uploadType?: string;
3048
3256
  /** Request body */
3049
- resource: GoogleCloudContactcenterinsightsV1FeedbackLabel;
3050
- }): Request<GoogleCloudContactcenterinsightsV1FeedbackLabel>;
3257
+ resource: GoogleCloudContactcenterinsightsV1Analysis;
3258
+ }): Request<GoogleLongrunningOperation>;
3051
3259
  create(
3052
3260
  request: {
3053
3261
  /** V1 error format. */
@@ -3058,15 +3266,13 @@ declare namespace gapi.client {
3058
3266
  alt?: string;
3059
3267
  /** JSONP */
3060
3268
  callback?: string;
3061
- /** Optional. The ID of the feedback label to create. If one is not specified it will be generated by the server. */
3062
- feedbackLabelId?: string;
3063
3269
  /** Selector specifying which fields to include in a partial response. */
3064
3270
  fields?: string;
3065
3271
  /** 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. */
3066
3272
  key?: string;
3067
3273
  /** OAuth 2.0 token for the current user. */
3068
3274
  oauth_token?: string;
3069
- /** Required. The parent resource of the feedback label. */
3275
+ /** Required. The parent resource of the analysis. */
3070
3276
  parent: string;
3071
3277
  /** Returns response with indentations and line breaks. */
3072
3278
  prettyPrint?: boolean;
@@ -3077,9 +3283,9 @@ declare namespace gapi.client {
3077
3283
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3078
3284
  uploadType?: string;
3079
3285
  },
3080
- body: GoogleCloudContactcenterinsightsV1FeedbackLabel,
3081
- ): Request<GoogleCloudContactcenterinsightsV1FeedbackLabel>;
3082
- /** Delete feedback label. */
3286
+ body: GoogleCloudContactcenterinsightsV1Analysis,
3287
+ ): Request<GoogleLongrunningOperation>;
3288
+ /** Deletes an analysis. */
3083
3289
  delete(request?: {
3084
3290
  /** V1 error format. */
3085
3291
  '$.xgafv'?: string;
@@ -3093,7 +3299,7 @@ declare namespace gapi.client {
3093
3299
  fields?: string;
3094
3300
  /** 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. */
3095
3301
  key?: string;
3096
- /** Required. The name of the feedback label to delete. */
3302
+ /** Required. The name of the analysis to delete. */
3097
3303
  name: string;
3098
3304
  /** OAuth 2.0 token for the current user. */
3099
3305
  oauth_token?: string;
@@ -3106,7 +3312,7 @@ declare namespace gapi.client {
3106
3312
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3107
3313
  uploadType?: string;
3108
3314
  }): Request<{}>;
3109
- /** Get feedback label. */
3315
+ /** Gets an analysis. */
3110
3316
  get(request?: {
3111
3317
  /** V1 error format. */
3112
3318
  '$.xgafv'?: string;
@@ -3120,7 +3326,7 @@ declare namespace gapi.client {
3120
3326
  fields?: string;
3121
3327
  /** 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. */
3122
3328
  key?: string;
3123
- /** Required. The name of the feedback label to get. */
3329
+ /** Required. The name of the analysis to get. */
3124
3330
  name: string;
3125
3331
  /** OAuth 2.0 token for the current user. */
3126
3332
  oauth_token?: string;
@@ -3132,8 +3338,8 @@ declare namespace gapi.client {
3132
3338
  upload_protocol?: string;
3133
3339
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3134
3340
  uploadType?: string;
3135
- }): Request<GoogleCloudContactcenterinsightsV1FeedbackLabel>;
3136
- /** List feedback labels. */
3341
+ }): Request<GoogleCloudContactcenterinsightsV1Analysis>;
3342
+ /** Lists analyses. */
3137
3343
  list(request?: {
3138
3344
  /** V1 error format. */
3139
3345
  '$.xgafv'?: string;
@@ -3145,17 +3351,17 @@ declare namespace gapi.client {
3145
3351
  callback?: string;
3146
3352
  /** Selector specifying which fields to include in a partial response. */
3147
3353
  fields?: string;
3148
- /** Optional. A filter to reduce results to a specific subset. Supports disjunctions (OR) and conjunctions (AND). Automatically sorts by conversation ID. To sort by all feedback labels in a project see ListAllFeedbackLabels. Supported fields: * `issue_model_id` * `qa_question_id` * `qa_scorecard_id` * `min_create_time` * `max_create_time` * `min_update_time` * `max_update_time` * `feedback_label_type`: QUALITY_AI, TOPIC_MODELING */
3354
+ /** A filter to reduce results to a specific subset. Useful for querying conversations with specific properties. */
3149
3355
  filter?: string;
3150
3356
  /** 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. */
3151
3357
  key?: string;
3152
3358
  /** OAuth 2.0 token for the current user. */
3153
3359
  oauth_token?: string;
3154
- /** Optional. The maximum number of feedback labels to return in the response. A valid page size ranges from 0 to 100,000 inclusive. If the page size is zero or unspecified, a default page size of 100 will be chosen. Note that a call might return fewer results than the requested page size. */
3360
+ /** The maximum number of analyses to return in the response. If this value is zero, the service will select a default size. A call might return fewer objects than requested. A non-empty `next_page_token` in the response indicates that more data is available. */
3155
3361
  pageSize?: number;
3156
- /** Optional. The value returned by the last `ListFeedbackLabelsResponse`. This value indicates that this is a continuation of a prior `ListFeedbackLabels` call and that the system should return the next page of data. */
3362
+ /** The value returned by the last `ListAnalysesResponse`; indicates that this is a continuation of a prior `ListAnalyses` call and the system should return the next page of data. */
3157
3363
  pageToken?: string;
3158
- /** Required. The parent resource of the feedback labels. */
3364
+ /** Required. The parent resource of the analyses. */
3159
3365
  parent: string;
3160
3366
  /** Returns response with indentations and line breaks. */
3161
3367
  prettyPrint?: boolean;
@@ -3165,9 +3371,11 @@ declare namespace gapi.client {
3165
3371
  upload_protocol?: string;
3166
3372
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3167
3373
  uploadType?: string;
3168
- }): Request<GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse>;
3169
- /** Update feedback label. */
3170
- patch(request: {
3374
+ }): Request<GoogleCloudContactcenterinsightsV1ListAnalysesResponse>;
3375
+ }
3376
+ interface NotesResource {
3377
+ /** Create Note. */
3378
+ create(request: {
3171
3379
  /** V1 error format. */
3172
3380
  '$.xgafv'?: string;
3173
3381
  /** OAuth access token. */
@@ -3180,24 +3388,22 @@ declare namespace gapi.client {
3180
3388
  fields?: string;
3181
3389
  /** 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. */
3182
3390
  key?: string;
3183
- /** Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label} */
3184
- name: string;
3185
3391
  /** OAuth 2.0 token for the current user. */
3186
3392
  oauth_token?: string;
3393
+ /** Required. The parent resource of the note. */
3394
+ parent: string;
3187
3395
  /** Returns response with indentations and line breaks. */
3188
3396
  prettyPrint?: boolean;
3189
3397
  /** 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. */
3190
3398
  quotaUser?: string;
3191
- /** Required. The list of fields to be updated. */
3192
- updateMask?: string;
3193
3399
  /** Upload protocol for media (e.g. "raw", "multipart"). */
3194
3400
  upload_protocol?: string;
3195
3401
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3196
3402
  uploadType?: string;
3197
3403
  /** Request body */
3198
- resource: GoogleCloudContactcenterinsightsV1FeedbackLabel;
3199
- }): Request<GoogleCloudContactcenterinsightsV1FeedbackLabel>;
3200
- patch(
3404
+ resource: GoogleCloudContactcenterinsightsV1Note;
3405
+ }): Request<GoogleCloudContactcenterinsightsV1Note>;
3406
+ create(
3201
3407
  request: {
3202
3408
  /** V1 error format. */
3203
3409
  '$.xgafv'?: string;
@@ -3211,27 +3417,23 @@ declare namespace gapi.client {
3211
3417
  fields?: string;
3212
3418
  /** 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. */
3213
3419
  key?: string;
3214
- /** Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label} */
3215
- name: string;
3216
3420
  /** OAuth 2.0 token for the current user. */
3217
3421
  oauth_token?: string;
3422
+ /** Required. The parent resource of the note. */
3423
+ parent: string;
3218
3424
  /** Returns response with indentations and line breaks. */
3219
3425
  prettyPrint?: boolean;
3220
3426
  /** 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. */
3221
3427
  quotaUser?: string;
3222
- /** Required. The list of fields to be updated. */
3223
- updateMask?: string;
3224
3428
  /** Upload protocol for media (e.g. "raw", "multipart"). */
3225
3429
  upload_protocol?: string;
3226
3430
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3227
3431
  uploadType?: string;
3228
3432
  },
3229
- body: GoogleCloudContactcenterinsightsV1FeedbackLabel,
3230
- ): Request<GoogleCloudContactcenterinsightsV1FeedbackLabel>;
3231
- }
3232
- interface ConversationsResource {
3233
- /** Analyzes multiple conversations in a single request. */
3234
- bulkAnalyze(request: {
3433
+ body: GoogleCloudContactcenterinsightsV1Note,
3434
+ ): Request<GoogleCloudContactcenterinsightsV1Note>;
3435
+ /** Deletes a Note. */
3436
+ delete(request?: {
3235
3437
  /** V1 error format. */
3236
3438
  '$.xgafv'?: string;
3237
3439
  /** OAuth access token. */
@@ -3244,10 +3446,10 @@ declare namespace gapi.client {
3244
3446
  fields?: string;
3245
3447
  /** 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. */
3246
3448
  key?: string;
3449
+ /** Required. The name of the note to delete. */
3450
+ name: string;
3247
3451
  /** OAuth 2.0 token for the current user. */
3248
3452
  oauth_token?: string;
3249
- /** Required. The parent resource to create analyses in. */
3250
- parent: string;
3251
3453
  /** Returns response with indentations and line breaks. */
3252
3454
  prettyPrint?: boolean;
3253
3455
  /** 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. */
@@ -3256,40 +3458,9 @@ declare namespace gapi.client {
3256
3458
  upload_protocol?: string;
3257
3459
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3258
3460
  uploadType?: string;
3259
- /** Request body */
3260
- resource: GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest;
3261
- }): Request<GoogleLongrunningOperation>;
3262
- bulkAnalyze(
3263
- request: {
3264
- /** V1 error format. */
3265
- '$.xgafv'?: string;
3266
- /** OAuth access token. */
3267
- access_token?: string;
3268
- /** Data format for response. */
3269
- alt?: string;
3270
- /** JSONP */
3271
- callback?: string;
3272
- /** Selector specifying which fields to include in a partial response. */
3273
- fields?: string;
3274
- /** 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. */
3275
- key?: string;
3276
- /** OAuth 2.0 token for the current user. */
3277
- oauth_token?: string;
3278
- /** Required. The parent resource to create analyses in. */
3279
- parent: string;
3280
- /** Returns response with indentations and line breaks. */
3281
- prettyPrint?: boolean;
3282
- /** 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. */
3283
- quotaUser?: string;
3284
- /** Upload protocol for media (e.g. "raw", "multipart"). */
3285
- upload_protocol?: string;
3286
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3287
- uploadType?: string;
3288
- },
3289
- body: GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest,
3290
- ): Request<GoogleLongrunningOperation>;
3291
- /** Gets conversation statistics. */
3292
- calculateStats(request?: {
3461
+ }): Request<{}>;
3462
+ /** List Notes. */
3463
+ list(request?: {
3293
3464
  /** V1 error format. */
3294
3465
  '$.xgafv'?: string;
3295
3466
  /** OAuth access token. */
@@ -3300,14 +3471,16 @@ declare namespace gapi.client {
3300
3471
  callback?: string;
3301
3472
  /** Selector specifying which fields to include in a partial response. */
3302
3473
  fields?: string;
3303
- /** A filter to reduce results to a specific subset. This field is useful for getting statistics about conversations with specific properties. */
3304
- filter?: string;
3305
3474
  /** 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. */
3306
3475
  key?: string;
3307
- /** Required. The location of the conversations. */
3308
- location: string;
3309
3476
  /** OAuth 2.0 token for the current user. */
3310
3477
  oauth_token?: string;
3478
+ /** Optional. The maximum number of notes to return in the response. If zero the service will select a default size. A call might return fewer objects than requested. A non-empty `next_page_token` in the response indicates that more data is available. */
3479
+ pageSize?: number;
3480
+ /** Optional. The value returned by the last `ListNotesResponse`. This value indicates that this is a continuation of a prior `ListNotes` call and that the system should return the next page of data. */
3481
+ pageToken?: string;
3482
+ /** Required. The parent resource of the notes. */
3483
+ parent: string;
3311
3484
  /** Returns response with indentations and line breaks. */
3312
3485
  prettyPrint?: boolean;
3313
3486
  /** 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. */
@@ -3316,9 +3489,9 @@ declare namespace gapi.client {
3316
3489
  upload_protocol?: string;
3317
3490
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3318
3491
  uploadType?: string;
3319
- }): Request<GoogleCloudContactcenterinsightsV1CalculateStatsResponse>;
3320
- /** Deletes a conversation. */
3321
- delete(request?: {
3492
+ }): Request<GoogleCloudContactcenterinsightsV1ListNotesResponse>;
3493
+ /** Update Note. */
3494
+ patch(request: {
3322
3495
  /** V1 error format. */
3323
3496
  '$.xgafv'?: string;
3324
3497
  /** OAuth access token. */
@@ -3329,11 +3502,191 @@ declare namespace gapi.client {
3329
3502
  callback?: string;
3330
3503
  /** Selector specifying which fields to include in a partial response. */
3331
3504
  fields?: string;
3332
- /** 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. */
3333
- force?: boolean;
3334
3505
  /** 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. */
3335
3506
  key?: string;
3336
- /** Required. The name of the conversation to delete. */
3507
+ /** Identifier. The resource name of the note. Format: projects/{project}/locations/{location}/conversations/{conversation}/assessments/{assessment}/notes/{note} */
3508
+ name: string;
3509
+ /** OAuth 2.0 token for the current user. */
3510
+ oauth_token?: string;
3511
+ /** Returns response with indentations and line breaks. */
3512
+ prettyPrint?: boolean;
3513
+ /** 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. */
3514
+ quotaUser?: string;
3515
+ /** Optional. The list of fields to be updated. If the update_mask is empty, all updateable fields will be updated. Acceptable fields include: * `content` */
3516
+ updateMask?: string;
3517
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3518
+ upload_protocol?: string;
3519
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3520
+ uploadType?: string;
3521
+ /** Request body */
3522
+ resource: GoogleCloudContactcenterinsightsV1Note;
3523
+ }): Request<GoogleCloudContactcenterinsightsV1Note>;
3524
+ patch(
3525
+ request: {
3526
+ /** V1 error format. */
3527
+ '$.xgafv'?: string;
3528
+ /** OAuth access token. */
3529
+ access_token?: string;
3530
+ /** Data format for response. */
3531
+ alt?: string;
3532
+ /** JSONP */
3533
+ callback?: string;
3534
+ /** Selector specifying which fields to include in a partial response. */
3535
+ fields?: string;
3536
+ /** 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. */
3537
+ key?: string;
3538
+ /** Identifier. The resource name of the note. Format: projects/{project}/locations/{location}/conversations/{conversation}/assessments/{assessment}/notes/{note} */
3539
+ name: string;
3540
+ /** OAuth 2.0 token for the current user. */
3541
+ oauth_token?: string;
3542
+ /** Returns response with indentations and line breaks. */
3543
+ prettyPrint?: boolean;
3544
+ /** 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. */
3545
+ quotaUser?: string;
3546
+ /** Optional. The list of fields to be updated. If the update_mask is empty, all updateable fields will be updated. Acceptable fields include: * `content` */
3547
+ updateMask?: string;
3548
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3549
+ upload_protocol?: string;
3550
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3551
+ uploadType?: string;
3552
+ },
3553
+ body: GoogleCloudContactcenterinsightsV1Note,
3554
+ ): Request<GoogleCloudContactcenterinsightsV1Note>;
3555
+ }
3556
+ interface AssessmentsResource {
3557
+ /** Appeal an Assessment. */
3558
+ appeal(request: {
3559
+ /** V1 error format. */
3560
+ '$.xgafv'?: string;
3561
+ /** OAuth access token. */
3562
+ access_token?: string;
3563
+ /** Data format for response. */
3564
+ alt?: string;
3565
+ /** JSONP */
3566
+ callback?: string;
3567
+ /** Selector specifying which fields to include in a partial response. */
3568
+ fields?: string;
3569
+ /** 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. */
3570
+ key?: string;
3571
+ /** Required. The name of the assessment to appeal. */
3572
+ name: string;
3573
+ /** OAuth 2.0 token for the current user. */
3574
+ oauth_token?: string;
3575
+ /** Returns response with indentations and line breaks. */
3576
+ prettyPrint?: boolean;
3577
+ /** 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. */
3578
+ quotaUser?: string;
3579
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3580
+ upload_protocol?: string;
3581
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3582
+ uploadType?: string;
3583
+ /** Request body */
3584
+ resource: GoogleCloudContactcenterinsightsV1AppealAssessmentRequest;
3585
+ }): Request<GoogleCloudContactcenterinsightsV1Assessment>;
3586
+ appeal(
3587
+ request: {
3588
+ /** V1 error format. */
3589
+ '$.xgafv'?: string;
3590
+ /** OAuth access token. */
3591
+ access_token?: string;
3592
+ /** Data format for response. */
3593
+ alt?: string;
3594
+ /** JSONP */
3595
+ callback?: string;
3596
+ /** Selector specifying which fields to include in a partial response. */
3597
+ fields?: string;
3598
+ /** 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. */
3599
+ key?: string;
3600
+ /** Required. The name of the assessment to appeal. */
3601
+ name: string;
3602
+ /** OAuth 2.0 token for the current user. */
3603
+ oauth_token?: string;
3604
+ /** Returns response with indentations and line breaks. */
3605
+ prettyPrint?: boolean;
3606
+ /** 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. */
3607
+ quotaUser?: string;
3608
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3609
+ upload_protocol?: string;
3610
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3611
+ uploadType?: string;
3612
+ },
3613
+ body: GoogleCloudContactcenterinsightsV1AppealAssessmentRequest,
3614
+ ): Request<GoogleCloudContactcenterinsightsV1Assessment>;
3615
+ /** Create Assessment. */
3616
+ create(request: {
3617
+ /** V1 error format. */
3618
+ '$.xgafv'?: string;
3619
+ /** OAuth access token. */
3620
+ access_token?: string;
3621
+ /** Data format for response. */
3622
+ alt?: string;
3623
+ /** JSONP */
3624
+ callback?: string;
3625
+ /** Selector specifying which fields to include in a partial response. */
3626
+ fields?: string;
3627
+ /** 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. */
3628
+ key?: string;
3629
+ /** OAuth 2.0 token for the current user. */
3630
+ oauth_token?: string;
3631
+ /** Required. The parent resource of the assessment. */
3632
+ parent: string;
3633
+ /** Returns response with indentations and line breaks. */
3634
+ prettyPrint?: boolean;
3635
+ /** 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. */
3636
+ quotaUser?: string;
3637
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3638
+ upload_protocol?: string;
3639
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3640
+ uploadType?: string;
3641
+ /** Request body */
3642
+ resource: GoogleCloudContactcenterinsightsV1Assessment;
3643
+ }): Request<GoogleCloudContactcenterinsightsV1Assessment>;
3644
+ create(
3645
+ request: {
3646
+ /** V1 error format. */
3647
+ '$.xgafv'?: string;
3648
+ /** OAuth access token. */
3649
+ access_token?: string;
3650
+ /** Data format for response. */
3651
+ alt?: string;
3652
+ /** JSONP */
3653
+ callback?: string;
3654
+ /** Selector specifying which fields to include in a partial response. */
3655
+ fields?: string;
3656
+ /** 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. */
3657
+ key?: string;
3658
+ /** OAuth 2.0 token for the current user. */
3659
+ oauth_token?: string;
3660
+ /** Required. The parent resource of the assessment. */
3661
+ parent: string;
3662
+ /** Returns response with indentations and line breaks. */
3663
+ prettyPrint?: boolean;
3664
+ /** 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. */
3665
+ quotaUser?: string;
3666
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3667
+ upload_protocol?: string;
3668
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3669
+ uploadType?: string;
3670
+ },
3671
+ body: GoogleCloudContactcenterinsightsV1Assessment,
3672
+ ): Request<GoogleCloudContactcenterinsightsV1Assessment>;
3673
+ /** Delete an Assessment. */
3674
+ delete(request?: {
3675
+ /** V1 error format. */
3676
+ '$.xgafv'?: string;
3677
+ /** OAuth access token. */
3678
+ access_token?: string;
3679
+ /** Data format for response. */
3680
+ alt?: string;
3681
+ /** JSONP */
3682
+ callback?: string;
3683
+ /** Selector specifying which fields to include in a partial response. */
3684
+ fields?: string;
3685
+ /** Optional. If set to true, all of this assessment's notes will also be deleted. Otherwise, the request will only succeed if it has no notes. */
3686
+ force?: boolean;
3687
+ /** 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. */
3688
+ key?: string;
3689
+ /** Required. The name of the assessment to delete. */
3337
3690
  name: string;
3338
3691
  /** OAuth 2.0 token for the current user. */
3339
3692
  oauth_token?: string;
@@ -3346,7 +3699,65 @@ declare namespace gapi.client {
3346
3699
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3347
3700
  uploadType?: string;
3348
3701
  }): Request<{}>;
3349
- /** Gets a conversation. */
3702
+ /** Finalize an Assessment. */
3703
+ finalize(request: {
3704
+ /** V1 error format. */
3705
+ '$.xgafv'?: string;
3706
+ /** OAuth access token. */
3707
+ access_token?: string;
3708
+ /** Data format for response. */
3709
+ alt?: string;
3710
+ /** JSONP */
3711
+ callback?: string;
3712
+ /** Selector specifying which fields to include in a partial response. */
3713
+ fields?: string;
3714
+ /** 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. */
3715
+ key?: string;
3716
+ /** Required. The name of the assessment to finalize. */
3717
+ name: string;
3718
+ /** OAuth 2.0 token for the current user. */
3719
+ oauth_token?: string;
3720
+ /** Returns response with indentations and line breaks. */
3721
+ prettyPrint?: boolean;
3722
+ /** 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. */
3723
+ quotaUser?: string;
3724
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3725
+ upload_protocol?: string;
3726
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3727
+ uploadType?: string;
3728
+ /** Request body */
3729
+ resource: GoogleCloudContactcenterinsightsV1FinalizeAssessmentRequest;
3730
+ }): Request<GoogleCloudContactcenterinsightsV1Assessment>;
3731
+ finalize(
3732
+ request: {
3733
+ /** V1 error format. */
3734
+ '$.xgafv'?: string;
3735
+ /** OAuth access token. */
3736
+ access_token?: string;
3737
+ /** Data format for response. */
3738
+ alt?: string;
3739
+ /** JSONP */
3740
+ callback?: string;
3741
+ /** Selector specifying which fields to include in a partial response. */
3742
+ fields?: string;
3743
+ /** 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. */
3744
+ key?: string;
3745
+ /** Required. The name of the assessment to finalize. */
3746
+ name: string;
3747
+ /** OAuth 2.0 token for the current user. */
3748
+ oauth_token?: string;
3749
+ /** Returns response with indentations and line breaks. */
3750
+ prettyPrint?: boolean;
3751
+ /** 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. */
3752
+ quotaUser?: string;
3753
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3754
+ upload_protocol?: string;
3755
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3756
+ uploadType?: string;
3757
+ },
3758
+ body: GoogleCloudContactcenterinsightsV1FinalizeAssessmentRequest,
3759
+ ): Request<GoogleCloudContactcenterinsightsV1Assessment>;
3760
+ /** Get Assessment. */
3350
3761
  get(request?: {
3351
3762
  /** V1 error format. */
3352
3763
  '$.xgafv'?: string;
@@ -3360,7 +3771,2218 @@ declare namespace gapi.client {
3360
3771
  fields?: string;
3361
3772
  /** 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. */
3362
3773
  key?: string;
3363
- /** Required. The name of the conversation to get. */
3774
+ /** Required. The name of the assessment to get. */
3775
+ name: string;
3776
+ /** OAuth 2.0 token for the current user. */
3777
+ oauth_token?: string;
3778
+ /** Returns response with indentations and line breaks. */
3779
+ prettyPrint?: boolean;
3780
+ /** 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. */
3781
+ quotaUser?: string;
3782
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3783
+ upload_protocol?: string;
3784
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3785
+ uploadType?: string;
3786
+ }): Request<GoogleCloudContactcenterinsightsV1Assessment>;
3787
+ /** List Assessments. */
3788
+ list(request?: {
3789
+ /** V1 error format. */
3790
+ '$.xgafv'?: string;
3791
+ /** OAuth access token. */
3792
+ access_token?: string;
3793
+ /** Data format for response. */
3794
+ alt?: string;
3795
+ /** JSONP */
3796
+ callback?: string;
3797
+ /** Selector specifying which fields to include in a partial response. */
3798
+ fields?: string;
3799
+ /** Optional. A filter to reduce results to a specific subset. Supported filters include: * `state` - The state of the assessment * `agent_info.agent_id` - The ID of the agent the assessment is for */
3800
+ filter?: string;
3801
+ /** 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. */
3802
+ key?: string;
3803
+ /** OAuth 2.0 token for the current user. */
3804
+ oauth_token?: string;
3805
+ /** The maximum number of assessments to list. If zero, the service will select a default size. A call may return fewer objects than requested. A non-empty `next_page_token` in the response indicates that more data is available. */
3806
+ pageSize?: number;
3807
+ /** Optional. The value returned by the last `ListAssessmentRulesResponse`; indicates that this is a continuation of a prior `ListAssessmentRules` call and the system should return the next page of data. */
3808
+ pageToken?: string;
3809
+ /** Required. The parent resource of the assessments. To list all assessments in a location, substitute the conversation ID with a '-' character. */
3810
+ parent: string;
3811
+ /** Returns response with indentations and line breaks. */
3812
+ prettyPrint?: boolean;
3813
+ /** 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. */
3814
+ quotaUser?: string;
3815
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3816
+ upload_protocol?: string;
3817
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3818
+ uploadType?: string;
3819
+ }): Request<GoogleCloudContactcenterinsightsV1ListAssessmentsResponse>;
3820
+ /** Publish an Assessment. */
3821
+ publish(request: {
3822
+ /** V1 error format. */
3823
+ '$.xgafv'?: string;
3824
+ /** OAuth access token. */
3825
+ access_token?: string;
3826
+ /** Data format for response. */
3827
+ alt?: string;
3828
+ /** JSONP */
3829
+ callback?: string;
3830
+ /** Selector specifying which fields to include in a partial response. */
3831
+ fields?: string;
3832
+ /** 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. */
3833
+ key?: string;
3834
+ /** Required. The name of the assessment to publish. */
3835
+ name: string;
3836
+ /** OAuth 2.0 token for the current user. */
3837
+ oauth_token?: string;
3838
+ /** Returns response with indentations and line breaks. */
3839
+ prettyPrint?: boolean;
3840
+ /** 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. */
3841
+ quotaUser?: string;
3842
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3843
+ upload_protocol?: string;
3844
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3845
+ uploadType?: string;
3846
+ /** Request body */
3847
+ resource: GoogleCloudContactcenterinsightsV1PublishAssessmentRequest;
3848
+ }): Request<GoogleCloudContactcenterinsightsV1Assessment>;
3849
+ publish(
3850
+ request: {
3851
+ /** V1 error format. */
3852
+ '$.xgafv'?: string;
3853
+ /** OAuth access token. */
3854
+ access_token?: string;
3855
+ /** Data format for response. */
3856
+ alt?: string;
3857
+ /** JSONP */
3858
+ callback?: string;
3859
+ /** Selector specifying which fields to include in a partial response. */
3860
+ fields?: string;
3861
+ /** 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. */
3862
+ key?: string;
3863
+ /** Required. The name of the assessment to publish. */
3864
+ name: string;
3865
+ /** OAuth 2.0 token for the current user. */
3866
+ oauth_token?: string;
3867
+ /** Returns response with indentations and line breaks. */
3868
+ prettyPrint?: boolean;
3869
+ /** 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. */
3870
+ quotaUser?: string;
3871
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3872
+ upload_protocol?: string;
3873
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3874
+ uploadType?: string;
3875
+ },
3876
+ body: GoogleCloudContactcenterinsightsV1PublishAssessmentRequest,
3877
+ ): Request<GoogleCloudContactcenterinsightsV1Assessment>;
3878
+ notes: NotesResource;
3879
+ }
3880
+ interface FeedbackLabelsResource {
3881
+ /** Create feedback label. */
3882
+ create(request: {
3883
+ /** V1 error format. */
3884
+ '$.xgafv'?: string;
3885
+ /** OAuth access token. */
3886
+ access_token?: string;
3887
+ /** Data format for response. */
3888
+ alt?: string;
3889
+ /** JSONP */
3890
+ callback?: string;
3891
+ /** Optional. The ID of the feedback label to create. If one is not specified it will be generated by the server. */
3892
+ feedbackLabelId?: string;
3893
+ /** Selector specifying which fields to include in a partial response. */
3894
+ fields?: string;
3895
+ /** 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. */
3896
+ key?: string;
3897
+ /** OAuth 2.0 token for the current user. */
3898
+ oauth_token?: string;
3899
+ /** Required. The parent resource of the feedback label. */
3900
+ parent: string;
3901
+ /** Returns response with indentations and line breaks. */
3902
+ prettyPrint?: boolean;
3903
+ /** 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. */
3904
+ quotaUser?: string;
3905
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3906
+ upload_protocol?: string;
3907
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3908
+ uploadType?: string;
3909
+ /** Request body */
3910
+ resource: GoogleCloudContactcenterinsightsV1FeedbackLabel;
3911
+ }): Request<GoogleCloudContactcenterinsightsV1FeedbackLabel>;
3912
+ create(
3913
+ request: {
3914
+ /** V1 error format. */
3915
+ '$.xgafv'?: string;
3916
+ /** OAuth access token. */
3917
+ access_token?: string;
3918
+ /** Data format for response. */
3919
+ alt?: string;
3920
+ /** JSONP */
3921
+ callback?: string;
3922
+ /** Optional. The ID of the feedback label to create. If one is not specified it will be generated by the server. */
3923
+ feedbackLabelId?: string;
3924
+ /** Selector specifying which fields to include in a partial response. */
3925
+ fields?: string;
3926
+ /** 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. */
3927
+ key?: string;
3928
+ /** OAuth 2.0 token for the current user. */
3929
+ oauth_token?: string;
3930
+ /** Required. The parent resource of the feedback label. */
3931
+ parent: string;
3932
+ /** Returns response with indentations and line breaks. */
3933
+ prettyPrint?: boolean;
3934
+ /** 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. */
3935
+ quotaUser?: string;
3936
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3937
+ upload_protocol?: string;
3938
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3939
+ uploadType?: string;
3940
+ },
3941
+ body: GoogleCloudContactcenterinsightsV1FeedbackLabel,
3942
+ ): Request<GoogleCloudContactcenterinsightsV1FeedbackLabel>;
3943
+ /** Delete feedback label. */
3944
+ delete(request?: {
3945
+ /** V1 error format. */
3946
+ '$.xgafv'?: string;
3947
+ /** OAuth access token. */
3948
+ access_token?: string;
3949
+ /** Data format for response. */
3950
+ alt?: string;
3951
+ /** JSONP */
3952
+ callback?: string;
3953
+ /** Selector specifying which fields to include in a partial response. */
3954
+ fields?: string;
3955
+ /** 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. */
3956
+ key?: string;
3957
+ /** Required. The name of the feedback label to delete. */
3958
+ name: string;
3959
+ /** OAuth 2.0 token for the current user. */
3960
+ oauth_token?: string;
3961
+ /** Returns response with indentations and line breaks. */
3962
+ prettyPrint?: boolean;
3963
+ /** 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. */
3964
+ quotaUser?: string;
3965
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3966
+ upload_protocol?: string;
3967
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3968
+ uploadType?: string;
3969
+ }): Request<{}>;
3970
+ /** Get feedback label. */
3971
+ get(request?: {
3972
+ /** V1 error format. */
3973
+ '$.xgafv'?: string;
3974
+ /** OAuth access token. */
3975
+ access_token?: string;
3976
+ /** Data format for response. */
3977
+ alt?: string;
3978
+ /** JSONP */
3979
+ callback?: string;
3980
+ /** Selector specifying which fields to include in a partial response. */
3981
+ fields?: string;
3982
+ /** 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. */
3983
+ key?: string;
3984
+ /** Required. The name of the feedback label to get. */
3985
+ name: string;
3986
+ /** OAuth 2.0 token for the current user. */
3987
+ oauth_token?: string;
3988
+ /** Returns response with indentations and line breaks. */
3989
+ prettyPrint?: boolean;
3990
+ /** 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. */
3991
+ quotaUser?: string;
3992
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3993
+ upload_protocol?: string;
3994
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3995
+ uploadType?: string;
3996
+ }): Request<GoogleCloudContactcenterinsightsV1FeedbackLabel>;
3997
+ /** List feedback labels. */
3998
+ list(request?: {
3999
+ /** V1 error format. */
4000
+ '$.xgafv'?: string;
4001
+ /** OAuth access token. */
4002
+ access_token?: string;
4003
+ /** Data format for response. */
4004
+ alt?: string;
4005
+ /** JSONP */
4006
+ callback?: string;
4007
+ /** Selector specifying which fields to include in a partial response. */
4008
+ fields?: string;
4009
+ /** Optional. A filter to reduce results to a specific subset. Supports disjunctions (OR) and conjunctions (AND). Automatically sorts by conversation ID. To sort by all feedback labels in a project see ListAllFeedbackLabels. Supported fields: * `issue_model_id` * `qa_question_id` * `qa_scorecard_id` * `min_create_time` * `max_create_time` * `min_update_time` * `max_update_time` * `feedback_label_type`: QUALITY_AI, TOPIC_MODELING */
4010
+ filter?: string;
4011
+ /** 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. */
4012
+ key?: string;
4013
+ /** OAuth 2.0 token for the current user. */
4014
+ oauth_token?: string;
4015
+ /** Optional. The maximum number of feedback labels to return in the response. A valid page size ranges from 0 to 100,000 inclusive. If the page size is zero or unspecified, a default page size of 100 will be chosen. Note that a call might return fewer results than the requested page size. */
4016
+ pageSize?: number;
4017
+ /** Optional. The value returned by the last `ListFeedbackLabelsResponse`. This value indicates that this is a continuation of a prior `ListFeedbackLabels` call and that the system should return the next page of data. */
4018
+ pageToken?: string;
4019
+ /** Required. The parent resource of the feedback labels. */
4020
+ parent: string;
4021
+ /** Returns response with indentations and line breaks. */
4022
+ prettyPrint?: boolean;
4023
+ /** 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. */
4024
+ quotaUser?: string;
4025
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4026
+ upload_protocol?: string;
4027
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4028
+ uploadType?: string;
4029
+ }): Request<GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse>;
4030
+ /** Update feedback label. */
4031
+ patch(request: {
4032
+ /** V1 error format. */
4033
+ '$.xgafv'?: string;
4034
+ /** OAuth access token. */
4035
+ access_token?: string;
4036
+ /** Data format for response. */
4037
+ alt?: string;
4038
+ /** JSONP */
4039
+ callback?: string;
4040
+ /** Selector specifying which fields to include in a partial response. */
4041
+ fields?: string;
4042
+ /** 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. */
4043
+ key?: string;
4044
+ /** Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label} */
4045
+ name: string;
4046
+ /** OAuth 2.0 token for the current user. */
4047
+ oauth_token?: string;
4048
+ /** Returns response with indentations and line breaks. */
4049
+ prettyPrint?: boolean;
4050
+ /** 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. */
4051
+ quotaUser?: string;
4052
+ /** Required. The list of fields to be updated. */
4053
+ updateMask?: string;
4054
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4055
+ upload_protocol?: string;
4056
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4057
+ uploadType?: string;
4058
+ /** Request body */
4059
+ resource: GoogleCloudContactcenterinsightsV1FeedbackLabel;
4060
+ }): Request<GoogleCloudContactcenterinsightsV1FeedbackLabel>;
4061
+ patch(
4062
+ request: {
4063
+ /** V1 error format. */
4064
+ '$.xgafv'?: string;
4065
+ /** OAuth access token. */
4066
+ access_token?: string;
4067
+ /** Data format for response. */
4068
+ alt?: string;
4069
+ /** JSONP */
4070
+ callback?: string;
4071
+ /** Selector specifying which fields to include in a partial response. */
4072
+ fields?: string;
4073
+ /** 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. */
4074
+ key?: string;
4075
+ /** Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label} */
4076
+ name: string;
4077
+ /** OAuth 2.0 token for the current user. */
4078
+ oauth_token?: string;
4079
+ /** Returns response with indentations and line breaks. */
4080
+ prettyPrint?: boolean;
4081
+ /** 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. */
4082
+ quotaUser?: string;
4083
+ /** Required. The list of fields to be updated. */
4084
+ updateMask?: string;
4085
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4086
+ upload_protocol?: string;
4087
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4088
+ uploadType?: string;
4089
+ },
4090
+ body: GoogleCloudContactcenterinsightsV1FeedbackLabel,
4091
+ ): Request<GoogleCloudContactcenterinsightsV1FeedbackLabel>;
4092
+ }
4093
+ interface ConversationsResource {
4094
+ /** Analyzes multiple conversations in a single request. */
4095
+ bulkAnalyze(request: {
4096
+ /** V1 error format. */
4097
+ '$.xgafv'?: string;
4098
+ /** OAuth access token. */
4099
+ access_token?: string;
4100
+ /** Data format for response. */
4101
+ alt?: string;
4102
+ /** JSONP */
4103
+ callback?: string;
4104
+ /** Selector specifying which fields to include in a partial response. */
4105
+ fields?: string;
4106
+ /** 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. */
4107
+ key?: string;
4108
+ /** OAuth 2.0 token for the current user. */
4109
+ oauth_token?: string;
4110
+ /** Required. The parent resource to create analyses in. */
4111
+ parent: string;
4112
+ /** Returns response with indentations and line breaks. */
4113
+ prettyPrint?: boolean;
4114
+ /** 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. */
4115
+ quotaUser?: string;
4116
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4117
+ upload_protocol?: string;
4118
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4119
+ uploadType?: string;
4120
+ /** Request body */
4121
+ resource: GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest;
4122
+ }): Request<GoogleLongrunningOperation>;
4123
+ bulkAnalyze(
4124
+ request: {
4125
+ /** V1 error format. */
4126
+ '$.xgafv'?: string;
4127
+ /** OAuth access token. */
4128
+ access_token?: string;
4129
+ /** Data format for response. */
4130
+ alt?: string;
4131
+ /** JSONP */
4132
+ callback?: string;
4133
+ /** Selector specifying which fields to include in a partial response. */
4134
+ fields?: string;
4135
+ /** 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. */
4136
+ key?: string;
4137
+ /** OAuth 2.0 token for the current user. */
4138
+ oauth_token?: string;
4139
+ /** Required. The parent resource to create analyses in. */
4140
+ parent: string;
4141
+ /** Returns response with indentations and line breaks. */
4142
+ prettyPrint?: boolean;
4143
+ /** 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. */
4144
+ quotaUser?: string;
4145
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4146
+ upload_protocol?: string;
4147
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4148
+ uploadType?: string;
4149
+ },
4150
+ body: GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest,
4151
+ ): Request<GoogleLongrunningOperation>;
4152
+ /** Gets conversation statistics. */
4153
+ calculateStats(request?: {
4154
+ /** V1 error format. */
4155
+ '$.xgafv'?: string;
4156
+ /** OAuth access token. */
4157
+ access_token?: string;
4158
+ /** Data format for response. */
4159
+ alt?: string;
4160
+ /** JSONP */
4161
+ callback?: string;
4162
+ /** Selector specifying which fields to include in a partial response. */
4163
+ fields?: string;
4164
+ /** A filter to reduce results to a specific subset. This field is useful for getting statistics about conversations with specific properties. */
4165
+ filter?: string;
4166
+ /** 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. */
4167
+ key?: string;
4168
+ /** Required. The location of the conversations. */
4169
+ location: string;
4170
+ /** OAuth 2.0 token for the current user. */
4171
+ oauth_token?: string;
4172
+ /** Returns response with indentations and line breaks. */
4173
+ prettyPrint?: boolean;
4174
+ /** 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. */
4175
+ quotaUser?: string;
4176
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4177
+ upload_protocol?: string;
4178
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4179
+ uploadType?: string;
4180
+ }): Request<GoogleCloudContactcenterinsightsV1CalculateStatsResponse>;
4181
+ /** Deletes a conversation. */
4182
+ delete(request?: {
4183
+ /** V1 error format. */
4184
+ '$.xgafv'?: string;
4185
+ /** OAuth access token. */
4186
+ access_token?: string;
4187
+ /** Data format for response. */
4188
+ alt?: string;
4189
+ /** JSONP */
4190
+ callback?: string;
4191
+ /** Selector specifying which fields to include in a partial response. */
4192
+ fields?: string;
4193
+ /** 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. */
4194
+ force?: boolean;
4195
+ /** 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. */
4196
+ key?: string;
4197
+ /** Required. The name of the conversation to delete. */
4198
+ name: string;
4199
+ /** OAuth 2.0 token for the current user. */
4200
+ oauth_token?: string;
4201
+ /** Returns response with indentations and line breaks. */
4202
+ prettyPrint?: boolean;
4203
+ /** 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. */
4204
+ quotaUser?: string;
4205
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4206
+ upload_protocol?: string;
4207
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4208
+ uploadType?: string;
4209
+ }): Request<{}>;
4210
+ /** Gets a conversation. */
4211
+ get(request?: {
4212
+ /** V1 error format. */
4213
+ '$.xgafv'?: string;
4214
+ /** OAuth access token. */
4215
+ access_token?: string;
4216
+ /** Data format for response. */
4217
+ alt?: string;
4218
+ /** JSONP */
4219
+ callback?: string;
4220
+ /** Selector specifying which fields to include in a partial response. */
4221
+ fields?: string;
4222
+ /** 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. */
4223
+ key?: string;
4224
+ /** Required. The name of the conversation to get. */
4225
+ name: string;
4226
+ /** OAuth 2.0 token for the current user. */
4227
+ oauth_token?: string;
4228
+ /** Returns response with indentations and line breaks. */
4229
+ prettyPrint?: boolean;
4230
+ /** 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. */
4231
+ quotaUser?: string;
4232
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4233
+ upload_protocol?: string;
4234
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4235
+ uploadType?: string;
4236
+ /** The level of details of the conversation. Default is `FULL`. */
4237
+ view?: string;
4238
+ }): Request<GoogleCloudContactcenterinsightsV1Conversation>;
4239
+ /** Lists conversations. */
4240
+ list(request?: {
4241
+ /** V1 error format. */
4242
+ '$.xgafv'?: string;
4243
+ /** OAuth access token. */
4244
+ access_token?: string;
4245
+ /** Data format for response. */
4246
+ alt?: string;
4247
+ /** JSONP */
4248
+ callback?: string;
4249
+ /** Selector specifying which fields to include in a partial response. */
4250
+ fields?: string;
4251
+ /** A filter to reduce results to a specific subset. Useful for querying conversations with specific properties. */
4252
+ filter?: string;
4253
+ /** 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. */
4254
+ key?: string;
4255
+ /** OAuth 2.0 token for the current user. */
4256
+ oauth_token?: string;
4257
+ /** Optional. The attribute by which to order conversations in the response. If empty, conversations will be ordered by descending creation time. Supported values are one of the following: * create_time * customer_satisfaction_rating * duration * latest_analysis * start_time * turn_count The default sort order is ascending. To specify order, append `asc` or `desc` (`create_time desc`). For more details, see [Google AIPs Ordering](https://google.aip.dev/132#ordering). */
4258
+ orderBy?: string;
4259
+ /** The maximum number of conversations to return in the response. A valid page size ranges from 0 to 100,000 inclusive. If the page size is zero or unspecified, a default page size of 100 will be chosen. Note that a call might return fewer results than the requested page size. */
4260
+ pageSize?: number;
4261
+ /** The value returned by the last `ListConversationsResponse`. This value indicates that this is a continuation of a prior `ListConversations` call and that the system should return the next page of data. */
4262
+ pageToken?: string;
4263
+ /** Required. The parent resource of the conversation. */
4264
+ parent: string;
4265
+ /** Returns response with indentations and line breaks. */
4266
+ prettyPrint?: boolean;
4267
+ /** 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. */
4268
+ quotaUser?: string;
4269
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4270
+ upload_protocol?: string;
4271
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4272
+ uploadType?: string;
4273
+ /** The level of details of the conversation. Default is `BASIC`. */
4274
+ view?: string;
4275
+ }): Request<GoogleCloudContactcenterinsightsV1ListConversationsResponse>;
4276
+ analyses: AnalysesResource;
4277
+ assessments: AssessmentsResource;
4278
+ feedbackLabels: FeedbackLabelsResource;
4279
+ }
4280
+ interface OperationsResource {
4281
+ /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */
4282
+ cancel(request?: {
4283
+ /** V1 error format. */
4284
+ '$.xgafv'?: string;
4285
+ /** OAuth access token. */
4286
+ access_token?: string;
4287
+ /** Data format for response. */
4288
+ alt?: string;
4289
+ /** JSONP */
4290
+ callback?: string;
4291
+ /** Selector specifying which fields to include in a partial response. */
4292
+ fields?: string;
4293
+ /** 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. */
4294
+ key?: string;
4295
+ /** The name of the operation resource to be cancelled. */
4296
+ name: string;
4297
+ /** OAuth 2.0 token for the current user. */
4298
+ oauth_token?: string;
4299
+ /** Returns response with indentations and line breaks. */
4300
+ prettyPrint?: boolean;
4301
+ /** 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. */
4302
+ quotaUser?: string;
4303
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4304
+ upload_protocol?: string;
4305
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4306
+ uploadType?: string;
4307
+ }): Request<{}>;
4308
+ /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
4309
+ get(request?: {
4310
+ /** V1 error format. */
4311
+ '$.xgafv'?: string;
4312
+ /** OAuth access token. */
4313
+ access_token?: string;
4314
+ /** Data format for response. */
4315
+ alt?: string;
4316
+ /** JSONP */
4317
+ callback?: string;
4318
+ /** Selector specifying which fields to include in a partial response. */
4319
+ fields?: string;
4320
+ /** 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. */
4321
+ key?: string;
4322
+ /** The name of the operation resource. */
4323
+ name: string;
4324
+ /** OAuth 2.0 token for the current user. */
4325
+ oauth_token?: string;
4326
+ /** Returns response with indentations and line breaks. */
4327
+ prettyPrint?: boolean;
4328
+ /** 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. */
4329
+ quotaUser?: string;
4330
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4331
+ upload_protocol?: string;
4332
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4333
+ uploadType?: string;
4334
+ }): Request<GoogleLongrunningOperation>;
4335
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
4336
+ list(request?: {
4337
+ /** V1 error format. */
4338
+ '$.xgafv'?: string;
4339
+ /** OAuth access token. */
4340
+ access_token?: string;
4341
+ /** Data format for response. */
4342
+ alt?: string;
4343
+ /** JSONP */
4344
+ callback?: string;
4345
+ /** Selector specifying which fields to include in a partial response. */
4346
+ fields?: string;
4347
+ /** The standard list filter. */
4348
+ filter?: string;
4349
+ /** 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. */
4350
+ key?: string;
4351
+ /** The name of the operation's parent resource. */
4352
+ name: string;
4353
+ /** OAuth 2.0 token for the current user. */
4354
+ oauth_token?: string;
4355
+ /** The standard list page size. */
4356
+ pageSize?: number;
4357
+ /** The standard list page token. */
4358
+ pageToken?: string;
4359
+ /** Returns response with indentations and line breaks. */
4360
+ prettyPrint?: boolean;
4361
+ /** 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. */
4362
+ quotaUser?: string;
4363
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4364
+ upload_protocol?: string;
4365
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4366
+ uploadType?: string;
4367
+ }): Request<GoogleLongrunningListOperationsResponse>;
4368
+ }
4369
+ interface AuthorizedViewsResource {
4370
+ /** Create AuthorizedView */
4371
+ create(request: {
4372
+ /** V1 error format. */
4373
+ '$.xgafv'?: string;
4374
+ /** OAuth access token. */
4375
+ access_token?: string;
4376
+ /** Data format for response. */
4377
+ alt?: string;
4378
+ /** Optional. A unique ID for the new AuthorizedView. This ID will become the final component of the AuthorizedView's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular expression `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`. See go/aip/122#resource-id-segments */
4379
+ authorizedViewId?: string;
4380
+ /** JSONP */
4381
+ callback?: string;
4382
+ /** Selector specifying which fields to include in a partial response. */
4383
+ fields?: string;
4384
+ /** 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. */
4385
+ key?: string;
4386
+ /** OAuth 2.0 token for the current user. */
4387
+ oauth_token?: string;
4388
+ /** Required. The parent resource of the AuthorizedView. */
4389
+ parent: string;
4390
+ /** Returns response with indentations and line breaks. */
4391
+ prettyPrint?: boolean;
4392
+ /** 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. */
4393
+ quotaUser?: string;
4394
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4395
+ upload_protocol?: string;
4396
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4397
+ uploadType?: string;
4398
+ /** Request body */
4399
+ resource: GoogleCloudContactcenterinsightsV1AuthorizedView;
4400
+ }): Request<GoogleCloudContactcenterinsightsV1AuthorizedView>;
4401
+ create(
4402
+ request: {
4403
+ /** V1 error format. */
4404
+ '$.xgafv'?: string;
4405
+ /** OAuth access token. */
4406
+ access_token?: string;
4407
+ /** Data format for response. */
4408
+ alt?: string;
4409
+ /** Optional. A unique ID for the new AuthorizedView. This ID will become the final component of the AuthorizedView's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular expression `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`. See go/aip/122#resource-id-segments */
4410
+ authorizedViewId?: string;
4411
+ /** JSONP */
4412
+ callback?: string;
4413
+ /** Selector specifying which fields to include in a partial response. */
4414
+ fields?: string;
4415
+ /** 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. */
4416
+ key?: string;
4417
+ /** OAuth 2.0 token for the current user. */
4418
+ oauth_token?: string;
4419
+ /** Required. The parent resource of the AuthorizedView. */
4420
+ parent: string;
4421
+ /** Returns response with indentations and line breaks. */
4422
+ prettyPrint?: boolean;
4423
+ /** 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. */
4424
+ quotaUser?: string;
4425
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4426
+ upload_protocol?: string;
4427
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4428
+ uploadType?: string;
4429
+ },
4430
+ body: GoogleCloudContactcenterinsightsV1AuthorizedView,
4431
+ ): Request<GoogleCloudContactcenterinsightsV1AuthorizedView>;
4432
+ /** Deletes an AuthorizedView. */
4433
+ delete(request?: {
4434
+ /** V1 error format. */
4435
+ '$.xgafv'?: string;
4436
+ /** OAuth access token. */
4437
+ access_token?: string;
4438
+ /** Data format for response. */
4439
+ alt?: string;
4440
+ /** JSONP */
4441
+ callback?: string;
4442
+ /** Selector specifying which fields to include in a partial response. */
4443
+ fields?: string;
4444
+ /** 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. */
4445
+ key?: string;
4446
+ /** Required. The name of the AuthorizedView to delete. */
4447
+ name: string;
4448
+ /** OAuth 2.0 token for the current user. */
4449
+ oauth_token?: string;
4450
+ /** Returns response with indentations and line breaks. */
4451
+ prettyPrint?: boolean;
4452
+ /** 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. */
4453
+ quotaUser?: string;
4454
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4455
+ upload_protocol?: string;
4456
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4457
+ uploadType?: string;
4458
+ }): Request<{}>;
4459
+ /** Get AuthorizedView */
4460
+ get(request?: {
4461
+ /** V1 error format. */
4462
+ '$.xgafv'?: string;
4463
+ /** OAuth access token. */
4464
+ access_token?: string;
4465
+ /** Data format for response. */
4466
+ alt?: string;
4467
+ /** JSONP */
4468
+ callback?: string;
4469
+ /** Selector specifying which fields to include in a partial response. */
4470
+ fields?: string;
4471
+ /** 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. */
4472
+ key?: string;
4473
+ /** Required. The name of the AuthorizedView to get. */
4474
+ name: string;
4475
+ /** OAuth 2.0 token for the current user. */
4476
+ oauth_token?: string;
4477
+ /** Returns response with indentations and line breaks. */
4478
+ prettyPrint?: boolean;
4479
+ /** 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. */
4480
+ quotaUser?: string;
4481
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4482
+ upload_protocol?: string;
4483
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4484
+ uploadType?: string;
4485
+ }): Request<GoogleCloudContactcenterinsightsV1AuthorizedView>;
4486
+ /** List AuthorizedViewSets */
4487
+ list(request?: {
4488
+ /** V1 error format. */
4489
+ '$.xgafv'?: string;
4490
+ /** OAuth access token. */
4491
+ access_token?: string;
4492
+ /** Data format for response. */
4493
+ alt?: string;
4494
+ /** JSONP */
4495
+ callback?: string;
4496
+ /** Selector specifying which fields to include in a partial response. */
4497
+ fields?: string;
4498
+ /** Optional. The filter expression to filter authorized views listed in the response. */
4499
+ filter?: string;
4500
+ /** 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. */
4501
+ key?: string;
4502
+ /** OAuth 2.0 token for the current user. */
4503
+ oauth_token?: string;
4504
+ /** Optional. The order by expression to order authorized views listed in the response. */
4505
+ orderBy?: string;
4506
+ /** Optional. The maximum number of view to return in the response. If the value is zero, the service will select a default size. A call might return fewer objects than requested. A non-empty `next_page_token` in the response indicates that more data is available. */
4507
+ pageSize?: number;
4508
+ /** Optional. The value returned by the last `ListAuthorizedViewsResponse`. This value indicates that this is a continuation of a prior `ListAuthorizedViews` call and that the system should return the next page of data. */
4509
+ pageToken?: string;
4510
+ /** Required. The parent resource of the AuthorizedViews. If the parent is set to `-`, all AuthorizedViews under the location will be returned. */
4511
+ parent: string;
4512
+ /** Returns response with indentations and line breaks. */
4513
+ prettyPrint?: boolean;
4514
+ /** 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. */
4515
+ quotaUser?: string;
4516
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4517
+ upload_protocol?: string;
4518
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4519
+ uploadType?: string;
4520
+ }): Request<GoogleCloudContactcenterinsightsV1ListAuthorizedViewsResponse>;
4521
+ /** Updates an AuthorizedView. */
4522
+ patch(request: {
4523
+ /** V1 error format. */
4524
+ '$.xgafv'?: string;
4525
+ /** OAuth access token. */
4526
+ access_token?: string;
4527
+ /** Data format for response. */
4528
+ alt?: string;
4529
+ /** JSONP */
4530
+ callback?: string;
4531
+ /** Selector specifying which fields to include in a partial response. */
4532
+ fields?: string;
4533
+ /** 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. */
4534
+ key?: string;
4535
+ /** Identifier. The resource name of the AuthorizedView. Format: projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view} */
4536
+ name: string;
4537
+ /** OAuth 2.0 token for the current user. */
4538
+ oauth_token?: string;
4539
+ /** Returns response with indentations and line breaks. */
4540
+ prettyPrint?: boolean;
4541
+ /** 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. */
4542
+ quotaUser?: string;
4543
+ /** Optional. The list of fields to be updated. All possible fields can be updated by passing `*`, or a subset of the following updateable fields can be provided: * `conversation_filter` * `display_name` */
4544
+ updateMask?: string;
4545
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4546
+ upload_protocol?: string;
4547
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4548
+ uploadType?: string;
4549
+ /** Request body */
4550
+ resource: GoogleCloudContactcenterinsightsV1AuthorizedView;
4551
+ }): Request<GoogleCloudContactcenterinsightsV1AuthorizedView>;
4552
+ patch(
4553
+ request: {
4554
+ /** V1 error format. */
4555
+ '$.xgafv'?: string;
4556
+ /** OAuth access token. */
4557
+ access_token?: string;
4558
+ /** Data format for response. */
4559
+ alt?: string;
4560
+ /** JSONP */
4561
+ callback?: string;
4562
+ /** Selector specifying which fields to include in a partial response. */
4563
+ fields?: string;
4564
+ /** 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. */
4565
+ key?: string;
4566
+ /** Identifier. The resource name of the AuthorizedView. Format: projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view} */
4567
+ name: string;
4568
+ /** OAuth 2.0 token for the current user. */
4569
+ oauth_token?: string;
4570
+ /** Returns response with indentations and line breaks. */
4571
+ prettyPrint?: boolean;
4572
+ /** 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. */
4573
+ quotaUser?: string;
4574
+ /** Optional. The list of fields to be updated. All possible fields can be updated by passing `*`, or a subset of the following updateable fields can be provided: * `conversation_filter` * `display_name` */
4575
+ updateMask?: string;
4576
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4577
+ upload_protocol?: string;
4578
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4579
+ uploadType?: string;
4580
+ },
4581
+ body: GoogleCloudContactcenterinsightsV1AuthorizedView,
4582
+ ): Request<GoogleCloudContactcenterinsightsV1AuthorizedView>;
4583
+ /** Query metrics. */
4584
+ queryMetrics(request: {
4585
+ /** V1 error format. */
4586
+ '$.xgafv'?: string;
4587
+ /** OAuth access token. */
4588
+ access_token?: string;
4589
+ /** Data format for response. */
4590
+ alt?: string;
4591
+ /** JSONP */
4592
+ callback?: string;
4593
+ /** Selector specifying which fields to include in a partial response. */
4594
+ fields?: string;
4595
+ /** 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. */
4596
+ key?: string;
4597
+ /** Required. The location of the data. "projects/{project}/locations/{location}" */
4598
+ location: string;
4599
+ /** OAuth 2.0 token for the current user. */
4600
+ oauth_token?: string;
4601
+ /** Returns response with indentations and line breaks. */
4602
+ prettyPrint?: boolean;
4603
+ /** 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. */
4604
+ quotaUser?: string;
4605
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4606
+ upload_protocol?: string;
4607
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4608
+ uploadType?: string;
4609
+ /** Request body */
4610
+ resource: GoogleCloudContactcenterinsightsV1QueryMetricsRequest;
4611
+ }): Request<GoogleLongrunningOperation>;
4612
+ queryMetrics(
4613
+ request: {
4614
+ /** V1 error format. */
4615
+ '$.xgafv'?: string;
4616
+ /** OAuth access token. */
4617
+ access_token?: string;
4618
+ /** Data format for response. */
4619
+ alt?: string;
4620
+ /** JSONP */
4621
+ callback?: string;
4622
+ /** Selector specifying which fields to include in a partial response. */
4623
+ fields?: string;
4624
+ /** 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. */
4625
+ key?: string;
4626
+ /** Required. The location of the data. "projects/{project}/locations/{location}" */
4627
+ location: string;
4628
+ /** OAuth 2.0 token for the current user. */
4629
+ oauth_token?: string;
4630
+ /** Returns response with indentations and line breaks. */
4631
+ prettyPrint?: boolean;
4632
+ /** 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. */
4633
+ quotaUser?: string;
4634
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4635
+ upload_protocol?: string;
4636
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4637
+ uploadType?: string;
4638
+ },
4639
+ body: GoogleCloudContactcenterinsightsV1QueryMetricsRequest,
4640
+ ): Request<GoogleLongrunningOperation>;
4641
+ /** SearchAuthorizedViewSets */
4642
+ search(request?: {
4643
+ /** V1 error format. */
4644
+ '$.xgafv'?: string;
4645
+ /** OAuth access token. */
4646
+ access_token?: string;
4647
+ /** Data format for response. */
4648
+ alt?: string;
4649
+ /** JSONP */
4650
+ callback?: string;
4651
+ /** Selector specifying which fields to include in a partial response. */
4652
+ fields?: string;
4653
+ /** 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. */
4654
+ key?: string;
4655
+ /** OAuth 2.0 token for the current user. */
4656
+ oauth_token?: string;
4657
+ /** Optional. The order by expression to order authorized views listed in the response. */
4658
+ orderBy?: string;
4659
+ /** Optional. The maximum number of view to return in the response. If the value is zero, the service will select a default size. A call might return fewer objects than requested. A non-empty `next_page_token` in the response indicates that more data is available. */
4660
+ pageSize?: number;
4661
+ /** Optional. The value returned by the last `ListAuthorizedViewsResponse`. This value indicates that this is a continuation of a prior `ListAuthorizedViews` call and that the system should return the next page of data. */
4662
+ pageToken?: string;
4663
+ /** Required. The parent resource of the AuthorizedViews. If the parent is set to `-`, all AuthorizedViews under the location will be returned. */
4664
+ parent: string;
4665
+ /** Returns response with indentations and line breaks. */
4666
+ prettyPrint?: boolean;
4667
+ /** Optional. The query expression to search authorized views. */
4668
+ query?: string;
4669
+ /** 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. */
4670
+ quotaUser?: string;
4671
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4672
+ upload_protocol?: string;
4673
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4674
+ uploadType?: string;
4675
+ }): Request<GoogleCloudContactcenterinsightsV1SearchAuthorizedViewsResponse>;
4676
+ conversations: ConversationsResource;
4677
+ operations: OperationsResource;
4678
+ }
4679
+ interface AuthorizedViewSetsResource {
4680
+ /** Create AuthorizedViewSet */
4681
+ create(request: {
4682
+ /** V1 error format. */
4683
+ '$.xgafv'?: string;
4684
+ /** OAuth access token. */
4685
+ access_token?: string;
4686
+ /** Data format for response. */
4687
+ alt?: string;
4688
+ /** Optional. A unique ID for the new AuthorizedViewSet. This ID will become the final component of the AuthorizedViewSet's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular expression `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`. See go/aip/122#resource-id-segments */
4689
+ authorizedViewSetId?: string;
4690
+ /** JSONP */
4691
+ callback?: string;
4692
+ /** Selector specifying which fields to include in a partial response. */
4693
+ fields?: string;
4694
+ /** 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. */
4695
+ key?: string;
4696
+ /** OAuth 2.0 token for the current user. */
4697
+ oauth_token?: string;
4698
+ /** Required. The parent resource of the AuthorizedViewSet. */
4699
+ parent: string;
4700
+ /** Returns response with indentations and line breaks. */
4701
+ prettyPrint?: boolean;
4702
+ /** 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. */
4703
+ quotaUser?: string;
4704
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4705
+ upload_protocol?: string;
4706
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4707
+ uploadType?: string;
4708
+ /** Request body */
4709
+ resource: GoogleCloudContactcenterinsightsV1AuthorizedViewSet;
4710
+ }): Request<GoogleCloudContactcenterinsightsV1AuthorizedViewSet>;
4711
+ create(
4712
+ request: {
4713
+ /** V1 error format. */
4714
+ '$.xgafv'?: string;
4715
+ /** OAuth access token. */
4716
+ access_token?: string;
4717
+ /** Data format for response. */
4718
+ alt?: string;
4719
+ /** Optional. A unique ID for the new AuthorizedViewSet. This ID will become the final component of the AuthorizedViewSet's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular expression `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`. See go/aip/122#resource-id-segments */
4720
+ authorizedViewSetId?: string;
4721
+ /** JSONP */
4722
+ callback?: string;
4723
+ /** Selector specifying which fields to include in a partial response. */
4724
+ fields?: string;
4725
+ /** 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. */
4726
+ key?: string;
4727
+ /** OAuth 2.0 token for the current user. */
4728
+ oauth_token?: string;
4729
+ /** Required. The parent resource of the AuthorizedViewSet. */
4730
+ parent: string;
4731
+ /** Returns response with indentations and line breaks. */
4732
+ prettyPrint?: boolean;
4733
+ /** 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. */
4734
+ quotaUser?: string;
4735
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4736
+ upload_protocol?: string;
4737
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4738
+ uploadType?: string;
4739
+ },
4740
+ body: GoogleCloudContactcenterinsightsV1AuthorizedViewSet,
4741
+ ): Request<GoogleCloudContactcenterinsightsV1AuthorizedViewSet>;
4742
+ /** Deletes an AuthorizedViewSet. */
4743
+ delete(request?: {
4744
+ /** V1 error format. */
4745
+ '$.xgafv'?: string;
4746
+ /** OAuth access token. */
4747
+ access_token?: string;
4748
+ /** Data format for response. */
4749
+ alt?: string;
4750
+ /** JSONP */
4751
+ callback?: string;
4752
+ /** Selector specifying which fields to include in a partial response. */
4753
+ fields?: string;
4754
+ /** Optional. If set to true, all of this AuthorizedViewSet's child resources will also be deleted. Otherwise, the request will only succeed if it has none. */
4755
+ force?: boolean;
4756
+ /** 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. */
4757
+ key?: string;
4758
+ /** Required. The name of the AuthorizedViewSet to delete. */
4759
+ name: string;
4760
+ /** OAuth 2.0 token for the current user. */
4761
+ oauth_token?: string;
4762
+ /** Returns response with indentations and line breaks. */
4763
+ prettyPrint?: boolean;
4764
+ /** 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. */
4765
+ quotaUser?: string;
4766
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4767
+ upload_protocol?: string;
4768
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4769
+ uploadType?: string;
4770
+ }): Request<{}>;
4771
+ /** Get AuthorizedViewSet */
4772
+ get(request?: {
4773
+ /** V1 error format. */
4774
+ '$.xgafv'?: string;
4775
+ /** OAuth access token. */
4776
+ access_token?: string;
4777
+ /** Data format for response. */
4778
+ alt?: string;
4779
+ /** JSONP */
4780
+ callback?: string;
4781
+ /** Selector specifying which fields to include in a partial response. */
4782
+ fields?: string;
4783
+ /** 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. */
4784
+ key?: string;
4785
+ /** Required. The name of the AuthorizedViewSet to get. */
4786
+ name: string;
4787
+ /** OAuth 2.0 token for the current user. */
4788
+ oauth_token?: string;
4789
+ /** Returns response with indentations and line breaks. */
4790
+ prettyPrint?: boolean;
4791
+ /** 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. */
4792
+ quotaUser?: string;
4793
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4794
+ upload_protocol?: string;
4795
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4796
+ uploadType?: string;
4797
+ }): Request<GoogleCloudContactcenterinsightsV1AuthorizedViewSet>;
4798
+ /** List AuthorizedViewSets */
4799
+ list(request?: {
4800
+ /** V1 error format. */
4801
+ '$.xgafv'?: string;
4802
+ /** OAuth access token. */
4803
+ access_token?: string;
4804
+ /** Data format for response. */
4805
+ alt?: string;
4806
+ /** JSONP */
4807
+ callback?: string;
4808
+ /** Selector specifying which fields to include in a partial response. */
4809
+ fields?: string;
4810
+ /** Optional. The filter expression to filter authorized view sets listed in the response. */
4811
+ filter?: string;
4812
+ /** 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. */
4813
+ key?: string;
4814
+ /** OAuth 2.0 token for the current user. */
4815
+ oauth_token?: string;
4816
+ /** Optional. The order by expression to order authorized view sets listed in the response. */
4817
+ orderBy?: string;
4818
+ /** Optional. The maximum number of view sets to return in the response. If the value is zero, the service will select a default size. A call might return fewer objects than requested. A non-empty `next_page_token` in the response indicates that more data is available. */
4819
+ pageSize?: number;
4820
+ /** Optional. The value returned by the last `ListAuthorizedViewSetsResponse`. This value indicates that this is a continuation of a prior `ListAuthorizedViewSets` call and that the system should return the next page of data. */
4821
+ pageToken?: string;
4822
+ /** Required. The parent resource of the AuthorizedViewSets. */
4823
+ parent: string;
4824
+ /** Returns response with indentations and line breaks. */
4825
+ prettyPrint?: boolean;
4826
+ /** 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. */
4827
+ quotaUser?: string;
4828
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4829
+ upload_protocol?: string;
4830
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4831
+ uploadType?: string;
4832
+ }): Request<GoogleCloudContactcenterinsightsV1ListAuthorizedViewSetsResponse>;
4833
+ /** Updates an AuthorizedViewSet. */
4834
+ patch(request: {
4835
+ /** V1 error format. */
4836
+ '$.xgafv'?: string;
4837
+ /** OAuth access token. */
4838
+ access_token?: string;
4839
+ /** Data format for response. */
4840
+ alt?: string;
4841
+ /** JSONP */
4842
+ callback?: string;
4843
+ /** Selector specifying which fields to include in a partial response. */
4844
+ fields?: string;
4845
+ /** 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. */
4846
+ key?: string;
4847
+ /** Identifier. The resource name of the AuthorizedViewSet. Format: projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set} */
4848
+ name: string;
4849
+ /** OAuth 2.0 token for the current user. */
4850
+ oauth_token?: string;
4851
+ /** Returns response with indentations and line breaks. */
4852
+ prettyPrint?: boolean;
4853
+ /** 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. */
4854
+ quotaUser?: string;
4855
+ /** Optional. The list of fields to be updated. All possible fields can be updated by passing `*`, or a subset of the following updateable fields can be provided: * `display_name` */
4856
+ updateMask?: string;
4857
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4858
+ upload_protocol?: string;
4859
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4860
+ uploadType?: string;
4861
+ /** Request body */
4862
+ resource: GoogleCloudContactcenterinsightsV1AuthorizedViewSet;
4863
+ }): Request<GoogleCloudContactcenterinsightsV1AuthorizedViewSet>;
4864
+ patch(
4865
+ request: {
4866
+ /** V1 error format. */
4867
+ '$.xgafv'?: string;
4868
+ /** OAuth access token. */
4869
+ access_token?: string;
4870
+ /** Data format for response. */
4871
+ alt?: string;
4872
+ /** JSONP */
4873
+ callback?: string;
4874
+ /** Selector specifying which fields to include in a partial response. */
4875
+ fields?: string;
4876
+ /** 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. */
4877
+ key?: string;
4878
+ /** Identifier. The resource name of the AuthorizedViewSet. Format: projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set} */
4879
+ name: string;
4880
+ /** OAuth 2.0 token for the current user. */
4881
+ oauth_token?: string;
4882
+ /** Returns response with indentations and line breaks. */
4883
+ prettyPrint?: boolean;
4884
+ /** 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. */
4885
+ quotaUser?: string;
4886
+ /** Optional. The list of fields to be updated. All possible fields can be updated by passing `*`, or a subset of the following updateable fields can be provided: * `display_name` */
4887
+ updateMask?: string;
4888
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4889
+ upload_protocol?: string;
4890
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4891
+ uploadType?: string;
4892
+ },
4893
+ body: GoogleCloudContactcenterinsightsV1AuthorizedViewSet,
4894
+ ): Request<GoogleCloudContactcenterinsightsV1AuthorizedViewSet>;
4895
+ authorizedViews: AuthorizedViewsResource;
4896
+ }
4897
+ interface AnalysesResource {
4898
+ /** Creates an analysis. The long running operation is done when the analysis has completed. */
4899
+ create(request: {
4900
+ /** V1 error format. */
4901
+ '$.xgafv'?: string;
4902
+ /** OAuth access token. */
4903
+ access_token?: string;
4904
+ /** Data format for response. */
4905
+ alt?: string;
4906
+ /** JSONP */
4907
+ callback?: string;
4908
+ /** Selector specifying which fields to include in a partial response. */
4909
+ fields?: string;
4910
+ /** 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. */
4911
+ key?: string;
4912
+ /** OAuth 2.0 token for the current user. */
4913
+ oauth_token?: string;
4914
+ /** Required. The parent resource of the analysis. */
4915
+ parent: string;
4916
+ /** Returns response with indentations and line breaks. */
4917
+ prettyPrint?: boolean;
4918
+ /** 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. */
4919
+ quotaUser?: string;
4920
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4921
+ upload_protocol?: string;
4922
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4923
+ uploadType?: string;
4924
+ /** Request body */
4925
+ resource: GoogleCloudContactcenterinsightsV1Analysis;
4926
+ }): Request<GoogleLongrunningOperation>;
4927
+ create(
4928
+ request: {
4929
+ /** V1 error format. */
4930
+ '$.xgafv'?: string;
4931
+ /** OAuth access token. */
4932
+ access_token?: string;
4933
+ /** Data format for response. */
4934
+ alt?: string;
4935
+ /** JSONP */
4936
+ callback?: string;
4937
+ /** Selector specifying which fields to include in a partial response. */
4938
+ fields?: string;
4939
+ /** 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. */
4940
+ key?: string;
4941
+ /** OAuth 2.0 token for the current user. */
4942
+ oauth_token?: string;
4943
+ /** Required. The parent resource of the analysis. */
4944
+ parent: string;
4945
+ /** Returns response with indentations and line breaks. */
4946
+ prettyPrint?: boolean;
4947
+ /** 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. */
4948
+ quotaUser?: string;
4949
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4950
+ upload_protocol?: string;
4951
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4952
+ uploadType?: string;
4953
+ },
4954
+ body: GoogleCloudContactcenterinsightsV1Analysis,
4955
+ ): Request<GoogleLongrunningOperation>;
4956
+ /** Deletes an analysis. */
4957
+ delete(request?: {
4958
+ /** V1 error format. */
4959
+ '$.xgafv'?: string;
4960
+ /** OAuth access token. */
4961
+ access_token?: string;
4962
+ /** Data format for response. */
4963
+ alt?: string;
4964
+ /** JSONP */
4965
+ callback?: string;
4966
+ /** Selector specifying which fields to include in a partial response. */
4967
+ fields?: string;
4968
+ /** 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. */
4969
+ key?: string;
4970
+ /** Required. The name of the analysis to delete. */
4971
+ name: string;
4972
+ /** OAuth 2.0 token for the current user. */
4973
+ oauth_token?: string;
4974
+ /** Returns response with indentations and line breaks. */
4975
+ prettyPrint?: boolean;
4976
+ /** 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. */
4977
+ quotaUser?: string;
4978
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4979
+ upload_protocol?: string;
4980
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4981
+ uploadType?: string;
4982
+ }): Request<{}>;
4983
+ /** Gets an analysis. */
4984
+ get(request?: {
4985
+ /** V1 error format. */
4986
+ '$.xgafv'?: string;
4987
+ /** OAuth access token. */
4988
+ access_token?: string;
4989
+ /** Data format for response. */
4990
+ alt?: string;
4991
+ /** JSONP */
4992
+ callback?: string;
4993
+ /** Selector specifying which fields to include in a partial response. */
4994
+ fields?: string;
4995
+ /** 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. */
4996
+ key?: string;
4997
+ /** Required. The name of the analysis to get. */
4998
+ name: string;
4999
+ /** OAuth 2.0 token for the current user. */
5000
+ oauth_token?: string;
5001
+ /** Returns response with indentations and line breaks. */
5002
+ prettyPrint?: boolean;
5003
+ /** 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. */
5004
+ quotaUser?: string;
5005
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5006
+ upload_protocol?: string;
5007
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5008
+ uploadType?: string;
5009
+ }): Request<GoogleCloudContactcenterinsightsV1Analysis>;
5010
+ /** Lists analyses. */
5011
+ list(request?: {
5012
+ /** V1 error format. */
5013
+ '$.xgafv'?: string;
5014
+ /** OAuth access token. */
5015
+ access_token?: string;
5016
+ /** Data format for response. */
5017
+ alt?: string;
5018
+ /** JSONP */
5019
+ callback?: string;
5020
+ /** Selector specifying which fields to include in a partial response. */
5021
+ fields?: string;
5022
+ /** A filter to reduce results to a specific subset. Useful for querying conversations with specific properties. */
5023
+ filter?: string;
5024
+ /** 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. */
5025
+ key?: string;
5026
+ /** OAuth 2.0 token for the current user. */
5027
+ oauth_token?: string;
5028
+ /** The maximum number of analyses to return in the response. If this value is zero, the service will select a default size. A call might return fewer objects than requested. A non-empty `next_page_token` in the response indicates that more data is available. */
5029
+ pageSize?: number;
5030
+ /** The value returned by the last `ListAnalysesResponse`; indicates that this is a continuation of a prior `ListAnalyses` call and the system should return the next page of data. */
5031
+ pageToken?: string;
5032
+ /** Required. The parent resource of the analyses. */
5033
+ parent: string;
5034
+ /** Returns response with indentations and line breaks. */
5035
+ prettyPrint?: boolean;
5036
+ /** 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. */
5037
+ quotaUser?: string;
5038
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5039
+ upload_protocol?: string;
5040
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5041
+ uploadType?: string;
5042
+ }): Request<GoogleCloudContactcenterinsightsV1ListAnalysesResponse>;
5043
+ }
5044
+ interface NotesResource {
5045
+ /** Create Note. */
5046
+ create(request: {
5047
+ /** V1 error format. */
5048
+ '$.xgafv'?: string;
5049
+ /** OAuth access token. */
5050
+ access_token?: string;
5051
+ /** Data format for response. */
5052
+ alt?: string;
5053
+ /** JSONP */
5054
+ callback?: string;
5055
+ /** Selector specifying which fields to include in a partial response. */
5056
+ fields?: string;
5057
+ /** 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. */
5058
+ key?: string;
5059
+ /** OAuth 2.0 token for the current user. */
5060
+ oauth_token?: string;
5061
+ /** Required. The parent resource of the note. */
5062
+ parent: string;
5063
+ /** Returns response with indentations and line breaks. */
5064
+ prettyPrint?: boolean;
5065
+ /** 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. */
5066
+ quotaUser?: string;
5067
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5068
+ upload_protocol?: string;
5069
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5070
+ uploadType?: string;
5071
+ /** Request body */
5072
+ resource: GoogleCloudContactcenterinsightsV1Note;
5073
+ }): Request<GoogleCloudContactcenterinsightsV1Note>;
5074
+ create(
5075
+ request: {
5076
+ /** V1 error format. */
5077
+ '$.xgafv'?: string;
5078
+ /** OAuth access token. */
5079
+ access_token?: string;
5080
+ /** Data format for response. */
5081
+ alt?: string;
5082
+ /** JSONP */
5083
+ callback?: string;
5084
+ /** Selector specifying which fields to include in a partial response. */
5085
+ fields?: string;
5086
+ /** 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. */
5087
+ key?: string;
5088
+ /** OAuth 2.0 token for the current user. */
5089
+ oauth_token?: string;
5090
+ /** Required. The parent resource of the note. */
5091
+ parent: string;
5092
+ /** Returns response with indentations and line breaks. */
5093
+ prettyPrint?: boolean;
5094
+ /** 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. */
5095
+ quotaUser?: string;
5096
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5097
+ upload_protocol?: string;
5098
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5099
+ uploadType?: string;
5100
+ },
5101
+ body: GoogleCloudContactcenterinsightsV1Note,
5102
+ ): Request<GoogleCloudContactcenterinsightsV1Note>;
5103
+ /** Deletes a Note. */
5104
+ delete(request?: {
5105
+ /** V1 error format. */
5106
+ '$.xgafv'?: string;
5107
+ /** OAuth access token. */
5108
+ access_token?: string;
5109
+ /** Data format for response. */
5110
+ alt?: string;
5111
+ /** JSONP */
5112
+ callback?: string;
5113
+ /** Selector specifying which fields to include in a partial response. */
5114
+ fields?: string;
5115
+ /** 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. */
5116
+ key?: string;
5117
+ /** Required. The name of the note to delete. */
5118
+ name: string;
5119
+ /** OAuth 2.0 token for the current user. */
5120
+ oauth_token?: string;
5121
+ /** Returns response with indentations and line breaks. */
5122
+ prettyPrint?: boolean;
5123
+ /** 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. */
5124
+ quotaUser?: string;
5125
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5126
+ upload_protocol?: string;
5127
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5128
+ uploadType?: string;
5129
+ }): Request<{}>;
5130
+ /** List Notes. */
5131
+ list(request?: {
5132
+ /** V1 error format. */
5133
+ '$.xgafv'?: string;
5134
+ /** OAuth access token. */
5135
+ access_token?: string;
5136
+ /** Data format for response. */
5137
+ alt?: string;
5138
+ /** JSONP */
5139
+ callback?: string;
5140
+ /** Selector specifying which fields to include in a partial response. */
5141
+ fields?: string;
5142
+ /** 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. */
5143
+ key?: string;
5144
+ /** OAuth 2.0 token for the current user. */
5145
+ oauth_token?: string;
5146
+ /** Optional. The maximum number of notes to return in the response. If zero the service will select a default size. A call might return fewer objects than requested. A non-empty `next_page_token` in the response indicates that more data is available. */
5147
+ pageSize?: number;
5148
+ /** Optional. The value returned by the last `ListNotesResponse`. This value indicates that this is a continuation of a prior `ListNotes` call and that the system should return the next page of data. */
5149
+ pageToken?: string;
5150
+ /** Required. The parent resource of the notes. */
5151
+ parent: string;
5152
+ /** Returns response with indentations and line breaks. */
5153
+ prettyPrint?: boolean;
5154
+ /** 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. */
5155
+ quotaUser?: string;
5156
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5157
+ upload_protocol?: string;
5158
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5159
+ uploadType?: string;
5160
+ }): Request<GoogleCloudContactcenterinsightsV1ListNotesResponse>;
5161
+ /** Update Note. */
5162
+ patch(request: {
5163
+ /** V1 error format. */
5164
+ '$.xgafv'?: string;
5165
+ /** OAuth access token. */
5166
+ access_token?: string;
5167
+ /** Data format for response. */
5168
+ alt?: string;
5169
+ /** JSONP */
5170
+ callback?: string;
5171
+ /** Selector specifying which fields to include in a partial response. */
5172
+ fields?: string;
5173
+ /** 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. */
5174
+ key?: string;
5175
+ /** Identifier. The resource name of the note. Format: projects/{project}/locations/{location}/conversations/{conversation}/assessments/{assessment}/notes/{note} */
5176
+ name: string;
5177
+ /** OAuth 2.0 token for the current user. */
5178
+ oauth_token?: string;
5179
+ /** Returns response with indentations and line breaks. */
5180
+ prettyPrint?: boolean;
5181
+ /** 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. */
5182
+ quotaUser?: string;
5183
+ /** Optional. The list of fields to be updated. If the update_mask is empty, all updateable fields will be updated. Acceptable fields include: * `content` */
5184
+ updateMask?: string;
5185
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5186
+ upload_protocol?: string;
5187
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5188
+ uploadType?: string;
5189
+ /** Request body */
5190
+ resource: GoogleCloudContactcenterinsightsV1Note;
5191
+ }): Request<GoogleCloudContactcenterinsightsV1Note>;
5192
+ patch(
5193
+ request: {
5194
+ /** V1 error format. */
5195
+ '$.xgafv'?: string;
5196
+ /** OAuth access token. */
5197
+ access_token?: string;
5198
+ /** Data format for response. */
5199
+ alt?: string;
5200
+ /** JSONP */
5201
+ callback?: string;
5202
+ /** Selector specifying which fields to include in a partial response. */
5203
+ fields?: string;
5204
+ /** 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. */
5205
+ key?: string;
5206
+ /** Identifier. The resource name of the note. Format: projects/{project}/locations/{location}/conversations/{conversation}/assessments/{assessment}/notes/{note} */
5207
+ name: string;
5208
+ /** OAuth 2.0 token for the current user. */
5209
+ oauth_token?: string;
5210
+ /** Returns response with indentations and line breaks. */
5211
+ prettyPrint?: boolean;
5212
+ /** 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. */
5213
+ quotaUser?: string;
5214
+ /** Optional. The list of fields to be updated. If the update_mask is empty, all updateable fields will be updated. Acceptable fields include: * `content` */
5215
+ updateMask?: string;
5216
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5217
+ upload_protocol?: string;
5218
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5219
+ uploadType?: string;
5220
+ },
5221
+ body: GoogleCloudContactcenterinsightsV1Note,
5222
+ ): Request<GoogleCloudContactcenterinsightsV1Note>;
5223
+ }
5224
+ interface AssessmentsResource {
5225
+ /** Appeal an Assessment. */
5226
+ appeal(request: {
5227
+ /** V1 error format. */
5228
+ '$.xgafv'?: string;
5229
+ /** OAuth access token. */
5230
+ access_token?: string;
5231
+ /** Data format for response. */
5232
+ alt?: string;
5233
+ /** JSONP */
5234
+ callback?: string;
5235
+ /** Selector specifying which fields to include in a partial response. */
5236
+ fields?: string;
5237
+ /** 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. */
5238
+ key?: string;
5239
+ /** Required. The name of the assessment to appeal. */
5240
+ name: string;
5241
+ /** OAuth 2.0 token for the current user. */
5242
+ oauth_token?: string;
5243
+ /** Returns response with indentations and line breaks. */
5244
+ prettyPrint?: boolean;
5245
+ /** 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. */
5246
+ quotaUser?: string;
5247
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5248
+ upload_protocol?: string;
5249
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5250
+ uploadType?: string;
5251
+ /** Request body */
5252
+ resource: GoogleCloudContactcenterinsightsV1AppealAssessmentRequest;
5253
+ }): Request<GoogleCloudContactcenterinsightsV1Assessment>;
5254
+ appeal(
5255
+ request: {
5256
+ /** V1 error format. */
5257
+ '$.xgafv'?: string;
5258
+ /** OAuth access token. */
5259
+ access_token?: string;
5260
+ /** Data format for response. */
5261
+ alt?: string;
5262
+ /** JSONP */
5263
+ callback?: string;
5264
+ /** Selector specifying which fields to include in a partial response. */
5265
+ fields?: string;
5266
+ /** 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. */
5267
+ key?: string;
5268
+ /** Required. The name of the assessment to appeal. */
5269
+ name: string;
5270
+ /** OAuth 2.0 token for the current user. */
5271
+ oauth_token?: string;
5272
+ /** Returns response with indentations and line breaks. */
5273
+ prettyPrint?: boolean;
5274
+ /** 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. */
5275
+ quotaUser?: string;
5276
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5277
+ upload_protocol?: string;
5278
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5279
+ uploadType?: string;
5280
+ },
5281
+ body: GoogleCloudContactcenterinsightsV1AppealAssessmentRequest,
5282
+ ): Request<GoogleCloudContactcenterinsightsV1Assessment>;
5283
+ /** Create Assessment. */
5284
+ create(request: {
5285
+ /** V1 error format. */
5286
+ '$.xgafv'?: string;
5287
+ /** OAuth access token. */
5288
+ access_token?: string;
5289
+ /** Data format for response. */
5290
+ alt?: string;
5291
+ /** JSONP */
5292
+ callback?: string;
5293
+ /** Selector specifying which fields to include in a partial response. */
5294
+ fields?: string;
5295
+ /** 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. */
5296
+ key?: string;
5297
+ /** OAuth 2.0 token for the current user. */
5298
+ oauth_token?: string;
5299
+ /** Required. The parent resource of the assessment. */
5300
+ parent: string;
5301
+ /** Returns response with indentations and line breaks. */
5302
+ prettyPrint?: boolean;
5303
+ /** 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. */
5304
+ quotaUser?: string;
5305
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5306
+ upload_protocol?: string;
5307
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5308
+ uploadType?: string;
5309
+ /** Request body */
5310
+ resource: GoogleCloudContactcenterinsightsV1Assessment;
5311
+ }): Request<GoogleCloudContactcenterinsightsV1Assessment>;
5312
+ create(
5313
+ request: {
5314
+ /** V1 error format. */
5315
+ '$.xgafv'?: string;
5316
+ /** OAuth access token. */
5317
+ access_token?: string;
5318
+ /** Data format for response. */
5319
+ alt?: string;
5320
+ /** JSONP */
5321
+ callback?: string;
5322
+ /** Selector specifying which fields to include in a partial response. */
5323
+ fields?: string;
5324
+ /** 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. */
5325
+ key?: string;
5326
+ /** OAuth 2.0 token for the current user. */
5327
+ oauth_token?: string;
5328
+ /** Required. The parent resource of the assessment. */
5329
+ parent: string;
5330
+ /** Returns response with indentations and line breaks. */
5331
+ prettyPrint?: boolean;
5332
+ /** 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. */
5333
+ quotaUser?: string;
5334
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5335
+ upload_protocol?: string;
5336
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5337
+ uploadType?: string;
5338
+ },
5339
+ body: GoogleCloudContactcenterinsightsV1Assessment,
5340
+ ): Request<GoogleCloudContactcenterinsightsV1Assessment>;
5341
+ /** Delete an Assessment. */
5342
+ delete(request?: {
5343
+ /** V1 error format. */
5344
+ '$.xgafv'?: string;
5345
+ /** OAuth access token. */
5346
+ access_token?: string;
5347
+ /** Data format for response. */
5348
+ alt?: string;
5349
+ /** JSONP */
5350
+ callback?: string;
5351
+ /** Selector specifying which fields to include in a partial response. */
5352
+ fields?: string;
5353
+ /** Optional. If set to true, all of this assessment's notes will also be deleted. Otherwise, the request will only succeed if it has no notes. */
5354
+ force?: boolean;
5355
+ /** 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. */
5356
+ key?: string;
5357
+ /** Required. The name of the assessment to delete. */
5358
+ name: string;
5359
+ /** OAuth 2.0 token for the current user. */
5360
+ oauth_token?: string;
5361
+ /** Returns response with indentations and line breaks. */
5362
+ prettyPrint?: boolean;
5363
+ /** 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. */
5364
+ quotaUser?: string;
5365
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5366
+ upload_protocol?: string;
5367
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5368
+ uploadType?: string;
5369
+ }): Request<{}>;
5370
+ /** Finalize an Assessment. */
5371
+ finalize(request: {
5372
+ /** V1 error format. */
5373
+ '$.xgafv'?: string;
5374
+ /** OAuth access token. */
5375
+ access_token?: string;
5376
+ /** Data format for response. */
5377
+ alt?: string;
5378
+ /** JSONP */
5379
+ callback?: string;
5380
+ /** Selector specifying which fields to include in a partial response. */
5381
+ fields?: string;
5382
+ /** 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. */
5383
+ key?: string;
5384
+ /** Required. The name of the assessment to finalize. */
5385
+ name: string;
5386
+ /** OAuth 2.0 token for the current user. */
5387
+ oauth_token?: string;
5388
+ /** Returns response with indentations and line breaks. */
5389
+ prettyPrint?: boolean;
5390
+ /** 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. */
5391
+ quotaUser?: string;
5392
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5393
+ upload_protocol?: string;
5394
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5395
+ uploadType?: string;
5396
+ /** Request body */
5397
+ resource: GoogleCloudContactcenterinsightsV1FinalizeAssessmentRequest;
5398
+ }): Request<GoogleCloudContactcenterinsightsV1Assessment>;
5399
+ finalize(
5400
+ request: {
5401
+ /** V1 error format. */
5402
+ '$.xgafv'?: string;
5403
+ /** OAuth access token. */
5404
+ access_token?: string;
5405
+ /** Data format for response. */
5406
+ alt?: string;
5407
+ /** JSONP */
5408
+ callback?: string;
5409
+ /** Selector specifying which fields to include in a partial response. */
5410
+ fields?: string;
5411
+ /** 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. */
5412
+ key?: string;
5413
+ /** Required. The name of the assessment to finalize. */
5414
+ name: string;
5415
+ /** OAuth 2.0 token for the current user. */
5416
+ oauth_token?: string;
5417
+ /** Returns response with indentations and line breaks. */
5418
+ prettyPrint?: boolean;
5419
+ /** 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. */
5420
+ quotaUser?: string;
5421
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5422
+ upload_protocol?: string;
5423
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5424
+ uploadType?: string;
5425
+ },
5426
+ body: GoogleCloudContactcenterinsightsV1FinalizeAssessmentRequest,
5427
+ ): Request<GoogleCloudContactcenterinsightsV1Assessment>;
5428
+ /** Get Assessment. */
5429
+ get(request?: {
5430
+ /** V1 error format. */
5431
+ '$.xgafv'?: string;
5432
+ /** OAuth access token. */
5433
+ access_token?: string;
5434
+ /** Data format for response. */
5435
+ alt?: string;
5436
+ /** JSONP */
5437
+ callback?: string;
5438
+ /** Selector specifying which fields to include in a partial response. */
5439
+ fields?: string;
5440
+ /** 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. */
5441
+ key?: string;
5442
+ /** Required. The name of the assessment to get. */
5443
+ name: string;
5444
+ /** OAuth 2.0 token for the current user. */
5445
+ oauth_token?: string;
5446
+ /** Returns response with indentations and line breaks. */
5447
+ prettyPrint?: boolean;
5448
+ /** 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. */
5449
+ quotaUser?: string;
5450
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5451
+ upload_protocol?: string;
5452
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5453
+ uploadType?: string;
5454
+ }): Request<GoogleCloudContactcenterinsightsV1Assessment>;
5455
+ /** List Assessments. */
5456
+ list(request?: {
5457
+ /** V1 error format. */
5458
+ '$.xgafv'?: string;
5459
+ /** OAuth access token. */
5460
+ access_token?: string;
5461
+ /** Data format for response. */
5462
+ alt?: string;
5463
+ /** JSONP */
5464
+ callback?: string;
5465
+ /** Selector specifying which fields to include in a partial response. */
5466
+ fields?: string;
5467
+ /** Optional. A filter to reduce results to a specific subset. Supported filters include: * `state` - The state of the assessment * `agent_info.agent_id` - The ID of the agent the assessment is for */
5468
+ filter?: string;
5469
+ /** 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. */
5470
+ key?: string;
5471
+ /** OAuth 2.0 token for the current user. */
5472
+ oauth_token?: string;
5473
+ /** The maximum number of assessments to list. If zero, the service will select a default size. A call may return fewer objects than requested. A non-empty `next_page_token` in the response indicates that more data is available. */
5474
+ pageSize?: number;
5475
+ /** Optional. The value returned by the last `ListAssessmentRulesResponse`; indicates that this is a continuation of a prior `ListAssessmentRules` call and the system should return the next page of data. */
5476
+ pageToken?: string;
5477
+ /** Required. The parent resource of the assessments. To list all assessments in a location, substitute the conversation ID with a '-' character. */
5478
+ parent: string;
5479
+ /** Returns response with indentations and line breaks. */
5480
+ prettyPrint?: boolean;
5481
+ /** 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. */
5482
+ quotaUser?: string;
5483
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5484
+ upload_protocol?: string;
5485
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5486
+ uploadType?: string;
5487
+ }): Request<GoogleCloudContactcenterinsightsV1ListAssessmentsResponse>;
5488
+ /** Publish an Assessment. */
5489
+ publish(request: {
5490
+ /** V1 error format. */
5491
+ '$.xgafv'?: string;
5492
+ /** OAuth access token. */
5493
+ access_token?: string;
5494
+ /** Data format for response. */
5495
+ alt?: string;
5496
+ /** JSONP */
5497
+ callback?: string;
5498
+ /** Selector specifying which fields to include in a partial response. */
5499
+ fields?: string;
5500
+ /** 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. */
5501
+ key?: string;
5502
+ /** Required. The name of the assessment to publish. */
5503
+ name: string;
5504
+ /** OAuth 2.0 token for the current user. */
5505
+ oauth_token?: string;
5506
+ /** Returns response with indentations and line breaks. */
5507
+ prettyPrint?: boolean;
5508
+ /** 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. */
5509
+ quotaUser?: string;
5510
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5511
+ upload_protocol?: string;
5512
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5513
+ uploadType?: string;
5514
+ /** Request body */
5515
+ resource: GoogleCloudContactcenterinsightsV1PublishAssessmentRequest;
5516
+ }): Request<GoogleCloudContactcenterinsightsV1Assessment>;
5517
+ publish(
5518
+ request: {
5519
+ /** V1 error format. */
5520
+ '$.xgafv'?: string;
5521
+ /** OAuth access token. */
5522
+ access_token?: string;
5523
+ /** Data format for response. */
5524
+ alt?: string;
5525
+ /** JSONP */
5526
+ callback?: string;
5527
+ /** Selector specifying which fields to include in a partial response. */
5528
+ fields?: string;
5529
+ /** 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. */
5530
+ key?: string;
5531
+ /** Required. The name of the assessment to publish. */
5532
+ name: string;
5533
+ /** OAuth 2.0 token for the current user. */
5534
+ oauth_token?: string;
5535
+ /** Returns response with indentations and line breaks. */
5536
+ prettyPrint?: boolean;
5537
+ /** 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. */
5538
+ quotaUser?: string;
5539
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5540
+ upload_protocol?: string;
5541
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5542
+ uploadType?: string;
5543
+ },
5544
+ body: GoogleCloudContactcenterinsightsV1PublishAssessmentRequest,
5545
+ ): Request<GoogleCloudContactcenterinsightsV1Assessment>;
5546
+ notes: NotesResource;
5547
+ }
5548
+ interface FeedbackLabelsResource {
5549
+ /** Create feedback label. */
5550
+ create(request: {
5551
+ /** V1 error format. */
5552
+ '$.xgafv'?: string;
5553
+ /** OAuth access token. */
5554
+ access_token?: string;
5555
+ /** Data format for response. */
5556
+ alt?: string;
5557
+ /** JSONP */
5558
+ callback?: string;
5559
+ /** Optional. The ID of the feedback label to create. If one is not specified it will be generated by the server. */
5560
+ feedbackLabelId?: string;
5561
+ /** Selector specifying which fields to include in a partial response. */
5562
+ fields?: string;
5563
+ /** 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. */
5564
+ key?: string;
5565
+ /** OAuth 2.0 token for the current user. */
5566
+ oauth_token?: string;
5567
+ /** Required. The parent resource of the feedback label. */
5568
+ parent: string;
5569
+ /** Returns response with indentations and line breaks. */
5570
+ prettyPrint?: boolean;
5571
+ /** 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. */
5572
+ quotaUser?: string;
5573
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5574
+ upload_protocol?: string;
5575
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5576
+ uploadType?: string;
5577
+ /** Request body */
5578
+ resource: GoogleCloudContactcenterinsightsV1FeedbackLabel;
5579
+ }): Request<GoogleCloudContactcenterinsightsV1FeedbackLabel>;
5580
+ create(
5581
+ request: {
5582
+ /** V1 error format. */
5583
+ '$.xgafv'?: string;
5584
+ /** OAuth access token. */
5585
+ access_token?: string;
5586
+ /** Data format for response. */
5587
+ alt?: string;
5588
+ /** JSONP */
5589
+ callback?: string;
5590
+ /** Optional. The ID of the feedback label to create. If one is not specified it will be generated by the server. */
5591
+ feedbackLabelId?: string;
5592
+ /** Selector specifying which fields to include in a partial response. */
5593
+ fields?: string;
5594
+ /** 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. */
5595
+ key?: string;
5596
+ /** OAuth 2.0 token for the current user. */
5597
+ oauth_token?: string;
5598
+ /** Required. The parent resource of the feedback label. */
5599
+ parent: string;
5600
+ /** Returns response with indentations and line breaks. */
5601
+ prettyPrint?: boolean;
5602
+ /** 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. */
5603
+ quotaUser?: string;
5604
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5605
+ upload_protocol?: string;
5606
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5607
+ uploadType?: string;
5608
+ },
5609
+ body: GoogleCloudContactcenterinsightsV1FeedbackLabel,
5610
+ ): Request<GoogleCloudContactcenterinsightsV1FeedbackLabel>;
5611
+ /** Delete feedback label. */
5612
+ delete(request?: {
5613
+ /** V1 error format. */
5614
+ '$.xgafv'?: string;
5615
+ /** OAuth access token. */
5616
+ access_token?: string;
5617
+ /** Data format for response. */
5618
+ alt?: string;
5619
+ /** JSONP */
5620
+ callback?: string;
5621
+ /** Selector specifying which fields to include in a partial response. */
5622
+ fields?: string;
5623
+ /** 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. */
5624
+ key?: string;
5625
+ /** Required. The name of the feedback label to delete. */
5626
+ name: string;
5627
+ /** OAuth 2.0 token for the current user. */
5628
+ oauth_token?: string;
5629
+ /** Returns response with indentations and line breaks. */
5630
+ prettyPrint?: boolean;
5631
+ /** 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. */
5632
+ quotaUser?: string;
5633
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5634
+ upload_protocol?: string;
5635
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5636
+ uploadType?: string;
5637
+ }): Request<{}>;
5638
+ /** Get feedback label. */
5639
+ get(request?: {
5640
+ /** V1 error format. */
5641
+ '$.xgafv'?: string;
5642
+ /** OAuth access token. */
5643
+ access_token?: string;
5644
+ /** Data format for response. */
5645
+ alt?: string;
5646
+ /** JSONP */
5647
+ callback?: string;
5648
+ /** Selector specifying which fields to include in a partial response. */
5649
+ fields?: string;
5650
+ /** 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. */
5651
+ key?: string;
5652
+ /** Required. The name of the feedback label to get. */
5653
+ name: string;
5654
+ /** OAuth 2.0 token for the current user. */
5655
+ oauth_token?: string;
5656
+ /** Returns response with indentations and line breaks. */
5657
+ prettyPrint?: boolean;
5658
+ /** 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. */
5659
+ quotaUser?: string;
5660
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5661
+ upload_protocol?: string;
5662
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5663
+ uploadType?: string;
5664
+ }): Request<GoogleCloudContactcenterinsightsV1FeedbackLabel>;
5665
+ /** List feedback labels. */
5666
+ list(request?: {
5667
+ /** V1 error format. */
5668
+ '$.xgafv'?: string;
5669
+ /** OAuth access token. */
5670
+ access_token?: string;
5671
+ /** Data format for response. */
5672
+ alt?: string;
5673
+ /** JSONP */
5674
+ callback?: string;
5675
+ /** Selector specifying which fields to include in a partial response. */
5676
+ fields?: string;
5677
+ /** Optional. A filter to reduce results to a specific subset. Supports disjunctions (OR) and conjunctions (AND). Automatically sorts by conversation ID. To sort by all feedback labels in a project see ListAllFeedbackLabels. Supported fields: * `issue_model_id` * `qa_question_id` * `qa_scorecard_id` * `min_create_time` * `max_create_time` * `min_update_time` * `max_update_time` * `feedback_label_type`: QUALITY_AI, TOPIC_MODELING */
5678
+ filter?: string;
5679
+ /** 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. */
5680
+ key?: string;
5681
+ /** OAuth 2.0 token for the current user. */
5682
+ oauth_token?: string;
5683
+ /** Optional. The maximum number of feedback labels to return in the response. A valid page size ranges from 0 to 100,000 inclusive. If the page size is zero or unspecified, a default page size of 100 will be chosen. Note that a call might return fewer results than the requested page size. */
5684
+ pageSize?: number;
5685
+ /** Optional. The value returned by the last `ListFeedbackLabelsResponse`. This value indicates that this is a continuation of a prior `ListFeedbackLabels` call and that the system should return the next page of data. */
5686
+ pageToken?: string;
5687
+ /** Required. The parent resource of the feedback labels. */
5688
+ parent: string;
5689
+ /** Returns response with indentations and line breaks. */
5690
+ prettyPrint?: boolean;
5691
+ /** 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. */
5692
+ quotaUser?: string;
5693
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5694
+ upload_protocol?: string;
5695
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5696
+ uploadType?: string;
5697
+ }): Request<GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse>;
5698
+ /** Update feedback label. */
5699
+ patch(request: {
5700
+ /** V1 error format. */
5701
+ '$.xgafv'?: string;
5702
+ /** OAuth access token. */
5703
+ access_token?: string;
5704
+ /** Data format for response. */
5705
+ alt?: string;
5706
+ /** JSONP */
5707
+ callback?: string;
5708
+ /** Selector specifying which fields to include in a partial response. */
5709
+ fields?: string;
5710
+ /** 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. */
5711
+ key?: string;
5712
+ /** Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label} */
5713
+ name: string;
5714
+ /** OAuth 2.0 token for the current user. */
5715
+ oauth_token?: string;
5716
+ /** Returns response with indentations and line breaks. */
5717
+ prettyPrint?: boolean;
5718
+ /** 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. */
5719
+ quotaUser?: string;
5720
+ /** Required. The list of fields to be updated. */
5721
+ updateMask?: string;
5722
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5723
+ upload_protocol?: string;
5724
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5725
+ uploadType?: string;
5726
+ /** Request body */
5727
+ resource: GoogleCloudContactcenterinsightsV1FeedbackLabel;
5728
+ }): Request<GoogleCloudContactcenterinsightsV1FeedbackLabel>;
5729
+ patch(
5730
+ request: {
5731
+ /** V1 error format. */
5732
+ '$.xgafv'?: string;
5733
+ /** OAuth access token. */
5734
+ access_token?: string;
5735
+ /** Data format for response. */
5736
+ alt?: string;
5737
+ /** JSONP */
5738
+ callback?: string;
5739
+ /** Selector specifying which fields to include in a partial response. */
5740
+ fields?: string;
5741
+ /** 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. */
5742
+ key?: string;
5743
+ /** Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label} */
5744
+ name: string;
5745
+ /** OAuth 2.0 token for the current user. */
5746
+ oauth_token?: string;
5747
+ /** Returns response with indentations and line breaks. */
5748
+ prettyPrint?: boolean;
5749
+ /** 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. */
5750
+ quotaUser?: string;
5751
+ /** Required. The list of fields to be updated. */
5752
+ updateMask?: string;
5753
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5754
+ upload_protocol?: string;
5755
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5756
+ uploadType?: string;
5757
+ },
5758
+ body: GoogleCloudContactcenterinsightsV1FeedbackLabel,
5759
+ ): Request<GoogleCloudContactcenterinsightsV1FeedbackLabel>;
5760
+ }
5761
+ interface ConversationsResource {
5762
+ /** Analyzes multiple conversations in a single request. */
5763
+ bulkAnalyze(request: {
5764
+ /** V1 error format. */
5765
+ '$.xgafv'?: string;
5766
+ /** OAuth access token. */
5767
+ access_token?: string;
5768
+ /** Data format for response. */
5769
+ alt?: string;
5770
+ /** JSONP */
5771
+ callback?: string;
5772
+ /** Selector specifying which fields to include in a partial response. */
5773
+ fields?: string;
5774
+ /** 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. */
5775
+ key?: string;
5776
+ /** OAuth 2.0 token for the current user. */
5777
+ oauth_token?: string;
5778
+ /** Required. The parent resource to create analyses in. */
5779
+ parent: string;
5780
+ /** Returns response with indentations and line breaks. */
5781
+ prettyPrint?: boolean;
5782
+ /** 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. */
5783
+ quotaUser?: string;
5784
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5785
+ upload_protocol?: string;
5786
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5787
+ uploadType?: string;
5788
+ /** Request body */
5789
+ resource: GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest;
5790
+ }): Request<GoogleLongrunningOperation>;
5791
+ bulkAnalyze(
5792
+ request: {
5793
+ /** V1 error format. */
5794
+ '$.xgafv'?: string;
5795
+ /** OAuth access token. */
5796
+ access_token?: string;
5797
+ /** Data format for response. */
5798
+ alt?: string;
5799
+ /** JSONP */
5800
+ callback?: string;
5801
+ /** Selector specifying which fields to include in a partial response. */
5802
+ fields?: string;
5803
+ /** 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. */
5804
+ key?: string;
5805
+ /** OAuth 2.0 token for the current user. */
5806
+ oauth_token?: string;
5807
+ /** Required. The parent resource to create analyses in. */
5808
+ parent: string;
5809
+ /** Returns response with indentations and line breaks. */
5810
+ prettyPrint?: boolean;
5811
+ /** 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. */
5812
+ quotaUser?: string;
5813
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5814
+ upload_protocol?: string;
5815
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5816
+ uploadType?: string;
5817
+ },
5818
+ body: GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest,
5819
+ ): Request<GoogleLongrunningOperation>;
5820
+ /** Deletes multiple conversations in a single request. */
5821
+ bulkDelete(request: {
5822
+ /** V1 error format. */
5823
+ '$.xgafv'?: string;
5824
+ /** OAuth access token. */
5825
+ access_token?: string;
5826
+ /** Data format for response. */
5827
+ alt?: string;
5828
+ /** JSONP */
5829
+ callback?: string;
5830
+ /** Selector specifying which fields to include in a partial response. */
5831
+ fields?: string;
5832
+ /** 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. */
5833
+ key?: string;
5834
+ /** OAuth 2.0 token for the current user. */
5835
+ oauth_token?: string;
5836
+ /** Required. The parent resource to delete conversations from. Format: projects/{project}/locations/{location} */
5837
+ parent: string;
5838
+ /** Returns response with indentations and line breaks. */
5839
+ prettyPrint?: boolean;
5840
+ /** 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. */
5841
+ quotaUser?: string;
5842
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5843
+ upload_protocol?: string;
5844
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5845
+ uploadType?: string;
5846
+ /** Request body */
5847
+ resource: GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest;
5848
+ }): Request<GoogleLongrunningOperation>;
5849
+ bulkDelete(
5850
+ request: {
5851
+ /** V1 error format. */
5852
+ '$.xgafv'?: string;
5853
+ /** OAuth access token. */
5854
+ access_token?: string;
5855
+ /** Data format for response. */
5856
+ alt?: string;
5857
+ /** JSONP */
5858
+ callback?: string;
5859
+ /** Selector specifying which fields to include in a partial response. */
5860
+ fields?: string;
5861
+ /** 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. */
5862
+ key?: string;
5863
+ /** OAuth 2.0 token for the current user. */
5864
+ oauth_token?: string;
5865
+ /** Required. The parent resource to delete conversations from. Format: projects/{project}/locations/{location} */
5866
+ parent: string;
5867
+ /** Returns response with indentations and line breaks. */
5868
+ prettyPrint?: boolean;
5869
+ /** 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. */
5870
+ quotaUser?: string;
5871
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5872
+ upload_protocol?: string;
5873
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5874
+ uploadType?: string;
5875
+ },
5876
+ body: GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest,
5877
+ ): Request<GoogleLongrunningOperation>;
5878
+ /** Gets conversation statistics. */
5879
+ calculateStats(request?: {
5880
+ /** V1 error format. */
5881
+ '$.xgafv'?: string;
5882
+ /** OAuth access token. */
5883
+ access_token?: string;
5884
+ /** Data format for response. */
5885
+ alt?: string;
5886
+ /** JSONP */
5887
+ callback?: string;
5888
+ /** Selector specifying which fields to include in a partial response. */
5889
+ fields?: string;
5890
+ /** A filter to reduce results to a specific subset. This field is useful for getting statistics about conversations with specific properties. */
5891
+ filter?: string;
5892
+ /** 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. */
5893
+ key?: string;
5894
+ /** Required. The location of the conversations. */
5895
+ location: string;
5896
+ /** OAuth 2.0 token for the current user. */
5897
+ oauth_token?: string;
5898
+ /** Returns response with indentations and line breaks. */
5899
+ prettyPrint?: boolean;
5900
+ /** 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. */
5901
+ quotaUser?: string;
5902
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5903
+ upload_protocol?: string;
5904
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5905
+ uploadType?: string;
5906
+ }): Request<GoogleCloudContactcenterinsightsV1CalculateStatsResponse>;
5907
+ /** Creates a conversation. Note that this method does not support audio transcription or redaction. Use `conversations.upload` instead. */
5908
+ create(request: {
5909
+ /** V1 error format. */
5910
+ '$.xgafv'?: string;
5911
+ /** OAuth access token. */
5912
+ access_token?: string;
5913
+ /** Data format for response. */
5914
+ alt?: string;
5915
+ /** JSONP */
5916
+ callback?: string;
5917
+ /** 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-` */
5918
+ conversationId?: string;
5919
+ /** Selector specifying which fields to include in a partial response. */
5920
+ fields?: string;
5921
+ /** 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. */
5922
+ key?: string;
5923
+ /** OAuth 2.0 token for the current user. */
5924
+ oauth_token?: string;
5925
+ /** Required. The parent resource of the conversation. */
5926
+ parent: string;
5927
+ /** Returns response with indentations and line breaks. */
5928
+ prettyPrint?: boolean;
5929
+ /** 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. */
5930
+ quotaUser?: string;
5931
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5932
+ upload_protocol?: string;
5933
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5934
+ uploadType?: string;
5935
+ /** Request body */
5936
+ resource: GoogleCloudContactcenterinsightsV1Conversation;
5937
+ }): Request<GoogleCloudContactcenterinsightsV1Conversation>;
5938
+ create(
5939
+ request: {
5940
+ /** V1 error format. */
5941
+ '$.xgafv'?: string;
5942
+ /** OAuth access token. */
5943
+ access_token?: string;
5944
+ /** Data format for response. */
5945
+ alt?: string;
5946
+ /** JSONP */
5947
+ callback?: string;
5948
+ /** 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-` */
5949
+ conversationId?: string;
5950
+ /** Selector specifying which fields to include in a partial response. */
5951
+ fields?: string;
5952
+ /** 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. */
5953
+ key?: string;
5954
+ /** OAuth 2.0 token for the current user. */
5955
+ oauth_token?: string;
5956
+ /** Required. The parent resource of the conversation. */
5957
+ parent: string;
5958
+ /** Returns response with indentations and line breaks. */
5959
+ prettyPrint?: boolean;
5960
+ /** 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. */
5961
+ quotaUser?: string;
5962
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5963
+ upload_protocol?: string;
5964
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5965
+ uploadType?: string;
5966
+ },
5967
+ body: GoogleCloudContactcenterinsightsV1Conversation,
5968
+ ): Request<GoogleCloudContactcenterinsightsV1Conversation>;
5969
+ /** Deletes a conversation. */
5970
+ delete(request?: {
5971
+ /** V1 error format. */
5972
+ '$.xgafv'?: string;
5973
+ /** OAuth access token. */
5974
+ access_token?: string;
5975
+ /** Data format for response. */
5976
+ alt?: string;
5977
+ /** JSONP */
5978
+ callback?: string;
5979
+ /** Selector specifying which fields to include in a partial response. */
5980
+ fields?: string;
5981
+ /** 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. */
5982
+ force?: boolean;
5983
+ /** 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. */
5984
+ key?: string;
5985
+ /** Required. The name of the conversation to delete. */
3364
5986
  name: string;
3365
5987
  /** OAuth 2.0 token for the current user. */
3366
5988
  oauth_token?: string;
@@ -3372,11 +5994,9 @@ declare namespace gapi.client {
3372
5994
  upload_protocol?: string;
3373
5995
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3374
5996
  uploadType?: string;
3375
- /** The level of details of the conversation. Default is `FULL`. */
3376
- view?: string;
3377
- }): Request<GoogleCloudContactcenterinsightsV1Conversation>;
3378
- /** Lists conversations. */
3379
- list(request?: {
5997
+ }): Request<{}>;
5998
+ /** Gets a conversation. */
5999
+ get(request?: {
3380
6000
  /** V1 error format. */
3381
6001
  '$.xgafv'?: string;
3382
6002
  /** OAuth access token. */
@@ -3387,20 +6007,12 @@ declare namespace gapi.client {
3387
6007
  callback?: string;
3388
6008
  /** Selector specifying which fields to include in a partial response. */
3389
6009
  fields?: string;
3390
- /** A filter to reduce results to a specific subset. Useful for querying conversations with specific properties. */
3391
- filter?: string;
3392
6010
  /** 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. */
3393
6011
  key?: string;
6012
+ /** Required. The name of the conversation to get. */
6013
+ name: string;
3394
6014
  /** OAuth 2.0 token for the current user. */
3395
6015
  oauth_token?: string;
3396
- /** Optional. The attribute by which to order conversations in the response. If empty, conversations will be ordered by descending creation time. Supported values are one of the following: * create_time * customer_satisfaction_rating * duration * latest_analysis * start_time * turn_count The default sort order is ascending. To specify order, append `asc` or `desc` (`create_time desc`). For more details, see [Google AIPs Ordering](https://google.aip.dev/132#ordering). */
3397
- orderBy?: string;
3398
- /** The maximum number of conversations to return in the response. A valid page size ranges from 0 to 100,000 inclusive. If the page size is zero or unspecified, a default page size of 100 will be chosen. Note that a call might return fewer results than the requested page size. */
3399
- pageSize?: number;
3400
- /** The value returned by the last `ListConversationsResponse`. This value indicates that this is a continuation of a prior `ListConversations` call and that the system should return the next page of data. */
3401
- pageToken?: string;
3402
- /** Required. The parent resource of the conversation. */
3403
- parent: string;
3404
6016
  /** Returns response with indentations and line breaks. */
3405
6017
  prettyPrint?: boolean;
3406
6018
  /** 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. */
@@ -3409,15 +6021,11 @@ declare namespace gapi.client {
3409
6021
  upload_protocol?: string;
3410
6022
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3411
6023
  uploadType?: string;
3412
- /** The level of details of the conversation. Default is `BASIC`. */
6024
+ /** The level of details of the conversation. Default is `FULL`. */
3413
6025
  view?: string;
3414
- }): Request<GoogleCloudContactcenterinsightsV1ListConversationsResponse>;
3415
- analyses: AnalysesResource;
3416
- feedbackLabels: FeedbackLabelsResource;
3417
- }
3418
- interface OperationsResource {
3419
- /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */
3420
- cancel(request?: {
6026
+ }): Request<GoogleCloudContactcenterinsightsV1Conversation>;
6027
+ /** Imports conversations and processes them according to the user's configuration. */
6028
+ ingest(request: {
3421
6029
  /** V1 error format. */
3422
6030
  '$.xgafv'?: string;
3423
6031
  /** OAuth access token. */
@@ -3430,10 +6038,10 @@ declare namespace gapi.client {
3430
6038
  fields?: string;
3431
6039
  /** 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. */
3432
6040
  key?: string;
3433
- /** The name of the operation resource to be cancelled. */
3434
- name: string;
3435
6041
  /** OAuth 2.0 token for the current user. */
3436
6042
  oauth_token?: string;
6043
+ /** Required. The parent resource for new conversations. */
6044
+ parent: string;
3437
6045
  /** Returns response with indentations and line breaks. */
3438
6046
  prettyPrint?: boolean;
3439
6047
  /** 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. */
@@ -3442,9 +6050,40 @@ declare namespace gapi.client {
3442
6050
  upload_protocol?: string;
3443
6051
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3444
6052
  uploadType?: string;
3445
- }): Request<{}>;
3446
- /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
3447
- get(request?: {
6053
+ /** Request body */
6054
+ resource: GoogleCloudContactcenterinsightsV1IngestConversationsRequest;
6055
+ }): Request<GoogleLongrunningOperation>;
6056
+ ingest(
6057
+ request: {
6058
+ /** V1 error format. */
6059
+ '$.xgafv'?: string;
6060
+ /** OAuth access token. */
6061
+ access_token?: string;
6062
+ /** Data format for response. */
6063
+ alt?: string;
6064
+ /** JSONP */
6065
+ callback?: string;
6066
+ /** Selector specifying which fields to include in a partial response. */
6067
+ fields?: string;
6068
+ /** 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. */
6069
+ key?: string;
6070
+ /** OAuth 2.0 token for the current user. */
6071
+ oauth_token?: string;
6072
+ /** Required. The parent resource for new conversations. */
6073
+ parent: string;
6074
+ /** Returns response with indentations and line breaks. */
6075
+ prettyPrint?: boolean;
6076
+ /** 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. */
6077
+ quotaUser?: string;
6078
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
6079
+ upload_protocol?: string;
6080
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6081
+ uploadType?: string;
6082
+ },
6083
+ body: GoogleCloudContactcenterinsightsV1IngestConversationsRequest,
6084
+ ): Request<GoogleLongrunningOperation>;
6085
+ /** Lists conversations. */
6086
+ list(request?: {
3448
6087
  /** V1 error format. */
3449
6088
  '$.xgafv'?: string;
3450
6089
  /** OAuth access token. */
@@ -3455,12 +6094,20 @@ declare namespace gapi.client {
3455
6094
  callback?: string;
3456
6095
  /** Selector specifying which fields to include in a partial response. */
3457
6096
  fields?: string;
6097
+ /** A filter to reduce results to a specific subset. Useful for querying conversations with specific properties. */
6098
+ filter?: string;
3458
6099
  /** 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. */
3459
6100
  key?: string;
3460
- /** The name of the operation resource. */
3461
- name: string;
3462
6101
  /** OAuth 2.0 token for the current user. */
3463
6102
  oauth_token?: string;
6103
+ /** Optional. The attribute by which to order conversations in the response. If empty, conversations will be ordered by descending creation time. Supported values are one of the following: * create_time * customer_satisfaction_rating * duration * latest_analysis * start_time * turn_count The default sort order is ascending. To specify order, append `asc` or `desc` (`create_time desc`). For more details, see [Google AIPs Ordering](https://google.aip.dev/132#ordering). */
6104
+ orderBy?: string;
6105
+ /** The maximum number of conversations to return in the response. A valid page size ranges from 0 to 100,000 inclusive. If the page size is zero or unspecified, a default page size of 100 will be chosen. Note that a call might return fewer results than the requested page size. */
6106
+ pageSize?: number;
6107
+ /** The value returned by the last `ListConversationsResponse`. This value indicates that this is a continuation of a prior `ListConversations` call and that the system should return the next page of data. */
6108
+ pageToken?: string;
6109
+ /** Required. The parent resource of the conversation. */
6110
+ parent: string;
3464
6111
  /** Returns response with indentations and line breaks. */
3465
6112
  prettyPrint?: boolean;
3466
6113
  /** 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. */
@@ -3469,9 +6116,11 @@ declare namespace gapi.client {
3469
6116
  upload_protocol?: string;
3470
6117
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3471
6118
  uploadType?: string;
3472
- }): Request<GoogleLongrunningOperation>;
3473
- /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
3474
- list(request?: {
6119
+ /** The level of details of the conversation. Default is `BASIC`. */
6120
+ view?: string;
6121
+ }): Request<GoogleCloudContactcenterinsightsV1ListConversationsResponse>;
6122
+ /** Updates a conversation. */
6123
+ patch(request: {
3475
6124
  /** V1 error format. */
3476
6125
  '$.xgafv'?: string;
3477
6126
  /** OAuth access token. */
@@ -3482,31 +6131,58 @@ declare namespace gapi.client {
3482
6131
  callback?: string;
3483
6132
  /** Selector specifying which fields to include in a partial response. */
3484
6133
  fields?: string;
3485
- /** The standard list filter. */
3486
- filter?: string;
3487
6134
  /** 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. */
3488
6135
  key?: string;
3489
- /** The name of the operation's parent resource. */
6136
+ /** Immutable. The resource name of the conversation. Format: projects/{project}/locations/{location}/conversations/{conversation} */
3490
6137
  name: string;
3491
6138
  /** OAuth 2.0 token for the current user. */
3492
6139
  oauth_token?: string;
3493
- /** The standard list page size. */
3494
- pageSize?: number;
3495
- /** The standard list page token. */
3496
- pageToken?: string;
3497
6140
  /** Returns response with indentations and line breaks. */
3498
6141
  prettyPrint?: boolean;
3499
6142
  /** 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. */
3500
6143
  quotaUser?: string;
6144
+ /** The list of fields to be updated. All possible fields can be updated by passing `*`, or a subset of the following updateable fields can be provided: * `agent_id` * `language_code` * `labels` * `metadata` * `quality_metadata` * `call_metadata` * `start_time` * `expire_time` or `ttl` * `data_source.gcs_source.audio_uri` or `data_source.dialogflow_source.audio_uri` */
6145
+ updateMask?: string;
3501
6146
  /** Upload protocol for media (e.g. "raw", "multipart"). */
3502
6147
  upload_protocol?: string;
3503
6148
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3504
6149
  uploadType?: string;
3505
- }): Request<GoogleLongrunningListOperationsResponse>;
3506
- }
3507
- interface AuthorizedViewsResource {
3508
- /** Query metrics. */
3509
- queryMetrics(request: {
6150
+ /** Request body */
6151
+ resource: GoogleCloudContactcenterinsightsV1Conversation;
6152
+ }): Request<GoogleCloudContactcenterinsightsV1Conversation>;
6153
+ patch(
6154
+ request: {
6155
+ /** V1 error format. */
6156
+ '$.xgafv'?: string;
6157
+ /** OAuth access token. */
6158
+ access_token?: string;
6159
+ /** Data format for response. */
6160
+ alt?: string;
6161
+ /** JSONP */
6162
+ callback?: string;
6163
+ /** Selector specifying which fields to include in a partial response. */
6164
+ fields?: string;
6165
+ /** 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. */
6166
+ key?: string;
6167
+ /** Immutable. The resource name of the conversation. Format: projects/{project}/locations/{location}/conversations/{conversation} */
6168
+ name: string;
6169
+ /** OAuth 2.0 token for the current user. */
6170
+ oauth_token?: string;
6171
+ /** Returns response with indentations and line breaks. */
6172
+ prettyPrint?: boolean;
6173
+ /** 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. */
6174
+ quotaUser?: string;
6175
+ /** The list of fields to be updated. All possible fields can be updated by passing `*`, or a subset of the following updateable fields can be provided: * `agent_id` * `language_code` * `labels` * `metadata` * `quality_metadata` * `call_metadata` * `start_time` * `expire_time` or `ttl` * `data_source.gcs_source.audio_uri` or `data_source.dialogflow_source.audio_uri` */
6176
+ updateMask?: string;
6177
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
6178
+ upload_protocol?: string;
6179
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6180
+ uploadType?: string;
6181
+ },
6182
+ body: GoogleCloudContactcenterinsightsV1Conversation,
6183
+ ): Request<GoogleCloudContactcenterinsightsV1Conversation>;
6184
+ /** Create a long-running conversation upload operation. This method differs from `CreateConversation` by allowing audio transcription and optional DLP redaction. */
6185
+ upload(request: {
3510
6186
  /** V1 error format. */
3511
6187
  '$.xgafv'?: string;
3512
6188
  /** OAuth access token. */
@@ -3519,10 +6195,10 @@ declare namespace gapi.client {
3519
6195
  fields?: string;
3520
6196
  /** 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. */
3521
6197
  key?: string;
3522
- /** Required. The location of the data. "projects/{project}/locations/{location}" */
3523
- location: string;
3524
6198
  /** OAuth 2.0 token for the current user. */
3525
6199
  oauth_token?: string;
6200
+ /** Required. The parent resource of the conversation. */
6201
+ parent: string;
3526
6202
  /** Returns response with indentations and line breaks. */
3527
6203
  prettyPrint?: boolean;
3528
6204
  /** 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. */
@@ -3532,9 +6208,9 @@ declare namespace gapi.client {
3532
6208
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3533
6209
  uploadType?: string;
3534
6210
  /** Request body */
3535
- resource: GoogleCloudContactcenterinsightsV1QueryMetricsRequest;
6211
+ resource: GoogleCloudContactcenterinsightsV1UploadConversationRequest;
3536
6212
  }): Request<GoogleLongrunningOperation>;
3537
- queryMetrics(
6213
+ upload(
3538
6214
  request: {
3539
6215
  /** V1 error format. */
3540
6216
  '$.xgafv'?: string;
@@ -3548,10 +6224,10 @@ declare namespace gapi.client {
3548
6224
  fields?: string;
3549
6225
  /** 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. */
3550
6226
  key?: string;
3551
- /** Required. The location of the data. "projects/{project}/locations/{location}" */
3552
- location: string;
3553
6227
  /** OAuth 2.0 token for the current user. */
3554
6228
  oauth_token?: string;
6229
+ /** Required. The parent resource of the conversation. */
6230
+ parent: string;
3555
6231
  /** Returns response with indentations and line breaks. */
3556
6232
  prettyPrint?: boolean;
3557
6233
  /** 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. */
@@ -3561,13 +6237,11 @@ declare namespace gapi.client {
3561
6237
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3562
6238
  uploadType?: string;
3563
6239
  },
3564
- body: GoogleCloudContactcenterinsightsV1QueryMetricsRequest,
6240
+ body: GoogleCloudContactcenterinsightsV1UploadConversationRequest,
3565
6241
  ): Request<GoogleLongrunningOperation>;
3566
- conversations: ConversationsResource;
3567
- operations: OperationsResource;
3568
- }
3569
- interface AuthorizedViewSetsResource {
3570
- authorizedViews: AuthorizedViewsResource;
6242
+ analyses: AnalysesResource;
6243
+ assessments: AssessmentsResource;
6244
+ feedbackLabels: FeedbackLabelsResource;
3571
6245
  }
3572
6246
  interface AnalysesResource {
3573
6247
  /** Creates an analysis. The long running operation is done when the analysis has completed. */
@@ -4038,45 +6712,16 @@ declare namespace gapi.client {
4038
6712
  /** Returns response with indentations and line breaks. */
4039
6713
  prettyPrint?: boolean;
4040
6714
  /** 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. */
4041
- quotaUser?: string;
4042
- /** Upload protocol for media (e.g. "raw", "multipart"). */
4043
- upload_protocol?: string;
4044
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4045
- uploadType?: string;
4046
- },
4047
- body: GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest,
4048
- ): Request<GoogleLongrunningOperation>;
4049
- /** Gets conversation statistics. */
4050
- calculateStats(request?: {
4051
- /** V1 error format. */
4052
- '$.xgafv'?: string;
4053
- /** OAuth access token. */
4054
- access_token?: string;
4055
- /** Data format for response. */
4056
- alt?: string;
4057
- /** JSONP */
4058
- callback?: string;
4059
- /** Selector specifying which fields to include in a partial response. */
4060
- fields?: string;
4061
- /** A filter to reduce results to a specific subset. This field is useful for getting statistics about conversations with specific properties. */
4062
- filter?: string;
4063
- /** 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. */
4064
- key?: string;
4065
- /** Required. The location of the conversations. */
4066
- location: string;
4067
- /** OAuth 2.0 token for the current user. */
4068
- oauth_token?: string;
4069
- /** Returns response with indentations and line breaks. */
4070
- prettyPrint?: boolean;
4071
- /** 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. */
4072
- quotaUser?: string;
4073
- /** Upload protocol for media (e.g. "raw", "multipart"). */
4074
- upload_protocol?: string;
4075
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4076
- uploadType?: string;
4077
- }): Request<GoogleCloudContactcenterinsightsV1CalculateStatsResponse>;
4078
- /** Creates a conversation. Note that this method does not support audio transcription or redaction. Use `conversations.upload` instead. */
4079
- create(request: {
6715
+ quotaUser?: string;
6716
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
6717
+ upload_protocol?: string;
6718
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6719
+ uploadType?: string;
6720
+ },
6721
+ body: GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest,
6722
+ ): Request<GoogleLongrunningOperation>;
6723
+ /** Gets conversation statistics. */
6724
+ calculateStats(request: {
4080
6725
  /** V1 error format. */
4081
6726
  '$.xgafv'?: string;
4082
6727
  /** OAuth access token. */
@@ -4085,16 +6730,14 @@ declare namespace gapi.client {
4085
6730
  alt?: string;
4086
6731
  /** JSONP */
4087
6732
  callback?: string;
4088
- /** 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-` */
4089
- conversationId?: string;
4090
6733
  /** Selector specifying which fields to include in a partial response. */
4091
6734
  fields?: string;
4092
6735
  /** 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. */
4093
6736
  key?: string;
6737
+ /** Required. The location of the conversations. */
6738
+ location: string;
4094
6739
  /** OAuth 2.0 token for the current user. */
4095
6740
  oauth_token?: string;
4096
- /** Required. The parent resource of the conversation. */
4097
- parent: string;
4098
6741
  /** Returns response with indentations and line breaks. */
4099
6742
  prettyPrint?: boolean;
4100
6743
  /** 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. */
@@ -4104,9 +6747,9 @@ declare namespace gapi.client {
4104
6747
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4105
6748
  uploadType?: string;
4106
6749
  /** Request body */
4107
- resource: GoogleCloudContactcenterinsightsV1Conversation;
4108
- }): Request<GoogleCloudContactcenterinsightsV1Conversation>;
4109
- create(
6750
+ resource: GoogleCloudContactcenterinsightsV1CalculateStatsRequest;
6751
+ }): Request<GoogleCloudContactcenterinsightsV1CalculateStatsResponse>;
6752
+ calculateStats(
4110
6753
  request: {
4111
6754
  /** V1 error format. */
4112
6755
  '$.xgafv'?: string;
@@ -4116,16 +6759,14 @@ declare namespace gapi.client {
4116
6759
  alt?: string;
4117
6760
  /** JSONP */
4118
6761
  callback?: string;
4119
- /** 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-` */
4120
- conversationId?: string;
4121
6762
  /** Selector specifying which fields to include in a partial response. */
4122
6763
  fields?: string;
4123
6764
  /** 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. */
4124
6765
  key?: string;
6766
+ /** Required. The location of the conversations. */
6767
+ location: string;
4125
6768
  /** OAuth 2.0 token for the current user. */
4126
6769
  oauth_token?: string;
4127
- /** Required. The parent resource of the conversation. */
4128
- parent: string;
4129
6770
  /** Returns response with indentations and line breaks. */
4130
6771
  prettyPrint?: boolean;
4131
6772
  /** 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. */
@@ -4135,8 +6776,8 @@ declare namespace gapi.client {
4135
6776
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4136
6777
  uploadType?: string;
4137
6778
  },
4138
- body: GoogleCloudContactcenterinsightsV1Conversation,
4139
- ): Request<GoogleCloudContactcenterinsightsV1Conversation>;
6779
+ body: GoogleCloudContactcenterinsightsV1CalculateStatsRequest,
6780
+ ): Request<GoogleCloudContactcenterinsightsV1CalculateStatsResponse>;
4140
6781
  /** Deletes a conversation. */
4141
6782
  delete(request?: {
4142
6783
  /** V1 error format. */
@@ -4290,8 +6931,12 @@ declare namespace gapi.client {
4290
6931
  /** The level of details of the conversation. Default is `BASIC`. */
4291
6932
  view?: string;
4292
6933
  }): Request<GoogleCloudContactcenterinsightsV1ListConversationsResponse>;
4293
- /** Updates a conversation. */
4294
- patch(request: {
6934
+ analyses: AnalysesResource;
6935
+ feedbackLabels: FeedbackLabelsResource;
6936
+ }
6937
+ interface InsightsdataResource {
6938
+ /** Export insights data to a destination defined in the request body. */
6939
+ export(request: {
4295
6940
  /** V1 error format. */
4296
6941
  '$.xgafv'?: string;
4297
6942
  /** OAuth access token. */
@@ -4304,24 +6949,22 @@ declare namespace gapi.client {
4304
6949
  fields?: string;
4305
6950
  /** 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. */
4306
6951
  key?: string;
4307
- /** Immutable. The resource name of the conversation. Format: projects/{project}/locations/{location}/conversations/{conversation} */
4308
- name: string;
4309
6952
  /** OAuth 2.0 token for the current user. */
4310
6953
  oauth_token?: string;
6954
+ /** Required. The parent resource to export data from. */
6955
+ parent: string;
4311
6956
  /** Returns response with indentations and line breaks. */
4312
6957
  prettyPrint?: boolean;
4313
6958
  /** 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. */
4314
6959
  quotaUser?: string;
4315
- /** The list of fields to be updated. All possible fields can be updated by passing `*`, or a subset of the following updateable fields can be provided: * `agent_id` * `language_code` * `labels` * `metadata` * `quality_metadata` * `call_metadata` * `start_time` * `expire_time` or `ttl` * `data_source.gcs_source.audio_uri` or `data_source.dialogflow_source.audio_uri` */
4316
- updateMask?: string;
4317
6960
  /** Upload protocol for media (e.g. "raw", "multipart"). */
4318
6961
  upload_protocol?: string;
4319
6962
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4320
6963
  uploadType?: string;
4321
6964
  /** Request body */
4322
- resource: GoogleCloudContactcenterinsightsV1Conversation;
4323
- }): Request<GoogleCloudContactcenterinsightsV1Conversation>;
4324
- patch(
6965
+ resource: GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest;
6966
+ }): Request<GoogleLongrunningOperation>;
6967
+ export(
4325
6968
  request: {
4326
6969
  /** V1 error format. */
4327
6970
  '$.xgafv'?: string;
@@ -4335,25 +6978,25 @@ declare namespace gapi.client {
4335
6978
  fields?: string;
4336
6979
  /** 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. */
4337
6980
  key?: string;
4338
- /** Immutable. The resource name of the conversation. Format: projects/{project}/locations/{location}/conversations/{conversation} */
4339
- name: string;
4340
6981
  /** OAuth 2.0 token for the current user. */
4341
6982
  oauth_token?: string;
6983
+ /** Required. The parent resource to export data from. */
6984
+ parent: string;
4342
6985
  /** Returns response with indentations and line breaks. */
4343
6986
  prettyPrint?: boolean;
4344
6987
  /** 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. */
4345
6988
  quotaUser?: string;
4346
- /** The list of fields to be updated. All possible fields can be updated by passing `*`, or a subset of the following updateable fields can be provided: * `agent_id` * `language_code` * `labels` * `metadata` * `quality_metadata` * `call_metadata` * `start_time` * `expire_time` or `ttl` * `data_source.gcs_source.audio_uri` or `data_source.dialogflow_source.audio_uri` */
4347
- updateMask?: string;
4348
6989
  /** Upload protocol for media (e.g. "raw", "multipart"). */
4349
6990
  upload_protocol?: string;
4350
6991
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4351
6992
  uploadType?: string;
4352
6993
  },
4353
- body: GoogleCloudContactcenterinsightsV1Conversation,
4354
- ): Request<GoogleCloudContactcenterinsightsV1Conversation>;
4355
- /** Create a long-running conversation upload operation. This method differs from `CreateConversation` by allowing audio transcription and optional DLP redaction. */
4356
- upload(request: {
6994
+ body: GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest,
6995
+ ): Request<GoogleLongrunningOperation>;
6996
+ }
6997
+ interface DatasetsResource {
6998
+ /** Delete feedback labels in bulk using a filter. */
6999
+ bulkDeleteFeedbackLabels(request: {
4357
7000
  /** V1 error format. */
4358
7001
  '$.xgafv'?: string;
4359
7002
  /** OAuth access token. */
@@ -4368,7 +7011,7 @@ declare namespace gapi.client {
4368
7011
  key?: string;
4369
7012
  /** OAuth 2.0 token for the current user. */
4370
7013
  oauth_token?: string;
4371
- /** Required. The parent resource of the conversation. */
7014
+ /** Required. The parent resource for new feedback labels. */
4372
7015
  parent: string;
4373
7016
  /** Returns response with indentations and line breaks. */
4374
7017
  prettyPrint?: boolean;
@@ -4379,9 +7022,9 @@ declare namespace gapi.client {
4379
7022
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4380
7023
  uploadType?: string;
4381
7024
  /** Request body */
4382
- resource: GoogleCloudContactcenterinsightsV1UploadConversationRequest;
7025
+ resource: GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsRequest;
4383
7026
  }): Request<GoogleLongrunningOperation>;
4384
- upload(
7027
+ bulkDeleteFeedbackLabels(
4385
7028
  request: {
4386
7029
  /** V1 error format. */
4387
7030
  '$.xgafv'?: string;
@@ -4397,7 +7040,7 @@ declare namespace gapi.client {
4397
7040
  key?: string;
4398
7041
  /** OAuth 2.0 token for the current user. */
4399
7042
  oauth_token?: string;
4400
- /** Required. The parent resource of the conversation. */
7043
+ /** Required. The parent resource for new feedback labels. */
4401
7044
  parent: string;
4402
7045
  /** Returns response with indentations and line breaks. */
4403
7046
  prettyPrint?: boolean;
@@ -4408,14 +7051,10 @@ declare namespace gapi.client {
4408
7051
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4409
7052
  uploadType?: string;
4410
7053
  },
4411
- body: GoogleCloudContactcenterinsightsV1UploadConversationRequest,
7054
+ body: GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsRequest,
4412
7055
  ): Request<GoogleLongrunningOperation>;
4413
- analyses: AnalysesResource;
4414
- feedbackLabels: FeedbackLabelsResource;
4415
- }
4416
- interface ConversationsResource {
4417
- /** Gets conversation statistics. */
4418
- calculateStats(request: {
7056
+ /** Download feedback labels in bulk from an external source. Currently supports exporting Quality AI example conversations with transcripts and question bodies. */
7057
+ bulkDownloadFeedbackLabels(request: {
4419
7058
  /** V1 error format. */
4420
7059
  '$.xgafv'?: string;
4421
7060
  /** OAuth access token. */
@@ -4428,10 +7067,10 @@ declare namespace gapi.client {
4428
7067
  fields?: string;
4429
7068
  /** 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. */
4430
7069
  key?: string;
4431
- /** Required. The location of the conversations. */
4432
- location: string;
4433
7070
  /** OAuth 2.0 token for the current user. */
4434
7071
  oauth_token?: string;
7072
+ /** Required. The parent resource for new feedback labels. */
7073
+ parent: string;
4435
7074
  /** Returns response with indentations and line breaks. */
4436
7075
  prettyPrint?: boolean;
4437
7076
  /** 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. */
@@ -4441,9 +7080,9 @@ declare namespace gapi.client {
4441
7080
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4442
7081
  uploadType?: string;
4443
7082
  /** Request body */
4444
- resource: GoogleCloudContactcenterinsightsV1CalculateStatsRequest;
4445
- }): Request<GoogleCloudContactcenterinsightsV1CalculateStatsResponse>;
4446
- calculateStats(
7083
+ resource: GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequest;
7084
+ }): Request<GoogleLongrunningOperation>;
7085
+ bulkDownloadFeedbackLabels(
4447
7086
  request: {
4448
7087
  /** V1 error format. */
4449
7088
  '$.xgafv'?: string;
@@ -4457,10 +7096,10 @@ declare namespace gapi.client {
4457
7096
  fields?: string;
4458
7097
  /** 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. */
4459
7098
  key?: string;
4460
- /** Required. The location of the conversations. */
4461
- location: string;
4462
7099
  /** OAuth 2.0 token for the current user. */
4463
7100
  oauth_token?: string;
7101
+ /** Required. The parent resource for new feedback labels. */
7102
+ parent: string;
4464
7103
  /** Returns response with indentations and line breaks. */
4465
7104
  prettyPrint?: boolean;
4466
7105
  /** 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. */
@@ -4470,68 +7109,10 @@ declare namespace gapi.client {
4470
7109
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4471
7110
  uploadType?: string;
4472
7111
  },
4473
- body: GoogleCloudContactcenterinsightsV1CalculateStatsRequest,
4474
- ): Request<GoogleCloudContactcenterinsightsV1CalculateStatsResponse>;
4475
- /** Deletes a conversation. */
4476
- delete(request?: {
4477
- /** V1 error format. */
4478
- '$.xgafv'?: string;
4479
- /** OAuth access token. */
4480
- access_token?: string;
4481
- /** Data format for response. */
4482
- alt?: string;
4483
- /** JSONP */
4484
- callback?: string;
4485
- /** Selector specifying which fields to include in a partial response. */
4486
- fields?: string;
4487
- /** 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. */
4488
- force?: boolean;
4489
- /** 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. */
4490
- key?: string;
4491
- /** Required. The name of the conversation to delete. */
4492
- name: string;
4493
- /** OAuth 2.0 token for the current user. */
4494
- oauth_token?: string;
4495
- /** Returns response with indentations and line breaks. */
4496
- prettyPrint?: boolean;
4497
- /** 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. */
4498
- quotaUser?: string;
4499
- /** Upload protocol for media (e.g. "raw", "multipart"). */
4500
- upload_protocol?: string;
4501
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4502
- uploadType?: string;
4503
- }): Request<{}>;
4504
- /** Gets a conversation. */
4505
- get(request?: {
4506
- /** V1 error format. */
4507
- '$.xgafv'?: string;
4508
- /** OAuth access token. */
4509
- access_token?: string;
4510
- /** Data format for response. */
4511
- alt?: string;
4512
- /** JSONP */
4513
- callback?: string;
4514
- /** Selector specifying which fields to include in a partial response. */
4515
- fields?: string;
4516
- /** 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. */
4517
- key?: string;
4518
- /** Required. The name of the conversation to get. */
4519
- name: string;
4520
- /** OAuth 2.0 token for the current user. */
4521
- oauth_token?: string;
4522
- /** Returns response with indentations and line breaks. */
4523
- prettyPrint?: boolean;
4524
- /** 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. */
4525
- quotaUser?: string;
4526
- /** Upload protocol for media (e.g. "raw", "multipart"). */
4527
- upload_protocol?: string;
4528
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4529
- uploadType?: string;
4530
- /** The level of details of the conversation. Default is `FULL`. */
4531
- view?: string;
4532
- }): Request<GoogleCloudContactcenterinsightsV1Conversation>;
4533
- /** Imports conversations and processes them according to the user's configuration. */
4534
- ingest(request: {
7112
+ body: GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequest,
7113
+ ): Request<GoogleLongrunningOperation>;
7114
+ /** Upload feedback labels from an external source in bulk. Currently supports labeling Quality AI example conversations. */
7115
+ bulkUploadFeedbackLabels(request: {
4535
7116
  /** V1 error format. */
4536
7117
  '$.xgafv'?: string;
4537
7118
  /** OAuth access token. */
@@ -4546,7 +7127,7 @@ declare namespace gapi.client {
4546
7127
  key?: string;
4547
7128
  /** OAuth 2.0 token for the current user. */
4548
7129
  oauth_token?: string;
4549
- /** Required. The parent resource for new conversations. */
7130
+ /** Required. The parent resource for new feedback labels. */
4550
7131
  parent: string;
4551
7132
  /** Returns response with indentations and line breaks. */
4552
7133
  prettyPrint?: boolean;
@@ -4557,9 +7138,9 @@ declare namespace gapi.client {
4557
7138
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4558
7139
  uploadType?: string;
4559
7140
  /** Request body */
4560
- resource: GoogleCloudContactcenterinsightsV1IngestConversationsRequest;
7141
+ resource: GoogleCloudContactcenterinsightsV1BulkUploadFeedbackLabelsRequest;
4561
7142
  }): Request<GoogleLongrunningOperation>;
4562
- ingest(
7143
+ bulkUploadFeedbackLabels(
4563
7144
  request: {
4564
7145
  /** V1 error format. */
4565
7146
  '$.xgafv'?: string;
@@ -4575,7 +7156,7 @@ declare namespace gapi.client {
4575
7156
  key?: string;
4576
7157
  /** OAuth 2.0 token for the current user. */
4577
7158
  oauth_token?: string;
4578
- /** Required. The parent resource for new conversations. */
7159
+ /** Required. The parent resource for new feedback labels. */
4579
7160
  parent: string;
4580
7161
  /** Returns response with indentations and line breaks. */
4581
7162
  prettyPrint?: boolean;
@@ -4586,10 +7167,10 @@ declare namespace gapi.client {
4586
7167
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4587
7168
  uploadType?: string;
4588
7169
  },
4589
- body: GoogleCloudContactcenterinsightsV1IngestConversationsRequest,
7170
+ body: GoogleCloudContactcenterinsightsV1BulkUploadFeedbackLabelsRequest,
4590
7171
  ): Request<GoogleLongrunningOperation>;
4591
- /** Lists conversations. */
4592
- list(request?: {
7172
+ /** List all feedback labels by project number. */
7173
+ listAllFeedbackLabels(request?: {
4593
7174
  /** V1 error format. */
4594
7175
  '$.xgafv'?: string;
4595
7176
  /** OAuth access token. */
@@ -4600,50 +7181,17 @@ declare namespace gapi.client {
4600
7181
  callback?: string;
4601
7182
  /** Selector specifying which fields to include in a partial response. */
4602
7183
  fields?: string;
4603
- /** A filter to reduce results to a specific subset. Useful for querying conversations with specific properties. */
7184
+ /** Optional. A filter to reduce results to a specific subset in the entire project. Supports disjunctions (OR) and conjunctions (AND). Supported fields: * `issue_model_id` * `qa_question_id` * `min_create_time` * `max_create_time` * `min_update_time` * `max_update_time` * `feedback_label_type`: QUALITY_AI, TOPIC_MODELING */
4604
7185
  filter?: string;
4605
7186
  /** 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. */
4606
7187
  key?: string;
4607
7188
  /** OAuth 2.0 token for the current user. */
4608
7189
  oauth_token?: string;
4609
- /** Optional. The attribute by which to order conversations in the response. If empty, conversations will be ordered by descending creation time. Supported values are one of the following: * create_time * customer_satisfaction_rating * duration * latest_analysis * start_time * turn_count The default sort order is ascending. To specify order, append `asc` or `desc` (`create_time desc`). For more details, see [Google AIPs Ordering](https://google.aip.dev/132#ordering). */
4610
- orderBy?: string;
4611
- /** The maximum number of conversations to return in the response. A valid page size ranges from 0 to 100,000 inclusive. If the page size is zero or unspecified, a default page size of 100 will be chosen. Note that a call might return fewer results than the requested page size. */
7190
+ /** Optional. The maximum number of feedback labels to return in the response. A valid page size ranges from 0 to 100,000 inclusive. If the page size is zero or unspecified, a default page size of 100 will be chosen. Note that a call might return fewer results than the requested page size. */
4612
7191
  pageSize?: number;
4613
- /** The value returned by the last `ListConversationsResponse`. This value indicates that this is a continuation of a prior `ListConversations` call and that the system should return the next page of data. */
7192
+ /** Optional. The value returned by the last `ListAllFeedbackLabelsResponse`. This value indicates that this is a continuation of a prior `ListAllFeedbackLabels` call and that the system should return the next page of data. */
4614
7193
  pageToken?: string;
4615
- /** Required. The parent resource of the conversation. */
4616
- parent: string;
4617
- /** Returns response with indentations and line breaks. */
4618
- prettyPrint?: boolean;
4619
- /** 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. */
4620
- quotaUser?: string;
4621
- /** Upload protocol for media (e.g. "raw", "multipart"). */
4622
- upload_protocol?: string;
4623
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4624
- uploadType?: string;
4625
- /** The level of details of the conversation. Default is `BASIC`. */
4626
- view?: string;
4627
- }): Request<GoogleCloudContactcenterinsightsV1ListConversationsResponse>;
4628
- }
4629
- interface InsightsdataResource {
4630
- /** Export insights data to a destination defined in the request body. */
4631
- export(request: {
4632
- /** V1 error format. */
4633
- '$.xgafv'?: string;
4634
- /** OAuth access token. */
4635
- access_token?: string;
4636
- /** Data format for response. */
4637
- alt?: string;
4638
- /** JSONP */
4639
- callback?: string;
4640
- /** Selector specifying which fields to include in a partial response. */
4641
- fields?: string;
4642
- /** 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. */
4643
- key?: string;
4644
- /** OAuth 2.0 token for the current user. */
4645
- oauth_token?: string;
4646
- /** Required. The parent resource to export data from. */
7194
+ /** Required. The parent resource of all feedback labels per project. */
4647
7195
  parent: string;
4648
7196
  /** Returns response with indentations and line breaks. */
4649
7197
  prettyPrint?: boolean;
@@ -4653,40 +7201,7 @@ declare namespace gapi.client {
4653
7201
  upload_protocol?: string;
4654
7202
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4655
7203
  uploadType?: string;
4656
- /** Request body */
4657
- resource: GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest;
4658
- }): Request<GoogleLongrunningOperation>;
4659
- export(
4660
- request: {
4661
- /** V1 error format. */
4662
- '$.xgafv'?: string;
4663
- /** OAuth access token. */
4664
- access_token?: string;
4665
- /** Data format for response. */
4666
- alt?: string;
4667
- /** JSONP */
4668
- callback?: string;
4669
- /** Selector specifying which fields to include in a partial response. */
4670
- fields?: string;
4671
- /** 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. */
4672
- key?: string;
4673
- /** OAuth 2.0 token for the current user. */
4674
- oauth_token?: string;
4675
- /** Required. The parent resource to export data from. */
4676
- parent: string;
4677
- /** Returns response with indentations and line breaks. */
4678
- prettyPrint?: boolean;
4679
- /** 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. */
4680
- quotaUser?: string;
4681
- /** Upload protocol for media (e.g. "raw", "multipart"). */
4682
- upload_protocol?: string;
4683
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4684
- uploadType?: string;
4685
- },
4686
- body: GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest,
4687
- ): Request<GoogleLongrunningOperation>;
4688
- }
4689
- interface DatasetsResource {
7204
+ }): Request<GoogleCloudContactcenterinsightsV1ListAllFeedbackLabelsResponse>;
4690
7205
  conversations: ConversationsResource;
4691
7206
  insightsdata: InsightsdataResource;
4692
7207
  }
@@ -7117,6 +9632,7 @@ declare namespace gapi.client {
7117
9632
  body: GoogleCloudContactcenterinsightsV1Settings,
7118
9633
  ): Request<GoogleCloudContactcenterinsightsV1Settings>;
7119
9634
  analysisRules: AnalysisRulesResource;
9635
+ assessmentRules: AssessmentRulesResource;
7120
9636
  authorizedViewSets: AuthorizedViewSetsResource;
7121
9637
  conversations: ConversationsResource;
7122
9638
  datasets: DatasetsResource;