@maxim_mazurok/gapi.client.contactcenterinsights-v1 0.0.20250502 → 0.0.20250512

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 +1663 -369
  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: 20250502
12
+ // Revision: 20250512
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -430,6 +430,22 @@ declare namespace gapi.client {
430
430
  /** Required. The parent resource of the issue. */
431
431
  parent?: string;
432
432
  }
433
+ interface GoogleCloudContactcenterinsightsV1alpha1Dataset {
434
+ /** Output only. Dataset create time. */
435
+ createTime?: string;
436
+ /** Dataset description. */
437
+ description?: string;
438
+ /** Display name for the dataaset */
439
+ displayName?: string;
440
+ /** Immutable. Identifier. Resource name of the dataset. Format: projects/{project}/locations/{location}/datasets/{dataset} */
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;
448
+ }
433
449
  interface GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelMetadata {
434
450
  /** Output only. The time the operation was created. */
435
451
  createTime?: string;
@@ -1032,6 +1048,43 @@ declare namespace gapi.client {
1032
1048
  /** Query source for the answer. */
1033
1049
  querySource?: string;
1034
1050
  }
1051
+ interface GoogleCloudContactcenterinsightsV1alpha1SampleConversationsMetadata {
1052
+ /** Output only. The time the operation was created. */
1053
+ createTime?: string;
1054
+ /** Output only. The time the operation finished running. */
1055
+ endTime?: string;
1056
+ /** Output only. Partial errors during sample conversations operation that might cause the operation output to be incomplete. */
1057
+ partialErrors?: GoogleRpcStatus[];
1058
+ /** Output only. The original request for sample conversations to dataset. */
1059
+ request?: GoogleCloudContactcenterinsightsV1alpha1SampleConversationsRequest;
1060
+ /** Output only. Statistics for SampleConversations operation. */
1061
+ sampleConversationsStats?: GoogleCloudContactcenterinsightsV1alpha1SampleConversationsMetadataSampleConversationsStats;
1062
+ }
1063
+ interface GoogleCloudContactcenterinsightsV1alpha1SampleConversationsMetadataSampleConversationsStats {
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. */
1065
+ failedSampleCount?: number;
1066
+ /** Output only. The number of new conversations added during this sample operation. */
1067
+ successfulSampleCount?: number;
1068
+ }
1069
+ interface GoogleCloudContactcenterinsightsV1alpha1SampleConversationsRequest {
1070
+ /** The dataset resource to copy the sampled conversations to. */
1071
+ destinationDataset?: GoogleCloudContactcenterinsightsV1alpha1Dataset;
1072
+ /** Required. The parent resource of the dataset. */
1073
+ parent?: string;
1074
+ /** Optional. The sample rule used for sampling conversations. */
1075
+ sampleRule?: GoogleCloudContactcenterinsightsV1alpha1SampleRule;
1076
+ }
1077
+ interface GoogleCloudContactcenterinsightsV1alpha1SampleConversationsResponse {}
1078
+ interface GoogleCloudContactcenterinsightsV1alpha1SampleRule {
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. */
1080
+ conversationFilter?: string;
1081
+ /** Optional. Group by dimension to sample the conversation. If no dimension is provided, the sampling will be applied to the project level. Current supported dimensions is 'quality_metadata.agent_info.agent_id'. */
1082
+ dimension?: string;
1083
+ /** Percentage of conversations that we should sample based on the dimension between [0, 100]. */
1084
+ samplePercentage?: number;
1085
+ /** Number of the conversations that we should sample based on the dimension. */
1086
+ sampleRow?: string;
1087
+ }
1035
1088
  interface GoogleCloudContactcenterinsightsV1alpha1SentimentData {
1036
1089
  /** A non-negative number from 0 to infinity which represents the absolute magnitude of sentiment regardless of score. */
1037
1090
  magnitude?: number;
@@ -1228,6 +1281,28 @@ declare namespace gapi.client {
1228
1281
  /** Article URI. */
1229
1282
  uri?: string;
1230
1283
  }
1284
+ interface GoogleCloudContactcenterinsightsV1AuthorizedView {
1285
+ /** 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. */
1286
+ conversationFilter?: string;
1287
+ /** Output only. The time at which the authorized view was created. */
1288
+ createTime?: string;
1289
+ /** Display Name. Limit 64 characters. */
1290
+ displayName?: string;
1291
+ /** Identifier. The resource name of the AuthorizedView. Format: projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view} */
1292
+ name?: string;
1293
+ /** Output only. The most recent time at which the authorized view was updated. */
1294
+ updateTime?: string;
1295
+ }
1296
+ interface GoogleCloudContactcenterinsightsV1AuthorizedViewSet {
1297
+ /** Output only. Create time. */
1298
+ createTime?: string;
1299
+ /** Display Name. Limit 64 characters. */
1300
+ displayName?: string;
1301
+ /** Identifier. The resource name of the AuthorizedViewSet. Format: projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set} */
1302
+ name?: string;
1303
+ /** Output only. Update time. */
1304
+ updateTime?: string;
1305
+ }
1231
1306
  interface GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsMetadata {
1232
1307
  /** The number of requested analyses that have completed successfully so far. */
1233
1308
  completedAnalysesCount?: number;
@@ -1635,6 +1710,22 @@ declare namespace gapi.client {
1635
1710
  /** Required. The parent resource of the issue. */
1636
1711
  parent?: string;
1637
1712
  }
1713
+ interface GoogleCloudContactcenterinsightsV1Dataset {
1714
+ /** Output only. Dataset create time. */
1715
+ createTime?: string;
1716
+ /** Dataset description. */
1717
+ description?: string;
1718
+ /** Display name for the dataaset */
1719
+ displayName?: string;
1720
+ /** Immutable. Identifier. Resource name of the dataset. Format: projects/{project}/locations/{location}/datasets/{dataset} */
1721
+ name?: string;
1722
+ /** Optional. Option TTL for the dataset. */
1723
+ ttl?: string;
1724
+ /** Dataset usage type. */
1725
+ type?: string;
1726
+ /** Output only. Dataset update time. */
1727
+ updateTime?: string;
1728
+ }
1638
1729
  interface GoogleCloudContactcenterinsightsV1DeleteIssueModelMetadata {
1639
1730
  /** Output only. The time the operation was created. */
1640
1731
  createTime?: string;
@@ -2053,6 +2144,18 @@ declare namespace gapi.client {
2053
2144
  /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
2054
2145
  nextPageToken?: string;
2055
2146
  }
2147
+ interface GoogleCloudContactcenterinsightsV1ListAuthorizedViewSetsResponse {
2148
+ /** The AuthorizedViewSets under the parent. */
2149
+ authorizedViewSets?: GoogleCloudContactcenterinsightsV1AuthorizedViewSet[];
2150
+ /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
2151
+ nextPageToken?: string;
2152
+ }
2153
+ interface GoogleCloudContactcenterinsightsV1ListAuthorizedViewsResponse {
2154
+ /** The AuthorizedViews under the parent. */
2155
+ authorizedViews?: GoogleCloudContactcenterinsightsV1AuthorizedView[];
2156
+ /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
2157
+ nextPageToken?: string;
2158
+ }
2056
2159
  interface GoogleCloudContactcenterinsightsV1ListConversationsResponse {
2057
2160
  /** The conversations that match the request. */
2058
2161
  conversations?: GoogleCloudContactcenterinsightsV1Conversation[];
@@ -2206,7 +2309,7 @@ declare namespace gapi.client {
2206
2309
  order?: number;
2207
2310
  /** Question text. E.g., "Did the agent greet the customer?" */
2208
2311
  questionBody?: string;
2209
- /** User-defined list of arbitrary tags for the question. Used for grouping/organization and for weighting the score of each question. */
2312
+ /** 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. */
2210
2313
  tags?: string[];
2211
2314
  /** 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. */
2212
2315
  tuningMetadata?: GoogleCloudContactcenterinsightsV1QaQuestionTuningMetadata;
@@ -2424,6 +2527,49 @@ declare namespace gapi.client {
2424
2527
  /** Query source for the answer. */
2425
2528
  querySource?: string;
2426
2529
  }
2530
+ interface GoogleCloudContactcenterinsightsV1SampleConversationsMetadata {
2531
+ /** Output only. The time the operation was created. */
2532
+ createTime?: string;
2533
+ /** Output only. The time the operation finished running. */
2534
+ endTime?: string;
2535
+ /** Output only. Partial errors during sample conversations operation that might cause the operation output to be incomplete. */
2536
+ partialErrors?: GoogleRpcStatus[];
2537
+ /** Output only. The original request for sample conversations to dataset. */
2538
+ request?: GoogleCloudContactcenterinsightsV1SampleConversationsRequest;
2539
+ /** Output only. Statistics for SampleConversations operation. */
2540
+ sampleConversationsStats?: GoogleCloudContactcenterinsightsV1SampleConversationsMetadataSampleConversationsStats;
2541
+ }
2542
+ interface GoogleCloudContactcenterinsightsV1SampleConversationsMetadataSampleConversationsStats {
2543
+ /** Output only. The number of objects which were unable to be sampled due to errors. The errors are populated in the partial_errors field. */
2544
+ failedSampleCount?: number;
2545
+ /** Output only. The number of new conversations added during this sample operation. */
2546
+ successfulSampleCount?: number;
2547
+ }
2548
+ interface GoogleCloudContactcenterinsightsV1SampleConversationsRequest {
2549
+ /** The dataset resource to copy the sampled conversations to. */
2550
+ destinationDataset?: GoogleCloudContactcenterinsightsV1Dataset;
2551
+ /** Required. The parent resource of the dataset. */
2552
+ parent?: string;
2553
+ /** Optional. The sample rule used for sampling conversations. */
2554
+ sampleRule?: GoogleCloudContactcenterinsightsV1SampleRule;
2555
+ }
2556
+ interface GoogleCloudContactcenterinsightsV1SampleConversationsResponse {}
2557
+ interface GoogleCloudContactcenterinsightsV1SampleRule {
2558
+ /** To specify the filter for the conversions that should apply this sample rule. An empty filter means this sample rule applies to all conversations. */
2559
+ conversationFilter?: string;
2560
+ /** Optional. Group by dimension to sample the conversation. If no dimension is provided, the sampling will be applied to the project level. Current supported dimensions is 'quality_metadata.agent_info.agent_id'. */
2561
+ dimension?: string;
2562
+ /** Percentage of conversations that we should sample based on the dimension between [0, 100]. */
2563
+ samplePercentage?: number;
2564
+ /** Number of the conversations that we should sample based on the dimension. */
2565
+ sampleRow?: string;
2566
+ }
2567
+ interface GoogleCloudContactcenterinsightsV1SearchAuthorizedViewsResponse {
2568
+ /** The AuthorizedViews under the parent. */
2569
+ authorizedViews?: GoogleCloudContactcenterinsightsV1AuthorizedView[];
2570
+ /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
2571
+ nextPageToken?: string;
2572
+ }
2427
2573
  interface GoogleCloudContactcenterinsightsV1SentimentData {
2428
2574
  /** A non-negative number from 0 to infinity which represents the absolute magnitude of sentiment regardless of score. */
2429
2575
  magnitude?: number;
@@ -3415,72 +3561,7 @@ declare namespace gapi.client {
3415
3561
  }): Request<GoogleLongrunningListOperationsResponse>;
3416
3562
  }
3417
3563
  interface AuthorizedViewsResource {
3418
- /** Query metrics. */
3419
- queryMetrics(request: {
3420
- /** V1 error format. */
3421
- '$.xgafv'?: string;
3422
- /** OAuth access token. */
3423
- access_token?: string;
3424
- /** Data format for response. */
3425
- alt?: string;
3426
- /** JSONP */
3427
- callback?: string;
3428
- /** Selector specifying which fields to include in a partial response. */
3429
- fields?: string;
3430
- /** 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. */
3431
- key?: string;
3432
- /** Required. The location of the data. "projects/{project}/locations/{location}" */
3433
- location: string;
3434
- /** OAuth 2.0 token for the current user. */
3435
- oauth_token?: string;
3436
- /** Returns response with indentations and line breaks. */
3437
- prettyPrint?: boolean;
3438
- /** 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. */
3439
- quotaUser?: string;
3440
- /** Upload protocol for media (e.g. "raw", "multipart"). */
3441
- upload_protocol?: string;
3442
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3443
- uploadType?: string;
3444
- /** Request body */
3445
- resource: GoogleCloudContactcenterinsightsV1QueryMetricsRequest;
3446
- }): Request<GoogleLongrunningOperation>;
3447
- queryMetrics(
3448
- request: {
3449
- /** V1 error format. */
3450
- '$.xgafv'?: string;
3451
- /** OAuth access token. */
3452
- access_token?: string;
3453
- /** Data format for response. */
3454
- alt?: string;
3455
- /** JSONP */
3456
- callback?: string;
3457
- /** Selector specifying which fields to include in a partial response. */
3458
- fields?: string;
3459
- /** 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. */
3460
- key?: string;
3461
- /** Required. The location of the data. "projects/{project}/locations/{location}" */
3462
- location: string;
3463
- /** OAuth 2.0 token for the current user. */
3464
- oauth_token?: string;
3465
- /** Returns response with indentations and line breaks. */
3466
- prettyPrint?: boolean;
3467
- /** 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. */
3468
- quotaUser?: string;
3469
- /** Upload protocol for media (e.g. "raw", "multipart"). */
3470
- upload_protocol?: string;
3471
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3472
- uploadType?: string;
3473
- },
3474
- body: GoogleCloudContactcenterinsightsV1QueryMetricsRequest,
3475
- ): Request<GoogleLongrunningOperation>;
3476
- conversations: ConversationsResource;
3477
- operations: OperationsResource;
3478
- }
3479
- interface AuthorizedViewSetsResource {
3480
- authorizedViews: AuthorizedViewsResource;
3481
- }
3482
- interface AnalysesResource {
3483
- /** Creates an analysis. The long running operation is done when the analysis has completed. */
3564
+ /** Create AuthorizedView */
3484
3565
  create(request: {
3485
3566
  /** V1 error format. */
3486
3567
  '$.xgafv'?: string;
@@ -3488,6 +3569,8 @@ declare namespace gapi.client {
3488
3569
  access_token?: string;
3489
3570
  /** Data format for response. */
3490
3571
  alt?: string;
3572
+ /** 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 */
3573
+ authorizedViewId?: string;
3491
3574
  /** JSONP */
3492
3575
  callback?: string;
3493
3576
  /** Selector specifying which fields to include in a partial response. */
@@ -3496,7 +3579,7 @@ declare namespace gapi.client {
3496
3579
  key?: string;
3497
3580
  /** OAuth 2.0 token for the current user. */
3498
3581
  oauth_token?: string;
3499
- /** Required. The parent resource of the analysis. */
3582
+ /** Required. The parent resource of the AuthorizedView. */
3500
3583
  parent: string;
3501
3584
  /** Returns response with indentations and line breaks. */
3502
3585
  prettyPrint?: boolean;
@@ -3507,8 +3590,8 @@ declare namespace gapi.client {
3507
3590
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3508
3591
  uploadType?: string;
3509
3592
  /** Request body */
3510
- resource: GoogleCloudContactcenterinsightsV1Analysis;
3511
- }): Request<GoogleLongrunningOperation>;
3593
+ resource: GoogleCloudContactcenterinsightsV1AuthorizedView;
3594
+ }): Request<GoogleCloudContactcenterinsightsV1AuthorizedView>;
3512
3595
  create(
3513
3596
  request: {
3514
3597
  /** V1 error format. */
@@ -3517,6 +3600,8 @@ declare namespace gapi.client {
3517
3600
  access_token?: string;
3518
3601
  /** Data format for response. */
3519
3602
  alt?: string;
3603
+ /** 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 */
3604
+ authorizedViewId?: string;
3520
3605
  /** JSONP */
3521
3606
  callback?: string;
3522
3607
  /** Selector specifying which fields to include in a partial response. */
@@ -3525,7 +3610,7 @@ declare namespace gapi.client {
3525
3610
  key?: string;
3526
3611
  /** OAuth 2.0 token for the current user. */
3527
3612
  oauth_token?: string;
3528
- /** Required. The parent resource of the analysis. */
3613
+ /** Required. The parent resource of the AuthorizedView. */
3529
3614
  parent: string;
3530
3615
  /** Returns response with indentations and line breaks. */
3531
3616
  prettyPrint?: boolean;
@@ -3536,9 +3621,9 @@ declare namespace gapi.client {
3536
3621
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3537
3622
  uploadType?: string;
3538
3623
  },
3539
- body: GoogleCloudContactcenterinsightsV1Analysis,
3540
- ): Request<GoogleLongrunningOperation>;
3541
- /** Deletes an analysis. */
3624
+ body: GoogleCloudContactcenterinsightsV1AuthorizedView,
3625
+ ): Request<GoogleCloudContactcenterinsightsV1AuthorizedView>;
3626
+ /** Deletes an AuthorizedView. */
3542
3627
  delete(request?: {
3543
3628
  /** V1 error format. */
3544
3629
  '$.xgafv'?: string;
@@ -3552,7 +3637,7 @@ declare namespace gapi.client {
3552
3637
  fields?: string;
3553
3638
  /** 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. */
3554
3639
  key?: string;
3555
- /** Required. The name of the analysis to delete. */
3640
+ /** Required. The name of the AuthorizedView to delete. */
3556
3641
  name: string;
3557
3642
  /** OAuth 2.0 token for the current user. */
3558
3643
  oauth_token?: string;
@@ -3565,7 +3650,7 @@ declare namespace gapi.client {
3565
3650
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3566
3651
  uploadType?: string;
3567
3652
  }): Request<{}>;
3568
- /** Gets an analysis. */
3653
+ /** Get AuthorizedView */
3569
3654
  get(request?: {
3570
3655
  /** V1 error format. */
3571
3656
  '$.xgafv'?: string;
@@ -3579,7 +3664,7 @@ declare namespace gapi.client {
3579
3664
  fields?: string;
3580
3665
  /** 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. */
3581
3666
  key?: string;
3582
- /** Required. The name of the analysis to get. */
3667
+ /** Required. The name of the AuthorizedView to get. */
3583
3668
  name: string;
3584
3669
  /** OAuth 2.0 token for the current user. */
3585
3670
  oauth_token?: string;
@@ -3591,8 +3676,8 @@ declare namespace gapi.client {
3591
3676
  upload_protocol?: string;
3592
3677
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3593
3678
  uploadType?: string;
3594
- }): Request<GoogleCloudContactcenterinsightsV1Analysis>;
3595
- /** Lists analyses. */
3679
+ }): Request<GoogleCloudContactcenterinsightsV1AuthorizedView>;
3680
+ /** List AuthorizedViewSets */
3596
3681
  list(request?: {
3597
3682
  /** V1 error format. */
3598
3683
  '$.xgafv'?: string;
@@ -3604,17 +3689,19 @@ declare namespace gapi.client {
3604
3689
  callback?: string;
3605
3690
  /** Selector specifying which fields to include in a partial response. */
3606
3691
  fields?: string;
3607
- /** A filter to reduce results to a specific subset. Useful for querying conversations with specific properties. */
3692
+ /** Optional. The filter expression to filter authorized views listed in the response. */
3608
3693
  filter?: string;
3609
3694
  /** 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. */
3610
3695
  key?: string;
3611
3696
  /** OAuth 2.0 token for the current user. */
3612
3697
  oauth_token?: string;
3613
- /** 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. */
3698
+ /** Optional. The order by expression to order authorized views listed in the response. */
3699
+ orderBy?: string;
3700
+ /** 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. */
3614
3701
  pageSize?: number;
3615
- /** 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. */
3702
+ /** 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. */
3616
3703
  pageToken?: string;
3617
- /** Required. The parent resource of the analyses. */
3704
+ /** Required. The parent resource of the AuthorizedViews. If the parent is set to `-`, all AuthorizedViews under the location will be returned. */
3618
3705
  parent: string;
3619
3706
  /** Returns response with indentations and line breaks. */
3620
3707
  prettyPrint?: boolean;
@@ -3624,11 +3711,9 @@ declare namespace gapi.client {
3624
3711
  upload_protocol?: string;
3625
3712
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3626
3713
  uploadType?: string;
3627
- }): Request<GoogleCloudContactcenterinsightsV1ListAnalysesResponse>;
3628
- }
3629
- interface FeedbackLabelsResource {
3630
- /** Create feedback label. */
3631
- create(request: {
3714
+ }): Request<GoogleCloudContactcenterinsightsV1ListAuthorizedViewsResponse>;
3715
+ /** Updates an AuthorizedView. */
3716
+ patch(request: {
3632
3717
  /** V1 error format. */
3633
3718
  '$.xgafv'?: string;
3634
3719
  /** OAuth access token. */
@@ -3637,28 +3722,28 @@ declare namespace gapi.client {
3637
3722
  alt?: string;
3638
3723
  /** JSONP */
3639
3724
  callback?: string;
3640
- /** Optional. The ID of the feedback label to create. If one is not specified it will be generated by the server. */
3641
- feedbackLabelId?: string;
3642
3725
  /** Selector specifying which fields to include in a partial response. */
3643
3726
  fields?: string;
3644
3727
  /** 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. */
3645
3728
  key?: string;
3729
+ /** Identifier. The resource name of the AuthorizedView. Format: projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view} */
3730
+ name: string;
3646
3731
  /** OAuth 2.0 token for the current user. */
3647
3732
  oauth_token?: string;
3648
- /** Required. The parent resource of the feedback label. */
3649
- parent: string;
3650
3733
  /** Returns response with indentations and line breaks. */
3651
3734
  prettyPrint?: boolean;
3652
3735
  /** 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. */
3653
3736
  quotaUser?: string;
3737
+ /** 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` */
3738
+ updateMask?: string;
3654
3739
  /** Upload protocol for media (e.g. "raw", "multipart"). */
3655
3740
  upload_protocol?: string;
3656
3741
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3657
3742
  uploadType?: string;
3658
3743
  /** Request body */
3659
- resource: GoogleCloudContactcenterinsightsV1FeedbackLabel;
3660
- }): Request<GoogleCloudContactcenterinsightsV1FeedbackLabel>;
3661
- create(
3744
+ resource: GoogleCloudContactcenterinsightsV1AuthorizedView;
3745
+ }): Request<GoogleCloudContactcenterinsightsV1AuthorizedView>;
3746
+ patch(
3662
3747
  request: {
3663
3748
  /** V1 error format. */
3664
3749
  '$.xgafv'?: string;
@@ -3668,56 +3753,29 @@ declare namespace gapi.client {
3668
3753
  alt?: string;
3669
3754
  /** JSONP */
3670
3755
  callback?: string;
3671
- /** Optional. The ID of the feedback label to create. If one is not specified it will be generated by the server. */
3672
- feedbackLabelId?: string;
3673
3756
  /** Selector specifying which fields to include in a partial response. */
3674
3757
  fields?: string;
3675
3758
  /** 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. */
3676
3759
  key?: string;
3760
+ /** Identifier. The resource name of the AuthorizedView. Format: projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view} */
3761
+ name: string;
3677
3762
  /** OAuth 2.0 token for the current user. */
3678
3763
  oauth_token?: string;
3679
- /** Required. The parent resource of the feedback label. */
3680
- parent: string;
3681
3764
  /** Returns response with indentations and line breaks. */
3682
3765
  prettyPrint?: boolean;
3683
3766
  /** 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. */
3684
3767
  quotaUser?: string;
3768
+ /** 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` */
3769
+ updateMask?: string;
3685
3770
  /** Upload protocol for media (e.g. "raw", "multipart"). */
3686
3771
  upload_protocol?: string;
3687
3772
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3688
3773
  uploadType?: string;
3689
3774
  },
3690
- body: GoogleCloudContactcenterinsightsV1FeedbackLabel,
3691
- ): Request<GoogleCloudContactcenterinsightsV1FeedbackLabel>;
3692
- /** Delete feedback label. */
3693
- delete(request?: {
3694
- /** V1 error format. */
3695
- '$.xgafv'?: string;
3696
- /** OAuth access token. */
3697
- access_token?: string;
3698
- /** Data format for response. */
3699
- alt?: string;
3700
- /** JSONP */
3701
- callback?: string;
3702
- /** Selector specifying which fields to include in a partial response. */
3703
- fields?: string;
3704
- /** 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. */
3705
- key?: string;
3706
- /** Required. The name of the feedback label to delete. */
3707
- name: string;
3708
- /** OAuth 2.0 token for the current user. */
3709
- oauth_token?: string;
3710
- /** Returns response with indentations and line breaks. */
3711
- prettyPrint?: boolean;
3712
- /** 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. */
3713
- quotaUser?: string;
3714
- /** Upload protocol for media (e.g. "raw", "multipart"). */
3715
- upload_protocol?: string;
3716
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3717
- uploadType?: string;
3718
- }): Request<{}>;
3719
- /** Get feedback label. */
3720
- get(request?: {
3775
+ body: GoogleCloudContactcenterinsightsV1AuthorizedView,
3776
+ ): Request<GoogleCloudContactcenterinsightsV1AuthorizedView>;
3777
+ /** Query metrics. */
3778
+ queryMetrics(request: {
3721
3779
  /** V1 error format. */
3722
3780
  '$.xgafv'?: string;
3723
3781
  /** OAuth access token. */
@@ -3730,8 +3788,8 @@ declare namespace gapi.client {
3730
3788
  fields?: string;
3731
3789
  /** 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. */
3732
3790
  key?: string;
3733
- /** Required. The name of the feedback label to get. */
3734
- name: string;
3791
+ /** Required. The location of the data. "projects/{project}/locations/{location}" */
3792
+ location: string;
3735
3793
  /** OAuth 2.0 token for the current user. */
3736
3794
  oauth_token?: string;
3737
3795
  /** Returns response with indentations and line breaks. */
@@ -3742,9 +3800,40 @@ declare namespace gapi.client {
3742
3800
  upload_protocol?: string;
3743
3801
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3744
3802
  uploadType?: string;
3745
- }): Request<GoogleCloudContactcenterinsightsV1FeedbackLabel>;
3746
- /** List feedback labels. */
3747
- list(request?: {
3803
+ /** Request body */
3804
+ resource: GoogleCloudContactcenterinsightsV1QueryMetricsRequest;
3805
+ }): Request<GoogleLongrunningOperation>;
3806
+ queryMetrics(
3807
+ request: {
3808
+ /** V1 error format. */
3809
+ '$.xgafv'?: string;
3810
+ /** OAuth access token. */
3811
+ access_token?: string;
3812
+ /** Data format for response. */
3813
+ alt?: string;
3814
+ /** JSONP */
3815
+ callback?: string;
3816
+ /** Selector specifying which fields to include in a partial response. */
3817
+ fields?: string;
3818
+ /** 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. */
3819
+ key?: string;
3820
+ /** Required. The location of the data. "projects/{project}/locations/{location}" */
3821
+ location: string;
3822
+ /** OAuth 2.0 token for the current user. */
3823
+ oauth_token?: string;
3824
+ /** Returns response with indentations and line breaks. */
3825
+ prettyPrint?: boolean;
3826
+ /** 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. */
3827
+ quotaUser?: string;
3828
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3829
+ upload_protocol?: string;
3830
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3831
+ uploadType?: string;
3832
+ },
3833
+ body: GoogleCloudContactcenterinsightsV1QueryMetricsRequest,
3834
+ ): Request<GoogleLongrunningOperation>;
3835
+ /** SearchAuthorizedViewSets */
3836
+ search(request?: {
3748
3837
  /** V1 error format. */
3749
3838
  '$.xgafv'?: string;
3750
3839
  /** OAuth access token. */
@@ -3755,59 +3844,65 @@ declare namespace gapi.client {
3755
3844
  callback?: string;
3756
3845
  /** Selector specifying which fields to include in a partial response. */
3757
3846
  fields?: string;
3758
- /** 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 */
3759
- filter?: string;
3760
3847
  /** 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. */
3761
3848
  key?: string;
3762
3849
  /** OAuth 2.0 token for the current user. */
3763
3850
  oauth_token?: string;
3764
- /** 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. */
3851
+ /** Optional. The order by expression to order authorized views listed in the response. */
3852
+ orderBy?: string;
3853
+ /** 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. */
3765
3854
  pageSize?: number;
3766
- /** 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. */
3855
+ /** 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. */
3767
3856
  pageToken?: string;
3768
- /** Required. The parent resource of the feedback labels. */
3857
+ /** Required. The parent resource of the AuthorizedViews. If the parent is set to `-`, all AuthorizedViews under the location will be returned. */
3769
3858
  parent: string;
3770
3859
  /** Returns response with indentations and line breaks. */
3771
3860
  prettyPrint?: boolean;
3861
+ /** Optional. The query expression to search authorized views. */
3862
+ query?: string;
3772
3863
  /** 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. */
3773
3864
  quotaUser?: string;
3774
3865
  /** Upload protocol for media (e.g. "raw", "multipart"). */
3775
3866
  upload_protocol?: string;
3776
3867
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3777
3868
  uploadType?: string;
3778
- }): Request<GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse>;
3779
- /** Update feedback label. */
3780
- patch(request: {
3869
+ }): Request<GoogleCloudContactcenterinsightsV1SearchAuthorizedViewsResponse>;
3870
+ conversations: ConversationsResource;
3871
+ operations: OperationsResource;
3872
+ }
3873
+ interface AuthorizedViewSetsResource {
3874
+ /** Create AuthorizedViewSet */
3875
+ create(request: {
3781
3876
  /** V1 error format. */
3782
3877
  '$.xgafv'?: string;
3783
3878
  /** OAuth access token. */
3784
3879
  access_token?: string;
3785
3880
  /** Data format for response. */
3786
3881
  alt?: string;
3882
+ /** 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 */
3883
+ authorizedViewSetId?: string;
3787
3884
  /** JSONP */
3788
3885
  callback?: string;
3789
3886
  /** Selector specifying which fields to include in a partial response. */
3790
3887
  fields?: string;
3791
3888
  /** 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. */
3792
3889
  key?: string;
3793
- /** Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label} */
3794
- name: string;
3795
3890
  /** OAuth 2.0 token for the current user. */
3796
3891
  oauth_token?: string;
3892
+ /** Required. The parent resource of the AuthorizedViewSet. */
3893
+ parent: string;
3797
3894
  /** Returns response with indentations and line breaks. */
3798
3895
  prettyPrint?: boolean;
3799
3896
  /** 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. */
3800
3897
  quotaUser?: string;
3801
- /** Required. The list of fields to be updated. */
3802
- updateMask?: string;
3803
3898
  /** Upload protocol for media (e.g. "raw", "multipart"). */
3804
3899
  upload_protocol?: string;
3805
3900
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3806
3901
  uploadType?: string;
3807
3902
  /** Request body */
3808
- resource: GoogleCloudContactcenterinsightsV1FeedbackLabel;
3809
- }): Request<GoogleCloudContactcenterinsightsV1FeedbackLabel>;
3810
- patch(
3903
+ resource: GoogleCloudContactcenterinsightsV1AuthorizedViewSet;
3904
+ }): Request<GoogleCloudContactcenterinsightsV1AuthorizedViewSet>;
3905
+ create(
3811
3906
  request: {
3812
3907
  /** V1 error format. */
3813
3908
  '$.xgafv'?: string;
@@ -3815,14 +3910,528 @@ declare namespace gapi.client {
3815
3910
  access_token?: string;
3816
3911
  /** Data format for response. */
3817
3912
  alt?: string;
3913
+ /** 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 */
3914
+ authorizedViewSetId?: string;
3818
3915
  /** JSONP */
3819
3916
  callback?: string;
3820
3917
  /** Selector specifying which fields to include in a partial response. */
3821
3918
  fields?: string;
3822
3919
  /** 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. */
3823
3920
  key?: string;
3824
- /** Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label} */
3825
- name: string;
3921
+ /** OAuth 2.0 token for the current user. */
3922
+ oauth_token?: string;
3923
+ /** Required. The parent resource of the AuthorizedViewSet. */
3924
+ parent: string;
3925
+ /** Returns response with indentations and line breaks. */
3926
+ prettyPrint?: boolean;
3927
+ /** 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. */
3928
+ quotaUser?: string;
3929
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3930
+ upload_protocol?: string;
3931
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3932
+ uploadType?: string;
3933
+ },
3934
+ body: GoogleCloudContactcenterinsightsV1AuthorizedViewSet,
3935
+ ): Request<GoogleCloudContactcenterinsightsV1AuthorizedViewSet>;
3936
+ /** Deletes an AuthorizedViewSet. */
3937
+ delete(request?: {
3938
+ /** V1 error format. */
3939
+ '$.xgafv'?: string;
3940
+ /** OAuth access token. */
3941
+ access_token?: string;
3942
+ /** Data format for response. */
3943
+ alt?: string;
3944
+ /** JSONP */
3945
+ callback?: string;
3946
+ /** Selector specifying which fields to include in a partial response. */
3947
+ fields?: string;
3948
+ /** 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. */
3949
+ force?: boolean;
3950
+ /** 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. */
3951
+ key?: string;
3952
+ /** Required. The name of the AuthorizedViewSet to delete. */
3953
+ name: string;
3954
+ /** OAuth 2.0 token for the current user. */
3955
+ oauth_token?: string;
3956
+ /** Returns response with indentations and line breaks. */
3957
+ prettyPrint?: boolean;
3958
+ /** 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. */
3959
+ quotaUser?: string;
3960
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3961
+ upload_protocol?: string;
3962
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3963
+ uploadType?: string;
3964
+ }): Request<{}>;
3965
+ /** Get AuthorizedViewSet */
3966
+ get(request?: {
3967
+ /** V1 error format. */
3968
+ '$.xgafv'?: string;
3969
+ /** OAuth access token. */
3970
+ access_token?: string;
3971
+ /** Data format for response. */
3972
+ alt?: string;
3973
+ /** JSONP */
3974
+ callback?: string;
3975
+ /** Selector specifying which fields to include in a partial response. */
3976
+ fields?: string;
3977
+ /** 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. */
3978
+ key?: string;
3979
+ /** Required. The name of the AuthorizedViewSet to get. */
3980
+ name: string;
3981
+ /** OAuth 2.0 token for the current user. */
3982
+ oauth_token?: string;
3983
+ /** Returns response with indentations and line breaks. */
3984
+ prettyPrint?: boolean;
3985
+ /** 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. */
3986
+ quotaUser?: string;
3987
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3988
+ upload_protocol?: string;
3989
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3990
+ uploadType?: string;
3991
+ }): Request<GoogleCloudContactcenterinsightsV1AuthorizedViewSet>;
3992
+ /** List AuthorizedViewSets */
3993
+ list(request?: {
3994
+ /** V1 error format. */
3995
+ '$.xgafv'?: string;
3996
+ /** OAuth access token. */
3997
+ access_token?: string;
3998
+ /** Data format for response. */
3999
+ alt?: string;
4000
+ /** JSONP */
4001
+ callback?: string;
4002
+ /** Selector specifying which fields to include in a partial response. */
4003
+ fields?: string;
4004
+ /** Optional. The filter expression to filter authorized view sets listed in the response. */
4005
+ filter?: string;
4006
+ /** 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. */
4007
+ key?: string;
4008
+ /** OAuth 2.0 token for the current user. */
4009
+ oauth_token?: string;
4010
+ /** Optional. The order by expression to order authorized view sets listed in the response. */
4011
+ orderBy?: string;
4012
+ /** 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. */
4013
+ pageSize?: number;
4014
+ /** 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. */
4015
+ pageToken?: string;
4016
+ /** Required. The parent resource of the AuthorizedViewSets. */
4017
+ parent: string;
4018
+ /** Returns response with indentations and line breaks. */
4019
+ prettyPrint?: boolean;
4020
+ /** 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. */
4021
+ quotaUser?: string;
4022
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4023
+ upload_protocol?: string;
4024
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4025
+ uploadType?: string;
4026
+ }): Request<GoogleCloudContactcenterinsightsV1ListAuthorizedViewSetsResponse>;
4027
+ /** Updates an AuthorizedViewSet. */
4028
+ patch(request: {
4029
+ /** V1 error format. */
4030
+ '$.xgafv'?: string;
4031
+ /** OAuth access token. */
4032
+ access_token?: string;
4033
+ /** Data format for response. */
4034
+ alt?: string;
4035
+ /** JSONP */
4036
+ callback?: string;
4037
+ /** Selector specifying which fields to include in a partial response. */
4038
+ fields?: string;
4039
+ /** 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. */
4040
+ key?: string;
4041
+ /** Identifier. The resource name of the AuthorizedViewSet. Format: projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set} */
4042
+ name: string;
4043
+ /** OAuth 2.0 token for the current user. */
4044
+ oauth_token?: string;
4045
+ /** Returns response with indentations and line breaks. */
4046
+ prettyPrint?: boolean;
4047
+ /** 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. */
4048
+ quotaUser?: string;
4049
+ /** 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` */
4050
+ updateMask?: string;
4051
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4052
+ upload_protocol?: string;
4053
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4054
+ uploadType?: string;
4055
+ /** Request body */
4056
+ resource: GoogleCloudContactcenterinsightsV1AuthorizedViewSet;
4057
+ }): Request<GoogleCloudContactcenterinsightsV1AuthorizedViewSet>;
4058
+ patch(
4059
+ request: {
4060
+ /** V1 error format. */
4061
+ '$.xgafv'?: string;
4062
+ /** OAuth access token. */
4063
+ access_token?: string;
4064
+ /** Data format for response. */
4065
+ alt?: string;
4066
+ /** JSONP */
4067
+ callback?: string;
4068
+ /** Selector specifying which fields to include in a partial response. */
4069
+ fields?: string;
4070
+ /** 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. */
4071
+ key?: string;
4072
+ /** Identifier. The resource name of the AuthorizedViewSet. Format: projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set} */
4073
+ name: string;
4074
+ /** OAuth 2.0 token for the current user. */
4075
+ oauth_token?: string;
4076
+ /** Returns response with indentations and line breaks. */
4077
+ prettyPrint?: boolean;
4078
+ /** 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. */
4079
+ quotaUser?: string;
4080
+ /** 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` */
4081
+ updateMask?: string;
4082
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4083
+ upload_protocol?: string;
4084
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4085
+ uploadType?: string;
4086
+ },
4087
+ body: GoogleCloudContactcenterinsightsV1AuthorizedViewSet,
4088
+ ): Request<GoogleCloudContactcenterinsightsV1AuthorizedViewSet>;
4089
+ authorizedViews: AuthorizedViewsResource;
4090
+ }
4091
+ interface AnalysesResource {
4092
+ /** Creates an analysis. The long running operation is done when the analysis has completed. */
4093
+ create(request: {
4094
+ /** V1 error format. */
4095
+ '$.xgafv'?: string;
4096
+ /** OAuth access token. */
4097
+ access_token?: string;
4098
+ /** Data format for response. */
4099
+ alt?: string;
4100
+ /** JSONP */
4101
+ callback?: string;
4102
+ /** Selector specifying which fields to include in a partial response. */
4103
+ fields?: string;
4104
+ /** 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. */
4105
+ key?: string;
4106
+ /** OAuth 2.0 token for the current user. */
4107
+ oauth_token?: string;
4108
+ /** Required. The parent resource of the analysis. */
4109
+ parent: string;
4110
+ /** Returns response with indentations and line breaks. */
4111
+ prettyPrint?: boolean;
4112
+ /** 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. */
4113
+ quotaUser?: string;
4114
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4115
+ upload_protocol?: string;
4116
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4117
+ uploadType?: string;
4118
+ /** Request body */
4119
+ resource: GoogleCloudContactcenterinsightsV1Analysis;
4120
+ }): Request<GoogleLongrunningOperation>;
4121
+ create(
4122
+ request: {
4123
+ /** V1 error format. */
4124
+ '$.xgafv'?: string;
4125
+ /** OAuth access token. */
4126
+ access_token?: string;
4127
+ /** Data format for response. */
4128
+ alt?: string;
4129
+ /** JSONP */
4130
+ callback?: string;
4131
+ /** Selector specifying which fields to include in a partial response. */
4132
+ fields?: string;
4133
+ /** 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. */
4134
+ key?: string;
4135
+ /** OAuth 2.0 token for the current user. */
4136
+ oauth_token?: string;
4137
+ /** Required. The parent resource of the analysis. */
4138
+ parent: string;
4139
+ /** Returns response with indentations and line breaks. */
4140
+ prettyPrint?: boolean;
4141
+ /** 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. */
4142
+ quotaUser?: string;
4143
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4144
+ upload_protocol?: string;
4145
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4146
+ uploadType?: string;
4147
+ },
4148
+ body: GoogleCloudContactcenterinsightsV1Analysis,
4149
+ ): Request<GoogleLongrunningOperation>;
4150
+ /** Deletes an analysis. */
4151
+ delete(request?: {
4152
+ /** V1 error format. */
4153
+ '$.xgafv'?: string;
4154
+ /** OAuth access token. */
4155
+ access_token?: string;
4156
+ /** Data format for response. */
4157
+ alt?: string;
4158
+ /** JSONP */
4159
+ callback?: string;
4160
+ /** Selector specifying which fields to include in a partial response. */
4161
+ fields?: string;
4162
+ /** 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. */
4163
+ key?: string;
4164
+ /** Required. The name of the analysis to delete. */
4165
+ name: string;
4166
+ /** OAuth 2.0 token for the current user. */
4167
+ oauth_token?: string;
4168
+ /** Returns response with indentations and line breaks. */
4169
+ prettyPrint?: boolean;
4170
+ /** 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. */
4171
+ quotaUser?: string;
4172
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4173
+ upload_protocol?: string;
4174
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4175
+ uploadType?: string;
4176
+ }): Request<{}>;
4177
+ /** Gets an analysis. */
4178
+ get(request?: {
4179
+ /** V1 error format. */
4180
+ '$.xgafv'?: string;
4181
+ /** OAuth access token. */
4182
+ access_token?: string;
4183
+ /** Data format for response. */
4184
+ alt?: string;
4185
+ /** JSONP */
4186
+ callback?: string;
4187
+ /** Selector specifying which fields to include in a partial response. */
4188
+ fields?: string;
4189
+ /** 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. */
4190
+ key?: string;
4191
+ /** Required. The name of the analysis to get. */
4192
+ name: string;
4193
+ /** OAuth 2.0 token for the current user. */
4194
+ oauth_token?: string;
4195
+ /** Returns response with indentations and line breaks. */
4196
+ prettyPrint?: boolean;
4197
+ /** 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. */
4198
+ quotaUser?: string;
4199
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4200
+ upload_protocol?: string;
4201
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4202
+ uploadType?: string;
4203
+ }): Request<GoogleCloudContactcenterinsightsV1Analysis>;
4204
+ /** Lists analyses. */
4205
+ list(request?: {
4206
+ /** V1 error format. */
4207
+ '$.xgafv'?: string;
4208
+ /** OAuth access token. */
4209
+ access_token?: string;
4210
+ /** Data format for response. */
4211
+ alt?: string;
4212
+ /** JSONP */
4213
+ callback?: string;
4214
+ /** Selector specifying which fields to include in a partial response. */
4215
+ fields?: string;
4216
+ /** A filter to reduce results to a specific subset. Useful for querying conversations with specific properties. */
4217
+ filter?: string;
4218
+ /** 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. */
4219
+ key?: string;
4220
+ /** OAuth 2.0 token for the current user. */
4221
+ oauth_token?: string;
4222
+ /** 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. */
4223
+ pageSize?: number;
4224
+ /** 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. */
4225
+ pageToken?: string;
4226
+ /** Required. The parent resource of the analyses. */
4227
+ parent: 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
+ }): Request<GoogleCloudContactcenterinsightsV1ListAnalysesResponse>;
4237
+ }
4238
+ interface FeedbackLabelsResource {
4239
+ /** Create feedback label. */
4240
+ create(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
+ /** Optional. The ID of the feedback label to create. If one is not specified it will be generated by the server. */
4250
+ feedbackLabelId?: string;
4251
+ /** Selector specifying which fields to include in a partial response. */
4252
+ fields?: 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
+ /** Required. The parent resource of the feedback label. */
4258
+ parent: string;
4259
+ /** Returns response with indentations and line breaks. */
4260
+ prettyPrint?: boolean;
4261
+ /** 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. */
4262
+ quotaUser?: string;
4263
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4264
+ upload_protocol?: string;
4265
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4266
+ uploadType?: string;
4267
+ /** Request body */
4268
+ resource: GoogleCloudContactcenterinsightsV1FeedbackLabel;
4269
+ }): Request<GoogleCloudContactcenterinsightsV1FeedbackLabel>;
4270
+ create(
4271
+ request: {
4272
+ /** V1 error format. */
4273
+ '$.xgafv'?: string;
4274
+ /** OAuth access token. */
4275
+ access_token?: string;
4276
+ /** Data format for response. */
4277
+ alt?: string;
4278
+ /** JSONP */
4279
+ callback?: string;
4280
+ /** Optional. The ID of the feedback label to create. If one is not specified it will be generated by the server. */
4281
+ feedbackLabelId?: string;
4282
+ /** Selector specifying which fields to include in a partial response. */
4283
+ fields?: string;
4284
+ /** 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. */
4285
+ key?: string;
4286
+ /** OAuth 2.0 token for the current user. */
4287
+ oauth_token?: string;
4288
+ /** Required. The parent resource of the feedback label. */
4289
+ parent: string;
4290
+ /** Returns response with indentations and line breaks. */
4291
+ prettyPrint?: boolean;
4292
+ /** 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. */
4293
+ quotaUser?: string;
4294
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4295
+ upload_protocol?: string;
4296
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4297
+ uploadType?: string;
4298
+ },
4299
+ body: GoogleCloudContactcenterinsightsV1FeedbackLabel,
4300
+ ): Request<GoogleCloudContactcenterinsightsV1FeedbackLabel>;
4301
+ /** Delete feedback label. */
4302
+ delete(request?: {
4303
+ /** V1 error format. */
4304
+ '$.xgafv'?: string;
4305
+ /** OAuth access token. */
4306
+ access_token?: string;
4307
+ /** Data format for response. */
4308
+ alt?: string;
4309
+ /** JSONP */
4310
+ callback?: string;
4311
+ /** Selector specifying which fields to include in a partial response. */
4312
+ fields?: string;
4313
+ /** 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. */
4314
+ key?: string;
4315
+ /** Required. The name of the feedback label to delete. */
4316
+ name: string;
4317
+ /** OAuth 2.0 token for the current user. */
4318
+ oauth_token?: string;
4319
+ /** Returns response with indentations and line breaks. */
4320
+ prettyPrint?: boolean;
4321
+ /** 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. */
4322
+ quotaUser?: string;
4323
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4324
+ upload_protocol?: string;
4325
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4326
+ uploadType?: string;
4327
+ }): Request<{}>;
4328
+ /** Get feedback label. */
4329
+ get(request?: {
4330
+ /** V1 error format. */
4331
+ '$.xgafv'?: string;
4332
+ /** OAuth access token. */
4333
+ access_token?: string;
4334
+ /** Data format for response. */
4335
+ alt?: string;
4336
+ /** JSONP */
4337
+ callback?: string;
4338
+ /** Selector specifying which fields to include in a partial response. */
4339
+ fields?: string;
4340
+ /** 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. */
4341
+ key?: string;
4342
+ /** Required. The name of the feedback label to get. */
4343
+ name: string;
4344
+ /** OAuth 2.0 token for the current user. */
4345
+ oauth_token?: string;
4346
+ /** Returns response with indentations and line breaks. */
4347
+ prettyPrint?: boolean;
4348
+ /** 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. */
4349
+ quotaUser?: string;
4350
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4351
+ upload_protocol?: string;
4352
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4353
+ uploadType?: string;
4354
+ }): Request<GoogleCloudContactcenterinsightsV1FeedbackLabel>;
4355
+ /** List feedback labels. */
4356
+ list(request?: {
4357
+ /** V1 error format. */
4358
+ '$.xgafv'?: string;
4359
+ /** OAuth access token. */
4360
+ access_token?: string;
4361
+ /** Data format for response. */
4362
+ alt?: string;
4363
+ /** JSONP */
4364
+ callback?: string;
4365
+ /** Selector specifying which fields to include in a partial response. */
4366
+ fields?: string;
4367
+ /** 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 */
4368
+ filter?: string;
4369
+ /** 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. */
4370
+ key?: string;
4371
+ /** OAuth 2.0 token for the current user. */
4372
+ oauth_token?: string;
4373
+ /** 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. */
4374
+ pageSize?: number;
4375
+ /** 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. */
4376
+ pageToken?: string;
4377
+ /** Required. The parent resource of the feedback labels. */
4378
+ parent: string;
4379
+ /** Returns response with indentations and line breaks. */
4380
+ prettyPrint?: boolean;
4381
+ /** 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. */
4382
+ quotaUser?: string;
4383
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4384
+ upload_protocol?: string;
4385
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4386
+ uploadType?: string;
4387
+ }): Request<GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse>;
4388
+ /** Update feedback label. */
4389
+ patch(request: {
4390
+ /** V1 error format. */
4391
+ '$.xgafv'?: string;
4392
+ /** OAuth access token. */
4393
+ access_token?: string;
4394
+ /** Data format for response. */
4395
+ alt?: string;
4396
+ /** JSONP */
4397
+ callback?: string;
4398
+ /** Selector specifying which fields to include in a partial response. */
4399
+ fields?: string;
4400
+ /** 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. */
4401
+ key?: string;
4402
+ /** Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label} */
4403
+ name: string;
4404
+ /** OAuth 2.0 token for the current user. */
4405
+ oauth_token?: string;
4406
+ /** Returns response with indentations and line breaks. */
4407
+ prettyPrint?: boolean;
4408
+ /** 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. */
4409
+ quotaUser?: string;
4410
+ /** Required. The list of fields to be updated. */
4411
+ updateMask?: string;
4412
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4413
+ upload_protocol?: string;
4414
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4415
+ uploadType?: string;
4416
+ /** Request body */
4417
+ resource: GoogleCloudContactcenterinsightsV1FeedbackLabel;
4418
+ }): Request<GoogleCloudContactcenterinsightsV1FeedbackLabel>;
4419
+ patch(
4420
+ request: {
4421
+ /** V1 error format. */
4422
+ '$.xgafv'?: string;
4423
+ /** OAuth access token. */
4424
+ access_token?: string;
4425
+ /** Data format for response. */
4426
+ alt?: string;
4427
+ /** JSONP */
4428
+ callback?: string;
4429
+ /** Selector specifying which fields to include in a partial response. */
4430
+ fields?: string;
4431
+ /** 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. */
4432
+ key?: string;
4433
+ /** Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label} */
4434
+ name: string;
3826
4435
  /** OAuth 2.0 token for the current user. */
3827
4436
  oauth_token?: string;
3828
4437
  /** Returns response with indentations and line breaks. */
@@ -3838,10 +4447,703 @@ declare namespace gapi.client {
3838
4447
  },
3839
4448
  body: GoogleCloudContactcenterinsightsV1FeedbackLabel,
3840
4449
  ): Request<GoogleCloudContactcenterinsightsV1FeedbackLabel>;
3841
- }
3842
- interface ConversationsResource {
3843
- /** Analyzes multiple conversations in a single request. */
3844
- bulkAnalyze(request: {
4450
+ }
4451
+ interface ConversationsResource {
4452
+ /** Analyzes multiple conversations in a single request. */
4453
+ bulkAnalyze(request: {
4454
+ /** V1 error format. */
4455
+ '$.xgafv'?: string;
4456
+ /** OAuth access token. */
4457
+ access_token?: string;
4458
+ /** Data format for response. */
4459
+ alt?: string;
4460
+ /** JSONP */
4461
+ callback?: string;
4462
+ /** Selector specifying which fields to include in a partial response. */
4463
+ fields?: string;
4464
+ /** 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. */
4465
+ key?: string;
4466
+ /** OAuth 2.0 token for the current user. */
4467
+ oauth_token?: string;
4468
+ /** Required. The parent resource to create analyses in. */
4469
+ parent: string;
4470
+ /** Returns response with indentations and line breaks. */
4471
+ prettyPrint?: boolean;
4472
+ /** 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. */
4473
+ quotaUser?: string;
4474
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4475
+ upload_protocol?: string;
4476
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4477
+ uploadType?: string;
4478
+ /** Request body */
4479
+ resource: GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest;
4480
+ }): Request<GoogleLongrunningOperation>;
4481
+ bulkAnalyze(
4482
+ request: {
4483
+ /** V1 error format. */
4484
+ '$.xgafv'?: string;
4485
+ /** OAuth access token. */
4486
+ access_token?: string;
4487
+ /** Data format for response. */
4488
+ alt?: string;
4489
+ /** JSONP */
4490
+ callback?: string;
4491
+ /** Selector specifying which fields to include in a partial response. */
4492
+ fields?: string;
4493
+ /** 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. */
4494
+ key?: string;
4495
+ /** OAuth 2.0 token for the current user. */
4496
+ oauth_token?: string;
4497
+ /** Required. The parent resource to create analyses in. */
4498
+ parent: string;
4499
+ /** Returns response with indentations and line breaks. */
4500
+ prettyPrint?: boolean;
4501
+ /** 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. */
4502
+ quotaUser?: string;
4503
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4504
+ upload_protocol?: string;
4505
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4506
+ uploadType?: string;
4507
+ },
4508
+ body: GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest,
4509
+ ): Request<GoogleLongrunningOperation>;
4510
+ /** Deletes multiple conversations in a single request. */
4511
+ bulkDelete(request: {
4512
+ /** V1 error format. */
4513
+ '$.xgafv'?: string;
4514
+ /** OAuth access token. */
4515
+ access_token?: string;
4516
+ /** Data format for response. */
4517
+ alt?: string;
4518
+ /** JSONP */
4519
+ callback?: string;
4520
+ /** Selector specifying which fields to include in a partial response. */
4521
+ fields?: string;
4522
+ /** 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. */
4523
+ key?: string;
4524
+ /** OAuth 2.0 token for the current user. */
4525
+ oauth_token?: string;
4526
+ /** Required. The parent resource to delete conversations from. Format: projects/{project}/locations/{location} */
4527
+ parent: string;
4528
+ /** Returns response with indentations and line breaks. */
4529
+ prettyPrint?: boolean;
4530
+ /** 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. */
4531
+ quotaUser?: string;
4532
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4533
+ upload_protocol?: string;
4534
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4535
+ uploadType?: string;
4536
+ /** Request body */
4537
+ resource: GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest;
4538
+ }): Request<GoogleLongrunningOperation>;
4539
+ bulkDelete(
4540
+ request: {
4541
+ /** V1 error format. */
4542
+ '$.xgafv'?: string;
4543
+ /** OAuth access token. */
4544
+ access_token?: string;
4545
+ /** Data format for response. */
4546
+ alt?: string;
4547
+ /** JSONP */
4548
+ callback?: string;
4549
+ /** Selector specifying which fields to include in a partial response. */
4550
+ fields?: string;
4551
+ /** 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. */
4552
+ key?: string;
4553
+ /** OAuth 2.0 token for the current user. */
4554
+ oauth_token?: string;
4555
+ /** Required. The parent resource to delete conversations from. Format: projects/{project}/locations/{location} */
4556
+ parent: string;
4557
+ /** Returns response with indentations and line breaks. */
4558
+ prettyPrint?: boolean;
4559
+ /** 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. */
4560
+ quotaUser?: string;
4561
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4562
+ upload_protocol?: string;
4563
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4564
+ uploadType?: string;
4565
+ },
4566
+ body: GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest,
4567
+ ): Request<GoogleLongrunningOperation>;
4568
+ /** Gets conversation statistics. */
4569
+ calculateStats(request?: {
4570
+ /** V1 error format. */
4571
+ '$.xgafv'?: string;
4572
+ /** OAuth access token. */
4573
+ access_token?: string;
4574
+ /** Data format for response. */
4575
+ alt?: string;
4576
+ /** JSONP */
4577
+ callback?: string;
4578
+ /** Selector specifying which fields to include in a partial response. */
4579
+ fields?: string;
4580
+ /** A filter to reduce results to a specific subset. This field is useful for getting statistics about conversations with specific properties. */
4581
+ filter?: string;
4582
+ /** 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. */
4583
+ key?: string;
4584
+ /** Required. The location of the conversations. */
4585
+ location: string;
4586
+ /** OAuth 2.0 token for the current user. */
4587
+ oauth_token?: string;
4588
+ /** Returns response with indentations and line breaks. */
4589
+ prettyPrint?: boolean;
4590
+ /** 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. */
4591
+ quotaUser?: string;
4592
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4593
+ upload_protocol?: string;
4594
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4595
+ uploadType?: string;
4596
+ }): Request<GoogleCloudContactcenterinsightsV1CalculateStatsResponse>;
4597
+ /** Creates a conversation. Note that this method does not support audio transcription or redaction. Use `conversations.upload` instead. */
4598
+ create(request: {
4599
+ /** V1 error format. */
4600
+ '$.xgafv'?: string;
4601
+ /** OAuth access token. */
4602
+ access_token?: string;
4603
+ /** Data format for response. */
4604
+ alt?: string;
4605
+ /** JSONP */
4606
+ callback?: string;
4607
+ /** 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-` */
4608
+ conversationId?: string;
4609
+ /** Selector specifying which fields to include in a partial response. */
4610
+ fields?: string;
4611
+ /** 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. */
4612
+ key?: string;
4613
+ /** OAuth 2.0 token for the current user. */
4614
+ oauth_token?: 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
+ /** Request body */
4626
+ resource: GoogleCloudContactcenterinsightsV1Conversation;
4627
+ }): Request<GoogleCloudContactcenterinsightsV1Conversation>;
4628
+ create(
4629
+ request: {
4630
+ /** V1 error format. */
4631
+ '$.xgafv'?: string;
4632
+ /** OAuth access token. */
4633
+ access_token?: string;
4634
+ /** Data format for response. */
4635
+ alt?: string;
4636
+ /** JSONP */
4637
+ callback?: string;
4638
+ /** 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-` */
4639
+ conversationId?: 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 of the conversation. */
4647
+ parent: string;
4648
+ /** Returns response with indentations and line breaks. */
4649
+ prettyPrint?: boolean;
4650
+ /** 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. */
4651
+ quotaUser?: string;
4652
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4653
+ upload_protocol?: string;
4654
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4655
+ uploadType?: string;
4656
+ },
4657
+ body: GoogleCloudContactcenterinsightsV1Conversation,
4658
+ ): Request<GoogleCloudContactcenterinsightsV1Conversation>;
4659
+ /** Deletes a conversation. */
4660
+ delete(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
+ /** 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. */
4672
+ force?: boolean;
4673
+ /** 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. */
4674
+ key?: string;
4675
+ /** Required. The name of the conversation to delete. */
4676
+ name: string;
4677
+ /** OAuth 2.0 token for the current user. */
4678
+ oauth_token?: string;
4679
+ /** Returns response with indentations and line breaks. */
4680
+ prettyPrint?: boolean;
4681
+ /** 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. */
4682
+ quotaUser?: string;
4683
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4684
+ upload_protocol?: string;
4685
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4686
+ uploadType?: string;
4687
+ }): Request<{}>;
4688
+ /** Gets a conversation. */
4689
+ get(request?: {
4690
+ /** V1 error format. */
4691
+ '$.xgafv'?: string;
4692
+ /** OAuth access token. */
4693
+ access_token?: string;
4694
+ /** Data format for response. */
4695
+ alt?: string;
4696
+ /** JSONP */
4697
+ callback?: string;
4698
+ /** Selector specifying which fields to include in a partial response. */
4699
+ fields?: string;
4700
+ /** 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. */
4701
+ key?: string;
4702
+ /** Required. The name of the conversation to get. */
4703
+ name: string;
4704
+ /** OAuth 2.0 token for the current user. */
4705
+ oauth_token?: string;
4706
+ /** Returns response with indentations and line breaks. */
4707
+ prettyPrint?: boolean;
4708
+ /** 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. */
4709
+ quotaUser?: string;
4710
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4711
+ upload_protocol?: string;
4712
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4713
+ uploadType?: string;
4714
+ /** The level of details of the conversation. Default is `FULL`. */
4715
+ view?: string;
4716
+ }): Request<GoogleCloudContactcenterinsightsV1Conversation>;
4717
+ /** Imports conversations and processes them according to the user's configuration. */
4718
+ ingest(request: {
4719
+ /** V1 error format. */
4720
+ '$.xgafv'?: string;
4721
+ /** OAuth access token. */
4722
+ access_token?: string;
4723
+ /** Data format for response. */
4724
+ alt?: string;
4725
+ /** JSONP */
4726
+ callback?: string;
4727
+ /** Selector specifying which fields to include in a partial response. */
4728
+ fields?: string;
4729
+ /** 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. */
4730
+ key?: string;
4731
+ /** OAuth 2.0 token for the current user. */
4732
+ oauth_token?: string;
4733
+ /** Required. The parent resource for new conversations. */
4734
+ parent: string;
4735
+ /** Returns response with indentations and line breaks. */
4736
+ prettyPrint?: boolean;
4737
+ /** 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. */
4738
+ quotaUser?: string;
4739
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4740
+ upload_protocol?: string;
4741
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4742
+ uploadType?: string;
4743
+ /** Request body */
4744
+ resource: GoogleCloudContactcenterinsightsV1IngestConversationsRequest;
4745
+ }): Request<GoogleLongrunningOperation>;
4746
+ ingest(
4747
+ request: {
4748
+ /** V1 error format. */
4749
+ '$.xgafv'?: string;
4750
+ /** OAuth access token. */
4751
+ access_token?: string;
4752
+ /** Data format for response. */
4753
+ alt?: string;
4754
+ /** JSONP */
4755
+ callback?: string;
4756
+ /** Selector specifying which fields to include in a partial response. */
4757
+ fields?: string;
4758
+ /** 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. */
4759
+ key?: string;
4760
+ /** OAuth 2.0 token for the current user. */
4761
+ oauth_token?: string;
4762
+ /** Required. The parent resource for new conversations. */
4763
+ parent: string;
4764
+ /** Returns response with indentations and line breaks. */
4765
+ prettyPrint?: boolean;
4766
+ /** 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. */
4767
+ quotaUser?: string;
4768
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4769
+ upload_protocol?: string;
4770
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4771
+ uploadType?: string;
4772
+ },
4773
+ body: GoogleCloudContactcenterinsightsV1IngestConversationsRequest,
4774
+ ): Request<GoogleLongrunningOperation>;
4775
+ /** Lists conversations. */
4776
+ list(request?: {
4777
+ /** V1 error format. */
4778
+ '$.xgafv'?: string;
4779
+ /** OAuth access token. */
4780
+ access_token?: string;
4781
+ /** Data format for response. */
4782
+ alt?: string;
4783
+ /** JSONP */
4784
+ callback?: string;
4785
+ /** Selector specifying which fields to include in a partial response. */
4786
+ fields?: string;
4787
+ /** A filter to reduce results to a specific subset. Useful for querying conversations with specific properties. */
4788
+ filter?: string;
4789
+ /** 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. */
4790
+ key?: string;
4791
+ /** OAuth 2.0 token for the current user. */
4792
+ oauth_token?: string;
4793
+ /** 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). */
4794
+ orderBy?: string;
4795
+ /** 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. */
4796
+ pageSize?: number;
4797
+ /** 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. */
4798
+ pageToken?: string;
4799
+ /** Required. The parent resource of the conversation. */
4800
+ parent: string;
4801
+ /** Returns response with indentations and line breaks. */
4802
+ prettyPrint?: boolean;
4803
+ /** 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. */
4804
+ quotaUser?: string;
4805
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4806
+ upload_protocol?: string;
4807
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4808
+ uploadType?: string;
4809
+ /** The level of details of the conversation. Default is `BASIC`. */
4810
+ view?: string;
4811
+ }): Request<GoogleCloudContactcenterinsightsV1ListConversationsResponse>;
4812
+ /** Updates a conversation. */
4813
+ patch(request: {
4814
+ /** V1 error format. */
4815
+ '$.xgafv'?: string;
4816
+ /** OAuth access token. */
4817
+ access_token?: string;
4818
+ /** Data format for response. */
4819
+ alt?: string;
4820
+ /** JSONP */
4821
+ callback?: string;
4822
+ /** Selector specifying which fields to include in a partial response. */
4823
+ fields?: string;
4824
+ /** 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. */
4825
+ key?: string;
4826
+ /** Immutable. The resource name of the conversation. Format: projects/{project}/locations/{location}/conversations/{conversation} */
4827
+ name: string;
4828
+ /** OAuth 2.0 token for the current user. */
4829
+ oauth_token?: string;
4830
+ /** Returns response with indentations and line breaks. */
4831
+ prettyPrint?: boolean;
4832
+ /** 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. */
4833
+ quotaUser?: string;
4834
+ /** 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` */
4835
+ updateMask?: string;
4836
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4837
+ upload_protocol?: string;
4838
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4839
+ uploadType?: string;
4840
+ /** Request body */
4841
+ resource: GoogleCloudContactcenterinsightsV1Conversation;
4842
+ }): Request<GoogleCloudContactcenterinsightsV1Conversation>;
4843
+ patch(
4844
+ request: {
4845
+ /** V1 error format. */
4846
+ '$.xgafv'?: string;
4847
+ /** OAuth access token. */
4848
+ access_token?: string;
4849
+ /** Data format for response. */
4850
+ alt?: string;
4851
+ /** JSONP */
4852
+ callback?: string;
4853
+ /** Selector specifying which fields to include in a partial response. */
4854
+ fields?: string;
4855
+ /** 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. */
4856
+ key?: string;
4857
+ /** Immutable. The resource name of the conversation. Format: projects/{project}/locations/{location}/conversations/{conversation} */
4858
+ name: string;
4859
+ /** OAuth 2.0 token for the current user. */
4860
+ oauth_token?: string;
4861
+ /** Returns response with indentations and line breaks. */
4862
+ prettyPrint?: boolean;
4863
+ /** 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. */
4864
+ quotaUser?: string;
4865
+ /** 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` */
4866
+ updateMask?: string;
4867
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4868
+ upload_protocol?: string;
4869
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4870
+ uploadType?: string;
4871
+ },
4872
+ body: GoogleCloudContactcenterinsightsV1Conversation,
4873
+ ): Request<GoogleCloudContactcenterinsightsV1Conversation>;
4874
+ /** Create a long-running conversation upload operation. This method differs from `CreateConversation` by allowing audio transcription and optional DLP redaction. */
4875
+ upload(request: {
4876
+ /** V1 error format. */
4877
+ '$.xgafv'?: string;
4878
+ /** OAuth access token. */
4879
+ access_token?: string;
4880
+ /** Data format for response. */
4881
+ alt?: string;
4882
+ /** JSONP */
4883
+ callback?: string;
4884
+ /** Selector specifying which fields to include in a partial response. */
4885
+ fields?: string;
4886
+ /** 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. */
4887
+ key?: string;
4888
+ /** OAuth 2.0 token for the current user. */
4889
+ oauth_token?: string;
4890
+ /** Required. The parent resource of the conversation. */
4891
+ parent: string;
4892
+ /** Returns response with indentations and line breaks. */
4893
+ prettyPrint?: boolean;
4894
+ /** 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. */
4895
+ quotaUser?: string;
4896
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4897
+ upload_protocol?: string;
4898
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4899
+ uploadType?: string;
4900
+ /** Request body */
4901
+ resource: GoogleCloudContactcenterinsightsV1UploadConversationRequest;
4902
+ }): Request<GoogleLongrunningOperation>;
4903
+ upload(
4904
+ request: {
4905
+ /** V1 error format. */
4906
+ '$.xgafv'?: string;
4907
+ /** OAuth access token. */
4908
+ access_token?: string;
4909
+ /** Data format for response. */
4910
+ alt?: string;
4911
+ /** JSONP */
4912
+ callback?: string;
4913
+ /** Selector specifying which fields to include in a partial response. */
4914
+ fields?: string;
4915
+ /** 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. */
4916
+ key?: string;
4917
+ /** OAuth 2.0 token for the current user. */
4918
+ oauth_token?: string;
4919
+ /** Required. The parent resource of the conversation. */
4920
+ parent: string;
4921
+ /** Returns response with indentations and line breaks. */
4922
+ prettyPrint?: boolean;
4923
+ /** 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. */
4924
+ quotaUser?: string;
4925
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4926
+ upload_protocol?: string;
4927
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4928
+ uploadType?: string;
4929
+ },
4930
+ body: GoogleCloudContactcenterinsightsV1UploadConversationRequest,
4931
+ ): Request<GoogleLongrunningOperation>;
4932
+ analyses: AnalysesResource;
4933
+ feedbackLabels: FeedbackLabelsResource;
4934
+ }
4935
+ interface AnalysesResource {
4936
+ /** Creates an analysis. The long running operation is done when the analysis has completed. */
4937
+ create(request: {
4938
+ /** V1 error format. */
4939
+ '$.xgafv'?: string;
4940
+ /** OAuth access token. */
4941
+ access_token?: string;
4942
+ /** Data format for response. */
4943
+ alt?: string;
4944
+ /** JSONP */
4945
+ callback?: string;
4946
+ /** Selector specifying which fields to include in a partial response. */
4947
+ fields?: string;
4948
+ /** 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. */
4949
+ key?: string;
4950
+ /** OAuth 2.0 token for the current user. */
4951
+ oauth_token?: string;
4952
+ /** Required. The parent resource of the analysis. */
4953
+ parent: string;
4954
+ /** Returns response with indentations and line breaks. */
4955
+ prettyPrint?: boolean;
4956
+ /** 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. */
4957
+ quotaUser?: string;
4958
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4959
+ upload_protocol?: string;
4960
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4961
+ uploadType?: string;
4962
+ /** Request body */
4963
+ resource: GoogleCloudContactcenterinsightsV1Analysis;
4964
+ }): Request<GoogleLongrunningOperation>;
4965
+ create(
4966
+ request: {
4967
+ /** V1 error format. */
4968
+ '$.xgafv'?: string;
4969
+ /** OAuth access token. */
4970
+ access_token?: string;
4971
+ /** Data format for response. */
4972
+ alt?: string;
4973
+ /** JSONP */
4974
+ callback?: string;
4975
+ /** Selector specifying which fields to include in a partial response. */
4976
+ fields?: string;
4977
+ /** 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. */
4978
+ key?: string;
4979
+ /** OAuth 2.0 token for the current user. */
4980
+ oauth_token?: string;
4981
+ /** Required. The parent resource of the analysis. */
4982
+ parent: string;
4983
+ /** Returns response with indentations and line breaks. */
4984
+ prettyPrint?: boolean;
4985
+ /** 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. */
4986
+ quotaUser?: string;
4987
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4988
+ upload_protocol?: string;
4989
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4990
+ uploadType?: string;
4991
+ },
4992
+ body: GoogleCloudContactcenterinsightsV1Analysis,
4993
+ ): Request<GoogleLongrunningOperation>;
4994
+ /** Deletes an analysis. */
4995
+ delete(request?: {
4996
+ /** V1 error format. */
4997
+ '$.xgafv'?: string;
4998
+ /** OAuth access token. */
4999
+ access_token?: string;
5000
+ /** Data format for response. */
5001
+ alt?: string;
5002
+ /** JSONP */
5003
+ callback?: string;
5004
+ /** Selector specifying which fields to include in a partial response. */
5005
+ fields?: string;
5006
+ /** 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. */
5007
+ key?: string;
5008
+ /** Required. The name of the analysis to delete. */
5009
+ name: string;
5010
+ /** OAuth 2.0 token for the current user. */
5011
+ oauth_token?: string;
5012
+ /** Returns response with indentations and line breaks. */
5013
+ prettyPrint?: boolean;
5014
+ /** 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. */
5015
+ quotaUser?: string;
5016
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5017
+ upload_protocol?: string;
5018
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5019
+ uploadType?: string;
5020
+ }): Request<{}>;
5021
+ /** Gets an analysis. */
5022
+ get(request?: {
5023
+ /** V1 error format. */
5024
+ '$.xgafv'?: string;
5025
+ /** OAuth access token. */
5026
+ access_token?: string;
5027
+ /** Data format for response. */
5028
+ alt?: string;
5029
+ /** JSONP */
5030
+ callback?: string;
5031
+ /** Selector specifying which fields to include in a partial response. */
5032
+ fields?: string;
5033
+ /** 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. */
5034
+ key?: string;
5035
+ /** Required. The name of the analysis to get. */
5036
+ name: string;
5037
+ /** OAuth 2.0 token for the current user. */
5038
+ oauth_token?: string;
5039
+ /** Returns response with indentations and line breaks. */
5040
+ prettyPrint?: boolean;
5041
+ /** 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. */
5042
+ quotaUser?: string;
5043
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5044
+ upload_protocol?: string;
5045
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5046
+ uploadType?: string;
5047
+ }): Request<GoogleCloudContactcenterinsightsV1Analysis>;
5048
+ /** Lists analyses. */
5049
+ list(request?: {
5050
+ /** V1 error format. */
5051
+ '$.xgafv'?: string;
5052
+ /** OAuth access token. */
5053
+ access_token?: string;
5054
+ /** Data format for response. */
5055
+ alt?: string;
5056
+ /** JSONP */
5057
+ callback?: string;
5058
+ /** Selector specifying which fields to include in a partial response. */
5059
+ fields?: string;
5060
+ /** A filter to reduce results to a specific subset. Useful for querying conversations with specific properties. */
5061
+ filter?: string;
5062
+ /** 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. */
5063
+ key?: string;
5064
+ /** OAuth 2.0 token for the current user. */
5065
+ oauth_token?: string;
5066
+ /** 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. */
5067
+ pageSize?: number;
5068
+ /** 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. */
5069
+ pageToken?: string;
5070
+ /** Required. The parent resource of the analyses. */
5071
+ parent: string;
5072
+ /** Returns response with indentations and line breaks. */
5073
+ prettyPrint?: boolean;
5074
+ /** 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. */
5075
+ quotaUser?: string;
5076
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5077
+ upload_protocol?: string;
5078
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5079
+ uploadType?: string;
5080
+ }): Request<GoogleCloudContactcenterinsightsV1ListAnalysesResponse>;
5081
+ }
5082
+ interface FeedbackLabelsResource {
5083
+ /** Create feedback label. */
5084
+ create(request: {
5085
+ /** V1 error format. */
5086
+ '$.xgafv'?: string;
5087
+ /** OAuth access token. */
5088
+ access_token?: string;
5089
+ /** Data format for response. */
5090
+ alt?: string;
5091
+ /** JSONP */
5092
+ callback?: string;
5093
+ /** Optional. The ID of the feedback label to create. If one is not specified it will be generated by the server. */
5094
+ feedbackLabelId?: string;
5095
+ /** Selector specifying which fields to include in a partial response. */
5096
+ fields?: string;
5097
+ /** 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. */
5098
+ key?: string;
5099
+ /** OAuth 2.0 token for the current user. */
5100
+ oauth_token?: string;
5101
+ /** Required. The parent resource of the feedback label. */
5102
+ parent: string;
5103
+ /** Returns response with indentations and line breaks. */
5104
+ prettyPrint?: boolean;
5105
+ /** 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. */
5106
+ quotaUser?: string;
5107
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5108
+ upload_protocol?: string;
5109
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5110
+ uploadType?: string;
5111
+ /** Request body */
5112
+ resource: GoogleCloudContactcenterinsightsV1FeedbackLabel;
5113
+ }): Request<GoogleCloudContactcenterinsightsV1FeedbackLabel>;
5114
+ create(
5115
+ request: {
5116
+ /** V1 error format. */
5117
+ '$.xgafv'?: string;
5118
+ /** OAuth access token. */
5119
+ access_token?: string;
5120
+ /** Data format for response. */
5121
+ alt?: string;
5122
+ /** JSONP */
5123
+ callback?: string;
5124
+ /** Optional. The ID of the feedback label to create. If one is not specified it will be generated by the server. */
5125
+ feedbackLabelId?: string;
5126
+ /** Selector specifying which fields to include in a partial response. */
5127
+ fields?: string;
5128
+ /** 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. */
5129
+ key?: string;
5130
+ /** OAuth 2.0 token for the current user. */
5131
+ oauth_token?: string;
5132
+ /** Required. The parent resource of the feedback label. */
5133
+ parent: string;
5134
+ /** Returns response with indentations and line breaks. */
5135
+ prettyPrint?: boolean;
5136
+ /** 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. */
5137
+ quotaUser?: string;
5138
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5139
+ upload_protocol?: string;
5140
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5141
+ uploadType?: string;
5142
+ },
5143
+ body: GoogleCloudContactcenterinsightsV1FeedbackLabel,
5144
+ ): Request<GoogleCloudContactcenterinsightsV1FeedbackLabel>;
5145
+ /** Delete feedback label. */
5146
+ delete(request?: {
3845
5147
  /** V1 error format. */
3846
5148
  '$.xgafv'?: string;
3847
5149
  /** OAuth access token. */
@@ -3854,9 +5156,69 @@ declare namespace gapi.client {
3854
5156
  fields?: string;
3855
5157
  /** 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. */
3856
5158
  key?: string;
5159
+ /** Required. The name of the feedback label to delete. */
5160
+ name: string;
3857
5161
  /** OAuth 2.0 token for the current user. */
3858
5162
  oauth_token?: string;
3859
- /** Required. The parent resource to create analyses in. */
5163
+ /** Returns response with indentations and line breaks. */
5164
+ prettyPrint?: boolean;
5165
+ /** 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. */
5166
+ quotaUser?: string;
5167
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5168
+ upload_protocol?: string;
5169
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5170
+ uploadType?: string;
5171
+ }): Request<{}>;
5172
+ /** Get feedback label. */
5173
+ get(request?: {
5174
+ /** V1 error format. */
5175
+ '$.xgafv'?: string;
5176
+ /** OAuth access token. */
5177
+ access_token?: string;
5178
+ /** Data format for response. */
5179
+ alt?: string;
5180
+ /** JSONP */
5181
+ callback?: string;
5182
+ /** Selector specifying which fields to include in a partial response. */
5183
+ fields?: string;
5184
+ /** 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. */
5185
+ key?: string;
5186
+ /** Required. The name of the feedback label to get. */
5187
+ name: string;
5188
+ /** OAuth 2.0 token for the current user. */
5189
+ oauth_token?: string;
5190
+ /** Returns response with indentations and line breaks. */
5191
+ prettyPrint?: boolean;
5192
+ /** 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. */
5193
+ quotaUser?: string;
5194
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5195
+ upload_protocol?: string;
5196
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5197
+ uploadType?: string;
5198
+ }): Request<GoogleCloudContactcenterinsightsV1FeedbackLabel>;
5199
+ /** List feedback labels. */
5200
+ list(request?: {
5201
+ /** V1 error format. */
5202
+ '$.xgafv'?: string;
5203
+ /** OAuth access token. */
5204
+ access_token?: string;
5205
+ /** Data format for response. */
5206
+ alt?: string;
5207
+ /** JSONP */
5208
+ callback?: string;
5209
+ /** Selector specifying which fields to include in a partial response. */
5210
+ fields?: string;
5211
+ /** 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 */
5212
+ filter?: string;
5213
+ /** 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. */
5214
+ key?: string;
5215
+ /** OAuth 2.0 token for the current user. */
5216
+ oauth_token?: string;
5217
+ /** 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. */
5218
+ pageSize?: number;
5219
+ /** 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. */
5220
+ pageToken?: string;
5221
+ /** Required. The parent resource of the feedback labels. */
3860
5222
  parent: string;
3861
5223
  /** Returns response with indentations and line breaks. */
3862
5224
  prettyPrint?: boolean;
@@ -3866,10 +5228,39 @@ declare namespace gapi.client {
3866
5228
  upload_protocol?: string;
3867
5229
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3868
5230
  uploadType?: string;
5231
+ }): Request<GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse>;
5232
+ /** Update feedback label. */
5233
+ patch(request: {
5234
+ /** V1 error format. */
5235
+ '$.xgafv'?: string;
5236
+ /** OAuth access token. */
5237
+ access_token?: string;
5238
+ /** Data format for response. */
5239
+ alt?: string;
5240
+ /** JSONP */
5241
+ callback?: string;
5242
+ /** Selector specifying which fields to include in a partial response. */
5243
+ fields?: string;
5244
+ /** 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. */
5245
+ key?: string;
5246
+ /** Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label} */
5247
+ name: string;
5248
+ /** OAuth 2.0 token for the current user. */
5249
+ oauth_token?: string;
5250
+ /** Returns response with indentations and line breaks. */
5251
+ prettyPrint?: boolean;
5252
+ /** 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. */
5253
+ quotaUser?: string;
5254
+ /** Required. The list of fields to be updated. */
5255
+ updateMask?: string;
5256
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5257
+ upload_protocol?: string;
5258
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5259
+ uploadType?: string;
3869
5260
  /** Request body */
3870
- resource: GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest;
3871
- }): Request<GoogleLongrunningOperation>;
3872
- bulkAnalyze(
5261
+ resource: GoogleCloudContactcenterinsightsV1FeedbackLabel;
5262
+ }): Request<GoogleCloudContactcenterinsightsV1FeedbackLabel>;
5263
+ patch(
3873
5264
  request: {
3874
5265
  /** V1 error format. */
3875
5266
  '$.xgafv'?: string;
@@ -3883,23 +5274,27 @@ declare namespace gapi.client {
3883
5274
  fields?: string;
3884
5275
  /** 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. */
3885
5276
  key?: string;
5277
+ /** Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label} */
5278
+ name: string;
3886
5279
  /** OAuth 2.0 token for the current user. */
3887
5280
  oauth_token?: string;
3888
- /** Required. The parent resource to create analyses in. */
3889
- parent: string;
3890
5281
  /** Returns response with indentations and line breaks. */
3891
5282
  prettyPrint?: boolean;
3892
5283
  /** 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. */
3893
5284
  quotaUser?: string;
5285
+ /** Required. The list of fields to be updated. */
5286
+ updateMask?: string;
3894
5287
  /** Upload protocol for media (e.g. "raw", "multipart"). */
3895
5288
  upload_protocol?: string;
3896
5289
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3897
5290
  uploadType?: string;
3898
5291
  },
3899
- body: GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest,
3900
- ): Request<GoogleLongrunningOperation>;
3901
- /** Deletes multiple conversations in a single request. */
3902
- bulkDelete(request: {
5292
+ body: GoogleCloudContactcenterinsightsV1FeedbackLabel,
5293
+ ): Request<GoogleCloudContactcenterinsightsV1FeedbackLabel>;
5294
+ }
5295
+ interface ConversationsResource {
5296
+ /** Analyzes multiple conversations in a single request. */
5297
+ bulkAnalyze(request: {
3903
5298
  /** V1 error format. */
3904
5299
  '$.xgafv'?: string;
3905
5300
  /** OAuth access token. */
@@ -3914,7 +5309,7 @@ declare namespace gapi.client {
3914
5309
  key?: string;
3915
5310
  /** OAuth 2.0 token for the current user. */
3916
5311
  oauth_token?: string;
3917
- /** Required. The parent resource to delete conversations from. Format: projects/{project}/locations/{location} */
5312
+ /** Required. The parent resource to create analyses in. */
3918
5313
  parent: string;
3919
5314
  /** Returns response with indentations and line breaks. */
3920
5315
  prettyPrint?: boolean;
@@ -3925,9 +5320,9 @@ declare namespace gapi.client {
3925
5320
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3926
5321
  uploadType?: string;
3927
5322
  /** Request body */
3928
- resource: GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest;
5323
+ resource: GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest;
3929
5324
  }): Request<GoogleLongrunningOperation>;
3930
- bulkDelete(
5325
+ bulkAnalyze(
3931
5326
  request: {
3932
5327
  /** V1 error format. */
3933
5328
  '$.xgafv'?: string;
@@ -3943,7 +5338,7 @@ declare namespace gapi.client {
3943
5338
  key?: string;
3944
5339
  /** OAuth 2.0 token for the current user. */
3945
5340
  oauth_token?: string;
3946
- /** Required. The parent resource to delete conversations from. Format: projects/{project}/locations/{location} */
5341
+ /** Required. The parent resource to create analyses in. */
3947
5342
  parent: string;
3948
5343
  /** Returns response with indentations and line breaks. */
3949
5344
  prettyPrint?: boolean;
@@ -3954,10 +5349,10 @@ declare namespace gapi.client {
3954
5349
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3955
5350
  uploadType?: string;
3956
5351
  },
3957
- body: GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest,
5352
+ body: GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest,
3958
5353
  ): Request<GoogleLongrunningOperation>;
3959
- /** Gets conversation statistics. */
3960
- calculateStats(request?: {
5354
+ /** Deletes multiple conversations in a single request. */
5355
+ bulkDelete(request: {
3961
5356
  /** V1 error format. */
3962
5357
  '$.xgafv'?: string;
3963
5358
  /** OAuth access token. */
@@ -3968,14 +5363,12 @@ declare namespace gapi.client {
3968
5363
  callback?: string;
3969
5364
  /** Selector specifying which fields to include in a partial response. */
3970
5365
  fields?: string;
3971
- /** A filter to reduce results to a specific subset. This field is useful for getting statistics about conversations with specific properties. */
3972
- filter?: string;
3973
5366
  /** 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. */
3974
5367
  key?: string;
3975
- /** Required. The location of the conversations. */
3976
- location: string;
3977
5368
  /** OAuth 2.0 token for the current user. */
3978
5369
  oauth_token?: string;
5370
+ /** Required. The parent resource to delete conversations from. Format: projects/{project}/locations/{location} */
5371
+ parent: string;
3979
5372
  /** Returns response with indentations and line breaks. */
3980
5373
  prettyPrint?: boolean;
3981
5374
  /** 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. */
@@ -3984,9 +5377,40 @@ declare namespace gapi.client {
3984
5377
  upload_protocol?: string;
3985
5378
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3986
5379
  uploadType?: string;
3987
- }): Request<GoogleCloudContactcenterinsightsV1CalculateStatsResponse>;
3988
- /** Creates a conversation. Note that this method does not support audio transcription or redaction. Use `conversations.upload` instead. */
3989
- create(request: {
5380
+ /** Request body */
5381
+ resource: GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest;
5382
+ }): Request<GoogleLongrunningOperation>;
5383
+ bulkDelete(
5384
+ request: {
5385
+ /** V1 error format. */
5386
+ '$.xgafv'?: string;
5387
+ /** OAuth access token. */
5388
+ access_token?: string;
5389
+ /** Data format for response. */
5390
+ alt?: string;
5391
+ /** JSONP */
5392
+ callback?: string;
5393
+ /** Selector specifying which fields to include in a partial response. */
5394
+ fields?: string;
5395
+ /** 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. */
5396
+ key?: string;
5397
+ /** OAuth 2.0 token for the current user. */
5398
+ oauth_token?: string;
5399
+ /** Required. The parent resource to delete conversations from. Format: projects/{project}/locations/{location} */
5400
+ parent: string;
5401
+ /** Returns response with indentations and line breaks. */
5402
+ prettyPrint?: boolean;
5403
+ /** 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. */
5404
+ quotaUser?: string;
5405
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5406
+ upload_protocol?: string;
5407
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5408
+ uploadType?: string;
5409
+ },
5410
+ body: GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest,
5411
+ ): Request<GoogleLongrunningOperation>;
5412
+ /** Gets conversation statistics. */
5413
+ calculateStats(request: {
3990
5414
  /** V1 error format. */
3991
5415
  '$.xgafv'?: string;
3992
5416
  /** OAuth access token. */
@@ -3995,16 +5419,14 @@ declare namespace gapi.client {
3995
5419
  alt?: string;
3996
5420
  /** JSONP */
3997
5421
  callback?: string;
3998
- /** 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-` */
3999
- conversationId?: string;
4000
5422
  /** Selector specifying which fields to include in a partial response. */
4001
5423
  fields?: string;
4002
5424
  /** 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. */
4003
5425
  key?: string;
5426
+ /** Required. The location of the conversations. */
5427
+ location: string;
4004
5428
  /** OAuth 2.0 token for the current user. */
4005
5429
  oauth_token?: string;
4006
- /** Required. The parent resource of the conversation. */
4007
- parent: string;
4008
5430
  /** Returns response with indentations and line breaks. */
4009
5431
  prettyPrint?: boolean;
4010
5432
  /** 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. */
@@ -4014,9 +5436,9 @@ declare namespace gapi.client {
4014
5436
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4015
5437
  uploadType?: string;
4016
5438
  /** Request body */
4017
- resource: GoogleCloudContactcenterinsightsV1Conversation;
4018
- }): Request<GoogleCloudContactcenterinsightsV1Conversation>;
4019
- create(
5439
+ resource: GoogleCloudContactcenterinsightsV1CalculateStatsRequest;
5440
+ }): Request<GoogleCloudContactcenterinsightsV1CalculateStatsResponse>;
5441
+ calculateStats(
4020
5442
  request: {
4021
5443
  /** V1 error format. */
4022
5444
  '$.xgafv'?: string;
@@ -4026,16 +5448,14 @@ declare namespace gapi.client {
4026
5448
  alt?: string;
4027
5449
  /** JSONP */
4028
5450
  callback?: string;
4029
- /** 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-` */
4030
- conversationId?: string;
4031
5451
  /** Selector specifying which fields to include in a partial response. */
4032
5452
  fields?: string;
4033
5453
  /** 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. */
4034
5454
  key?: string;
5455
+ /** Required. The location of the conversations. */
5456
+ location: string;
4035
5457
  /** OAuth 2.0 token for the current user. */
4036
5458
  oauth_token?: string;
4037
- /** Required. The parent resource of the conversation. */
4038
- parent: string;
4039
5459
  /** Returns response with indentations and line breaks. */
4040
5460
  prettyPrint?: boolean;
4041
5461
  /** 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. */
@@ -4045,8 +5465,8 @@ declare namespace gapi.client {
4045
5465
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4046
5466
  uploadType?: string;
4047
5467
  },
4048
- body: GoogleCloudContactcenterinsightsV1Conversation,
4049
- ): Request<GoogleCloudContactcenterinsightsV1Conversation>;
5468
+ body: GoogleCloudContactcenterinsightsV1CalculateStatsRequest,
5469
+ ): Request<GoogleCloudContactcenterinsightsV1CalculateStatsResponse>;
4050
5470
  /** Deletes a conversation. */
4051
5471
  delete(request?: {
4052
5472
  /** V1 error format. */
@@ -4200,8 +5620,12 @@ declare namespace gapi.client {
4200
5620
  /** The level of details of the conversation. Default is `BASIC`. */
4201
5621
  view?: string;
4202
5622
  }): Request<GoogleCloudContactcenterinsightsV1ListConversationsResponse>;
4203
- /** Updates a conversation. */
4204
- patch(request: {
5623
+ analyses: AnalysesResource;
5624
+ feedbackLabels: FeedbackLabelsResource;
5625
+ }
5626
+ interface InsightsdataResource {
5627
+ /** Export insights data to a destination defined in the request body. */
5628
+ export(request: {
4205
5629
  /** V1 error format. */
4206
5630
  '$.xgafv'?: string;
4207
5631
  /** OAuth access token. */
@@ -4214,24 +5638,22 @@ declare namespace gapi.client {
4214
5638
  fields?: string;
4215
5639
  /** 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. */
4216
5640
  key?: string;
4217
- /** Immutable. The resource name of the conversation. Format: projects/{project}/locations/{location}/conversations/{conversation} */
4218
- name: string;
4219
5641
  /** OAuth 2.0 token for the current user. */
4220
5642
  oauth_token?: string;
5643
+ /** Required. The parent resource to export data from. */
5644
+ parent: string;
4221
5645
  /** Returns response with indentations and line breaks. */
4222
5646
  prettyPrint?: boolean;
4223
5647
  /** 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. */
4224
5648
  quotaUser?: string;
4225
- /** 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` */
4226
- updateMask?: string;
4227
5649
  /** Upload protocol for media (e.g. "raw", "multipart"). */
4228
5650
  upload_protocol?: string;
4229
5651
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4230
5652
  uploadType?: string;
4231
5653
  /** Request body */
4232
- resource: GoogleCloudContactcenterinsightsV1Conversation;
4233
- }): Request<GoogleCloudContactcenterinsightsV1Conversation>;
4234
- patch(
5654
+ resource: GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest;
5655
+ }): Request<GoogleLongrunningOperation>;
5656
+ export(
4235
5657
  request: {
4236
5658
  /** V1 error format. */
4237
5659
  '$.xgafv'?: string;
@@ -4245,25 +5667,25 @@ declare namespace gapi.client {
4245
5667
  fields?: string;
4246
5668
  /** 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. */
4247
5669
  key?: string;
4248
- /** Immutable. The resource name of the conversation. Format: projects/{project}/locations/{location}/conversations/{conversation} */
4249
- name: string;
4250
5670
  /** OAuth 2.0 token for the current user. */
4251
5671
  oauth_token?: string;
5672
+ /** Required. The parent resource to export data from. */
5673
+ parent: string;
4252
5674
  /** Returns response with indentations and line breaks. */
4253
5675
  prettyPrint?: boolean;
4254
5676
  /** 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. */
4255
5677
  quotaUser?: string;
4256
- /** 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` */
4257
- updateMask?: string;
4258
5678
  /** Upload protocol for media (e.g. "raw", "multipart"). */
4259
5679
  upload_protocol?: string;
4260
5680
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4261
5681
  uploadType?: string;
4262
5682
  },
4263
- body: GoogleCloudContactcenterinsightsV1Conversation,
4264
- ): Request<GoogleCloudContactcenterinsightsV1Conversation>;
4265
- /** Create a long-running conversation upload operation. This method differs from `CreateConversation` by allowing audio transcription and optional DLP redaction. */
4266
- upload(request: {
5683
+ body: GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest,
5684
+ ): Request<GoogleLongrunningOperation>;
5685
+ }
5686
+ interface DatasetsResource {
5687
+ /** Delete feedback labels in bulk using a filter. */
5688
+ bulkDeleteFeedbackLabels(request: {
4267
5689
  /** V1 error format. */
4268
5690
  '$.xgafv'?: string;
4269
5691
  /** OAuth access token. */
@@ -4278,7 +5700,7 @@ declare namespace gapi.client {
4278
5700
  key?: string;
4279
5701
  /** OAuth 2.0 token for the current user. */
4280
5702
  oauth_token?: string;
4281
- /** Required. The parent resource of the conversation. */
5703
+ /** Required. The parent resource for new feedback labels. */
4282
5704
  parent: string;
4283
5705
  /** Returns response with indentations and line breaks. */
4284
5706
  prettyPrint?: boolean;
@@ -4289,9 +5711,9 @@ declare namespace gapi.client {
4289
5711
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4290
5712
  uploadType?: string;
4291
5713
  /** Request body */
4292
- resource: GoogleCloudContactcenterinsightsV1UploadConversationRequest;
5714
+ resource: GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsRequest;
4293
5715
  }): Request<GoogleLongrunningOperation>;
4294
- upload(
5716
+ bulkDeleteFeedbackLabels(
4295
5717
  request: {
4296
5718
  /** V1 error format. */
4297
5719
  '$.xgafv'?: string;
@@ -4307,7 +5729,7 @@ declare namespace gapi.client {
4307
5729
  key?: string;
4308
5730
  /** OAuth 2.0 token for the current user. */
4309
5731
  oauth_token?: string;
4310
- /** Required. The parent resource of the conversation. */
5732
+ /** Required. The parent resource for new feedback labels. */
4311
5733
  parent: string;
4312
5734
  /** Returns response with indentations and line breaks. */
4313
5735
  prettyPrint?: boolean;
@@ -4318,14 +5740,10 @@ declare namespace gapi.client {
4318
5740
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4319
5741
  uploadType?: string;
4320
5742
  },
4321
- body: GoogleCloudContactcenterinsightsV1UploadConversationRequest,
5743
+ body: GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsRequest,
4322
5744
  ): Request<GoogleLongrunningOperation>;
4323
- analyses: AnalysesResource;
4324
- feedbackLabels: FeedbackLabelsResource;
4325
- }
4326
- interface ConversationsResource {
4327
- /** Gets conversation statistics. */
4328
- calculateStats(request: {
5745
+ /** Download feedback labels in bulk from an external source. Currently supports exporting Quality AI example conversations with transcripts and question bodies. */
5746
+ bulkDownloadFeedbackLabels(request: {
4329
5747
  /** V1 error format. */
4330
5748
  '$.xgafv'?: string;
4331
5749
  /** OAuth access token. */
@@ -4338,10 +5756,10 @@ declare namespace gapi.client {
4338
5756
  fields?: string;
4339
5757
  /** 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. */
4340
5758
  key?: string;
4341
- /** Required. The location of the conversations. */
4342
- location: string;
4343
5759
  /** OAuth 2.0 token for the current user. */
4344
5760
  oauth_token?: string;
5761
+ /** Required. The parent resource for new feedback labels. */
5762
+ parent: string;
4345
5763
  /** Returns response with indentations and line breaks. */
4346
5764
  prettyPrint?: boolean;
4347
5765
  /** 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. */
@@ -4351,9 +5769,9 @@ declare namespace gapi.client {
4351
5769
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4352
5770
  uploadType?: string;
4353
5771
  /** Request body */
4354
- resource: GoogleCloudContactcenterinsightsV1CalculateStatsRequest;
4355
- }): Request<GoogleCloudContactcenterinsightsV1CalculateStatsResponse>;
4356
- calculateStats(
5772
+ resource: GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequest;
5773
+ }): Request<GoogleLongrunningOperation>;
5774
+ bulkDownloadFeedbackLabels(
4357
5775
  request: {
4358
5776
  /** V1 error format. */
4359
5777
  '$.xgafv'?: string;
@@ -4367,10 +5785,10 @@ declare namespace gapi.client {
4367
5785
  fields?: string;
4368
5786
  /** 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. */
4369
5787
  key?: string;
4370
- /** Required. The location of the conversations. */
4371
- location: string;
4372
5788
  /** OAuth 2.0 token for the current user. */
4373
5789
  oauth_token?: string;
5790
+ /** Required. The parent resource for new feedback labels. */
5791
+ parent: string;
4374
5792
  /** Returns response with indentations and line breaks. */
4375
5793
  prettyPrint?: boolean;
4376
5794
  /** 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. */
@@ -4380,68 +5798,10 @@ declare namespace gapi.client {
4380
5798
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4381
5799
  uploadType?: string;
4382
5800
  },
4383
- body: GoogleCloudContactcenterinsightsV1CalculateStatsRequest,
4384
- ): Request<GoogleCloudContactcenterinsightsV1CalculateStatsResponse>;
4385
- /** Deletes a conversation. */
4386
- delete(request?: {
4387
- /** V1 error format. */
4388
- '$.xgafv'?: string;
4389
- /** OAuth access token. */
4390
- access_token?: string;
4391
- /** Data format for response. */
4392
- alt?: string;
4393
- /** JSONP */
4394
- callback?: string;
4395
- /** Selector specifying which fields to include in a partial response. */
4396
- fields?: string;
4397
- /** 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. */
4398
- force?: boolean;
4399
- /** 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. */
4400
- key?: string;
4401
- /** Required. The name of the conversation to delete. */
4402
- name: string;
4403
- /** OAuth 2.0 token for the current user. */
4404
- oauth_token?: string;
4405
- /** Returns response with indentations and line breaks. */
4406
- prettyPrint?: boolean;
4407
- /** 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. */
4408
- quotaUser?: string;
4409
- /** Upload protocol for media (e.g. "raw", "multipart"). */
4410
- upload_protocol?: string;
4411
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4412
- uploadType?: string;
4413
- }): Request<{}>;
4414
- /** Gets a conversation. */
4415
- get(request?: {
4416
- /** V1 error format. */
4417
- '$.xgafv'?: string;
4418
- /** OAuth access token. */
4419
- access_token?: string;
4420
- /** Data format for response. */
4421
- alt?: string;
4422
- /** JSONP */
4423
- callback?: string;
4424
- /** Selector specifying which fields to include in a partial response. */
4425
- fields?: string;
4426
- /** 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. */
4427
- key?: string;
4428
- /** Required. The name of the conversation to get. */
4429
- name: string;
4430
- /** OAuth 2.0 token for the current user. */
4431
- oauth_token?: string;
4432
- /** Returns response with indentations and line breaks. */
4433
- prettyPrint?: boolean;
4434
- /** 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. */
4435
- quotaUser?: string;
4436
- /** Upload protocol for media (e.g. "raw", "multipart"). */
4437
- upload_protocol?: string;
4438
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4439
- uploadType?: string;
4440
- /** The level of details of the conversation. Default is `FULL`. */
4441
- view?: string;
4442
- }): Request<GoogleCloudContactcenterinsightsV1Conversation>;
4443
- /** Imports conversations and processes them according to the user's configuration. */
4444
- ingest(request: {
5801
+ body: GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequest,
5802
+ ): Request<GoogleLongrunningOperation>;
5803
+ /** Upload feedback labels from an external source in bulk. Currently supports labeling Quality AI example conversations. */
5804
+ bulkUploadFeedbackLabels(request: {
4445
5805
  /** V1 error format. */
4446
5806
  '$.xgafv'?: string;
4447
5807
  /** OAuth access token. */
@@ -4456,7 +5816,7 @@ declare namespace gapi.client {
4456
5816
  key?: string;
4457
5817
  /** OAuth 2.0 token for the current user. */
4458
5818
  oauth_token?: string;
4459
- /** Required. The parent resource for new conversations. */
5819
+ /** Required. The parent resource for new feedback labels. */
4460
5820
  parent: string;
4461
5821
  /** Returns response with indentations and line breaks. */
4462
5822
  prettyPrint?: boolean;
@@ -4467,9 +5827,9 @@ declare namespace gapi.client {
4467
5827
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4468
5828
  uploadType?: string;
4469
5829
  /** Request body */
4470
- resource: GoogleCloudContactcenterinsightsV1IngestConversationsRequest;
5830
+ resource: GoogleCloudContactcenterinsightsV1BulkUploadFeedbackLabelsRequest;
4471
5831
  }): Request<GoogleLongrunningOperation>;
4472
- ingest(
5832
+ bulkUploadFeedbackLabels(
4473
5833
  request: {
4474
5834
  /** V1 error format. */
4475
5835
  '$.xgafv'?: string;
@@ -4485,7 +5845,7 @@ declare namespace gapi.client {
4485
5845
  key?: string;
4486
5846
  /** OAuth 2.0 token for the current user. */
4487
5847
  oauth_token?: string;
4488
- /** Required. The parent resource for new conversations. */
5848
+ /** Required. The parent resource for new feedback labels. */
4489
5849
  parent: string;
4490
5850
  /** Returns response with indentations and line breaks. */
4491
5851
  prettyPrint?: boolean;
@@ -4496,10 +5856,10 @@ declare namespace gapi.client {
4496
5856
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4497
5857
  uploadType?: string;
4498
5858
  },
4499
- body: GoogleCloudContactcenterinsightsV1IngestConversationsRequest,
5859
+ body: GoogleCloudContactcenterinsightsV1BulkUploadFeedbackLabelsRequest,
4500
5860
  ): Request<GoogleLongrunningOperation>;
4501
- /** Lists conversations. */
4502
- list(request?: {
5861
+ /** List all feedback labels by project number. */
5862
+ listAllFeedbackLabels(request?: {
4503
5863
  /** V1 error format. */
4504
5864
  '$.xgafv'?: string;
4505
5865
  /** OAuth access token. */
@@ -4510,50 +5870,17 @@ declare namespace gapi.client {
4510
5870
  callback?: string;
4511
5871
  /** Selector specifying which fields to include in a partial response. */
4512
5872
  fields?: string;
4513
- /** A filter to reduce results to a specific subset. Useful for querying conversations with specific properties. */
5873
+ /** 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 */
4514
5874
  filter?: string;
4515
5875
  /** 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. */
4516
5876
  key?: string;
4517
5877
  /** OAuth 2.0 token for the current user. */
4518
5878
  oauth_token?: string;
4519
- /** 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). */
4520
- orderBy?: string;
4521
- /** 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. */
5879
+ /** 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. */
4522
5880
  pageSize?: number;
4523
- /** 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. */
5881
+ /** 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. */
4524
5882
  pageToken?: string;
4525
- /** Required. The parent resource of the conversation. */
4526
- parent: string;
4527
- /** Returns response with indentations and line breaks. */
4528
- prettyPrint?: boolean;
4529
- /** 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. */
4530
- quotaUser?: string;
4531
- /** Upload protocol for media (e.g. "raw", "multipart"). */
4532
- upload_protocol?: string;
4533
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4534
- uploadType?: string;
4535
- /** The level of details of the conversation. Default is `BASIC`. */
4536
- view?: string;
4537
- }): Request<GoogleCloudContactcenterinsightsV1ListConversationsResponse>;
4538
- }
4539
- interface InsightsdataResource {
4540
- /** Export insights data to a destination defined in the request body. */
4541
- export(request: {
4542
- /** V1 error format. */
4543
- '$.xgafv'?: string;
4544
- /** OAuth access token. */
4545
- access_token?: string;
4546
- /** Data format for response. */
4547
- alt?: string;
4548
- /** JSONP */
4549
- callback?: string;
4550
- /** Selector specifying which fields to include in a partial response. */
4551
- fields?: string;
4552
- /** 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. */
4553
- key?: string;
4554
- /** OAuth 2.0 token for the current user. */
4555
- oauth_token?: string;
4556
- /** Required. The parent resource to export data from. */
5883
+ /** Required. The parent resource of all feedback labels per project. */
4557
5884
  parent: string;
4558
5885
  /** Returns response with indentations and line breaks. */
4559
5886
  prettyPrint?: boolean;
@@ -4563,40 +5890,7 @@ declare namespace gapi.client {
4563
5890
  upload_protocol?: string;
4564
5891
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4565
5892
  uploadType?: string;
4566
- /** Request body */
4567
- resource: GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest;
4568
- }): Request<GoogleLongrunningOperation>;
4569
- export(
4570
- request: {
4571
- /** V1 error format. */
4572
- '$.xgafv'?: string;
4573
- /** OAuth access token. */
4574
- access_token?: string;
4575
- /** Data format for response. */
4576
- alt?: string;
4577
- /** JSONP */
4578
- callback?: string;
4579
- /** Selector specifying which fields to include in a partial response. */
4580
- fields?: string;
4581
- /** 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. */
4582
- key?: string;
4583
- /** OAuth 2.0 token for the current user. */
4584
- oauth_token?: string;
4585
- /** Required. The parent resource to export data from. */
4586
- parent: string;
4587
- /** Returns response with indentations and line breaks. */
4588
- prettyPrint?: boolean;
4589
- /** 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. */
4590
- quotaUser?: string;
4591
- /** Upload protocol for media (e.g. "raw", "multipart"). */
4592
- upload_protocol?: string;
4593
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4594
- uploadType?: string;
4595
- },
4596
- body: GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest,
4597
- ): Request<GoogleLongrunningOperation>;
4598
- }
4599
- interface DatasetsResource {
5893
+ }): Request<GoogleCloudContactcenterinsightsV1ListAllFeedbackLabelsResponse>;
4600
5894
  conversations: ConversationsResource;
4601
5895
  insightsdata: InsightsdataResource;
4602
5896
  }