@maxim_mazurok/gapi.client.contactcenterinsights-v1 0.0.20250505 → 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 +1537 -333
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://contactcenterinsights.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20250505
12
+ // Revision: 20250512
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -435,8 +435,16 @@ declare namespace gapi.client {
435
435
  createTime?: string;
436
436
  /** Dataset description. */
437
437
  description?: string;
438
+ /** Display name for the dataaset */
439
+ displayName?: string;
438
440
  /** Immutable. Identifier. Resource name of the dataset. Format: projects/{project}/locations/{location}/datasets/{dataset} */
439
441
  name?: string;
442
+ /** Optional. Option TTL for the dataset. */
443
+ ttl?: string;
444
+ /** Dataset usage type. */
445
+ type?: string;
446
+ /** Output only. Dataset update time. */
447
+ updateTime?: string;
440
448
  }
441
449
  interface GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelMetadata {
442
450
  /** Output only. The time the operation was created. */
@@ -1040,33 +1048,33 @@ declare namespace gapi.client {
1040
1048
  /** Query source for the answer. */
1041
1049
  querySource?: string;
1042
1050
  }
1043
- interface GoogleCloudContactcenterinsightsV1alpha1SampleConversationsToDatasetMetadata {
1051
+ interface GoogleCloudContactcenterinsightsV1alpha1SampleConversationsMetadata {
1044
1052
  /** Output only. The time the operation was created. */
1045
1053
  createTime?: string;
1046
1054
  /** Output only. The time the operation finished running. */
1047
1055
  endTime?: string;
1048
- /** Output only. Partial errors during sample conversations to dataset operation that might cause the operation output to be incomplete. */
1056
+ /** Output only. Partial errors during sample conversations operation that might cause the operation output to be incomplete. */
1049
1057
  partialErrors?: GoogleRpcStatus[];
1050
1058
  /** Output only. The original request for sample conversations to dataset. */
1051
- request?: GoogleCloudContactcenterinsightsV1alpha1SampleConversationsToDatasetRequest;
1052
- /** Output only. Statistics for SampleConversationsToDataset operation. */
1053
- sampleConversationsToDatasetStats?: GoogleCloudContactcenterinsightsV1alpha1SampleConversationsToDatasetMetadataSampleConversationsToDatasetStats;
1059
+ request?: GoogleCloudContactcenterinsightsV1alpha1SampleConversationsRequest;
1060
+ /** Output only. Statistics for SampleConversations operation. */
1061
+ sampleConversationsStats?: GoogleCloudContactcenterinsightsV1alpha1SampleConversationsMetadataSampleConversationsStats;
1054
1062
  }
1055
- interface GoogleCloudContactcenterinsightsV1alpha1SampleConversationsToDatasetMetadataSampleConversationsToDatasetStats {
1063
+ interface GoogleCloudContactcenterinsightsV1alpha1SampleConversationsMetadataSampleConversationsStats {
1056
1064
  /** Output only. The number of objects which were unable to be sampled due to errors. The errors are populated in the partial_errors field. */
1057
1065
  failedSampleCount?: number;
1058
1066
  /** Output only. The number of new conversations added during this sample operation. */
1059
1067
  successfulSampleCount?: number;
1060
1068
  }
1061
- interface GoogleCloudContactcenterinsightsV1alpha1SampleConversationsToDatasetRequest {
1062
- /** Required. The dataset resource to copy the conversations to. */
1069
+ interface GoogleCloudContactcenterinsightsV1alpha1SampleConversationsRequest {
1070
+ /** The dataset resource to copy the sampled conversations to. */
1063
1071
  destinationDataset?: GoogleCloudContactcenterinsightsV1alpha1Dataset;
1064
1072
  /** Required. The parent resource of the dataset. */
1065
1073
  parent?: string;
1066
1074
  /** Optional. The sample rule used for sampling conversations. */
1067
1075
  sampleRule?: GoogleCloudContactcenterinsightsV1alpha1SampleRule;
1068
1076
  }
1069
- interface GoogleCloudContactcenterinsightsV1alpha1SampleConversationsToDatasetResponse {}
1077
+ interface GoogleCloudContactcenterinsightsV1alpha1SampleConversationsResponse {}
1070
1078
  interface GoogleCloudContactcenterinsightsV1alpha1SampleRule {
1071
1079
  /** To specify the filter for the conversions that should apply this sample rule. An empty filter means this sample rule applies to all conversations. */
1072
1080
  conversationFilter?: string;
@@ -1273,6 +1281,28 @@ declare namespace gapi.client {
1273
1281
  /** Article URI. */
1274
1282
  uri?: string;
1275
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
+ }
1276
1306
  interface GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsMetadata {
1277
1307
  /** The number of requested analyses that have completed successfully so far. */
1278
1308
  completedAnalysesCount?: number;
@@ -1685,8 +1715,16 @@ declare namespace gapi.client {
1685
1715
  createTime?: string;
1686
1716
  /** Dataset description. */
1687
1717
  description?: string;
1718
+ /** Display name for the dataaset */
1719
+ displayName?: string;
1688
1720
  /** Immutable. Identifier. Resource name of the dataset. Format: projects/{project}/locations/{location}/datasets/{dataset} */
1689
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;
1690
1728
  }
1691
1729
  interface GoogleCloudContactcenterinsightsV1DeleteIssueModelMetadata {
1692
1730
  /** Output only. The time the operation was created. */
@@ -2106,6 +2144,18 @@ declare namespace gapi.client {
2106
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. */
2107
2145
  nextPageToken?: string;
2108
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
+ }
2109
2159
  interface GoogleCloudContactcenterinsightsV1ListConversationsResponse {
2110
2160
  /** The conversations that match the request. */
2111
2161
  conversations?: GoogleCloudContactcenterinsightsV1Conversation[];
@@ -2259,7 +2309,7 @@ declare namespace gapi.client {
2259
2309
  order?: number;
2260
2310
  /** Question text. E.g., "Did the agent greet the customer?" */
2261
2311
  questionBody?: string;
2262
- /** 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. */
2263
2313
  tags?: string[];
2264
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. */
2265
2315
  tuningMetadata?: GoogleCloudContactcenterinsightsV1QaQuestionTuningMetadata;
@@ -2477,33 +2527,33 @@ declare namespace gapi.client {
2477
2527
  /** Query source for the answer. */
2478
2528
  querySource?: string;
2479
2529
  }
2480
- interface GoogleCloudContactcenterinsightsV1SampleConversationsToDatasetMetadata {
2530
+ interface GoogleCloudContactcenterinsightsV1SampleConversationsMetadata {
2481
2531
  /** Output only. The time the operation was created. */
2482
2532
  createTime?: string;
2483
2533
  /** Output only. The time the operation finished running. */
2484
2534
  endTime?: string;
2485
- /** Output only. Partial errors during sample conversations to dataset operation that might cause the operation output to be incomplete. */
2535
+ /** Output only. Partial errors during sample conversations operation that might cause the operation output to be incomplete. */
2486
2536
  partialErrors?: GoogleRpcStatus[];
2487
2537
  /** Output only. The original request for sample conversations to dataset. */
2488
- request?: GoogleCloudContactcenterinsightsV1SampleConversationsToDatasetRequest;
2489
- /** Output only. Statistics for SampleConversationsToDataset operation. */
2490
- sampleConversationsToDatasetStats?: GoogleCloudContactcenterinsightsV1SampleConversationsToDatasetMetadataSampleConversationsToDatasetStats;
2538
+ request?: GoogleCloudContactcenterinsightsV1SampleConversationsRequest;
2539
+ /** Output only. Statistics for SampleConversations operation. */
2540
+ sampleConversationsStats?: GoogleCloudContactcenterinsightsV1SampleConversationsMetadataSampleConversationsStats;
2491
2541
  }
2492
- interface GoogleCloudContactcenterinsightsV1SampleConversationsToDatasetMetadataSampleConversationsToDatasetStats {
2542
+ interface GoogleCloudContactcenterinsightsV1SampleConversationsMetadataSampleConversationsStats {
2493
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. */
2494
2544
  failedSampleCount?: number;
2495
2545
  /** Output only. The number of new conversations added during this sample operation. */
2496
2546
  successfulSampleCount?: number;
2497
2547
  }
2498
- interface GoogleCloudContactcenterinsightsV1SampleConversationsToDatasetRequest {
2499
- /** Required. The dataset resource to copy the conversations to. */
2548
+ interface GoogleCloudContactcenterinsightsV1SampleConversationsRequest {
2549
+ /** The dataset resource to copy the sampled conversations to. */
2500
2550
  destinationDataset?: GoogleCloudContactcenterinsightsV1Dataset;
2501
2551
  /** Required. The parent resource of the dataset. */
2502
2552
  parent?: string;
2503
2553
  /** Optional. The sample rule used for sampling conversations. */
2504
2554
  sampleRule?: GoogleCloudContactcenterinsightsV1SampleRule;
2505
2555
  }
2506
- interface GoogleCloudContactcenterinsightsV1SampleConversationsToDatasetResponse {}
2556
+ interface GoogleCloudContactcenterinsightsV1SampleConversationsResponse {}
2507
2557
  interface GoogleCloudContactcenterinsightsV1SampleRule {
2508
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. */
2509
2559
  conversationFilter?: string;
@@ -2514,6 +2564,12 @@ declare namespace gapi.client {
2514
2564
  /** Number of the conversations that we should sample based on the dimension. */
2515
2565
  sampleRow?: string;
2516
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
+ }
2517
2573
  interface GoogleCloudContactcenterinsightsV1SentimentData {
2518
2574
  /** A non-negative number from 0 to infinity which represents the absolute magnitude of sentiment regardless of score. */
2519
2575
  magnitude?: number;
@@ -3505,24 +3561,26 @@ declare namespace gapi.client {
3505
3561
  }): Request<GoogleLongrunningListOperationsResponse>;
3506
3562
  }
3507
3563
  interface AuthorizedViewsResource {
3508
- /** Query metrics. */
3509
- queryMetrics(request: {
3564
+ /** Create AuthorizedView */
3565
+ create(request: {
3510
3566
  /** V1 error format. */
3511
3567
  '$.xgafv'?: string;
3512
3568
  /** OAuth access token. */
3513
3569
  access_token?: string;
3514
3570
  /** Data format for response. */
3515
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;
3516
3574
  /** JSONP */
3517
3575
  callback?: string;
3518
3576
  /** Selector specifying which fields to include in a partial response. */
3519
3577
  fields?: string;
3520
3578
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3521
3579
  key?: string;
3522
- /** Required. The location of the data. "projects/{project}/locations/{location}" */
3523
- location: string;
3524
3580
  /** OAuth 2.0 token for the current user. */
3525
3581
  oauth_token?: string;
3582
+ /** Required. The parent resource of the AuthorizedView. */
3583
+ parent: string;
3526
3584
  /** Returns response with indentations and line breaks. */
3527
3585
  prettyPrint?: boolean;
3528
3586
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
@@ -3532,9 +3590,9 @@ declare namespace gapi.client {
3532
3590
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3533
3591
  uploadType?: string;
3534
3592
  /** Request body */
3535
- resource: GoogleCloudContactcenterinsightsV1QueryMetricsRequest;
3536
- }): Request<GoogleLongrunningOperation>;
3537
- queryMetrics(
3593
+ resource: GoogleCloudContactcenterinsightsV1AuthorizedView;
3594
+ }): Request<GoogleCloudContactcenterinsightsV1AuthorizedView>;
3595
+ create(
3538
3596
  request: {
3539
3597
  /** V1 error format. */
3540
3598
  '$.xgafv'?: string;
@@ -3542,16 +3600,18 @@ declare namespace gapi.client {
3542
3600
  access_token?: string;
3543
3601
  /** Data format for response. */
3544
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;
3545
3605
  /** JSONP */
3546
3606
  callback?: string;
3547
3607
  /** Selector specifying which fields to include in a partial response. */
3548
3608
  fields?: string;
3549
3609
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3550
3610
  key?: string;
3551
- /** Required. The location of the data. "projects/{project}/locations/{location}" */
3552
- location: string;
3553
3611
  /** OAuth 2.0 token for the current user. */
3554
3612
  oauth_token?: string;
3613
+ /** Required. The parent resource of the AuthorizedView. */
3614
+ parent: string;
3555
3615
  /** Returns response with indentations and line breaks. */
3556
3616
  prettyPrint?: boolean;
3557
3617
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
@@ -3561,17 +3621,10 @@ declare namespace gapi.client {
3561
3621
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3562
3622
  uploadType?: string;
3563
3623
  },
3564
- body: GoogleCloudContactcenterinsightsV1QueryMetricsRequest,
3565
- ): Request<GoogleLongrunningOperation>;
3566
- conversations: ConversationsResource;
3567
- operations: OperationsResource;
3568
- }
3569
- interface AuthorizedViewSetsResource {
3570
- authorizedViews: AuthorizedViewsResource;
3571
- }
3572
- interface AnalysesResource {
3573
- /** Creates an analysis. The long running operation is done when the analysis has completed. */
3574
- create(request: {
3624
+ body: GoogleCloudContactcenterinsightsV1AuthorizedView,
3625
+ ): Request<GoogleCloudContactcenterinsightsV1AuthorizedView>;
3626
+ /** Deletes an AuthorizedView. */
3627
+ delete(request?: {
3575
3628
  /** V1 error format. */
3576
3629
  '$.xgafv'?: string;
3577
3630
  /** OAuth access token. */
@@ -3584,9 +3637,71 @@ declare namespace gapi.client {
3584
3637
  fields?: string;
3585
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. */
3586
3639
  key?: string;
3640
+ /** Required. The name of the AuthorizedView to delete. */
3641
+ name: string;
3587
3642
  /** OAuth 2.0 token for the current user. */
3588
3643
  oauth_token?: string;
3589
- /** Required. The parent resource of the analysis. */
3644
+ /** Returns response with indentations and line breaks. */
3645
+ prettyPrint?: boolean;
3646
+ /** 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. */
3647
+ quotaUser?: string;
3648
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3649
+ upload_protocol?: string;
3650
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3651
+ uploadType?: string;
3652
+ }): Request<{}>;
3653
+ /** Get AuthorizedView */
3654
+ get(request?: {
3655
+ /** V1 error format. */
3656
+ '$.xgafv'?: string;
3657
+ /** OAuth access token. */
3658
+ access_token?: string;
3659
+ /** Data format for response. */
3660
+ alt?: string;
3661
+ /** JSONP */
3662
+ callback?: string;
3663
+ /** Selector specifying which fields to include in a partial response. */
3664
+ fields?: string;
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. */
3666
+ key?: string;
3667
+ /** Required. The name of the AuthorizedView to get. */
3668
+ name: string;
3669
+ /** OAuth 2.0 token for the current user. */
3670
+ oauth_token?: string;
3671
+ /** Returns response with indentations and line breaks. */
3672
+ prettyPrint?: boolean;
3673
+ /** 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. */
3674
+ quotaUser?: string;
3675
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3676
+ upload_protocol?: string;
3677
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3678
+ uploadType?: string;
3679
+ }): Request<GoogleCloudContactcenterinsightsV1AuthorizedView>;
3680
+ /** List AuthorizedViewSets */
3681
+ list(request?: {
3682
+ /** V1 error format. */
3683
+ '$.xgafv'?: string;
3684
+ /** OAuth access token. */
3685
+ access_token?: string;
3686
+ /** Data format for response. */
3687
+ alt?: string;
3688
+ /** JSONP */
3689
+ callback?: string;
3690
+ /** Selector specifying which fields to include in a partial response. */
3691
+ fields?: string;
3692
+ /** Optional. The filter expression to filter authorized views listed in the response. */
3693
+ filter?: string;
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. */
3695
+ key?: string;
3696
+ /** OAuth 2.0 token for the current user. */
3697
+ oauth_token?: string;
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. */
3701
+ pageSize?: number;
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. */
3703
+ pageToken?: string;
3704
+ /** Required. The parent resource of the AuthorizedViews. If the parent is set to `-`, all AuthorizedViews under the location will be returned. */
3590
3705
  parent: string;
3591
3706
  /** Returns response with indentations and line breaks. */
3592
3707
  prettyPrint?: boolean;
@@ -3596,10 +3711,39 @@ declare namespace gapi.client {
3596
3711
  upload_protocol?: string;
3597
3712
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3598
3713
  uploadType?: string;
3714
+ }): Request<GoogleCloudContactcenterinsightsV1ListAuthorizedViewsResponse>;
3715
+ /** Updates an AuthorizedView. */
3716
+ patch(request: {
3717
+ /** V1 error format. */
3718
+ '$.xgafv'?: string;
3719
+ /** OAuth access token. */
3720
+ access_token?: string;
3721
+ /** Data format for response. */
3722
+ alt?: string;
3723
+ /** JSONP */
3724
+ callback?: string;
3725
+ /** Selector specifying which fields to include in a partial response. */
3726
+ fields?: string;
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. */
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;
3731
+ /** OAuth 2.0 token for the current user. */
3732
+ oauth_token?: string;
3733
+ /** Returns response with indentations and line breaks. */
3734
+ prettyPrint?: boolean;
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. */
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;
3739
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3740
+ upload_protocol?: string;
3741
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3742
+ uploadType?: string;
3599
3743
  /** Request body */
3600
- resource: GoogleCloudContactcenterinsightsV1Analysis;
3601
- }): Request<GoogleLongrunningOperation>;
3602
- create(
3744
+ resource: GoogleCloudContactcenterinsightsV1AuthorizedView;
3745
+ }): Request<GoogleCloudContactcenterinsightsV1AuthorizedView>;
3746
+ patch(
3603
3747
  request: {
3604
3748
  /** V1 error format. */
3605
3749
  '$.xgafv'?: string;
@@ -3613,50 +3757,25 @@ declare namespace gapi.client {
3613
3757
  fields?: string;
3614
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. */
3615
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;
3616
3762
  /** OAuth 2.0 token for the current user. */
3617
3763
  oauth_token?: string;
3618
- /** Required. The parent resource of the analysis. */
3619
- parent: string;
3620
3764
  /** Returns response with indentations and line breaks. */
3621
3765
  prettyPrint?: boolean;
3622
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. */
3623
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;
3624
3770
  /** Upload protocol for media (e.g. "raw", "multipart"). */
3625
3771
  upload_protocol?: string;
3626
3772
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3627
3773
  uploadType?: string;
3628
3774
  },
3629
- body: GoogleCloudContactcenterinsightsV1Analysis,
3630
- ): Request<GoogleLongrunningOperation>;
3631
- /** Deletes an analysis. */
3632
- delete(request?: {
3633
- /** V1 error format. */
3634
- '$.xgafv'?: string;
3635
- /** OAuth access token. */
3636
- access_token?: string;
3637
- /** Data format for response. */
3638
- alt?: string;
3639
- /** JSONP */
3640
- callback?: string;
3641
- /** Selector specifying which fields to include in a partial response. */
3642
- fields?: string;
3643
- /** 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. */
3644
- key?: string;
3645
- /** Required. The name of the analysis to delete. */
3646
- name: string;
3647
- /** OAuth 2.0 token for the current user. */
3648
- oauth_token?: string;
3649
- /** Returns response with indentations and line breaks. */
3650
- prettyPrint?: boolean;
3651
- /** 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. */
3652
- quotaUser?: string;
3653
- /** Upload protocol for media (e.g. "raw", "multipart"). */
3654
- upload_protocol?: string;
3655
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3656
- uploadType?: string;
3657
- }): Request<{}>;
3658
- /** Gets an analysis. */
3659
- get(request?: {
3775
+ body: GoogleCloudContactcenterinsightsV1AuthorizedView,
3776
+ ): Request<GoogleCloudContactcenterinsightsV1AuthorizedView>;
3777
+ /** Query metrics. */
3778
+ queryMetrics(request: {
3660
3779
  /** V1 error format. */
3661
3780
  '$.xgafv'?: string;
3662
3781
  /** OAuth access token. */
@@ -3669,8 +3788,8 @@ declare namespace gapi.client {
3669
3788
  fields?: string;
3670
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. */
3671
3790
  key?: string;
3672
- /** Required. The name of the analysis to get. */
3673
- name: string;
3791
+ /** Required. The location of the data. "projects/{project}/locations/{location}" */
3792
+ location: string;
3674
3793
  /** OAuth 2.0 token for the current user. */
3675
3794
  oauth_token?: string;
3676
3795
  /** Returns response with indentations and line breaks. */
@@ -3681,9 +3800,40 @@ declare namespace gapi.client {
3681
3800
  upload_protocol?: string;
3682
3801
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3683
3802
  uploadType?: string;
3684
- }): Request<GoogleCloudContactcenterinsightsV1Analysis>;
3685
- /** Lists analyses. */
3686
- 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?: {
3687
3837
  /** V1 error format. */
3688
3838
  '$.xgafv'?: string;
3689
3839
  /** OAuth access token. */
@@ -3694,30 +3844,34 @@ declare namespace gapi.client {
3694
3844
  callback?: string;
3695
3845
  /** Selector specifying which fields to include in a partial response. */
3696
3846
  fields?: string;
3697
- /** A filter to reduce results to a specific subset. Useful for querying conversations with specific properties. */
3698
- filter?: string;
3699
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. */
3700
3848
  key?: string;
3701
3849
  /** OAuth 2.0 token for the current user. */
3702
3850
  oauth_token?: string;
3703
- /** 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. */
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. */
3704
3854
  pageSize?: number;
3705
- /** 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. */
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. */
3706
3856
  pageToken?: string;
3707
- /** Required. The parent resource of the analyses. */
3857
+ /** Required. The parent resource of the AuthorizedViews. If the parent is set to `-`, all AuthorizedViews under the location will be returned. */
3708
3858
  parent: string;
3709
3859
  /** Returns response with indentations and line breaks. */
3710
3860
  prettyPrint?: boolean;
3861
+ /** Optional. The query expression to search authorized views. */
3862
+ query?: string;
3711
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. */
3712
3864
  quotaUser?: string;
3713
3865
  /** Upload protocol for media (e.g. "raw", "multipart"). */
3714
3866
  upload_protocol?: string;
3715
3867
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3716
3868
  uploadType?: string;
3717
- }): Request<GoogleCloudContactcenterinsightsV1ListAnalysesResponse>;
3869
+ }): Request<GoogleCloudContactcenterinsightsV1SearchAuthorizedViewsResponse>;
3870
+ conversations: ConversationsResource;
3871
+ operations: OperationsResource;
3718
3872
  }
3719
- interface FeedbackLabelsResource {
3720
- /** Create feedback label. */
3873
+ interface AuthorizedViewSetsResource {
3874
+ /** Create AuthorizedViewSet */
3721
3875
  create(request: {
3722
3876
  /** V1 error format. */
3723
3877
  '$.xgafv'?: string;
@@ -3725,17 +3879,17 @@ declare namespace gapi.client {
3725
3879
  access_token?: string;
3726
3880
  /** Data format for response. */
3727
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;
3728
3884
  /** JSONP */
3729
3885
  callback?: string;
3730
- /** Optional. The ID of the feedback label to create. If one is not specified it will be generated by the server. */
3731
- feedbackLabelId?: string;
3732
3886
  /** Selector specifying which fields to include in a partial response. */
3733
3887
  fields?: string;
3734
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. */
3735
3889
  key?: string;
3736
3890
  /** OAuth 2.0 token for the current user. */
3737
3891
  oauth_token?: string;
3738
- /** Required. The parent resource of the feedback label. */
3892
+ /** Required. The parent resource of the AuthorizedViewSet. */
3739
3893
  parent: string;
3740
3894
  /** Returns response with indentations and line breaks. */
3741
3895
  prettyPrint?: boolean;
@@ -3746,8 +3900,8 @@ declare namespace gapi.client {
3746
3900
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3747
3901
  uploadType?: string;
3748
3902
  /** Request body */
3749
- resource: GoogleCloudContactcenterinsightsV1FeedbackLabel;
3750
- }): Request<GoogleCloudContactcenterinsightsV1FeedbackLabel>;
3903
+ resource: GoogleCloudContactcenterinsightsV1AuthorizedViewSet;
3904
+ }): Request<GoogleCloudContactcenterinsightsV1AuthorizedViewSet>;
3751
3905
  create(
3752
3906
  request: {
3753
3907
  /** V1 error format. */
@@ -3756,17 +3910,17 @@ declare namespace gapi.client {
3756
3910
  access_token?: string;
3757
3911
  /** Data format for response. */
3758
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;
3759
3915
  /** JSONP */
3760
3916
  callback?: string;
3761
- /** Optional. The ID of the feedback label to create. If one is not specified it will be generated by the server. */
3762
- feedbackLabelId?: string;
3763
3917
  /** Selector specifying which fields to include in a partial response. */
3764
3918
  fields?: string;
3765
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. */
3766
3920
  key?: string;
3767
3921
  /** OAuth 2.0 token for the current user. */
3768
3922
  oauth_token?: string;
3769
- /** Required. The parent resource of the feedback label. */
3923
+ /** Required. The parent resource of the AuthorizedViewSet. */
3770
3924
  parent: string;
3771
3925
  /** Returns response with indentations and line breaks. */
3772
3926
  prettyPrint?: boolean;
@@ -3777,9 +3931,9 @@ declare namespace gapi.client {
3777
3931
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3778
3932
  uploadType?: string;
3779
3933
  },
3780
- body: GoogleCloudContactcenterinsightsV1FeedbackLabel,
3781
- ): Request<GoogleCloudContactcenterinsightsV1FeedbackLabel>;
3782
- /** Delete feedback label. */
3934
+ body: GoogleCloudContactcenterinsightsV1AuthorizedViewSet,
3935
+ ): Request<GoogleCloudContactcenterinsightsV1AuthorizedViewSet>;
3936
+ /** Deletes an AuthorizedViewSet. */
3783
3937
  delete(request?: {
3784
3938
  /** V1 error format. */
3785
3939
  '$.xgafv'?: string;
@@ -3791,9 +3945,11 @@ declare namespace gapi.client {
3791
3945
  callback?: string;
3792
3946
  /** Selector specifying which fields to include in a partial response. */
3793
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;
3794
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. */
3795
3951
  key?: string;
3796
- /** Required. The name of the feedback label to delete. */
3952
+ /** Required. The name of the AuthorizedViewSet to delete. */
3797
3953
  name: string;
3798
3954
  /** OAuth 2.0 token for the current user. */
3799
3955
  oauth_token?: string;
@@ -3806,7 +3962,7 @@ declare namespace gapi.client {
3806
3962
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3807
3963
  uploadType?: string;
3808
3964
  }): Request<{}>;
3809
- /** Get feedback label. */
3965
+ /** Get AuthorizedViewSet */
3810
3966
  get(request?: {
3811
3967
  /** V1 error format. */
3812
3968
  '$.xgafv'?: string;
@@ -3820,7 +3976,7 @@ declare namespace gapi.client {
3820
3976
  fields?: string;
3821
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. */
3822
3978
  key?: string;
3823
- /** Required. The name of the feedback label to get. */
3979
+ /** Required. The name of the AuthorizedViewSet to get. */
3824
3980
  name: string;
3825
3981
  /** OAuth 2.0 token for the current user. */
3826
3982
  oauth_token?: string;
@@ -3832,8 +3988,8 @@ declare namespace gapi.client {
3832
3988
  upload_protocol?: string;
3833
3989
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3834
3990
  uploadType?: string;
3835
- }): Request<GoogleCloudContactcenterinsightsV1FeedbackLabel>;
3836
- /** List feedback labels. */
3991
+ }): Request<GoogleCloudContactcenterinsightsV1AuthorizedViewSet>;
3992
+ /** List AuthorizedViewSets */
3837
3993
  list(request?: {
3838
3994
  /** V1 error format. */
3839
3995
  '$.xgafv'?: string;
@@ -3845,17 +4001,19 @@ declare namespace gapi.client {
3845
4001
  callback?: string;
3846
4002
  /** Selector specifying which fields to include in a partial response. */
3847
4003
  fields?: string;
3848
- /** 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 */
4004
+ /** Optional. The filter expression to filter authorized view sets listed in the response. */
3849
4005
  filter?: string;
3850
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. */
3851
4007
  key?: string;
3852
4008
  /** OAuth 2.0 token for the current user. */
3853
4009
  oauth_token?: string;
3854
- /** 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. */
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. */
3855
4013
  pageSize?: number;
3856
- /** 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. */
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. */
3857
4015
  pageToken?: string;
3858
- /** Required. The parent resource of the feedback labels. */
4016
+ /** Required. The parent resource of the AuthorizedViewSets. */
3859
4017
  parent: string;
3860
4018
  /** Returns response with indentations and line breaks. */
3861
4019
  prettyPrint?: boolean;
@@ -3865,8 +4023,8 @@ declare namespace gapi.client {
3865
4023
  upload_protocol?: string;
3866
4024
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3867
4025
  uploadType?: string;
3868
- }): Request<GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse>;
3869
- /** Update feedback label. */
4026
+ }): Request<GoogleCloudContactcenterinsightsV1ListAuthorizedViewSetsResponse>;
4027
+ /** Updates an AuthorizedViewSet. */
3870
4028
  patch(request: {
3871
4029
  /** V1 error format. */
3872
4030
  '$.xgafv'?: string;
@@ -3880,7 +4038,7 @@ declare namespace gapi.client {
3880
4038
  fields?: string;
3881
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. */
3882
4040
  key?: string;
3883
- /** Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label} */
4041
+ /** Identifier. The resource name of the AuthorizedViewSet. Format: projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set} */
3884
4042
  name: string;
3885
4043
  /** OAuth 2.0 token for the current user. */
3886
4044
  oauth_token?: string;
@@ -3888,15 +4046,15 @@ declare namespace gapi.client {
3888
4046
  prettyPrint?: boolean;
3889
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. */
3890
4048
  quotaUser?: string;
3891
- /** Required. The list of fields to be updated. */
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` */
3892
4050
  updateMask?: string;
3893
4051
  /** Upload protocol for media (e.g. "raw", "multipart"). */
3894
4052
  upload_protocol?: string;
3895
4053
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3896
4054
  uploadType?: string;
3897
4055
  /** Request body */
3898
- resource: GoogleCloudContactcenterinsightsV1FeedbackLabel;
3899
- }): Request<GoogleCloudContactcenterinsightsV1FeedbackLabel>;
4056
+ resource: GoogleCloudContactcenterinsightsV1AuthorizedViewSet;
4057
+ }): Request<GoogleCloudContactcenterinsightsV1AuthorizedViewSet>;
3900
4058
  patch(
3901
4059
  request: {
3902
4060
  /** V1 error format. */
@@ -3911,7 +4069,7 @@ declare namespace gapi.client {
3911
4069
  fields?: string;
3912
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. */
3913
4071
  key?: string;
3914
- /** Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label} */
4072
+ /** Identifier. The resource name of the AuthorizedViewSet. Format: projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set} */
3915
4073
  name: string;
3916
4074
  /** OAuth 2.0 token for the current user. */
3917
4075
  oauth_token?: string;
@@ -3919,19 +4077,20 @@ declare namespace gapi.client {
3919
4077
  prettyPrint?: boolean;
3920
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. */
3921
4079
  quotaUser?: string;
3922
- /** Required. The list of fields to be updated. */
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` */
3923
4081
  updateMask?: string;
3924
4082
  /** Upload protocol for media (e.g. "raw", "multipart"). */
3925
4083
  upload_protocol?: string;
3926
4084
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3927
4085
  uploadType?: string;
3928
4086
  },
3929
- body: GoogleCloudContactcenterinsightsV1FeedbackLabel,
3930
- ): Request<GoogleCloudContactcenterinsightsV1FeedbackLabel>;
4087
+ body: GoogleCloudContactcenterinsightsV1AuthorizedViewSet,
4088
+ ): Request<GoogleCloudContactcenterinsightsV1AuthorizedViewSet>;
4089
+ authorizedViews: AuthorizedViewsResource;
3931
4090
  }
3932
- interface ConversationsResource {
3933
- /** Analyzes multiple conversations in a single request. */
3934
- bulkAnalyze(request: {
4091
+ interface AnalysesResource {
4092
+ /** Creates an analysis. The long running operation is done when the analysis has completed. */
4093
+ create(request: {
3935
4094
  /** V1 error format. */
3936
4095
  '$.xgafv'?: string;
3937
4096
  /** OAuth access token. */
@@ -3946,7 +4105,7 @@ declare namespace gapi.client {
3946
4105
  key?: string;
3947
4106
  /** OAuth 2.0 token for the current user. */
3948
4107
  oauth_token?: string;
3949
- /** Required. The parent resource to create analyses in. */
4108
+ /** Required. The parent resource of the analysis. */
3950
4109
  parent: string;
3951
4110
  /** Returns response with indentations and line breaks. */
3952
4111
  prettyPrint?: boolean;
@@ -3957,9 +4116,9 @@ declare namespace gapi.client {
3957
4116
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3958
4117
  uploadType?: string;
3959
4118
  /** Request body */
3960
- resource: GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest;
4119
+ resource: GoogleCloudContactcenterinsightsV1Analysis;
3961
4120
  }): Request<GoogleLongrunningOperation>;
3962
- bulkAnalyze(
4121
+ create(
3963
4122
  request: {
3964
4123
  /** V1 error format. */
3965
4124
  '$.xgafv'?: string;
@@ -3975,7 +4134,7 @@ declare namespace gapi.client {
3975
4134
  key?: string;
3976
4135
  /** OAuth 2.0 token for the current user. */
3977
4136
  oauth_token?: string;
3978
- /** Required. The parent resource to create analyses in. */
4137
+ /** Required. The parent resource of the analysis. */
3979
4138
  parent: string;
3980
4139
  /** Returns response with indentations and line breaks. */
3981
4140
  prettyPrint?: boolean;
@@ -3986,10 +4145,10 @@ declare namespace gapi.client {
3986
4145
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3987
4146
  uploadType?: string;
3988
4147
  },
3989
- body: GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest,
4148
+ body: GoogleCloudContactcenterinsightsV1Analysis,
3990
4149
  ): Request<GoogleLongrunningOperation>;
3991
- /** Deletes multiple conversations in a single request. */
3992
- bulkDelete(request: {
4150
+ /** Deletes an analysis. */
4151
+ delete(request?: {
3993
4152
  /** V1 error format. */
3994
4153
  '$.xgafv'?: string;
3995
4154
  /** OAuth access token. */
@@ -4002,9 +4161,100 @@ declare namespace gapi.client {
4002
4161
  fields?: string;
4003
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. */
4004
4163
  key?: string;
4164
+ /** Required. The name of the analysis to delete. */
4165
+ name: string;
4005
4166
  /** OAuth 2.0 token for the current user. */
4006
4167
  oauth_token?: string;
4007
- /** Required. The parent resource to delete conversations from. Format: projects/{project}/locations/{location} */
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. */
4008
4258
  parent: string;
4009
4259
  /** Returns response with indentations and line breaks. */
4010
4260
  prettyPrint?: boolean;
@@ -4015,9 +4265,9 @@ declare namespace gapi.client {
4015
4265
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4016
4266
  uploadType?: string;
4017
4267
  /** Request body */
4018
- resource: GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest;
4019
- }): Request<GoogleLongrunningOperation>;
4020
- bulkDelete(
4268
+ resource: GoogleCloudContactcenterinsightsV1FeedbackLabel;
4269
+ }): Request<GoogleCloudContactcenterinsightsV1FeedbackLabel>;
4270
+ create(
4021
4271
  request: {
4022
4272
  /** V1 error format. */
4023
4273
  '$.xgafv'?: string;
@@ -4027,13 +4277,15 @@ declare namespace gapi.client {
4027
4277
  alt?: string;
4028
4278
  /** JSONP */
4029
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;
4030
4282
  /** Selector specifying which fields to include in a partial response. */
4031
4283
  fields?: string;
4032
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. */
4033
4285
  key?: string;
4034
4286
  /** OAuth 2.0 token for the current user. */
4035
4287
  oauth_token?: string;
4036
- /** Required. The parent resource to delete conversations from. Format: projects/{project}/locations/{location} */
4288
+ /** Required. The parent resource of the feedback label. */
4037
4289
  parent: string;
4038
4290
  /** Returns response with indentations and line breaks. */
4039
4291
  prettyPrint?: boolean;
@@ -4044,10 +4296,10 @@ declare namespace gapi.client {
4044
4296
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4045
4297
  uploadType?: string;
4046
4298
  },
4047
- body: GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest,
4048
- ): Request<GoogleLongrunningOperation>;
4049
- /** Gets conversation statistics. */
4050
- calculateStats(request?: {
4299
+ body: GoogleCloudContactcenterinsightsV1FeedbackLabel,
4300
+ ): Request<GoogleCloudContactcenterinsightsV1FeedbackLabel>;
4301
+ /** Delete feedback label. */
4302
+ delete(request?: {
4051
4303
  /** V1 error format. */
4052
4304
  '$.xgafv'?: string;
4053
4305
  /** OAuth access token. */
@@ -4058,25 +4310,1107 @@ declare namespace gapi.client {
4058
4310
  callback?: string;
4059
4311
  /** Selector specifying which fields to include in a partial response. */
4060
4312
  fields?: string;
4061
- /** A filter to reduce results to a specific subset. This field is useful for getting statistics about conversations with specific properties. */
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 */
4062
4368
  filter?: string;
4063
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. */
4064
4370
  key?: string;
4065
- /** Required. The location of the conversations. */
4066
- location: 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;
4067
4404
  /** OAuth 2.0 token for the current user. */
4068
4405
  oauth_token?: string;
4069
4406
  /** Returns response with indentations and line breaks. */
4070
4407
  prettyPrint?: boolean;
4071
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. */
4072
4409
  quotaUser?: string;
4410
+ /** Required. The list of fields to be updated. */
4411
+ updateMask?: string;
4073
4412
  /** Upload protocol for media (e.g. "raw", "multipart"). */
4074
4413
  upload_protocol?: string;
4075
4414
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4076
4415
  uploadType?: string;
4077
- }): Request<GoogleCloudContactcenterinsightsV1CalculateStatsResponse>;
4078
- /** Creates a conversation. Note that this method does not support audio transcription or redaction. Use `conversations.upload` instead. */
4079
- create(request: {
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;
4435
+ /** OAuth 2.0 token for the current user. */
4436
+ oauth_token?: string;
4437
+ /** Returns response with indentations and line breaks. */
4438
+ prettyPrint?: boolean;
4439
+ /** 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. */
4440
+ quotaUser?: string;
4441
+ /** Required. The list of fields to be updated. */
4442
+ updateMask?: string;
4443
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4444
+ upload_protocol?: string;
4445
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4446
+ uploadType?: string;
4447
+ },
4448
+ body: GoogleCloudContactcenterinsightsV1FeedbackLabel,
4449
+ ): Request<GoogleCloudContactcenterinsightsV1FeedbackLabel>;
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?: {
5147
+ /** V1 error format. */
5148
+ '$.xgafv'?: string;
5149
+ /** OAuth access token. */
5150
+ access_token?: string;
5151
+ /** Data format for response. */
5152
+ alt?: string;
5153
+ /** JSONP */
5154
+ callback?: string;
5155
+ /** Selector specifying which fields to include in a partial response. */
5156
+ fields?: string;
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. */
5158
+ key?: string;
5159
+ /** Required. The name of the feedback label to delete. */
5160
+ name: string;
5161
+ /** OAuth 2.0 token for the current user. */
5162
+ oauth_token?: string;
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. */
5222
+ parent: string;
5223
+ /** Returns response with indentations and line breaks. */
5224
+ prettyPrint?: boolean;
5225
+ /** 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. */
5226
+ quotaUser?: string;
5227
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5228
+ upload_protocol?: string;
5229
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
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;
5260
+ /** Request body */
5261
+ resource: GoogleCloudContactcenterinsightsV1FeedbackLabel;
5262
+ }): Request<GoogleCloudContactcenterinsightsV1FeedbackLabel>;
5263
+ patch(
5264
+ request: {
5265
+ /** V1 error format. */
5266
+ '$.xgafv'?: string;
5267
+ /** OAuth access token. */
5268
+ access_token?: string;
5269
+ /** Data format for response. */
5270
+ alt?: string;
5271
+ /** JSONP */
5272
+ callback?: string;
5273
+ /** Selector specifying which fields to include in a partial response. */
5274
+ fields?: string;
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. */
5276
+ key?: string;
5277
+ /** Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label} */
5278
+ name: string;
5279
+ /** OAuth 2.0 token for the current user. */
5280
+ oauth_token?: string;
5281
+ /** Returns response with indentations and line breaks. */
5282
+ prettyPrint?: boolean;
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. */
5284
+ quotaUser?: string;
5285
+ /** Required. The list of fields to be updated. */
5286
+ updateMask?: string;
5287
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5288
+ upload_protocol?: string;
5289
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5290
+ uploadType?: string;
5291
+ },
5292
+ body: GoogleCloudContactcenterinsightsV1FeedbackLabel,
5293
+ ): Request<GoogleCloudContactcenterinsightsV1FeedbackLabel>;
5294
+ }
5295
+ interface ConversationsResource {
5296
+ /** Analyzes multiple conversations in a single request. */
5297
+ bulkAnalyze(request: {
5298
+ /** V1 error format. */
5299
+ '$.xgafv'?: string;
5300
+ /** OAuth access token. */
5301
+ access_token?: string;
5302
+ /** Data format for response. */
5303
+ alt?: string;
5304
+ /** JSONP */
5305
+ callback?: string;
5306
+ /** Selector specifying which fields to include in a partial response. */
5307
+ fields?: string;
5308
+ /** 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. */
5309
+ key?: string;
5310
+ /** OAuth 2.0 token for the current user. */
5311
+ oauth_token?: string;
5312
+ /** Required. The parent resource to create analyses in. */
5313
+ parent: string;
5314
+ /** Returns response with indentations and line breaks. */
5315
+ prettyPrint?: boolean;
5316
+ /** 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. */
5317
+ quotaUser?: string;
5318
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5319
+ upload_protocol?: string;
5320
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5321
+ uploadType?: string;
5322
+ /** Request body */
5323
+ resource: GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest;
5324
+ }): Request<GoogleLongrunningOperation>;
5325
+ bulkAnalyze(
5326
+ request: {
5327
+ /** V1 error format. */
5328
+ '$.xgafv'?: string;
5329
+ /** OAuth access token. */
5330
+ access_token?: string;
5331
+ /** Data format for response. */
5332
+ alt?: string;
5333
+ /** JSONP */
5334
+ callback?: string;
5335
+ /** Selector specifying which fields to include in a partial response. */
5336
+ fields?: string;
5337
+ /** 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. */
5338
+ key?: string;
5339
+ /** OAuth 2.0 token for the current user. */
5340
+ oauth_token?: string;
5341
+ /** Required. The parent resource to create analyses in. */
5342
+ parent: string;
5343
+ /** Returns response with indentations and line breaks. */
5344
+ prettyPrint?: boolean;
5345
+ /** 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. */
5346
+ quotaUser?: string;
5347
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5348
+ upload_protocol?: string;
5349
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5350
+ uploadType?: string;
5351
+ },
5352
+ body: GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest,
5353
+ ): Request<GoogleLongrunningOperation>;
5354
+ /** Deletes multiple conversations in a single request. */
5355
+ bulkDelete(request: {
5356
+ /** V1 error format. */
5357
+ '$.xgafv'?: string;
5358
+ /** OAuth access token. */
5359
+ access_token?: string;
5360
+ /** Data format for response. */
5361
+ alt?: string;
5362
+ /** JSONP */
5363
+ callback?: string;
5364
+ /** Selector specifying which fields to include in a partial response. */
5365
+ fields?: string;
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. */
5367
+ key?: string;
5368
+ /** OAuth 2.0 token for the current user. */
5369
+ oauth_token?: string;
5370
+ /** Required. The parent resource to delete conversations from. Format: projects/{project}/locations/{location} */
5371
+ parent: string;
5372
+ /** Returns response with indentations and line breaks. */
5373
+ prettyPrint?: boolean;
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. */
5375
+ quotaUser?: string;
5376
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5377
+ upload_protocol?: string;
5378
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5379
+ uploadType?: string;
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: {
4080
5414
  /** V1 error format. */
4081
5415
  '$.xgafv'?: string;
4082
5416
  /** OAuth access token. */
@@ -4085,16 +5419,14 @@ declare namespace gapi.client {
4085
5419
  alt?: string;
4086
5420
  /** JSONP */
4087
5421
  callback?: string;
4088
- /** A unique ID for the new conversation. This ID will become the final component of the conversation's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular expression `^[a-z0-9-]{4,64}$`. Valid characters are `a-z-` */
4089
- conversationId?: string;
4090
5422
  /** Selector specifying which fields to include in a partial response. */
4091
5423
  fields?: string;
4092
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. */
4093
5425
  key?: string;
5426
+ /** Required. The location of the conversations. */
5427
+ location: string;
4094
5428
  /** OAuth 2.0 token for the current user. */
4095
5429
  oauth_token?: string;
4096
- /** Required. The parent resource of the conversation. */
4097
- parent: string;
4098
5430
  /** Returns response with indentations and line breaks. */
4099
5431
  prettyPrint?: boolean;
4100
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. */
@@ -4104,9 +5436,9 @@ declare namespace gapi.client {
4104
5436
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4105
5437
  uploadType?: string;
4106
5438
  /** Request body */
4107
- resource: GoogleCloudContactcenterinsightsV1Conversation;
4108
- }): Request<GoogleCloudContactcenterinsightsV1Conversation>;
4109
- create(
5439
+ resource: GoogleCloudContactcenterinsightsV1CalculateStatsRequest;
5440
+ }): Request<GoogleCloudContactcenterinsightsV1CalculateStatsResponse>;
5441
+ calculateStats(
4110
5442
  request: {
4111
5443
  /** V1 error format. */
4112
5444
  '$.xgafv'?: string;
@@ -4116,16 +5448,14 @@ declare namespace gapi.client {
4116
5448
  alt?: string;
4117
5449
  /** JSONP */
4118
5450
  callback?: string;
4119
- /** A unique ID for the new conversation. This ID will become the final component of the conversation's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular expression `^[a-z0-9-]{4,64}$`. Valid characters are `a-z-` */
4120
- conversationId?: string;
4121
5451
  /** Selector specifying which fields to include in a partial response. */
4122
5452
  fields?: string;
4123
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. */
4124
5454
  key?: string;
5455
+ /** Required. The location of the conversations. */
5456
+ location: string;
4125
5457
  /** OAuth 2.0 token for the current user. */
4126
5458
  oauth_token?: string;
4127
- /** Required. The parent resource of the conversation. */
4128
- parent: string;
4129
5459
  /** Returns response with indentations and line breaks. */
4130
5460
  prettyPrint?: boolean;
4131
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. */
@@ -4135,8 +5465,8 @@ declare namespace gapi.client {
4135
5465
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4136
5466
  uploadType?: string;
4137
5467
  },
4138
- body: GoogleCloudContactcenterinsightsV1Conversation,
4139
- ): Request<GoogleCloudContactcenterinsightsV1Conversation>;
5468
+ body: GoogleCloudContactcenterinsightsV1CalculateStatsRequest,
5469
+ ): Request<GoogleCloudContactcenterinsightsV1CalculateStatsResponse>;
4140
5470
  /** Deletes a conversation. */
4141
5471
  delete(request?: {
4142
5472
  /** V1 error format. */
@@ -4290,8 +5620,12 @@ declare namespace gapi.client {
4290
5620
  /** The level of details of the conversation. Default is `BASIC`. */
4291
5621
  view?: string;
4292
5622
  }): Request<GoogleCloudContactcenterinsightsV1ListConversationsResponse>;
4293
- /** Updates a conversation. */
4294
- 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: {
4295
5629
  /** V1 error format. */
4296
5630
  '$.xgafv'?: string;
4297
5631
  /** OAuth access token. */
@@ -4304,24 +5638,22 @@ declare namespace gapi.client {
4304
5638
  fields?: string;
4305
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. */
4306
5640
  key?: string;
4307
- /** Immutable. The resource name of the conversation. Format: projects/{project}/locations/{location}/conversations/{conversation} */
4308
- name: string;
4309
5641
  /** OAuth 2.0 token for the current user. */
4310
5642
  oauth_token?: string;
5643
+ /** Required. The parent resource to export data from. */
5644
+ parent: string;
4311
5645
  /** Returns response with indentations and line breaks. */
4312
5646
  prettyPrint?: boolean;
4313
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. */
4314
5648
  quotaUser?: string;
4315
- /** The list of fields to be updated. All possible fields can be updated by passing `*`, or a subset of the following updateable fields can be provided: * `agent_id` * `language_code` * `labels` * `metadata` * `quality_metadata` * `call_metadata` * `start_time` * `expire_time` or `ttl` * `data_source.gcs_source.audio_uri` or `data_source.dialogflow_source.audio_uri` */
4316
- updateMask?: string;
4317
5649
  /** Upload protocol for media (e.g. "raw", "multipart"). */
4318
5650
  upload_protocol?: string;
4319
5651
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4320
5652
  uploadType?: string;
4321
5653
  /** Request body */
4322
- resource: GoogleCloudContactcenterinsightsV1Conversation;
4323
- }): Request<GoogleCloudContactcenterinsightsV1Conversation>;
4324
- patch(
5654
+ resource: GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest;
5655
+ }): Request<GoogleLongrunningOperation>;
5656
+ export(
4325
5657
  request: {
4326
5658
  /** V1 error format. */
4327
5659
  '$.xgafv'?: string;
@@ -4335,25 +5667,25 @@ declare namespace gapi.client {
4335
5667
  fields?: string;
4336
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. */
4337
5669
  key?: string;
4338
- /** Immutable. The resource name of the conversation. Format: projects/{project}/locations/{location}/conversations/{conversation} */
4339
- name: string;
4340
5670
  /** OAuth 2.0 token for the current user. */
4341
5671
  oauth_token?: string;
5672
+ /** Required. The parent resource to export data from. */
5673
+ parent: string;
4342
5674
  /** Returns response with indentations and line breaks. */
4343
5675
  prettyPrint?: boolean;
4344
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. */
4345
5677
  quotaUser?: string;
4346
- /** The list of fields to be updated. All possible fields can be updated by passing `*`, or a subset of the following updateable fields can be provided: * `agent_id` * `language_code` * `labels` * `metadata` * `quality_metadata` * `call_metadata` * `start_time` * `expire_time` or `ttl` * `data_source.gcs_source.audio_uri` or `data_source.dialogflow_source.audio_uri` */
4347
- updateMask?: string;
4348
5678
  /** Upload protocol for media (e.g. "raw", "multipart"). */
4349
5679
  upload_protocol?: string;
4350
5680
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4351
5681
  uploadType?: string;
4352
5682
  },
4353
- body: GoogleCloudContactcenterinsightsV1Conversation,
4354
- ): Request<GoogleCloudContactcenterinsightsV1Conversation>;
4355
- /** Create a long-running conversation upload operation. This method differs from `CreateConversation` by allowing audio transcription and optional DLP redaction. */
4356
- upload(request: {
5683
+ body: GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest,
5684
+ ): Request<GoogleLongrunningOperation>;
5685
+ }
5686
+ interface DatasetsResource {
5687
+ /** Delete feedback labels in bulk using a filter. */
5688
+ bulkDeleteFeedbackLabels(request: {
4357
5689
  /** V1 error format. */
4358
5690
  '$.xgafv'?: string;
4359
5691
  /** OAuth access token. */
@@ -4368,7 +5700,7 @@ declare namespace gapi.client {
4368
5700
  key?: string;
4369
5701
  /** OAuth 2.0 token for the current user. */
4370
5702
  oauth_token?: string;
4371
- /** Required. The parent resource of the conversation. */
5703
+ /** Required. The parent resource for new feedback labels. */
4372
5704
  parent: string;
4373
5705
  /** Returns response with indentations and line breaks. */
4374
5706
  prettyPrint?: boolean;
@@ -4379,9 +5711,9 @@ declare namespace gapi.client {
4379
5711
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4380
5712
  uploadType?: string;
4381
5713
  /** Request body */
4382
- resource: GoogleCloudContactcenterinsightsV1UploadConversationRequest;
5714
+ resource: GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsRequest;
4383
5715
  }): Request<GoogleLongrunningOperation>;
4384
- upload(
5716
+ bulkDeleteFeedbackLabels(
4385
5717
  request: {
4386
5718
  /** V1 error format. */
4387
5719
  '$.xgafv'?: string;
@@ -4397,7 +5729,7 @@ declare namespace gapi.client {
4397
5729
  key?: string;
4398
5730
  /** OAuth 2.0 token for the current user. */
4399
5731
  oauth_token?: string;
4400
- /** Required. The parent resource of the conversation. */
5732
+ /** Required. The parent resource for new feedback labels. */
4401
5733
  parent: string;
4402
5734
  /** Returns response with indentations and line breaks. */
4403
5735
  prettyPrint?: boolean;
@@ -4408,14 +5740,10 @@ declare namespace gapi.client {
4408
5740
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4409
5741
  uploadType?: string;
4410
5742
  },
4411
- body: GoogleCloudContactcenterinsightsV1UploadConversationRequest,
5743
+ body: GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsRequest,
4412
5744
  ): Request<GoogleLongrunningOperation>;
4413
- analyses: AnalysesResource;
4414
- feedbackLabels: FeedbackLabelsResource;
4415
- }
4416
- interface ConversationsResource {
4417
- /** Gets conversation statistics. */
4418
- 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: {
4419
5747
  /** V1 error format. */
4420
5748
  '$.xgafv'?: string;
4421
5749
  /** OAuth access token. */
@@ -4428,10 +5756,10 @@ declare namespace gapi.client {
4428
5756
  fields?: string;
4429
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. */
4430
5758
  key?: string;
4431
- /** Required. The location of the conversations. */
4432
- location: string;
4433
5759
  /** OAuth 2.0 token for the current user. */
4434
5760
  oauth_token?: string;
5761
+ /** Required. The parent resource for new feedback labels. */
5762
+ parent: string;
4435
5763
  /** Returns response with indentations and line breaks. */
4436
5764
  prettyPrint?: boolean;
4437
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. */
@@ -4441,9 +5769,9 @@ declare namespace gapi.client {
4441
5769
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4442
5770
  uploadType?: string;
4443
5771
  /** Request body */
4444
- resource: GoogleCloudContactcenterinsightsV1CalculateStatsRequest;
4445
- }): Request<GoogleCloudContactcenterinsightsV1CalculateStatsResponse>;
4446
- calculateStats(
5772
+ resource: GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequest;
5773
+ }): Request<GoogleLongrunningOperation>;
5774
+ bulkDownloadFeedbackLabels(
4447
5775
  request: {
4448
5776
  /** V1 error format. */
4449
5777
  '$.xgafv'?: string;
@@ -4457,10 +5785,10 @@ declare namespace gapi.client {
4457
5785
  fields?: string;
4458
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. */
4459
5787
  key?: string;
4460
- /** Required. The location of the conversations. */
4461
- location: string;
4462
5788
  /** OAuth 2.0 token for the current user. */
4463
5789
  oauth_token?: string;
5790
+ /** Required. The parent resource for new feedback labels. */
5791
+ parent: string;
4464
5792
  /** Returns response with indentations and line breaks. */
4465
5793
  prettyPrint?: boolean;
4466
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. */
@@ -4470,68 +5798,10 @@ declare namespace gapi.client {
4470
5798
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4471
5799
  uploadType?: string;
4472
5800
  },
4473
- body: GoogleCloudContactcenterinsightsV1CalculateStatsRequest,
4474
- ): Request<GoogleCloudContactcenterinsightsV1CalculateStatsResponse>;
4475
- /** Deletes a conversation. */
4476
- delete(request?: {
4477
- /** V1 error format. */
4478
- '$.xgafv'?: string;
4479
- /** OAuth access token. */
4480
- access_token?: string;
4481
- /** Data format for response. */
4482
- alt?: string;
4483
- /** JSONP */
4484
- callback?: string;
4485
- /** Selector specifying which fields to include in a partial response. */
4486
- fields?: string;
4487
- /** If set to true, all of this conversation's analyses will also be deleted. Otherwise, the request will only succeed if the conversation has no analyses. */
4488
- force?: boolean;
4489
- /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
4490
- key?: string;
4491
- /** Required. The name of the conversation to delete. */
4492
- name: string;
4493
- /** OAuth 2.0 token for the current user. */
4494
- oauth_token?: string;
4495
- /** Returns response with indentations and line breaks. */
4496
- prettyPrint?: boolean;
4497
- /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
4498
- quotaUser?: string;
4499
- /** Upload protocol for media (e.g. "raw", "multipart"). */
4500
- upload_protocol?: string;
4501
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4502
- uploadType?: string;
4503
- }): Request<{}>;
4504
- /** Gets a conversation. */
4505
- get(request?: {
4506
- /** V1 error format. */
4507
- '$.xgafv'?: string;
4508
- /** OAuth access token. */
4509
- access_token?: string;
4510
- /** Data format for response. */
4511
- alt?: string;
4512
- /** JSONP */
4513
- callback?: string;
4514
- /** Selector specifying which fields to include in a partial response. */
4515
- fields?: string;
4516
- /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
4517
- key?: string;
4518
- /** Required. The name of the conversation to get. */
4519
- name: string;
4520
- /** OAuth 2.0 token for the current user. */
4521
- oauth_token?: string;
4522
- /** Returns response with indentations and line breaks. */
4523
- prettyPrint?: boolean;
4524
- /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
4525
- quotaUser?: string;
4526
- /** Upload protocol for media (e.g. "raw", "multipart"). */
4527
- upload_protocol?: string;
4528
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4529
- uploadType?: string;
4530
- /** The level of details of the conversation. Default is `FULL`. */
4531
- view?: string;
4532
- }): Request<GoogleCloudContactcenterinsightsV1Conversation>;
4533
- /** Imports conversations and processes them according to the user's configuration. */
4534
- ingest(request: {
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: {
4535
5805
  /** V1 error format. */
4536
5806
  '$.xgafv'?: string;
4537
5807
  /** OAuth access token. */
@@ -4546,7 +5816,7 @@ declare namespace gapi.client {
4546
5816
  key?: string;
4547
5817
  /** OAuth 2.0 token for the current user. */
4548
5818
  oauth_token?: string;
4549
- /** Required. The parent resource for new conversations. */
5819
+ /** Required. The parent resource for new feedback labels. */
4550
5820
  parent: string;
4551
5821
  /** Returns response with indentations and line breaks. */
4552
5822
  prettyPrint?: boolean;
@@ -4557,9 +5827,9 @@ declare namespace gapi.client {
4557
5827
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4558
5828
  uploadType?: string;
4559
5829
  /** Request body */
4560
- resource: GoogleCloudContactcenterinsightsV1IngestConversationsRequest;
5830
+ resource: GoogleCloudContactcenterinsightsV1BulkUploadFeedbackLabelsRequest;
4561
5831
  }): Request<GoogleLongrunningOperation>;
4562
- ingest(
5832
+ bulkUploadFeedbackLabels(
4563
5833
  request: {
4564
5834
  /** V1 error format. */
4565
5835
  '$.xgafv'?: string;
@@ -4575,7 +5845,7 @@ declare namespace gapi.client {
4575
5845
  key?: string;
4576
5846
  /** OAuth 2.0 token for the current user. */
4577
5847
  oauth_token?: string;
4578
- /** Required. The parent resource for new conversations. */
5848
+ /** Required. The parent resource for new feedback labels. */
4579
5849
  parent: string;
4580
5850
  /** Returns response with indentations and line breaks. */
4581
5851
  prettyPrint?: boolean;
@@ -4586,10 +5856,10 @@ declare namespace gapi.client {
4586
5856
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4587
5857
  uploadType?: string;
4588
5858
  },
4589
- body: GoogleCloudContactcenterinsightsV1IngestConversationsRequest,
5859
+ body: GoogleCloudContactcenterinsightsV1BulkUploadFeedbackLabelsRequest,
4590
5860
  ): Request<GoogleLongrunningOperation>;
4591
- /** Lists conversations. */
4592
- list(request?: {
5861
+ /** List all feedback labels by project number. */
5862
+ listAllFeedbackLabels(request?: {
4593
5863
  /** V1 error format. */
4594
5864
  '$.xgafv'?: string;
4595
5865
  /** OAuth access token. */
@@ -4600,50 +5870,17 @@ declare namespace gapi.client {
4600
5870
  callback?: string;
4601
5871
  /** Selector specifying which fields to include in a partial response. */
4602
5872
  fields?: string;
4603
- /** 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 */
4604
5874
  filter?: string;
4605
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. */
4606
5876
  key?: string;
4607
5877
  /** OAuth 2.0 token for the current user. */
4608
5878
  oauth_token?: string;
4609
- /** Optional. The attribute by which to order conversations in the response. If empty, conversations will be ordered by descending creation time. Supported values are one of the following: * create_time * customer_satisfaction_rating * duration * latest_analysis * start_time * turn_count The default sort order is ascending. To specify order, append `asc` or `desc` (`create_time desc`). For more details, see [Google AIPs Ordering](https://google.aip.dev/132#ordering). */
4610
- orderBy?: string;
4611
- /** The maximum number of conversations to return in the response. A valid page size ranges from 0 to 100,000 inclusive. If the page size is zero or unspecified, a default page size of 100 will be chosen. Note that a call might return fewer results than the requested page size. */
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. */
4612
5880
  pageSize?: number;
4613
- /** The value returned by the last `ListConversationsResponse`. This value indicates that this is a continuation of a prior `ListConversations` call and that the system should return the next page of data. */
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. */
4614
5882
  pageToken?: string;
4615
- /** Required. The parent resource of the conversation. */
4616
- parent: string;
4617
- /** Returns response with indentations and line breaks. */
4618
- prettyPrint?: boolean;
4619
- /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
4620
- quotaUser?: string;
4621
- /** Upload protocol for media (e.g. "raw", "multipart"). */
4622
- upload_protocol?: string;
4623
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4624
- uploadType?: string;
4625
- /** The level of details of the conversation. Default is `BASIC`. */
4626
- view?: string;
4627
- }): Request<GoogleCloudContactcenterinsightsV1ListConversationsResponse>;
4628
- }
4629
- interface InsightsdataResource {
4630
- /** Export insights data to a destination defined in the request body. */
4631
- export(request: {
4632
- /** V1 error format. */
4633
- '$.xgafv'?: string;
4634
- /** OAuth access token. */
4635
- access_token?: string;
4636
- /** Data format for response. */
4637
- alt?: string;
4638
- /** JSONP */
4639
- callback?: string;
4640
- /** Selector specifying which fields to include in a partial response. */
4641
- fields?: string;
4642
- /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
4643
- key?: string;
4644
- /** OAuth 2.0 token for the current user. */
4645
- oauth_token?: string;
4646
- /** Required. The parent resource to export data from. */
5883
+ /** Required. The parent resource of all feedback labels per project. */
4647
5884
  parent: string;
4648
5885
  /** Returns response with indentations and line breaks. */
4649
5886
  prettyPrint?: boolean;
@@ -4653,40 +5890,7 @@ declare namespace gapi.client {
4653
5890
  upload_protocol?: string;
4654
5891
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4655
5892
  uploadType?: string;
4656
- /** Request body */
4657
- resource: GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest;
4658
- }): Request<GoogleLongrunningOperation>;
4659
- export(
4660
- request: {
4661
- /** V1 error format. */
4662
- '$.xgafv'?: string;
4663
- /** OAuth access token. */
4664
- access_token?: string;
4665
- /** Data format for response. */
4666
- alt?: string;
4667
- /** JSONP */
4668
- callback?: string;
4669
- /** Selector specifying which fields to include in a partial response. */
4670
- fields?: string;
4671
- /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
4672
- key?: string;
4673
- /** OAuth 2.0 token for the current user. */
4674
- oauth_token?: string;
4675
- /** Required. The parent resource to export data from. */
4676
- parent: string;
4677
- /** Returns response with indentations and line breaks. */
4678
- prettyPrint?: boolean;
4679
- /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
4680
- quotaUser?: string;
4681
- /** Upload protocol for media (e.g. "raw", "multipart"). */
4682
- upload_protocol?: string;
4683
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4684
- uploadType?: string;
4685
- },
4686
- body: GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest,
4687
- ): Request<GoogleLongrunningOperation>;
4688
- }
4689
- interface DatasetsResource {
5893
+ }): Request<GoogleCloudContactcenterinsightsV1ListAllFeedbackLabelsResponse>;
4690
5894
  conversations: ConversationsResource;
4691
5895
  insightsdata: InsightsdataResource;
4692
5896
  }