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

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 +1623 -307
  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: 20250512
12
+ // Revision: 20250526
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -289,6 +289,8 @@ declare namespace gapi.client {
289
289
  dialogflowSource?: GoogleCloudContactcenterinsightsV1alpha1DialogflowSource;
290
290
  /** A Cloud Storage location specification for the audio and transcript. */
291
291
  gcsSource?: GoogleCloudContactcenterinsightsV1alpha1GcsSource;
292
+ /** Cloud Storage URI that points to a file that contains the conversation metadata. */
293
+ metadataUri?: string;
292
294
  }
293
295
  interface GoogleCloudContactcenterinsightsV1alpha1ConversationLevelSentiment {
294
296
  /** The channel of the audio that the data applies to. */
@@ -1267,6 +1269,7 @@ declare namespace gapi.client {
1267
1269
  /** Indicates whether an answer or item was displayed to the human agent in the agent desktop UI. */
1268
1270
  displayed?: boolean;
1269
1271
  }
1272
+ interface GoogleCloudContactcenterinsightsV1AppealAssessmentRequest {}
1270
1273
  interface GoogleCloudContactcenterinsightsV1ArticleSuggestionData {
1271
1274
  /** The system's confidence score that this article is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain). */
1272
1275
  confidenceScore?: number;
@@ -1281,6 +1284,34 @@ declare namespace gapi.client {
1281
1284
  /** Article URI. */
1282
1285
  uri?: string;
1283
1286
  }
1287
+ interface GoogleCloudContactcenterinsightsV1Assessment {
1288
+ /** Information about the agent the assessment is for. */
1289
+ agentInfo?: GoogleCloudContactcenterinsightsV1ConversationQualityMetadataAgentInfo;
1290
+ /** Output only. The time at which the assessment was created. */
1291
+ createTime?: string;
1292
+ /** Identifier. The resource name of the assessment. Format: projects/{project}/locations/{location}/conversations/{conversation}/assessments/{assessment} */
1293
+ name?: string;
1294
+ /** Output only. The state of the assessment. */
1295
+ state?: string;
1296
+ /** Output only. The time at which the assessment was last updated. */
1297
+ updateTime?: string;
1298
+ }
1299
+ interface GoogleCloudContactcenterinsightsV1AssessmentRule {
1300
+ /** If true, apply this rule to conversations. Otherwise, this rule is inactive. */
1301
+ active?: boolean;
1302
+ /** Output only. The time at which this assessment rule was created. */
1303
+ createTime?: string;
1304
+ /** Display Name of the assessment rule. */
1305
+ displayName?: string;
1306
+ /** Identifier. The resource name of the assessment rule. Format: projects/{project}/locations/{location}/assessmentRules/{assessment_rule} */
1307
+ name?: string;
1308
+ /** The sample rule for the assessment rule. */
1309
+ sampleRule?: GoogleCloudContactcenterinsightsV1SampleRule;
1310
+ /** Schedule info for the assessment rule. */
1311
+ scheduleInfo?: GoogleCloudContactcenterinsightsV1ScheduleInfo;
1312
+ /** Output only. The most recent time at which this assessment rule was updated. */
1313
+ updateTime?: string;
1314
+ }
1284
1315
  interface GoogleCloudContactcenterinsightsV1AuthorizedView {
1285
1316
  /** 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
1317
  conversationFilter?: string;
@@ -1569,6 +1600,8 @@ declare namespace gapi.client {
1569
1600
  dialogflowSource?: GoogleCloudContactcenterinsightsV1DialogflowSource;
1570
1601
  /** A Cloud Storage location specification for the audio and transcript. */
1571
1602
  gcsSource?: GoogleCloudContactcenterinsightsV1GcsSource;
1603
+ /** Cloud Storage URI that points to a file that contains the conversation metadata. */
1604
+ metadataUri?: string;
1572
1605
  }
1573
1606
  interface GoogleCloudContactcenterinsightsV1ConversationLevelSentiment {
1574
1607
  /** The channel of the audio that the data applies to. */
@@ -1928,6 +1961,7 @@ declare namespace gapi.client {
1928
1961
  /** Output only. Update time of the label. */
1929
1962
  updateTime?: string;
1930
1963
  }
1964
+ interface GoogleCloudContactcenterinsightsV1FinalizeAssessmentRequest {}
1931
1965
  interface GoogleCloudContactcenterinsightsV1GcsSource {
1932
1966
  /** Cloud Storage URI that points to a file that contains the conversation audio. */
1933
1967
  audioUri?: string;
@@ -2144,6 +2178,18 @@ declare namespace gapi.client {
2144
2178
  /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
2145
2179
  nextPageToken?: string;
2146
2180
  }
2181
+ interface GoogleCloudContactcenterinsightsV1ListAssessmentRulesResponse {
2182
+ /** The assessment rules that match the request. */
2183
+ assessmentRules?: GoogleCloudContactcenterinsightsV1AssessmentRule[];
2184
+ /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
2185
+ nextPageToken?: string;
2186
+ }
2187
+ interface GoogleCloudContactcenterinsightsV1ListAssessmentsResponse {
2188
+ /** The assessments that match the request. */
2189
+ assessments?: GoogleCloudContactcenterinsightsV1Assessment[];
2190
+ /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
2191
+ nextPageToken?: string;
2192
+ }
2147
2193
  interface GoogleCloudContactcenterinsightsV1ListAuthorizedViewSetsResponse {
2148
2194
  /** The AuthorizedViewSets under the parent. */
2149
2195
  authorizedViewSets?: GoogleCloudContactcenterinsightsV1AuthorizedViewSet[];
@@ -2176,6 +2222,12 @@ declare namespace gapi.client {
2176
2222
  /** The issues that match the request. */
2177
2223
  issues?: GoogleCloudContactcenterinsightsV1Issue[];
2178
2224
  }
2225
+ interface GoogleCloudContactcenterinsightsV1ListNotesResponse {
2226
+ /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
2227
+ nextPageToken?: string;
2228
+ /** The notes that match the request. */
2229
+ notes?: GoogleCloudContactcenterinsightsV1Note[];
2230
+ }
2179
2231
  interface GoogleCloudContactcenterinsightsV1ListPhraseMatchersResponse {
2180
2232
  /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
2181
2233
  nextPageToken?: string;
@@ -2206,6 +2258,33 @@ declare namespace gapi.client {
2206
2258
  /** The views that match the request. */
2207
2259
  views?: GoogleCloudContactcenterinsightsV1View[];
2208
2260
  }
2261
+ interface GoogleCloudContactcenterinsightsV1Note {
2262
+ /** The note is associated to the entire parent assessment. */
2263
+ assessmentNote?: any;
2264
+ /** The note content. */
2265
+ content?: string;
2266
+ /** The note is associated with a conversation turn. */
2267
+ conversationTurnNote?: GoogleCloudContactcenterinsightsV1NoteConversationTurnNote;
2268
+ /** Output only. The time at which the note was created. */
2269
+ createTime?: string;
2270
+ /** Identifier. The resource name of the note. Format: projects/{project}/locations/{location}/conversations/{conversation}/assessments/{assessment}/notes/{note} */
2271
+ name?: string;
2272
+ /** Output only. The user that created the note. */
2273
+ noteCreator?: GoogleCloudContactcenterinsightsV1UserInfo;
2274
+ /** The note is associated with a QA question in one of the conversation's scorecard results. */
2275
+ qaQuestionNote?: GoogleCloudContactcenterinsightsV1NoteQaQuestionNote;
2276
+ /** Output only. The time at which the note was last updated. */
2277
+ updateTime?: string;
2278
+ }
2279
+ interface GoogleCloudContactcenterinsightsV1NoteAssessmentNote {}
2280
+ interface GoogleCloudContactcenterinsightsV1NoteConversationTurnNote {
2281
+ /** The conversation turn index that the note is associated with. */
2282
+ turnIndex?: number;
2283
+ }
2284
+ interface GoogleCloudContactcenterinsightsV1NoteQaQuestionNote {
2285
+ /** The question resource that the note is associated with. */
2286
+ qaQuestion?: string;
2287
+ }
2209
2288
  interface GoogleCloudContactcenterinsightsV1PhraseMatchData {
2210
2289
  /** The human-readable name of the phrase matcher. */
2211
2290
  displayName?: string;
@@ -2254,6 +2333,7 @@ declare namespace gapi.client {
2254
2333
  /** Required. The type of this phrase match rule group. */
2255
2334
  type?: string;
2256
2335
  }
2336
+ interface GoogleCloudContactcenterinsightsV1PublishAssessmentRequest {}
2257
2337
  interface GoogleCloudContactcenterinsightsV1QaAnswer {
2258
2338
  /** List of all individual answers given to the question. */
2259
2339
  answerSources?: GoogleCloudContactcenterinsightsV1QaAnswerAnswerSource[];
@@ -2564,6 +2644,16 @@ declare namespace gapi.client {
2564
2644
  /** Number of the conversations that we should sample based on the dimension. */
2565
2645
  sampleRow?: string;
2566
2646
  }
2647
+ interface GoogleCloudContactcenterinsightsV1ScheduleInfo {
2648
+ /** End time of the schedule. If not specified, will keep scheduling new pipelines for execution util the schedule is no longer active or deleted. */
2649
+ endTime?: string;
2650
+ /** The groc expression. Format: `every number [synchronized]` Time units can be: minutes, hours Synchronized is optional and indicates that the schedule should be synchronized to the start of the interval: every 5 minutes synchronized means 00:00, 00:05 ... Otherwise the start time is random within the interval. Example: `every 5 minutes` could be 00:02, 00:07, 00:12, ... */
2651
+ schedule?: string;
2652
+ /** Start time of the schedule. If not specified, will start as soon as the schedule is created. */
2653
+ startTime?: string;
2654
+ /** The timezone to use for the groc expression. If not specified, defaults to UTC. */
2655
+ timeZone?: string;
2656
+ }
2567
2657
  interface GoogleCloudContactcenterinsightsV1SearchAuthorizedViewsResponse {
2568
2658
  /** The AuthorizedViews under the parent. */
2569
2659
  authorizedViews?: GoogleCloudContactcenterinsightsV1AuthorizedView[];
@@ -2673,6 +2763,10 @@ declare namespace gapi.client {
2673
2763
  /** Optional. Speech-to-Text configuration. Will default to the config specified in Settings. */
2674
2764
  speechConfig?: GoogleCloudContactcenterinsightsV1SpeechConfig;
2675
2765
  }
2766
+ interface GoogleCloudContactcenterinsightsV1UserInfo {
2767
+ /** The user's username. */
2768
+ username?: string;
2769
+ }
2676
2770
  interface GoogleCloudContactcenterinsightsV1View {
2677
2771
  /** Output only. The time at which this view was created. */
2678
2772
  createTime?: string;
@@ -2925,8 +3019,8 @@ declare namespace gapi.client {
2925
3019
  body: GoogleCloudContactcenterinsightsV1AnalysisRule,
2926
3020
  ): Request<GoogleCloudContactcenterinsightsV1AnalysisRule>;
2927
3021
  }
2928
- interface AnalysesResource {
2929
- /** Creates an analysis. The long running operation is done when the analysis has completed. */
3022
+ interface AssessmentRulesResource {
3023
+ /** Creates an assessment rule. */
2930
3024
  create(request: {
2931
3025
  /** V1 error format. */
2932
3026
  '$.xgafv'?: string;
@@ -2934,6 +3028,8 @@ declare namespace gapi.client {
2934
3028
  access_token?: string;
2935
3029
  /** Data format for response. */
2936
3030
  alt?: string;
3031
+ /** Optional. A unique ID for the new AssessmentRule. This ID will become the final component of the AssessmentRule's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular expression `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`. */
3032
+ assessmentRuleId?: string;
2937
3033
  /** JSONP */
2938
3034
  callback?: string;
2939
3035
  /** Selector specifying which fields to include in a partial response. */
@@ -2942,7 +3038,7 @@ declare namespace gapi.client {
2942
3038
  key?: string;
2943
3039
  /** OAuth 2.0 token for the current user. */
2944
3040
  oauth_token?: string;
2945
- /** Required. The parent resource of the analysis. */
3041
+ /** Required. The parent resource of the assessment rule. Required. The location to create a assessment rule for. Format: `projects//locations/` or `projects//locations/` */
2946
3042
  parent: string;
2947
3043
  /** Returns response with indentations and line breaks. */
2948
3044
  prettyPrint?: boolean;
@@ -2953,8 +3049,8 @@ declare namespace gapi.client {
2953
3049
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2954
3050
  uploadType?: string;
2955
3051
  /** Request body */
2956
- resource: GoogleCloudContactcenterinsightsV1Analysis;
2957
- }): Request<GoogleLongrunningOperation>;
3052
+ resource: GoogleCloudContactcenterinsightsV1AssessmentRule;
3053
+ }): Request<GoogleCloudContactcenterinsightsV1AssessmentRule>;
2958
3054
  create(
2959
3055
  request: {
2960
3056
  /** V1 error format. */
@@ -2963,6 +3059,8 @@ declare namespace gapi.client {
2963
3059
  access_token?: string;
2964
3060
  /** Data format for response. */
2965
3061
  alt?: string;
3062
+ /** Optional. A unique ID for the new AssessmentRule. This ID will become the final component of the AssessmentRule's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular expression `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`. */
3063
+ assessmentRuleId?: string;
2966
3064
  /** JSONP */
2967
3065
  callback?: string;
2968
3066
  /** Selector specifying which fields to include in a partial response. */
@@ -2971,7 +3069,7 @@ declare namespace gapi.client {
2971
3069
  key?: string;
2972
3070
  /** OAuth 2.0 token for the current user. */
2973
3071
  oauth_token?: string;
2974
- /** Required. The parent resource of the analysis. */
3072
+ /** Required. The parent resource of the assessment rule. Required. The location to create a assessment rule for. Format: `projects//locations/` or `projects//locations/` */
2975
3073
  parent: string;
2976
3074
  /** Returns response with indentations and line breaks. */
2977
3075
  prettyPrint?: boolean;
@@ -2982,9 +3080,9 @@ declare namespace gapi.client {
2982
3080
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2983
3081
  uploadType?: string;
2984
3082
  },
2985
- body: GoogleCloudContactcenterinsightsV1Analysis,
2986
- ): Request<GoogleLongrunningOperation>;
2987
- /** Deletes an analysis. */
3083
+ body: GoogleCloudContactcenterinsightsV1AssessmentRule,
3084
+ ): Request<GoogleCloudContactcenterinsightsV1AssessmentRule>;
3085
+ /** Deletes an assessment rule. */
2988
3086
  delete(request?: {
2989
3087
  /** V1 error format. */
2990
3088
  '$.xgafv'?: string;
@@ -2998,7 +3096,7 @@ declare namespace gapi.client {
2998
3096
  fields?: string;
2999
3097
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3000
3098
  key?: string;
3001
- /** Required. The name of the analysis to delete. */
3099
+ /** Required. The name of the assessment rule to delete. */
3002
3100
  name: string;
3003
3101
  /** OAuth 2.0 token for the current user. */
3004
3102
  oauth_token?: string;
@@ -3011,7 +3109,7 @@ declare namespace gapi.client {
3011
3109
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3012
3110
  uploadType?: string;
3013
3111
  }): Request<{}>;
3014
- /** Gets an analysis. */
3112
+ /** Get an assessment rule. */
3015
3113
  get(request?: {
3016
3114
  /** V1 error format. */
3017
3115
  '$.xgafv'?: string;
@@ -3025,7 +3123,7 @@ declare namespace gapi.client {
3025
3123
  fields?: string;
3026
3124
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3027
3125
  key?: string;
3028
- /** Required. The name of the analysis to get. */
3126
+ /** Required. The name of the assessment rule to get. */
3029
3127
  name: string;
3030
3128
  /** OAuth 2.0 token for the current user. */
3031
3129
  oauth_token?: string;
@@ -3037,8 +3135,8 @@ declare namespace gapi.client {
3037
3135
  upload_protocol?: string;
3038
3136
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3039
3137
  uploadType?: string;
3040
- }): Request<GoogleCloudContactcenterinsightsV1Analysis>;
3041
- /** Lists analyses. */
3138
+ }): Request<GoogleCloudContactcenterinsightsV1AssessmentRule>;
3139
+ /** Lists assessment rules. */
3042
3140
  list(request?: {
3043
3141
  /** V1 error format. */
3044
3142
  '$.xgafv'?: string;
@@ -3050,17 +3148,15 @@ declare namespace gapi.client {
3050
3148
  callback?: string;
3051
3149
  /** Selector specifying which fields to include in a partial response. */
3052
3150
  fields?: string;
3053
- /** A filter to reduce results to a specific subset. Useful for querying conversations with specific properties. */
3054
- filter?: string;
3055
3151
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3056
3152
  key?: string;
3057
3153
  /** OAuth 2.0 token for the current user. */
3058
3154
  oauth_token?: string;
3059
- /** The maximum number of analyses to return in the response. If this value is zero, the service will select a default size. A call might return fewer objects than requested. A non-empty `next_page_token` in the response indicates that more data is available. */
3155
+ /** Optional. The maximum number of assessment rule to return in the response. If this value is zero, the service will select a default size. A call may return fewer objects than requested. A non-empty `next_page_token` in the response indicates that more data is available. */
3060
3156
  pageSize?: number;
3061
- /** The value returned by the last `ListAnalysesResponse`; indicates that this is a continuation of a prior `ListAnalyses` call and the system should return the next page of data. */
3157
+ /** Optional. The value returned by the last `ListAssessmentRulesResponse`; indicates that this is a continuation of a prior `ListAssessmentRules` call and the system should return the next page of data. */
3062
3158
  pageToken?: string;
3063
- /** Required. The parent resource of the analyses. */
3159
+ /** Required. The parent resource of the assessment rules. */
3064
3160
  parent: string;
3065
3161
  /** Returns response with indentations and line breaks. */
3066
3162
  prettyPrint?: boolean;
@@ -3070,11 +3166,9 @@ declare namespace gapi.client {
3070
3166
  upload_protocol?: string;
3071
3167
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3072
3168
  uploadType?: string;
3073
- }): Request<GoogleCloudContactcenterinsightsV1ListAnalysesResponse>;
3074
- }
3075
- interface FeedbackLabelsResource {
3076
- /** Create feedback label. */
3077
- create(request: {
3169
+ }): Request<GoogleCloudContactcenterinsightsV1ListAssessmentRulesResponse>;
3170
+ /** Updates an assessment rule. */
3171
+ patch(request: {
3078
3172
  /** V1 error format. */
3079
3173
  '$.xgafv'?: string;
3080
3174
  /** OAuth access token. */
@@ -3083,28 +3177,28 @@ declare namespace gapi.client {
3083
3177
  alt?: string;
3084
3178
  /** JSONP */
3085
3179
  callback?: string;
3086
- /** Optional. The ID of the feedback label to create. If one is not specified it will be generated by the server. */
3087
- feedbackLabelId?: string;
3088
3180
  /** Selector specifying which fields to include in a partial response. */
3089
3181
  fields?: string;
3090
3182
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3091
3183
  key?: string;
3184
+ /** Identifier. The resource name of the assessment rule. Format: projects/{project}/locations/{location}/assessmentRules/{assessment_rule} */
3185
+ name: string;
3092
3186
  /** OAuth 2.0 token for the current user. */
3093
3187
  oauth_token?: string;
3094
- /** Required. The parent resource of the feedback label. */
3095
- parent: string;
3096
3188
  /** Returns response with indentations and line breaks. */
3097
3189
  prettyPrint?: boolean;
3098
3190
  /** 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. */
3099
3191
  quotaUser?: string;
3192
+ /** Optional. The list of fields to be updated. If the update_mask is not provided, the update will be applied to all fields. */
3193
+ updateMask?: string;
3100
3194
  /** Upload protocol for media (e.g. "raw", "multipart"). */
3101
3195
  upload_protocol?: string;
3102
3196
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3103
3197
  uploadType?: string;
3104
3198
  /** Request body */
3105
- resource: GoogleCloudContactcenterinsightsV1FeedbackLabel;
3106
- }): Request<GoogleCloudContactcenterinsightsV1FeedbackLabel>;
3107
- create(
3199
+ resource: GoogleCloudContactcenterinsightsV1AssessmentRule;
3200
+ }): Request<GoogleCloudContactcenterinsightsV1AssessmentRule>;
3201
+ patch(
3108
3202
  request: {
3109
3203
  /** V1 error format. */
3110
3204
  '$.xgafv'?: string;
@@ -3114,29 +3208,31 @@ declare namespace gapi.client {
3114
3208
  alt?: string;
3115
3209
  /** JSONP */
3116
3210
  callback?: string;
3117
- /** Optional. The ID of the feedback label to create. If one is not specified it will be generated by the server. */
3118
- feedbackLabelId?: string;
3119
3211
  /** Selector specifying which fields to include in a partial response. */
3120
3212
  fields?: string;
3121
3213
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3122
3214
  key?: string;
3215
+ /** Identifier. The resource name of the assessment rule. Format: projects/{project}/locations/{location}/assessmentRules/{assessment_rule} */
3216
+ name: string;
3123
3217
  /** OAuth 2.0 token for the current user. */
3124
3218
  oauth_token?: string;
3125
- /** Required. The parent resource of the feedback label. */
3126
- parent: string;
3127
3219
  /** Returns response with indentations and line breaks. */
3128
3220
  prettyPrint?: boolean;
3129
3221
  /** 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. */
3130
3222
  quotaUser?: string;
3223
+ /** Optional. The list of fields to be updated. If the update_mask is not provided, the update will be applied to all fields. */
3224
+ updateMask?: string;
3131
3225
  /** Upload protocol for media (e.g. "raw", "multipart"). */
3132
3226
  upload_protocol?: string;
3133
3227
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3134
3228
  uploadType?: string;
3135
3229
  },
3136
- body: GoogleCloudContactcenterinsightsV1FeedbackLabel,
3137
- ): Request<GoogleCloudContactcenterinsightsV1FeedbackLabel>;
3138
- /** Delete feedback label. */
3139
- delete(request?: {
3230
+ body: GoogleCloudContactcenterinsightsV1AssessmentRule,
3231
+ ): Request<GoogleCloudContactcenterinsightsV1AssessmentRule>;
3232
+ }
3233
+ interface AnalysesResource {
3234
+ /** Creates an analysis. The long running operation is done when the analysis has completed. */
3235
+ create(request: {
3140
3236
  /** V1 error format. */
3141
3237
  '$.xgafv'?: string;
3142
3238
  /** OAuth access token. */
@@ -3149,10 +3245,10 @@ declare namespace gapi.client {
3149
3245
  fields?: string;
3150
3246
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3151
3247
  key?: string;
3152
- /** Required. The name of the feedback label to delete. */
3153
- name: string;
3154
3248
  /** OAuth 2.0 token for the current user. */
3155
3249
  oauth_token?: string;
3250
+ /** Required. The parent resource of the analysis. */
3251
+ parent: string;
3156
3252
  /** Returns response with indentations and line breaks. */
3157
3253
  prettyPrint?: boolean;
3158
3254
  /** 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. */
@@ -3161,9 +3257,40 @@ declare namespace gapi.client {
3161
3257
  upload_protocol?: string;
3162
3258
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3163
3259
  uploadType?: string;
3164
- }): Request<{}>;
3165
- /** Get feedback label. */
3166
- get(request?: {
3260
+ /** Request body */
3261
+ resource: GoogleCloudContactcenterinsightsV1Analysis;
3262
+ }): Request<GoogleLongrunningOperation>;
3263
+ create(
3264
+ request: {
3265
+ /** V1 error format. */
3266
+ '$.xgafv'?: string;
3267
+ /** OAuth access token. */
3268
+ access_token?: string;
3269
+ /** Data format for response. */
3270
+ alt?: string;
3271
+ /** JSONP */
3272
+ callback?: string;
3273
+ /** Selector specifying which fields to include in a partial response. */
3274
+ fields?: string;
3275
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3276
+ key?: string;
3277
+ /** OAuth 2.0 token for the current user. */
3278
+ oauth_token?: string;
3279
+ /** Required. The parent resource of the analysis. */
3280
+ parent: string;
3281
+ /** Returns response with indentations and line breaks. */
3282
+ prettyPrint?: boolean;
3283
+ /** 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. */
3284
+ quotaUser?: string;
3285
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3286
+ upload_protocol?: string;
3287
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3288
+ uploadType?: string;
3289
+ },
3290
+ body: GoogleCloudContactcenterinsightsV1Analysis,
3291
+ ): Request<GoogleLongrunningOperation>;
3292
+ /** Deletes an analysis. */
3293
+ delete(request?: {
3167
3294
  /** V1 error format. */
3168
3295
  '$.xgafv'?: string;
3169
3296
  /** OAuth access token. */
@@ -3176,7 +3303,7 @@ declare namespace gapi.client {
3176
3303
  fields?: string;
3177
3304
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3178
3305
  key?: string;
3179
- /** Required. The name of the feedback label to get. */
3306
+ /** Required. The name of the analysis to delete. */
3180
3307
  name: string;
3181
3308
  /** OAuth 2.0 token for the current user. */
3182
3309
  oauth_token?: string;
@@ -3188,9 +3315,9 @@ declare namespace gapi.client {
3188
3315
  upload_protocol?: string;
3189
3316
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3190
3317
  uploadType?: string;
3191
- }): Request<GoogleCloudContactcenterinsightsV1FeedbackLabel>;
3192
- /** List feedback labels. */
3193
- list(request?: {
3318
+ }): Request<{}>;
3319
+ /** Gets an analysis. */
3320
+ get(request?: {
3194
3321
  /** V1 error format. */
3195
3322
  '$.xgafv'?: string;
3196
3323
  /** OAuth access token. */
@@ -3201,18 +3328,12 @@ declare namespace gapi.client {
3201
3328
  callback?: string;
3202
3329
  /** Selector specifying which fields to include in a partial response. */
3203
3330
  fields?: string;
3204
- /** 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 */
3205
- filter?: string;
3206
3331
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3207
3332
  key?: string;
3333
+ /** Required. The name of the analysis to get. */
3334
+ name: string;
3208
3335
  /** OAuth 2.0 token for the current user. */
3209
3336
  oauth_token?: string;
3210
- /** 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. */
3211
- pageSize?: number;
3212
- /** 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. */
3213
- pageToken?: string;
3214
- /** Required. The parent resource of the feedback labels. */
3215
- parent: string;
3216
3337
  /** Returns response with indentations and line breaks. */
3217
3338
  prettyPrint?: boolean;
3218
3339
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
@@ -3221,9 +3342,9 @@ declare namespace gapi.client {
3221
3342
  upload_protocol?: string;
3222
3343
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3223
3344
  uploadType?: string;
3224
- }): Request<GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse>;
3225
- /** Update feedback label. */
3226
- patch(request: {
3345
+ }): Request<GoogleCloudContactcenterinsightsV1Analysis>;
3346
+ /** Lists analyses. */
3347
+ list(request?: {
3227
3348
  /** V1 error format. */
3228
3349
  '$.xgafv'?: string;
3229
3350
  /** OAuth access token. */
@@ -3234,60 +3355,31 @@ declare namespace gapi.client {
3234
3355
  callback?: string;
3235
3356
  /** Selector specifying which fields to include in a partial response. */
3236
3357
  fields?: string;
3358
+ /** A filter to reduce results to a specific subset. Useful for querying conversations with specific properties. */
3359
+ filter?: string;
3237
3360
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3238
3361
  key?: string;
3239
- /** Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label} */
3240
- name: string;
3241
3362
  /** OAuth 2.0 token for the current user. */
3242
3363
  oauth_token?: string;
3364
+ /** 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. */
3365
+ pageSize?: number;
3366
+ /** 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. */
3367
+ pageToken?: string;
3368
+ /** Required. The parent resource of the analyses. */
3369
+ parent: string;
3243
3370
  /** Returns response with indentations and line breaks. */
3244
3371
  prettyPrint?: boolean;
3245
3372
  /** 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. */
3246
3373
  quotaUser?: string;
3247
- /** Required. The list of fields to be updated. */
3248
- updateMask?: string;
3249
3374
  /** Upload protocol for media (e.g. "raw", "multipart"). */
3250
3375
  upload_protocol?: string;
3251
3376
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3252
3377
  uploadType?: string;
3253
- /** Request body */
3254
- resource: GoogleCloudContactcenterinsightsV1FeedbackLabel;
3255
- }): Request<GoogleCloudContactcenterinsightsV1FeedbackLabel>;
3256
- patch(
3257
- request: {
3258
- /** V1 error format. */
3259
- '$.xgafv'?: string;
3260
- /** OAuth access token. */
3261
- access_token?: string;
3262
- /** Data format for response. */
3263
- alt?: string;
3264
- /** JSONP */
3265
- callback?: string;
3266
- /** Selector specifying which fields to include in a partial response. */
3267
- fields?: string;
3268
- /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3269
- key?: string;
3270
- /** Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label} */
3271
- name: string;
3272
- /** OAuth 2.0 token for the current user. */
3273
- oauth_token?: string;
3274
- /** Returns response with indentations and line breaks. */
3275
- prettyPrint?: boolean;
3276
- /** 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. */
3277
- quotaUser?: string;
3278
- /** Required. The list of fields to be updated. */
3279
- updateMask?: string;
3280
- /** Upload protocol for media (e.g. "raw", "multipart"). */
3281
- upload_protocol?: string;
3282
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3283
- uploadType?: string;
3284
- },
3285
- body: GoogleCloudContactcenterinsightsV1FeedbackLabel,
3286
- ): Request<GoogleCloudContactcenterinsightsV1FeedbackLabel>;
3378
+ }): Request<GoogleCloudContactcenterinsightsV1ListAnalysesResponse>;
3287
3379
  }
3288
- interface ConversationsResource {
3289
- /** Analyzes multiple conversations in a single request. */
3290
- bulkAnalyze(request: {
3380
+ interface NotesResource {
3381
+ /** Create Note. */
3382
+ create(request: {
3291
3383
  /** V1 error format. */
3292
3384
  '$.xgafv'?: string;
3293
3385
  /** OAuth access token. */
@@ -3302,7 +3394,7 @@ declare namespace gapi.client {
3302
3394
  key?: string;
3303
3395
  /** OAuth 2.0 token for the current user. */
3304
3396
  oauth_token?: string;
3305
- /** Required. The parent resource to create analyses in. */
3397
+ /** Required. The parent resource of the note. */
3306
3398
  parent: string;
3307
3399
  /** Returns response with indentations and line breaks. */
3308
3400
  prettyPrint?: boolean;
@@ -3313,9 +3405,9 @@ declare namespace gapi.client {
3313
3405
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3314
3406
  uploadType?: string;
3315
3407
  /** Request body */
3316
- resource: GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest;
3317
- }): Request<GoogleLongrunningOperation>;
3318
- bulkAnalyze(
3408
+ resource: GoogleCloudContactcenterinsightsV1Note;
3409
+ }): Request<GoogleCloudContactcenterinsightsV1Note>;
3410
+ create(
3319
3411
  request: {
3320
3412
  /** V1 error format. */
3321
3413
  '$.xgafv'?: string;
@@ -3331,7 +3423,7 @@ declare namespace gapi.client {
3331
3423
  key?: string;
3332
3424
  /** OAuth 2.0 token for the current user. */
3333
3425
  oauth_token?: string;
3334
- /** Required. The parent resource to create analyses in. */
3426
+ /** Required. The parent resource of the note. */
3335
3427
  parent: string;
3336
3428
  /** Returns response with indentations and line breaks. */
3337
3429
  prettyPrint?: boolean;
@@ -3342,10 +3434,10 @@ declare namespace gapi.client {
3342
3434
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3343
3435
  uploadType?: string;
3344
3436
  },
3345
- body: GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest,
3346
- ): Request<GoogleLongrunningOperation>;
3347
- /** Gets conversation statistics. */
3348
- calculateStats(request?: {
3437
+ body: GoogleCloudContactcenterinsightsV1Note,
3438
+ ): Request<GoogleCloudContactcenterinsightsV1Note>;
3439
+ /** Deletes a Note. */
3440
+ delete(request?: {
3349
3441
  /** V1 error format. */
3350
3442
  '$.xgafv'?: string;
3351
3443
  /** OAuth access token. */
@@ -3356,12 +3448,10 @@ declare namespace gapi.client {
3356
3448
  callback?: string;
3357
3449
  /** Selector specifying which fields to include in a partial response. */
3358
3450
  fields?: string;
3359
- /** A filter to reduce results to a specific subset. This field is useful for getting statistics about conversations with specific properties. */
3360
- filter?: string;
3361
3451
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3362
3452
  key?: string;
3363
- /** Required. The location of the conversations. */
3364
- location: string;
3453
+ /** Required. The name of the note to delete. */
3454
+ name: string;
3365
3455
  /** OAuth 2.0 token for the current user. */
3366
3456
  oauth_token?: string;
3367
3457
  /** Returns response with indentations and line breaks. */
@@ -3372,9 +3462,9 @@ declare namespace gapi.client {
3372
3462
  upload_protocol?: string;
3373
3463
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3374
3464
  uploadType?: string;
3375
- }): Request<GoogleCloudContactcenterinsightsV1CalculateStatsResponse>;
3376
- /** Deletes a conversation. */
3377
- delete(request?: {
3465
+ }): Request<{}>;
3466
+ /** List Notes. */
3467
+ list(request?: {
3378
3468
  /** V1 error format. */
3379
3469
  '$.xgafv'?: string;
3380
3470
  /** OAuth access token. */
@@ -3385,14 +3475,16 @@ declare namespace gapi.client {
3385
3475
  callback?: string;
3386
3476
  /** Selector specifying which fields to include in a partial response. */
3387
3477
  fields?: string;
3388
- /** 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. */
3389
- force?: boolean;
3390
3478
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3391
3479
  key?: string;
3392
- /** Required. The name of the conversation to delete. */
3393
- name: string;
3394
3480
  /** OAuth 2.0 token for the current user. */
3395
3481
  oauth_token?: string;
3482
+ /** Optional. The maximum number of notes to return in the response. If zero the service will select a default size. A call might return fewer objects than requested. A non-empty `next_page_token` in the response indicates that more data is available. */
3483
+ pageSize?: number;
3484
+ /** Optional. The value returned by the last `ListNotesResponse`. This value indicates that this is a continuation of a prior `ListNotes` call and that the system should return the next page of data. */
3485
+ pageToken?: string;
3486
+ /** Required. The parent resource of the notes. */
3487
+ parent: string;
3396
3488
  /** Returns response with indentations and line breaks. */
3397
3489
  prettyPrint?: boolean;
3398
3490
  /** 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. */
@@ -3401,9 +3493,9 @@ declare namespace gapi.client {
3401
3493
  upload_protocol?: string;
3402
3494
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3403
3495
  uploadType?: string;
3404
- }): Request<{}>;
3405
- /** Gets a conversation. */
3406
- get(request?: {
3496
+ }): Request<GoogleCloudContactcenterinsightsV1ListNotesResponse>;
3497
+ /** Update Note. */
3498
+ patch(request: {
3407
3499
  /** V1 error format. */
3408
3500
  '$.xgafv'?: string;
3409
3501
  /** OAuth access token. */
@@ -3416,7 +3508,7 @@ declare namespace gapi.client {
3416
3508
  fields?: string;
3417
3509
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3418
3510
  key?: string;
3419
- /** Required. The name of the conversation to get. */
3511
+ /** Identifier. The resource name of the note. Format: projects/{project}/locations/{location}/conversations/{conversation}/assessments/{assessment}/notes/{note} */
3420
3512
  name: string;
3421
3513
  /** OAuth 2.0 token for the current user. */
3422
3514
  oauth_token?: string;
@@ -3424,33 +3516,750 @@ declare namespace gapi.client {
3424
3516
  prettyPrint?: boolean;
3425
3517
  /** 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. */
3426
3518
  quotaUser?: string;
3519
+ /** Optional. The list of fields to be updated. If the update_mask is empty, all updateable fields will be updated. Acceptable fields include: * `content` */
3520
+ updateMask?: string;
3427
3521
  /** Upload protocol for media (e.g. "raw", "multipart"). */
3428
3522
  upload_protocol?: string;
3429
3523
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3430
3524
  uploadType?: string;
3431
- /** The level of details of the conversation. Default is `FULL`. */
3432
- view?: string;
3433
- }): Request<GoogleCloudContactcenterinsightsV1Conversation>;
3434
- /** Lists conversations. */
3435
- list(request?: {
3436
- /** V1 error format. */
3437
- '$.xgafv'?: string;
3438
- /** OAuth access token. */
3439
- access_token?: string;
3440
- /** Data format for response. */
3441
- alt?: string;
3442
- /** JSONP */
3443
- callback?: string;
3444
- /** Selector specifying which fields to include in a partial response. */
3445
- fields?: string;
3446
- /** A filter to reduce results to a specific subset. Useful for querying conversations with specific properties. */
3447
- filter?: string;
3448
- /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3449
- key?: string;
3450
- /** OAuth 2.0 token for the current user. */
3451
- oauth_token?: string;
3452
- /** 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). */
3453
- orderBy?: string;
3525
+ /** Request body */
3526
+ resource: GoogleCloudContactcenterinsightsV1Note;
3527
+ }): Request<GoogleCloudContactcenterinsightsV1Note>;
3528
+ patch(
3529
+ request: {
3530
+ /** V1 error format. */
3531
+ '$.xgafv'?: string;
3532
+ /** OAuth access token. */
3533
+ access_token?: string;
3534
+ /** Data format for response. */
3535
+ alt?: string;
3536
+ /** JSONP */
3537
+ callback?: string;
3538
+ /** Selector specifying which fields to include in a partial response. */
3539
+ fields?: string;
3540
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3541
+ key?: string;
3542
+ /** Identifier. The resource name of the note. Format: projects/{project}/locations/{location}/conversations/{conversation}/assessments/{assessment}/notes/{note} */
3543
+ name: string;
3544
+ /** OAuth 2.0 token for the current user. */
3545
+ oauth_token?: string;
3546
+ /** Returns response with indentations and line breaks. */
3547
+ prettyPrint?: boolean;
3548
+ /** 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. */
3549
+ quotaUser?: string;
3550
+ /** Optional. The list of fields to be updated. If the update_mask is empty, all updateable fields will be updated. Acceptable fields include: * `content` */
3551
+ updateMask?: string;
3552
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3553
+ upload_protocol?: string;
3554
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3555
+ uploadType?: string;
3556
+ },
3557
+ body: GoogleCloudContactcenterinsightsV1Note,
3558
+ ): Request<GoogleCloudContactcenterinsightsV1Note>;
3559
+ }
3560
+ interface AssessmentsResource {
3561
+ /** Appeal an Assessment. */
3562
+ appeal(request: {
3563
+ /** V1 error format. */
3564
+ '$.xgafv'?: string;
3565
+ /** OAuth access token. */
3566
+ access_token?: string;
3567
+ /** Data format for response. */
3568
+ alt?: string;
3569
+ /** JSONP */
3570
+ callback?: string;
3571
+ /** Selector specifying which fields to include in a partial response. */
3572
+ fields?: string;
3573
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3574
+ key?: string;
3575
+ /** Required. The name of the assessment to appeal. */
3576
+ name: string;
3577
+ /** OAuth 2.0 token for the current user. */
3578
+ oauth_token?: string;
3579
+ /** Returns response with indentations and line breaks. */
3580
+ prettyPrint?: boolean;
3581
+ /** 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. */
3582
+ quotaUser?: string;
3583
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3584
+ upload_protocol?: string;
3585
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3586
+ uploadType?: string;
3587
+ /** Request body */
3588
+ resource: GoogleCloudContactcenterinsightsV1AppealAssessmentRequest;
3589
+ }): Request<GoogleCloudContactcenterinsightsV1Assessment>;
3590
+ appeal(
3591
+ request: {
3592
+ /** V1 error format. */
3593
+ '$.xgafv'?: string;
3594
+ /** OAuth access token. */
3595
+ access_token?: string;
3596
+ /** Data format for response. */
3597
+ alt?: string;
3598
+ /** JSONP */
3599
+ callback?: string;
3600
+ /** Selector specifying which fields to include in a partial response. */
3601
+ fields?: string;
3602
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3603
+ key?: string;
3604
+ /** Required. The name of the assessment to appeal. */
3605
+ name: string;
3606
+ /** OAuth 2.0 token for the current user. */
3607
+ oauth_token?: string;
3608
+ /** Returns response with indentations and line breaks. */
3609
+ prettyPrint?: boolean;
3610
+ /** 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. */
3611
+ quotaUser?: string;
3612
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3613
+ upload_protocol?: string;
3614
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3615
+ uploadType?: string;
3616
+ },
3617
+ body: GoogleCloudContactcenterinsightsV1AppealAssessmentRequest,
3618
+ ): Request<GoogleCloudContactcenterinsightsV1Assessment>;
3619
+ /** Create Assessment. */
3620
+ create(request: {
3621
+ /** V1 error format. */
3622
+ '$.xgafv'?: string;
3623
+ /** OAuth access token. */
3624
+ access_token?: string;
3625
+ /** Data format for response. */
3626
+ alt?: string;
3627
+ /** JSONP */
3628
+ callback?: string;
3629
+ /** Selector specifying which fields to include in a partial response. */
3630
+ fields?: string;
3631
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3632
+ key?: string;
3633
+ /** OAuth 2.0 token for the current user. */
3634
+ oauth_token?: string;
3635
+ /** Required. The parent resource of the assessment. */
3636
+ parent: string;
3637
+ /** Returns response with indentations and line breaks. */
3638
+ prettyPrint?: boolean;
3639
+ /** 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. */
3640
+ quotaUser?: string;
3641
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3642
+ upload_protocol?: string;
3643
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3644
+ uploadType?: string;
3645
+ /** Request body */
3646
+ resource: GoogleCloudContactcenterinsightsV1Assessment;
3647
+ }): Request<GoogleCloudContactcenterinsightsV1Assessment>;
3648
+ create(
3649
+ request: {
3650
+ /** V1 error format. */
3651
+ '$.xgafv'?: string;
3652
+ /** OAuth access token. */
3653
+ access_token?: string;
3654
+ /** Data format for response. */
3655
+ alt?: string;
3656
+ /** JSONP */
3657
+ callback?: string;
3658
+ /** Selector specifying which fields to include in a partial response. */
3659
+ fields?: string;
3660
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3661
+ key?: string;
3662
+ /** OAuth 2.0 token for the current user. */
3663
+ oauth_token?: string;
3664
+ /** Required. The parent resource of the assessment. */
3665
+ parent: string;
3666
+ /** Returns response with indentations and line breaks. */
3667
+ prettyPrint?: boolean;
3668
+ /** 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. */
3669
+ quotaUser?: string;
3670
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3671
+ upload_protocol?: string;
3672
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3673
+ uploadType?: string;
3674
+ },
3675
+ body: GoogleCloudContactcenterinsightsV1Assessment,
3676
+ ): Request<GoogleCloudContactcenterinsightsV1Assessment>;
3677
+ /** Delete an Assessment. */
3678
+ delete(request?: {
3679
+ /** V1 error format. */
3680
+ '$.xgafv'?: string;
3681
+ /** OAuth access token. */
3682
+ access_token?: string;
3683
+ /** Data format for response. */
3684
+ alt?: string;
3685
+ /** JSONP */
3686
+ callback?: string;
3687
+ /** Selector specifying which fields to include in a partial response. */
3688
+ fields?: string;
3689
+ /** Optional. If set to true, all of this assessment's notes will also be deleted. Otherwise, the request will only succeed if it has no notes. */
3690
+ force?: boolean;
3691
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3692
+ key?: string;
3693
+ /** Required. The name of the assessment to delete. */
3694
+ name: string;
3695
+ /** OAuth 2.0 token for the current user. */
3696
+ oauth_token?: string;
3697
+ /** Returns response with indentations and line breaks. */
3698
+ prettyPrint?: boolean;
3699
+ /** 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. */
3700
+ quotaUser?: string;
3701
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3702
+ upload_protocol?: string;
3703
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3704
+ uploadType?: string;
3705
+ }): Request<{}>;
3706
+ /** Finalize an Assessment. */
3707
+ finalize(request: {
3708
+ /** V1 error format. */
3709
+ '$.xgafv'?: string;
3710
+ /** OAuth access token. */
3711
+ access_token?: string;
3712
+ /** Data format for response. */
3713
+ alt?: string;
3714
+ /** JSONP */
3715
+ callback?: string;
3716
+ /** Selector specifying which fields to include in a partial response. */
3717
+ fields?: string;
3718
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3719
+ key?: string;
3720
+ /** Required. The name of the assessment to finalize. */
3721
+ name: string;
3722
+ /** OAuth 2.0 token for the current user. */
3723
+ oauth_token?: string;
3724
+ /** Returns response with indentations and line breaks. */
3725
+ prettyPrint?: boolean;
3726
+ /** 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. */
3727
+ quotaUser?: string;
3728
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3729
+ upload_protocol?: string;
3730
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3731
+ uploadType?: string;
3732
+ /** Request body */
3733
+ resource: GoogleCloudContactcenterinsightsV1FinalizeAssessmentRequest;
3734
+ }): Request<GoogleCloudContactcenterinsightsV1Assessment>;
3735
+ finalize(
3736
+ request: {
3737
+ /** V1 error format. */
3738
+ '$.xgafv'?: string;
3739
+ /** OAuth access token. */
3740
+ access_token?: string;
3741
+ /** Data format for response. */
3742
+ alt?: string;
3743
+ /** JSONP */
3744
+ callback?: string;
3745
+ /** Selector specifying which fields to include in a partial response. */
3746
+ fields?: string;
3747
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3748
+ key?: string;
3749
+ /** Required. The name of the assessment to finalize. */
3750
+ name: string;
3751
+ /** OAuth 2.0 token for the current user. */
3752
+ oauth_token?: string;
3753
+ /** Returns response with indentations and line breaks. */
3754
+ prettyPrint?: boolean;
3755
+ /** 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. */
3756
+ quotaUser?: string;
3757
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3758
+ upload_protocol?: string;
3759
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3760
+ uploadType?: string;
3761
+ },
3762
+ body: GoogleCloudContactcenterinsightsV1FinalizeAssessmentRequest,
3763
+ ): Request<GoogleCloudContactcenterinsightsV1Assessment>;
3764
+ /** Get Assessment. */
3765
+ get(request?: {
3766
+ /** V1 error format. */
3767
+ '$.xgafv'?: string;
3768
+ /** OAuth access token. */
3769
+ access_token?: string;
3770
+ /** Data format for response. */
3771
+ alt?: string;
3772
+ /** JSONP */
3773
+ callback?: string;
3774
+ /** Selector specifying which fields to include in a partial response. */
3775
+ fields?: string;
3776
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3777
+ key?: string;
3778
+ /** Required. The name of the assessment to get. */
3779
+ name: string;
3780
+ /** OAuth 2.0 token for the current user. */
3781
+ oauth_token?: string;
3782
+ /** Returns response with indentations and line breaks. */
3783
+ prettyPrint?: boolean;
3784
+ /** 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. */
3785
+ quotaUser?: string;
3786
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3787
+ upload_protocol?: string;
3788
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3789
+ uploadType?: string;
3790
+ }): Request<GoogleCloudContactcenterinsightsV1Assessment>;
3791
+ /** List Assessments. */
3792
+ list(request?: {
3793
+ /** V1 error format. */
3794
+ '$.xgafv'?: string;
3795
+ /** OAuth access token. */
3796
+ access_token?: string;
3797
+ /** Data format for response. */
3798
+ alt?: string;
3799
+ /** JSONP */
3800
+ callback?: string;
3801
+ /** Selector specifying which fields to include in a partial response. */
3802
+ fields?: string;
3803
+ /** Optional. A filter to reduce results to a specific subset. Supported filters include: * `state` - The state of the assessment * `agent_info.agent_id` - The ID of the agent the assessment is for */
3804
+ filter?: string;
3805
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3806
+ key?: string;
3807
+ /** OAuth 2.0 token for the current user. */
3808
+ oauth_token?: string;
3809
+ /** The maximum number of assessments to list. If zero, the service will select a default size. A call may return fewer objects than requested. A non-empty `next_page_token` in the response indicates that more data is available. */
3810
+ pageSize?: number;
3811
+ /** Optional. The value returned by the last `ListAssessmentRulesResponse`; indicates that this is a continuation of a prior `ListAssessmentRules` call and the system should return the next page of data. */
3812
+ pageToken?: string;
3813
+ /** Required. The parent resource of the assessments. To list all assessments in a location, substitute the conversation ID with a '-' character. */
3814
+ parent: string;
3815
+ /** Returns response with indentations and line breaks. */
3816
+ prettyPrint?: boolean;
3817
+ /** 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. */
3818
+ quotaUser?: string;
3819
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3820
+ upload_protocol?: string;
3821
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3822
+ uploadType?: string;
3823
+ }): Request<GoogleCloudContactcenterinsightsV1ListAssessmentsResponse>;
3824
+ /** Publish an Assessment. */
3825
+ publish(request: {
3826
+ /** V1 error format. */
3827
+ '$.xgafv'?: string;
3828
+ /** OAuth access token. */
3829
+ access_token?: string;
3830
+ /** Data format for response. */
3831
+ alt?: string;
3832
+ /** JSONP */
3833
+ callback?: string;
3834
+ /** Selector specifying which fields to include in a partial response. */
3835
+ fields?: string;
3836
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3837
+ key?: string;
3838
+ /** Required. The name of the assessment to publish. */
3839
+ name: string;
3840
+ /** OAuth 2.0 token for the current user. */
3841
+ oauth_token?: string;
3842
+ /** Returns response with indentations and line breaks. */
3843
+ prettyPrint?: boolean;
3844
+ /** 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. */
3845
+ quotaUser?: string;
3846
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3847
+ upload_protocol?: string;
3848
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3849
+ uploadType?: string;
3850
+ /** Request body */
3851
+ resource: GoogleCloudContactcenterinsightsV1PublishAssessmentRequest;
3852
+ }): Request<GoogleCloudContactcenterinsightsV1Assessment>;
3853
+ publish(
3854
+ request: {
3855
+ /** V1 error format. */
3856
+ '$.xgafv'?: string;
3857
+ /** OAuth access token. */
3858
+ access_token?: string;
3859
+ /** Data format for response. */
3860
+ alt?: string;
3861
+ /** JSONP */
3862
+ callback?: string;
3863
+ /** Selector specifying which fields to include in a partial response. */
3864
+ fields?: string;
3865
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3866
+ key?: string;
3867
+ /** Required. The name of the assessment to publish. */
3868
+ name: string;
3869
+ /** OAuth 2.0 token for the current user. */
3870
+ oauth_token?: string;
3871
+ /** Returns response with indentations and line breaks. */
3872
+ prettyPrint?: boolean;
3873
+ /** 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. */
3874
+ quotaUser?: string;
3875
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3876
+ upload_protocol?: string;
3877
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3878
+ uploadType?: string;
3879
+ },
3880
+ body: GoogleCloudContactcenterinsightsV1PublishAssessmentRequest,
3881
+ ): Request<GoogleCloudContactcenterinsightsV1Assessment>;
3882
+ notes: NotesResource;
3883
+ }
3884
+ interface FeedbackLabelsResource {
3885
+ /** Create feedback label. */
3886
+ create(request: {
3887
+ /** V1 error format. */
3888
+ '$.xgafv'?: string;
3889
+ /** OAuth access token. */
3890
+ access_token?: string;
3891
+ /** Data format for response. */
3892
+ alt?: string;
3893
+ /** JSONP */
3894
+ callback?: string;
3895
+ /** Optional. The ID of the feedback label to create. If one is not specified it will be generated by the server. */
3896
+ feedbackLabelId?: string;
3897
+ /** Selector specifying which fields to include in a partial response. */
3898
+ fields?: string;
3899
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3900
+ key?: string;
3901
+ /** OAuth 2.0 token for the current user. */
3902
+ oauth_token?: string;
3903
+ /** Required. The parent resource of the feedback label. */
3904
+ parent: string;
3905
+ /** Returns response with indentations and line breaks. */
3906
+ prettyPrint?: boolean;
3907
+ /** 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. */
3908
+ quotaUser?: string;
3909
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3910
+ upload_protocol?: string;
3911
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3912
+ uploadType?: string;
3913
+ /** Request body */
3914
+ resource: GoogleCloudContactcenterinsightsV1FeedbackLabel;
3915
+ }): Request<GoogleCloudContactcenterinsightsV1FeedbackLabel>;
3916
+ create(
3917
+ request: {
3918
+ /** V1 error format. */
3919
+ '$.xgafv'?: string;
3920
+ /** OAuth access token. */
3921
+ access_token?: string;
3922
+ /** Data format for response. */
3923
+ alt?: string;
3924
+ /** JSONP */
3925
+ callback?: string;
3926
+ /** Optional. The ID of the feedback label to create. If one is not specified it will be generated by the server. */
3927
+ feedbackLabelId?: string;
3928
+ /** Selector specifying which fields to include in a partial response. */
3929
+ fields?: string;
3930
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3931
+ key?: string;
3932
+ /** OAuth 2.0 token for the current user. */
3933
+ oauth_token?: string;
3934
+ /** Required. The parent resource of the feedback label. */
3935
+ parent: string;
3936
+ /** Returns response with indentations and line breaks. */
3937
+ prettyPrint?: boolean;
3938
+ /** 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. */
3939
+ quotaUser?: string;
3940
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3941
+ upload_protocol?: string;
3942
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3943
+ uploadType?: string;
3944
+ },
3945
+ body: GoogleCloudContactcenterinsightsV1FeedbackLabel,
3946
+ ): Request<GoogleCloudContactcenterinsightsV1FeedbackLabel>;
3947
+ /** Delete feedback label. */
3948
+ delete(request?: {
3949
+ /** V1 error format. */
3950
+ '$.xgafv'?: string;
3951
+ /** OAuth access token. */
3952
+ access_token?: string;
3953
+ /** Data format for response. */
3954
+ alt?: string;
3955
+ /** JSONP */
3956
+ callback?: string;
3957
+ /** Selector specifying which fields to include in a partial response. */
3958
+ fields?: string;
3959
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3960
+ key?: string;
3961
+ /** Required. The name of the feedback label to delete. */
3962
+ name: string;
3963
+ /** OAuth 2.0 token for the current user. */
3964
+ oauth_token?: string;
3965
+ /** Returns response with indentations and line breaks. */
3966
+ prettyPrint?: boolean;
3967
+ /** 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. */
3968
+ quotaUser?: string;
3969
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3970
+ upload_protocol?: string;
3971
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3972
+ uploadType?: string;
3973
+ }): Request<{}>;
3974
+ /** Get feedback label. */
3975
+ get(request?: {
3976
+ /** V1 error format. */
3977
+ '$.xgafv'?: string;
3978
+ /** OAuth access token. */
3979
+ access_token?: string;
3980
+ /** Data format for response. */
3981
+ alt?: string;
3982
+ /** JSONP */
3983
+ callback?: string;
3984
+ /** Selector specifying which fields to include in a partial response. */
3985
+ fields?: string;
3986
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3987
+ key?: string;
3988
+ /** Required. The name of the feedback label to get. */
3989
+ name: string;
3990
+ /** OAuth 2.0 token for the current user. */
3991
+ oauth_token?: string;
3992
+ /** Returns response with indentations and line breaks. */
3993
+ prettyPrint?: boolean;
3994
+ /** 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. */
3995
+ quotaUser?: string;
3996
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3997
+ upload_protocol?: string;
3998
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3999
+ uploadType?: string;
4000
+ }): Request<GoogleCloudContactcenterinsightsV1FeedbackLabel>;
4001
+ /** List feedback labels. */
4002
+ list(request?: {
4003
+ /** V1 error format. */
4004
+ '$.xgafv'?: string;
4005
+ /** OAuth access token. */
4006
+ access_token?: string;
4007
+ /** Data format for response. */
4008
+ alt?: string;
4009
+ /** JSONP */
4010
+ callback?: string;
4011
+ /** Selector specifying which fields to include in a partial response. */
4012
+ fields?: string;
4013
+ /** 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 */
4014
+ filter?: string;
4015
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
4016
+ key?: string;
4017
+ /** OAuth 2.0 token for the current user. */
4018
+ oauth_token?: string;
4019
+ /** 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. */
4020
+ pageSize?: number;
4021
+ /** 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. */
4022
+ pageToken?: string;
4023
+ /** Required. The parent resource of the feedback labels. */
4024
+ parent: string;
4025
+ /** Returns response with indentations and line breaks. */
4026
+ prettyPrint?: boolean;
4027
+ /** 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. */
4028
+ quotaUser?: string;
4029
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4030
+ upload_protocol?: string;
4031
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4032
+ uploadType?: string;
4033
+ }): Request<GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse>;
4034
+ /** Update feedback label. */
4035
+ patch(request: {
4036
+ /** V1 error format. */
4037
+ '$.xgafv'?: string;
4038
+ /** OAuth access token. */
4039
+ access_token?: string;
4040
+ /** Data format for response. */
4041
+ alt?: string;
4042
+ /** JSONP */
4043
+ callback?: string;
4044
+ /** Selector specifying which fields to include in a partial response. */
4045
+ fields?: string;
4046
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
4047
+ key?: string;
4048
+ /** Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label} */
4049
+ name: string;
4050
+ /** OAuth 2.0 token for the current user. */
4051
+ oauth_token?: string;
4052
+ /** Returns response with indentations and line breaks. */
4053
+ prettyPrint?: boolean;
4054
+ /** 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. */
4055
+ quotaUser?: string;
4056
+ /** Required. The list of fields to be updated. */
4057
+ updateMask?: string;
4058
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4059
+ upload_protocol?: string;
4060
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4061
+ uploadType?: string;
4062
+ /** Request body */
4063
+ resource: GoogleCloudContactcenterinsightsV1FeedbackLabel;
4064
+ }): Request<GoogleCloudContactcenterinsightsV1FeedbackLabel>;
4065
+ patch(
4066
+ request: {
4067
+ /** V1 error format. */
4068
+ '$.xgafv'?: string;
4069
+ /** OAuth access token. */
4070
+ access_token?: string;
4071
+ /** Data format for response. */
4072
+ alt?: string;
4073
+ /** JSONP */
4074
+ callback?: string;
4075
+ /** Selector specifying which fields to include in a partial response. */
4076
+ fields?: string;
4077
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
4078
+ key?: string;
4079
+ /** Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label} */
4080
+ name: string;
4081
+ /** OAuth 2.0 token for the current user. */
4082
+ oauth_token?: string;
4083
+ /** Returns response with indentations and line breaks. */
4084
+ prettyPrint?: boolean;
4085
+ /** 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. */
4086
+ quotaUser?: string;
4087
+ /** Required. The list of fields to be updated. */
4088
+ updateMask?: string;
4089
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4090
+ upload_protocol?: string;
4091
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4092
+ uploadType?: string;
4093
+ },
4094
+ body: GoogleCloudContactcenterinsightsV1FeedbackLabel,
4095
+ ): Request<GoogleCloudContactcenterinsightsV1FeedbackLabel>;
4096
+ }
4097
+ interface ConversationsResource {
4098
+ /** Analyzes multiple conversations in a single request. */
4099
+ bulkAnalyze(request: {
4100
+ /** V1 error format. */
4101
+ '$.xgafv'?: string;
4102
+ /** OAuth access token. */
4103
+ access_token?: string;
4104
+ /** Data format for response. */
4105
+ alt?: string;
4106
+ /** JSONP */
4107
+ callback?: string;
4108
+ /** Selector specifying which fields to include in a partial response. */
4109
+ fields?: string;
4110
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
4111
+ key?: string;
4112
+ /** OAuth 2.0 token for the current user. */
4113
+ oauth_token?: string;
4114
+ /** Required. The parent resource to create analyses in. */
4115
+ parent: string;
4116
+ /** Returns response with indentations and line breaks. */
4117
+ prettyPrint?: boolean;
4118
+ /** 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. */
4119
+ quotaUser?: string;
4120
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4121
+ upload_protocol?: string;
4122
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4123
+ uploadType?: string;
4124
+ /** Request body */
4125
+ resource: GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest;
4126
+ }): Request<GoogleLongrunningOperation>;
4127
+ bulkAnalyze(
4128
+ request: {
4129
+ /** V1 error format. */
4130
+ '$.xgafv'?: string;
4131
+ /** OAuth access token. */
4132
+ access_token?: string;
4133
+ /** Data format for response. */
4134
+ alt?: string;
4135
+ /** JSONP */
4136
+ callback?: string;
4137
+ /** Selector specifying which fields to include in a partial response. */
4138
+ fields?: string;
4139
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
4140
+ key?: string;
4141
+ /** OAuth 2.0 token for the current user. */
4142
+ oauth_token?: string;
4143
+ /** Required. The parent resource to create analyses in. */
4144
+ parent: string;
4145
+ /** Returns response with indentations and line breaks. */
4146
+ prettyPrint?: boolean;
4147
+ /** 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. */
4148
+ quotaUser?: string;
4149
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4150
+ upload_protocol?: string;
4151
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4152
+ uploadType?: string;
4153
+ },
4154
+ body: GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest,
4155
+ ): Request<GoogleLongrunningOperation>;
4156
+ /** Gets conversation statistics. */
4157
+ calculateStats(request?: {
4158
+ /** V1 error format. */
4159
+ '$.xgafv'?: string;
4160
+ /** OAuth access token. */
4161
+ access_token?: string;
4162
+ /** Data format for response. */
4163
+ alt?: string;
4164
+ /** JSONP */
4165
+ callback?: string;
4166
+ /** Selector specifying which fields to include in a partial response. */
4167
+ fields?: string;
4168
+ /** A filter to reduce results to a specific subset. This field is useful for getting statistics about conversations with specific properties. */
4169
+ filter?: string;
4170
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
4171
+ key?: string;
4172
+ /** Required. The location of the conversations. */
4173
+ location: string;
4174
+ /** OAuth 2.0 token for the current user. */
4175
+ oauth_token?: string;
4176
+ /** Returns response with indentations and line breaks. */
4177
+ prettyPrint?: boolean;
4178
+ /** 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. */
4179
+ quotaUser?: string;
4180
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4181
+ upload_protocol?: string;
4182
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4183
+ uploadType?: string;
4184
+ }): Request<GoogleCloudContactcenterinsightsV1CalculateStatsResponse>;
4185
+ /** Deletes a conversation. */
4186
+ delete(request?: {
4187
+ /** V1 error format. */
4188
+ '$.xgafv'?: string;
4189
+ /** OAuth access token. */
4190
+ access_token?: string;
4191
+ /** Data format for response. */
4192
+ alt?: string;
4193
+ /** JSONP */
4194
+ callback?: string;
4195
+ /** Selector specifying which fields to include in a partial response. */
4196
+ fields?: string;
4197
+ /** 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. */
4198
+ force?: boolean;
4199
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
4200
+ key?: string;
4201
+ /** Required. The name of the conversation to delete. */
4202
+ name: string;
4203
+ /** OAuth 2.0 token for the current user. */
4204
+ oauth_token?: string;
4205
+ /** Returns response with indentations and line breaks. */
4206
+ prettyPrint?: boolean;
4207
+ /** 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. */
4208
+ quotaUser?: string;
4209
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4210
+ upload_protocol?: string;
4211
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4212
+ uploadType?: string;
4213
+ }): Request<{}>;
4214
+ /** Gets a conversation. */
4215
+ get(request?: {
4216
+ /** V1 error format. */
4217
+ '$.xgafv'?: string;
4218
+ /** OAuth access token. */
4219
+ access_token?: string;
4220
+ /** Data format for response. */
4221
+ alt?: string;
4222
+ /** JSONP */
4223
+ callback?: string;
4224
+ /** Selector specifying which fields to include in a partial response. */
4225
+ fields?: string;
4226
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
4227
+ key?: string;
4228
+ /** Required. The name of the conversation to get. */
4229
+ name: string;
4230
+ /** OAuth 2.0 token for the current user. */
4231
+ oauth_token?: string;
4232
+ /** Returns response with indentations and line breaks. */
4233
+ prettyPrint?: boolean;
4234
+ /** 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. */
4235
+ quotaUser?: string;
4236
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4237
+ upload_protocol?: string;
4238
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4239
+ uploadType?: string;
4240
+ /** The level of details of the conversation. Default is `FULL`. */
4241
+ view?: string;
4242
+ }): Request<GoogleCloudContactcenterinsightsV1Conversation>;
4243
+ /** Lists conversations. */
4244
+ list(request?: {
4245
+ /** V1 error format. */
4246
+ '$.xgafv'?: string;
4247
+ /** OAuth access token. */
4248
+ access_token?: string;
4249
+ /** Data format for response. */
4250
+ alt?: string;
4251
+ /** JSONP */
4252
+ callback?: string;
4253
+ /** Selector specifying which fields to include in a partial response. */
4254
+ fields?: string;
4255
+ /** A filter to reduce results to a specific subset. Useful for querying conversations with specific properties. */
4256
+ filter?: string;
4257
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
4258
+ key?: string;
4259
+ /** OAuth 2.0 token for the current user. */
4260
+ oauth_token?: string;
4261
+ /** 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). */
4262
+ orderBy?: string;
3454
4263
  /** 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. */
3455
4264
  pageSize?: number;
3456
4265
  /** 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. */
@@ -3469,6 +4278,7 @@ declare namespace gapi.client {
3469
4278
  view?: string;
3470
4279
  }): Request<GoogleCloudContactcenterinsightsV1ListConversationsResponse>;
3471
4280
  analyses: AnalysesResource;
4281
+ assessments: AssessmentsResource;
3472
4282
  feedbackLabels: FeedbackLabelsResource;
3473
4283
  }
3474
4284
  interface OperationsResource {
@@ -3513,8 +4323,283 @@ declare namespace gapi.client {
3513
4323
  fields?: string;
3514
4324
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3515
4325
  key?: string;
3516
- /** The name of the operation resource. */
3517
- name: string;
4326
+ /** The name of the operation resource. */
4327
+ name: string;
4328
+ /** OAuth 2.0 token for the current user. */
4329
+ oauth_token?: string;
4330
+ /** Returns response with indentations and line breaks. */
4331
+ prettyPrint?: boolean;
4332
+ /** 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. */
4333
+ quotaUser?: string;
4334
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4335
+ upload_protocol?: string;
4336
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4337
+ uploadType?: string;
4338
+ }): Request<GoogleLongrunningOperation>;
4339
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
4340
+ list(request?: {
4341
+ /** V1 error format. */
4342
+ '$.xgafv'?: string;
4343
+ /** OAuth access token. */
4344
+ access_token?: string;
4345
+ /** Data format for response. */
4346
+ alt?: string;
4347
+ /** JSONP */
4348
+ callback?: string;
4349
+ /** Selector specifying which fields to include in a partial response. */
4350
+ fields?: string;
4351
+ /** The standard list filter. */
4352
+ filter?: string;
4353
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
4354
+ key?: string;
4355
+ /** The name of the operation's parent resource. */
4356
+ name: string;
4357
+ /** OAuth 2.0 token for the current user. */
4358
+ oauth_token?: string;
4359
+ /** The standard list page size. */
4360
+ pageSize?: number;
4361
+ /** The standard list page token. */
4362
+ pageToken?: string;
4363
+ /** Returns response with indentations and line breaks. */
4364
+ prettyPrint?: boolean;
4365
+ /** 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. */
4366
+ quotaUser?: string;
4367
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4368
+ upload_protocol?: string;
4369
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4370
+ uploadType?: string;
4371
+ }): Request<GoogleLongrunningListOperationsResponse>;
4372
+ }
4373
+ interface AuthorizedViewsResource {
4374
+ /** Create AuthorizedView */
4375
+ create(request: {
4376
+ /** V1 error format. */
4377
+ '$.xgafv'?: string;
4378
+ /** OAuth access token. */
4379
+ access_token?: string;
4380
+ /** Data format for response. */
4381
+ alt?: string;
4382
+ /** 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 */
4383
+ authorizedViewId?: string;
4384
+ /** JSONP */
4385
+ callback?: string;
4386
+ /** Selector specifying which fields to include in a partial response. */
4387
+ fields?: string;
4388
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
4389
+ key?: string;
4390
+ /** OAuth 2.0 token for the current user. */
4391
+ oauth_token?: string;
4392
+ /** Required. The parent resource of the AuthorizedView. */
4393
+ parent: string;
4394
+ /** Returns response with indentations and line breaks. */
4395
+ prettyPrint?: boolean;
4396
+ /** 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. */
4397
+ quotaUser?: string;
4398
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4399
+ upload_protocol?: string;
4400
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4401
+ uploadType?: string;
4402
+ /** Request body */
4403
+ resource: GoogleCloudContactcenterinsightsV1AuthorizedView;
4404
+ }): Request<GoogleCloudContactcenterinsightsV1AuthorizedView>;
4405
+ create(
4406
+ request: {
4407
+ /** V1 error format. */
4408
+ '$.xgafv'?: string;
4409
+ /** OAuth access token. */
4410
+ access_token?: string;
4411
+ /** Data format for response. */
4412
+ alt?: string;
4413
+ /** 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 */
4414
+ authorizedViewId?: string;
4415
+ /** JSONP */
4416
+ callback?: string;
4417
+ /** Selector specifying which fields to include in a partial response. */
4418
+ fields?: string;
4419
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
4420
+ key?: string;
4421
+ /** OAuth 2.0 token for the current user. */
4422
+ oauth_token?: string;
4423
+ /** Required. The parent resource of the AuthorizedView. */
4424
+ parent: string;
4425
+ /** Returns response with indentations and line breaks. */
4426
+ prettyPrint?: boolean;
4427
+ /** 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. */
4428
+ quotaUser?: string;
4429
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4430
+ upload_protocol?: string;
4431
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4432
+ uploadType?: string;
4433
+ },
4434
+ body: GoogleCloudContactcenterinsightsV1AuthorizedView,
4435
+ ): Request<GoogleCloudContactcenterinsightsV1AuthorizedView>;
4436
+ /** Deletes an AuthorizedView. */
4437
+ delete(request?: {
4438
+ /** V1 error format. */
4439
+ '$.xgafv'?: string;
4440
+ /** OAuth access token. */
4441
+ access_token?: string;
4442
+ /** Data format for response. */
4443
+ alt?: string;
4444
+ /** JSONP */
4445
+ callback?: string;
4446
+ /** Selector specifying which fields to include in a partial response. */
4447
+ fields?: string;
4448
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
4449
+ key?: string;
4450
+ /** Required. The name of the AuthorizedView to delete. */
4451
+ name: string;
4452
+ /** OAuth 2.0 token for the current user. */
4453
+ oauth_token?: string;
4454
+ /** Returns response with indentations and line breaks. */
4455
+ prettyPrint?: boolean;
4456
+ /** 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. */
4457
+ quotaUser?: string;
4458
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4459
+ upload_protocol?: string;
4460
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4461
+ uploadType?: string;
4462
+ }): Request<{}>;
4463
+ /** Get AuthorizedView */
4464
+ get(request?: {
4465
+ /** V1 error format. */
4466
+ '$.xgafv'?: string;
4467
+ /** OAuth access token. */
4468
+ access_token?: string;
4469
+ /** Data format for response. */
4470
+ alt?: string;
4471
+ /** JSONP */
4472
+ callback?: string;
4473
+ /** Selector specifying which fields to include in a partial response. */
4474
+ fields?: string;
4475
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
4476
+ key?: string;
4477
+ /** Required. The name of the AuthorizedView to get. */
4478
+ name: string;
4479
+ /** OAuth 2.0 token for the current user. */
4480
+ oauth_token?: string;
4481
+ /** Returns response with indentations and line breaks. */
4482
+ prettyPrint?: boolean;
4483
+ /** 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. */
4484
+ quotaUser?: string;
4485
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4486
+ upload_protocol?: string;
4487
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4488
+ uploadType?: string;
4489
+ }): Request<GoogleCloudContactcenterinsightsV1AuthorizedView>;
4490
+ /** List AuthorizedViewSets */
4491
+ list(request?: {
4492
+ /** V1 error format. */
4493
+ '$.xgafv'?: string;
4494
+ /** OAuth access token. */
4495
+ access_token?: string;
4496
+ /** Data format for response. */
4497
+ alt?: string;
4498
+ /** JSONP */
4499
+ callback?: string;
4500
+ /** Selector specifying which fields to include in a partial response. */
4501
+ fields?: string;
4502
+ /** Optional. The filter expression to filter authorized views listed in the response. */
4503
+ filter?: string;
4504
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
4505
+ key?: string;
4506
+ /** OAuth 2.0 token for the current user. */
4507
+ oauth_token?: string;
4508
+ /** Optional. The order by expression to order authorized views listed in the response. */
4509
+ orderBy?: string;
4510
+ /** 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. */
4511
+ pageSize?: number;
4512
+ /** 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. */
4513
+ pageToken?: string;
4514
+ /** Required. The parent resource of the AuthorizedViews. If the parent is set to `-`, all AuthorizedViews under the location will be returned. */
4515
+ parent: string;
4516
+ /** Returns response with indentations and line breaks. */
4517
+ prettyPrint?: boolean;
4518
+ /** 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. */
4519
+ quotaUser?: string;
4520
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4521
+ upload_protocol?: string;
4522
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4523
+ uploadType?: string;
4524
+ }): Request<GoogleCloudContactcenterinsightsV1ListAuthorizedViewsResponse>;
4525
+ /** Updates an AuthorizedView. */
4526
+ patch(request: {
4527
+ /** V1 error format. */
4528
+ '$.xgafv'?: string;
4529
+ /** OAuth access token. */
4530
+ access_token?: string;
4531
+ /** Data format for response. */
4532
+ alt?: string;
4533
+ /** JSONP */
4534
+ callback?: string;
4535
+ /** Selector specifying which fields to include in a partial response. */
4536
+ fields?: string;
4537
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
4538
+ key?: string;
4539
+ /** Identifier. The resource name of the AuthorizedView. Format: projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view} */
4540
+ name: string;
4541
+ /** OAuth 2.0 token for the current user. */
4542
+ oauth_token?: string;
4543
+ /** Returns response with indentations and line breaks. */
4544
+ prettyPrint?: boolean;
4545
+ /** 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. */
4546
+ quotaUser?: string;
4547
+ /** 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` */
4548
+ updateMask?: string;
4549
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4550
+ upload_protocol?: string;
4551
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4552
+ uploadType?: string;
4553
+ /** Request body */
4554
+ resource: GoogleCloudContactcenterinsightsV1AuthorizedView;
4555
+ }): Request<GoogleCloudContactcenterinsightsV1AuthorizedView>;
4556
+ patch(
4557
+ request: {
4558
+ /** V1 error format. */
4559
+ '$.xgafv'?: string;
4560
+ /** OAuth access token. */
4561
+ access_token?: string;
4562
+ /** Data format for response. */
4563
+ alt?: string;
4564
+ /** JSONP */
4565
+ callback?: string;
4566
+ /** Selector specifying which fields to include in a partial response. */
4567
+ fields?: string;
4568
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
4569
+ key?: string;
4570
+ /** Identifier. The resource name of the AuthorizedView. Format: projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view} */
4571
+ name: string;
4572
+ /** OAuth 2.0 token for the current user. */
4573
+ oauth_token?: string;
4574
+ /** Returns response with indentations and line breaks. */
4575
+ prettyPrint?: boolean;
4576
+ /** 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. */
4577
+ quotaUser?: string;
4578
+ /** 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` */
4579
+ updateMask?: string;
4580
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4581
+ upload_protocol?: string;
4582
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4583
+ uploadType?: string;
4584
+ },
4585
+ body: GoogleCloudContactcenterinsightsV1AuthorizedView,
4586
+ ): Request<GoogleCloudContactcenterinsightsV1AuthorizedView>;
4587
+ /** Query metrics. */
4588
+ queryMetrics(request: {
4589
+ /** V1 error format. */
4590
+ '$.xgafv'?: string;
4591
+ /** OAuth access token. */
4592
+ access_token?: string;
4593
+ /** Data format for response. */
4594
+ alt?: string;
4595
+ /** JSONP */
4596
+ callback?: string;
4597
+ /** Selector specifying which fields to include in a partial response. */
4598
+ fields?: string;
4599
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
4600
+ key?: string;
4601
+ /** Required. The location of the data. "projects/{project}/locations/{location}" */
4602
+ location: string;
3518
4603
  /** OAuth 2.0 token for the current user. */
3519
4604
  oauth_token?: string;
3520
4605
  /** Returns response with indentations and line breaks. */
@@ -3525,9 +4610,40 @@ declare namespace gapi.client {
3525
4610
  upload_protocol?: string;
3526
4611
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3527
4612
  uploadType?: string;
4613
+ /** Request body */
4614
+ resource: GoogleCloudContactcenterinsightsV1QueryMetricsRequest;
3528
4615
  }): Request<GoogleLongrunningOperation>;
3529
- /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
3530
- list(request?: {
4616
+ queryMetrics(
4617
+ request: {
4618
+ /** V1 error format. */
4619
+ '$.xgafv'?: string;
4620
+ /** OAuth access token. */
4621
+ access_token?: string;
4622
+ /** Data format for response. */
4623
+ alt?: string;
4624
+ /** JSONP */
4625
+ callback?: string;
4626
+ /** Selector specifying which fields to include in a partial response. */
4627
+ fields?: string;
4628
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
4629
+ key?: string;
4630
+ /** Required. The location of the data. "projects/{project}/locations/{location}" */
4631
+ location: string;
4632
+ /** OAuth 2.0 token for the current user. */
4633
+ oauth_token?: string;
4634
+ /** Returns response with indentations and line breaks. */
4635
+ prettyPrint?: boolean;
4636
+ /** 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. */
4637
+ quotaUser?: string;
4638
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4639
+ upload_protocol?: string;
4640
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4641
+ uploadType?: string;
4642
+ },
4643
+ body: GoogleCloudContactcenterinsightsV1QueryMetricsRequest,
4644
+ ): Request<GoogleLongrunningOperation>;
4645
+ /** SearchAuthorizedViewSets */
4646
+ search(request?: {
3531
4647
  /** V1 error format. */
3532
4648
  '$.xgafv'?: string;
3533
4649
  /** OAuth access token. */
@@ -3538,30 +4654,34 @@ declare namespace gapi.client {
3538
4654
  callback?: string;
3539
4655
  /** Selector specifying which fields to include in a partial response. */
3540
4656
  fields?: string;
3541
- /** The standard list filter. */
3542
- filter?: string;
3543
4657
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3544
4658
  key?: string;
3545
- /** The name of the operation's parent resource. */
3546
- name: string;
3547
4659
  /** OAuth 2.0 token for the current user. */
3548
4660
  oauth_token?: string;
3549
- /** The standard list page size. */
4661
+ /** Optional. The order by expression to order authorized views listed in the response. */
4662
+ orderBy?: string;
4663
+ /** 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. */
3550
4664
  pageSize?: number;
3551
- /** The standard list page token. */
4665
+ /** 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. */
3552
4666
  pageToken?: string;
4667
+ /** Required. The parent resource of the AuthorizedViews. If the parent is set to `-`, all AuthorizedViews under the location will be returned. */
4668
+ parent: string;
3553
4669
  /** Returns response with indentations and line breaks. */
3554
4670
  prettyPrint?: boolean;
4671
+ /** Optional. The query expression to search authorized views. */
4672
+ query?: string;
3555
4673
  /** 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. */
3556
4674
  quotaUser?: string;
3557
4675
  /** Upload protocol for media (e.g. "raw", "multipart"). */
3558
4676
  upload_protocol?: string;
3559
4677
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3560
4678
  uploadType?: string;
3561
- }): Request<GoogleLongrunningListOperationsResponse>;
4679
+ }): Request<GoogleCloudContactcenterinsightsV1SearchAuthorizedViewsResponse>;
4680
+ conversations: ConversationsResource;
4681
+ operations: OperationsResource;
3562
4682
  }
3563
- interface AuthorizedViewsResource {
3564
- /** Create AuthorizedView */
4683
+ interface AuthorizedViewSetsResource {
4684
+ /** Create AuthorizedViewSet */
3565
4685
  create(request: {
3566
4686
  /** V1 error format. */
3567
4687
  '$.xgafv'?: string;
@@ -3569,8 +4689,8 @@ declare namespace gapi.client {
3569
4689
  access_token?: string;
3570
4690
  /** Data format for response. */
3571
4691
  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;
4692
+ /** 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 */
4693
+ authorizedViewSetId?: string;
3574
4694
  /** JSONP */
3575
4695
  callback?: string;
3576
4696
  /** Selector specifying which fields to include in a partial response. */
@@ -3579,7 +4699,7 @@ declare namespace gapi.client {
3579
4699
  key?: string;
3580
4700
  /** OAuth 2.0 token for the current user. */
3581
4701
  oauth_token?: string;
3582
- /** Required. The parent resource of the AuthorizedView. */
4702
+ /** Required. The parent resource of the AuthorizedViewSet. */
3583
4703
  parent: string;
3584
4704
  /** Returns response with indentations and line breaks. */
3585
4705
  prettyPrint?: boolean;
@@ -3590,8 +4710,8 @@ declare namespace gapi.client {
3590
4710
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3591
4711
  uploadType?: string;
3592
4712
  /** Request body */
3593
- resource: GoogleCloudContactcenterinsightsV1AuthorizedView;
3594
- }): Request<GoogleCloudContactcenterinsightsV1AuthorizedView>;
4713
+ resource: GoogleCloudContactcenterinsightsV1AuthorizedViewSet;
4714
+ }): Request<GoogleCloudContactcenterinsightsV1AuthorizedViewSet>;
3595
4715
  create(
3596
4716
  request: {
3597
4717
  /** V1 error format. */
@@ -3600,8 +4720,8 @@ declare namespace gapi.client {
3600
4720
  access_token?: string;
3601
4721
  /** Data format for response. */
3602
4722
  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;
4723
+ /** 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 */
4724
+ authorizedViewSetId?: string;
3605
4725
  /** JSONP */
3606
4726
  callback?: string;
3607
4727
  /** Selector specifying which fields to include in a partial response. */
@@ -3610,7 +4730,7 @@ declare namespace gapi.client {
3610
4730
  key?: string;
3611
4731
  /** OAuth 2.0 token for the current user. */
3612
4732
  oauth_token?: string;
3613
- /** Required. The parent resource of the AuthorizedView. */
4733
+ /** Required. The parent resource of the AuthorizedViewSet. */
3614
4734
  parent: string;
3615
4735
  /** Returns response with indentations and line breaks. */
3616
4736
  prettyPrint?: boolean;
@@ -3621,9 +4741,9 @@ declare namespace gapi.client {
3621
4741
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3622
4742
  uploadType?: string;
3623
4743
  },
3624
- body: GoogleCloudContactcenterinsightsV1AuthorizedView,
3625
- ): Request<GoogleCloudContactcenterinsightsV1AuthorizedView>;
3626
- /** Deletes an AuthorizedView. */
4744
+ body: GoogleCloudContactcenterinsightsV1AuthorizedViewSet,
4745
+ ): Request<GoogleCloudContactcenterinsightsV1AuthorizedViewSet>;
4746
+ /** Deletes an AuthorizedViewSet. */
3627
4747
  delete(request?: {
3628
4748
  /** V1 error format. */
3629
4749
  '$.xgafv'?: string;
@@ -3635,9 +4755,11 @@ declare namespace gapi.client {
3635
4755
  callback?: string;
3636
4756
  /** Selector specifying which fields to include in a partial response. */
3637
4757
  fields?: string;
4758
+ /** 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. */
4759
+ force?: boolean;
3638
4760
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3639
4761
  key?: string;
3640
- /** Required. The name of the AuthorizedView to delete. */
4762
+ /** Required. The name of the AuthorizedViewSet to delete. */
3641
4763
  name: string;
3642
4764
  /** OAuth 2.0 token for the current user. */
3643
4765
  oauth_token?: string;
@@ -3650,7 +4772,7 @@ declare namespace gapi.client {
3650
4772
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3651
4773
  uploadType?: string;
3652
4774
  }): Request<{}>;
3653
- /** Get AuthorizedView */
4775
+ /** Get AuthorizedViewSet */
3654
4776
  get(request?: {
3655
4777
  /** V1 error format. */
3656
4778
  '$.xgafv'?: string;
@@ -3664,7 +4786,7 @@ declare namespace gapi.client {
3664
4786
  fields?: string;
3665
4787
  /** API key. 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
4788
  key?: string;
3667
- /** Required. The name of the AuthorizedView to get. */
4789
+ /** Required. The name of the AuthorizedViewSet to get. */
3668
4790
  name: string;
3669
4791
  /** OAuth 2.0 token for the current user. */
3670
4792
  oauth_token?: string;
@@ -3676,7 +4798,7 @@ declare namespace gapi.client {
3676
4798
  upload_protocol?: string;
3677
4799
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3678
4800
  uploadType?: string;
3679
- }): Request<GoogleCloudContactcenterinsightsV1AuthorizedView>;
4801
+ }): Request<GoogleCloudContactcenterinsightsV1AuthorizedViewSet>;
3680
4802
  /** List AuthorizedViewSets */
3681
4803
  list(request?: {
3682
4804
  /** V1 error format. */
@@ -3689,19 +4811,19 @@ declare namespace gapi.client {
3689
4811
  callback?: string;
3690
4812
  /** Selector specifying which fields to include in a partial response. */
3691
4813
  fields?: string;
3692
- /** Optional. The filter expression to filter authorized views listed in the response. */
4814
+ /** Optional. The filter expression to filter authorized view sets listed in the response. */
3693
4815
  filter?: string;
3694
4816
  /** API key. 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
4817
  key?: string;
3696
4818
  /** OAuth 2.0 token for the current user. */
3697
4819
  oauth_token?: string;
3698
- /** Optional. The order by expression to order authorized views listed in the response. */
4820
+ /** Optional. The order by expression to order authorized view sets listed in the response. */
3699
4821
  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. */
4822
+ /** 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. */
3701
4823
  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. */
4824
+ /** 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. */
3703
4825
  pageToken?: string;
3704
- /** Required. The parent resource of the AuthorizedViews. If the parent is set to `-`, all AuthorizedViews under the location will be returned. */
4826
+ /** Required. The parent resource of the AuthorizedViewSets. */
3705
4827
  parent: string;
3706
4828
  /** Returns response with indentations and line breaks. */
3707
4829
  prettyPrint?: boolean;
@@ -3711,8 +4833,8 @@ declare namespace gapi.client {
3711
4833
  upload_protocol?: string;
3712
4834
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3713
4835
  uploadType?: string;
3714
- }): Request<GoogleCloudContactcenterinsightsV1ListAuthorizedViewsResponse>;
3715
- /** Updates an AuthorizedView. */
4836
+ }): Request<GoogleCloudContactcenterinsightsV1ListAuthorizedViewSetsResponse>;
4837
+ /** Updates an AuthorizedViewSet. */
3716
4838
  patch(request: {
3717
4839
  /** V1 error format. */
3718
4840
  '$.xgafv'?: string;
@@ -3726,7 +4848,7 @@ declare namespace gapi.client {
3726
4848
  fields?: string;
3727
4849
  /** API key. 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
4850
  key?: string;
3729
- /** Identifier. The resource name of the AuthorizedView. Format: projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view} */
4851
+ /** Identifier. The resource name of the AuthorizedViewSet. Format: projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set} */
3730
4852
  name: string;
3731
4853
  /** OAuth 2.0 token for the current user. */
3732
4854
  oauth_token?: string;
@@ -3734,15 +4856,15 @@ declare namespace gapi.client {
3734
4856
  prettyPrint?: boolean;
3735
4857
  /** 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
4858
  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` */
4859
+ /** 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` */
3738
4860
  updateMask?: string;
3739
4861
  /** Upload protocol for media (e.g. "raw", "multipart"). */
3740
4862
  upload_protocol?: string;
3741
4863
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3742
4864
  uploadType?: string;
3743
4865
  /** Request body */
3744
- resource: GoogleCloudContactcenterinsightsV1AuthorizedView;
3745
- }): Request<GoogleCloudContactcenterinsightsV1AuthorizedView>;
4866
+ resource: GoogleCloudContactcenterinsightsV1AuthorizedViewSet;
4867
+ }): Request<GoogleCloudContactcenterinsightsV1AuthorizedViewSet>;
3746
4868
  patch(
3747
4869
  request: {
3748
4870
  /** V1 error format. */
@@ -3757,7 +4879,7 @@ declare namespace gapi.client {
3757
4879
  fields?: string;
3758
4880
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3759
4881
  key?: string;
3760
- /** Identifier. The resource name of the AuthorizedView. Format: projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view} */
4882
+ /** Identifier. The resource name of the AuthorizedViewSet. Format: projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set} */
3761
4883
  name: string;
3762
4884
  /** OAuth 2.0 token for the current user. */
3763
4885
  oauth_token?: string;
@@ -3765,17 +4887,20 @@ declare namespace gapi.client {
3765
4887
  prettyPrint?: boolean;
3766
4888
  /** 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. */
3767
4889
  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` */
4890
+ /** 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` */
3769
4891
  updateMask?: string;
3770
4892
  /** Upload protocol for media (e.g. "raw", "multipart"). */
3771
4893
  upload_protocol?: string;
3772
4894
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3773
4895
  uploadType?: string;
3774
4896
  },
3775
- body: GoogleCloudContactcenterinsightsV1AuthorizedView,
3776
- ): Request<GoogleCloudContactcenterinsightsV1AuthorizedView>;
3777
- /** Query metrics. */
3778
- queryMetrics(request: {
4897
+ body: GoogleCloudContactcenterinsightsV1AuthorizedViewSet,
4898
+ ): Request<GoogleCloudContactcenterinsightsV1AuthorizedViewSet>;
4899
+ authorizedViews: AuthorizedViewsResource;
4900
+ }
4901
+ interface AnalysesResource {
4902
+ /** Creates an analysis. The long running operation is done when the analysis has completed. */
4903
+ create(request: {
3779
4904
  /** V1 error format. */
3780
4905
  '$.xgafv'?: string;
3781
4906
  /** OAuth access token. */
@@ -3788,8 +4913,93 @@ declare namespace gapi.client {
3788
4913
  fields?: string;
3789
4914
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3790
4915
  key?: string;
3791
- /** Required. The location of the data. "projects/{project}/locations/{location}" */
3792
- location: string;
4916
+ /** OAuth 2.0 token for the current user. */
4917
+ oauth_token?: string;
4918
+ /** Required. The parent resource of the analysis. */
4919
+ parent: string;
4920
+ /** Returns response with indentations and line breaks. */
4921
+ prettyPrint?: boolean;
4922
+ /** 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. */
4923
+ quotaUser?: string;
4924
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4925
+ upload_protocol?: string;
4926
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4927
+ uploadType?: string;
4928
+ /** Request body */
4929
+ resource: GoogleCloudContactcenterinsightsV1Analysis;
4930
+ }): Request<GoogleLongrunningOperation>;
4931
+ create(
4932
+ request: {
4933
+ /** V1 error format. */
4934
+ '$.xgafv'?: string;
4935
+ /** OAuth access token. */
4936
+ access_token?: string;
4937
+ /** Data format for response. */
4938
+ alt?: string;
4939
+ /** JSONP */
4940
+ callback?: string;
4941
+ /** Selector specifying which fields to include in a partial response. */
4942
+ fields?: string;
4943
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
4944
+ key?: string;
4945
+ /** OAuth 2.0 token for the current user. */
4946
+ oauth_token?: string;
4947
+ /** Required. The parent resource of the analysis. */
4948
+ parent: string;
4949
+ /** Returns response with indentations and line breaks. */
4950
+ prettyPrint?: boolean;
4951
+ /** 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. */
4952
+ quotaUser?: string;
4953
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4954
+ upload_protocol?: string;
4955
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4956
+ uploadType?: string;
4957
+ },
4958
+ body: GoogleCloudContactcenterinsightsV1Analysis,
4959
+ ): Request<GoogleLongrunningOperation>;
4960
+ /** Deletes an analysis. */
4961
+ delete(request?: {
4962
+ /** V1 error format. */
4963
+ '$.xgafv'?: string;
4964
+ /** OAuth access token. */
4965
+ access_token?: string;
4966
+ /** Data format for response. */
4967
+ alt?: string;
4968
+ /** JSONP */
4969
+ callback?: string;
4970
+ /** Selector specifying which fields to include in a partial response. */
4971
+ fields?: string;
4972
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
4973
+ key?: string;
4974
+ /** Required. The name of the analysis to delete. */
4975
+ name: string;
4976
+ /** OAuth 2.0 token for the current user. */
4977
+ oauth_token?: string;
4978
+ /** Returns response with indentations and line breaks. */
4979
+ prettyPrint?: boolean;
4980
+ /** 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. */
4981
+ quotaUser?: string;
4982
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4983
+ upload_protocol?: string;
4984
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4985
+ uploadType?: string;
4986
+ }): Request<{}>;
4987
+ /** Gets an analysis. */
4988
+ get(request?: {
4989
+ /** V1 error format. */
4990
+ '$.xgafv'?: string;
4991
+ /** OAuth access token. */
4992
+ access_token?: string;
4993
+ /** Data format for response. */
4994
+ alt?: string;
4995
+ /** JSONP */
4996
+ callback?: string;
4997
+ /** Selector specifying which fields to include in a partial response. */
4998
+ fields?: string;
4999
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
5000
+ key?: string;
5001
+ /** Required. The name of the analysis to get. */
5002
+ name: string;
3793
5003
  /** OAuth 2.0 token for the current user. */
3794
5004
  oauth_token?: string;
3795
5005
  /** Returns response with indentations and line breaks. */
@@ -3800,40 +5010,9 @@ declare namespace gapi.client {
3800
5010
  upload_protocol?: string;
3801
5011
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3802
5012
  uploadType?: string;
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?: {
5013
+ }): Request<GoogleCloudContactcenterinsightsV1Analysis>;
5014
+ /** Lists analyses. */
5015
+ list(request?: {
3837
5016
  /** V1 error format. */
3838
5017
  '$.xgafv'?: string;
3839
5018
  /** OAuth access token. */
@@ -3844,34 +5023,30 @@ declare namespace gapi.client {
3844
5023
  callback?: string;
3845
5024
  /** Selector specifying which fields to include in a partial response. */
3846
5025
  fields?: string;
5026
+ /** A filter to reduce results to a specific subset. Useful for querying conversations with specific properties. */
5027
+ filter?: string;
3847
5028
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3848
5029
  key?: string;
3849
5030
  /** OAuth 2.0 token for the current user. */
3850
5031
  oauth_token?: string;
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. */
5032
+ /** 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. */
3854
5033
  pageSize?: number;
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. */
5034
+ /** 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. */
3856
5035
  pageToken?: string;
3857
- /** Required. The parent resource of the AuthorizedViews. If the parent is set to `-`, all AuthorizedViews under the location will be returned. */
5036
+ /** Required. The parent resource of the analyses. */
3858
5037
  parent: string;
3859
5038
  /** Returns response with indentations and line breaks. */
3860
5039
  prettyPrint?: boolean;
3861
- /** Optional. The query expression to search authorized views. */
3862
- query?: string;
3863
5040
  /** 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. */
3864
5041
  quotaUser?: string;
3865
5042
  /** Upload protocol for media (e.g. "raw", "multipart"). */
3866
5043
  upload_protocol?: string;
3867
5044
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3868
5045
  uploadType?: string;
3869
- }): Request<GoogleCloudContactcenterinsightsV1SearchAuthorizedViewsResponse>;
3870
- conversations: ConversationsResource;
3871
- operations: OperationsResource;
5046
+ }): Request<GoogleCloudContactcenterinsightsV1ListAnalysesResponse>;
3872
5047
  }
3873
- interface AuthorizedViewSetsResource {
3874
- /** Create AuthorizedViewSet */
5048
+ interface NotesResource {
5049
+ /** Create Note. */
3875
5050
  create(request: {
3876
5051
  /** V1 error format. */
3877
5052
  '$.xgafv'?: string;
@@ -3879,8 +5054,6 @@ declare namespace gapi.client {
3879
5054
  access_token?: string;
3880
5055
  /** Data format for response. */
3881
5056
  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;
3884
5057
  /** JSONP */
3885
5058
  callback?: string;
3886
5059
  /** Selector specifying which fields to include in a partial response. */
@@ -3889,7 +5062,7 @@ declare namespace gapi.client {
3889
5062
  key?: string;
3890
5063
  /** OAuth 2.0 token for the current user. */
3891
5064
  oauth_token?: string;
3892
- /** Required. The parent resource of the AuthorizedViewSet. */
5065
+ /** Required. The parent resource of the note. */
3893
5066
  parent: string;
3894
5067
  /** Returns response with indentations and line breaks. */
3895
5068
  prettyPrint?: boolean;
@@ -3900,8 +5073,8 @@ declare namespace gapi.client {
3900
5073
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3901
5074
  uploadType?: string;
3902
5075
  /** Request body */
3903
- resource: GoogleCloudContactcenterinsightsV1AuthorizedViewSet;
3904
- }): Request<GoogleCloudContactcenterinsightsV1AuthorizedViewSet>;
5076
+ resource: GoogleCloudContactcenterinsightsV1Note;
5077
+ }): Request<GoogleCloudContactcenterinsightsV1Note>;
3905
5078
  create(
3906
5079
  request: {
3907
5080
  /** V1 error format. */
@@ -3910,8 +5083,6 @@ declare namespace gapi.client {
3910
5083
  access_token?: string;
3911
5084
  /** Data format for response. */
3912
5085
  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;
3915
5086
  /** JSONP */
3916
5087
  callback?: string;
3917
5088
  /** Selector specifying which fields to include in a partial response. */
@@ -3920,7 +5091,7 @@ declare namespace gapi.client {
3920
5091
  key?: string;
3921
5092
  /** OAuth 2.0 token for the current user. */
3922
5093
  oauth_token?: string;
3923
- /** Required. The parent resource of the AuthorizedViewSet. */
5094
+ /** Required. The parent resource of the note. */
3924
5095
  parent: string;
3925
5096
  /** Returns response with indentations and line breaks. */
3926
5097
  prettyPrint?: boolean;
@@ -3931,9 +5102,9 @@ declare namespace gapi.client {
3931
5102
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3932
5103
  uploadType?: string;
3933
5104
  },
3934
- body: GoogleCloudContactcenterinsightsV1AuthorizedViewSet,
3935
- ): Request<GoogleCloudContactcenterinsightsV1AuthorizedViewSet>;
3936
- /** Deletes an AuthorizedViewSet. */
5105
+ body: GoogleCloudContactcenterinsightsV1Note,
5106
+ ): Request<GoogleCloudContactcenterinsightsV1Note>;
5107
+ /** Deletes a Note. */
3937
5108
  delete(request?: {
3938
5109
  /** V1 error format. */
3939
5110
  '$.xgafv'?: string;
@@ -3945,11 +5116,9 @@ declare namespace gapi.client {
3945
5116
  callback?: string;
3946
5117
  /** Selector specifying which fields to include in a partial response. */
3947
5118
  fields?: string;
3948
- /** Optional. If set to true, all of this AuthorizedViewSet's child resources will also be deleted. Otherwise, the request will only succeed if it has none. */
3949
- force?: boolean;
3950
5119
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3951
5120
  key?: string;
3952
- /** Required. The name of the AuthorizedViewSet to delete. */
5121
+ /** Required. The name of the note to delete. */
3953
5122
  name: string;
3954
5123
  /** OAuth 2.0 token for the current user. */
3955
5124
  oauth_token?: string;
@@ -3962,8 +5131,8 @@ declare namespace gapi.client {
3962
5131
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3963
5132
  uploadType?: string;
3964
5133
  }): Request<{}>;
3965
- /** Get AuthorizedViewSet */
3966
- get(request?: {
5134
+ /** List Notes. */
5135
+ list(request?: {
3967
5136
  /** V1 error format. */
3968
5137
  '$.xgafv'?: string;
3969
5138
  /** OAuth access token. */
@@ -3976,10 +5145,14 @@ declare namespace gapi.client {
3976
5145
  fields?: string;
3977
5146
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3978
5147
  key?: string;
3979
- /** Required. The name of the AuthorizedViewSet to get. */
3980
- name: string;
3981
5148
  /** OAuth 2.0 token for the current user. */
3982
5149
  oauth_token?: string;
5150
+ /** Optional. The maximum number of notes to return in the response. If zero the service will select a default size. A call might return fewer objects than requested. A non-empty `next_page_token` in the response indicates that more data is available. */
5151
+ pageSize?: number;
5152
+ /** Optional. The value returned by the last `ListNotesResponse`. This value indicates that this is a continuation of a prior `ListNotes` call and that the system should return the next page of data. */
5153
+ pageToken?: string;
5154
+ /** Required. The parent resource of the notes. */
5155
+ parent: string;
3983
5156
  /** Returns response with indentations and line breaks. */
3984
5157
  prettyPrint?: boolean;
3985
5158
  /** 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. */
@@ -3988,9 +5161,9 @@ declare namespace gapi.client {
3988
5161
  upload_protocol?: string;
3989
5162
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3990
5163
  uploadType?: string;
3991
- }): Request<GoogleCloudContactcenterinsightsV1AuthorizedViewSet>;
3992
- /** List AuthorizedViewSets */
3993
- list(request?: {
5164
+ }): Request<GoogleCloudContactcenterinsightsV1ListNotesResponse>;
5165
+ /** Update Note. */
5166
+ patch(request: {
3994
5167
  /** V1 error format. */
3995
5168
  '$.xgafv'?: string;
3996
5169
  /** OAuth access token. */
@@ -4001,31 +5174,60 @@ declare namespace gapi.client {
4001
5174
  callback?: string;
4002
5175
  /** Selector specifying which fields to include in a partial response. */
4003
5176
  fields?: string;
4004
- /** Optional. The filter expression to filter authorized view sets listed in the response. */
4005
- filter?: string;
4006
5177
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
4007
5178
  key?: string;
5179
+ /** Identifier. The resource name of the note. Format: projects/{project}/locations/{location}/conversations/{conversation}/assessments/{assessment}/notes/{note} */
5180
+ name: string;
4008
5181
  /** OAuth 2.0 token for the current user. */
4009
5182
  oauth_token?: string;
4010
- /** Optional. The order by expression to order authorized view sets listed in the response. */
4011
- orderBy?: string;
4012
- /** Optional. The maximum number of view sets to return in the response. If the value is zero, the service will select a default size. A call might return fewer objects than requested. A non-empty `next_page_token` in the response indicates that more data is available. */
4013
- pageSize?: number;
4014
- /** Optional. The value returned by the last `ListAuthorizedViewSetsResponse`. This value indicates that this is a continuation of a prior `ListAuthorizedViewSets` call and that the system should return the next page of data. */
4015
- pageToken?: string;
4016
- /** Required. The parent resource of the AuthorizedViewSets. */
4017
- parent: string;
4018
5183
  /** Returns response with indentations and line breaks. */
4019
5184
  prettyPrint?: boolean;
4020
5185
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
4021
5186
  quotaUser?: string;
5187
+ /** Optional. The list of fields to be updated. If the update_mask is empty, all updateable fields will be updated. Acceptable fields include: * `content` */
5188
+ updateMask?: string;
4022
5189
  /** Upload protocol for media (e.g. "raw", "multipart"). */
4023
5190
  upload_protocol?: string;
4024
5191
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4025
5192
  uploadType?: string;
4026
- }): Request<GoogleCloudContactcenterinsightsV1ListAuthorizedViewSetsResponse>;
4027
- /** Updates an AuthorizedViewSet. */
4028
- patch(request: {
5193
+ /** Request body */
5194
+ resource: GoogleCloudContactcenterinsightsV1Note;
5195
+ }): Request<GoogleCloudContactcenterinsightsV1Note>;
5196
+ patch(
5197
+ request: {
5198
+ /** V1 error format. */
5199
+ '$.xgafv'?: string;
5200
+ /** OAuth access token. */
5201
+ access_token?: string;
5202
+ /** Data format for response. */
5203
+ alt?: string;
5204
+ /** JSONP */
5205
+ callback?: string;
5206
+ /** Selector specifying which fields to include in a partial response. */
5207
+ fields?: string;
5208
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
5209
+ key?: string;
5210
+ /** Identifier. The resource name of the note. Format: projects/{project}/locations/{location}/conversations/{conversation}/assessments/{assessment}/notes/{note} */
5211
+ name: string;
5212
+ /** OAuth 2.0 token for the current user. */
5213
+ oauth_token?: string;
5214
+ /** Returns response with indentations and line breaks. */
5215
+ prettyPrint?: boolean;
5216
+ /** 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. */
5217
+ quotaUser?: string;
5218
+ /** Optional. The list of fields to be updated. If the update_mask is empty, all updateable fields will be updated. Acceptable fields include: * `content` */
5219
+ updateMask?: string;
5220
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5221
+ upload_protocol?: string;
5222
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5223
+ uploadType?: string;
5224
+ },
5225
+ body: GoogleCloudContactcenterinsightsV1Note,
5226
+ ): Request<GoogleCloudContactcenterinsightsV1Note>;
5227
+ }
5228
+ interface AssessmentsResource {
5229
+ /** Appeal an Assessment. */
5230
+ appeal(request: {
4029
5231
  /** V1 error format. */
4030
5232
  '$.xgafv'?: string;
4031
5233
  /** OAuth access token. */
@@ -4038,7 +5240,7 @@ declare namespace gapi.client {
4038
5240
  fields?: string;
4039
5241
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
4040
5242
  key?: string;
4041
- /** Identifier. The resource name of the AuthorizedViewSet. Format: projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set} */
5243
+ /** Required. The name of the assessment to appeal. */
4042
5244
  name: string;
4043
5245
  /** OAuth 2.0 token for the current user. */
4044
5246
  oauth_token?: string;
@@ -4046,16 +5248,14 @@ declare namespace gapi.client {
4046
5248
  prettyPrint?: boolean;
4047
5249
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
4048
5250
  quotaUser?: string;
4049
- /** Optional. The list of fields to be updated. All possible fields can be updated by passing `*`, or a subset of the following updateable fields can be provided: * `display_name` */
4050
- updateMask?: string;
4051
5251
  /** Upload protocol for media (e.g. "raw", "multipart"). */
4052
5252
  upload_protocol?: string;
4053
5253
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4054
5254
  uploadType?: string;
4055
5255
  /** Request body */
4056
- resource: GoogleCloudContactcenterinsightsV1AuthorizedViewSet;
4057
- }): Request<GoogleCloudContactcenterinsightsV1AuthorizedViewSet>;
4058
- patch(
5256
+ resource: GoogleCloudContactcenterinsightsV1AppealAssessmentRequest;
5257
+ }): Request<GoogleCloudContactcenterinsightsV1Assessment>;
5258
+ appeal(
4059
5259
  request: {
4060
5260
  /** V1 error format. */
4061
5261
  '$.xgafv'?: string;
@@ -4069,7 +5269,7 @@ declare namespace gapi.client {
4069
5269
  fields?: string;
4070
5270
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
4071
5271
  key?: string;
4072
- /** Identifier. The resource name of the AuthorizedViewSet. Format: projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set} */
5272
+ /** Required. The name of the assessment to appeal. */
4073
5273
  name: string;
4074
5274
  /** OAuth 2.0 token for the current user. */
4075
5275
  oauth_token?: string;
@@ -4077,19 +5277,14 @@ declare namespace gapi.client {
4077
5277
  prettyPrint?: boolean;
4078
5278
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
4079
5279
  quotaUser?: string;
4080
- /** Optional. The list of fields to be updated. All possible fields can be updated by passing `*`, or a subset of the following updateable fields can be provided: * `display_name` */
4081
- updateMask?: string;
4082
5280
  /** Upload protocol for media (e.g. "raw", "multipart"). */
4083
5281
  upload_protocol?: string;
4084
5282
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4085
5283
  uploadType?: string;
4086
5284
  },
4087
- body: GoogleCloudContactcenterinsightsV1AuthorizedViewSet,
4088
- ): Request<GoogleCloudContactcenterinsightsV1AuthorizedViewSet>;
4089
- authorizedViews: AuthorizedViewsResource;
4090
- }
4091
- interface AnalysesResource {
4092
- /** Creates an analysis. The long running operation is done when the analysis has completed. */
5285
+ body: GoogleCloudContactcenterinsightsV1AppealAssessmentRequest,
5286
+ ): Request<GoogleCloudContactcenterinsightsV1Assessment>;
5287
+ /** Create Assessment. */
4093
5288
  create(request: {
4094
5289
  /** V1 error format. */
4095
5290
  '$.xgafv'?: string;
@@ -4105,7 +5300,7 @@ declare namespace gapi.client {
4105
5300
  key?: string;
4106
5301
  /** OAuth 2.0 token for the current user. */
4107
5302
  oauth_token?: string;
4108
- /** Required. The parent resource of the analysis. */
5303
+ /** Required. The parent resource of the assessment. */
4109
5304
  parent: string;
4110
5305
  /** Returns response with indentations and line breaks. */
4111
5306
  prettyPrint?: boolean;
@@ -4116,8 +5311,8 @@ declare namespace gapi.client {
4116
5311
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4117
5312
  uploadType?: string;
4118
5313
  /** Request body */
4119
- resource: GoogleCloudContactcenterinsightsV1Analysis;
4120
- }): Request<GoogleLongrunningOperation>;
5314
+ resource: GoogleCloudContactcenterinsightsV1Assessment;
5315
+ }): Request<GoogleCloudContactcenterinsightsV1Assessment>;
4121
5316
  create(
4122
5317
  request: {
4123
5318
  /** V1 error format. */
@@ -4134,7 +5329,7 @@ declare namespace gapi.client {
4134
5329
  key?: string;
4135
5330
  /** OAuth 2.0 token for the current user. */
4136
5331
  oauth_token?: string;
4137
- /** Required. The parent resource of the analysis. */
5332
+ /** Required. The parent resource of the assessment. */
4138
5333
  parent: string;
4139
5334
  /** Returns response with indentations and line breaks. */
4140
5335
  prettyPrint?: boolean;
@@ -4145,9 +5340,9 @@ declare namespace gapi.client {
4145
5340
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4146
5341
  uploadType?: string;
4147
5342
  },
4148
- body: GoogleCloudContactcenterinsightsV1Analysis,
4149
- ): Request<GoogleLongrunningOperation>;
4150
- /** Deletes an analysis. */
5343
+ body: GoogleCloudContactcenterinsightsV1Assessment,
5344
+ ): Request<GoogleCloudContactcenterinsightsV1Assessment>;
5345
+ /** Delete an Assessment. */
4151
5346
  delete(request?: {
4152
5347
  /** V1 error format. */
4153
5348
  '$.xgafv'?: string;
@@ -4159,9 +5354,11 @@ declare namespace gapi.client {
4159
5354
  callback?: string;
4160
5355
  /** Selector specifying which fields to include in a partial response. */
4161
5356
  fields?: string;
5357
+ /** Optional. If set to true, all of this assessment's notes will also be deleted. Otherwise, the request will only succeed if it has no notes. */
5358
+ force?: boolean;
4162
5359
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
4163
5360
  key?: string;
4164
- /** Required. The name of the analysis to delete. */
5361
+ /** Required. The name of the assessment to delete. */
4165
5362
  name: string;
4166
5363
  /** OAuth 2.0 token for the current user. */
4167
5364
  oauth_token?: string;
@@ -4174,7 +5371,65 @@ declare namespace gapi.client {
4174
5371
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4175
5372
  uploadType?: string;
4176
5373
  }): Request<{}>;
4177
- /** Gets an analysis. */
5374
+ /** Finalize an Assessment. */
5375
+ finalize(request: {
5376
+ /** V1 error format. */
5377
+ '$.xgafv'?: string;
5378
+ /** OAuth access token. */
5379
+ access_token?: string;
5380
+ /** Data format for response. */
5381
+ alt?: string;
5382
+ /** JSONP */
5383
+ callback?: string;
5384
+ /** Selector specifying which fields to include in a partial response. */
5385
+ fields?: string;
5386
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
5387
+ key?: string;
5388
+ /** Required. The name of the assessment to finalize. */
5389
+ name: string;
5390
+ /** OAuth 2.0 token for the current user. */
5391
+ oauth_token?: string;
5392
+ /** Returns response with indentations and line breaks. */
5393
+ prettyPrint?: boolean;
5394
+ /** 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. */
5395
+ quotaUser?: string;
5396
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5397
+ upload_protocol?: string;
5398
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5399
+ uploadType?: string;
5400
+ /** Request body */
5401
+ resource: GoogleCloudContactcenterinsightsV1FinalizeAssessmentRequest;
5402
+ }): Request<GoogleCloudContactcenterinsightsV1Assessment>;
5403
+ finalize(
5404
+ request: {
5405
+ /** V1 error format. */
5406
+ '$.xgafv'?: string;
5407
+ /** OAuth access token. */
5408
+ access_token?: string;
5409
+ /** Data format for response. */
5410
+ alt?: string;
5411
+ /** JSONP */
5412
+ callback?: string;
5413
+ /** Selector specifying which fields to include in a partial response. */
5414
+ fields?: string;
5415
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
5416
+ key?: string;
5417
+ /** Required. The name of the assessment to finalize. */
5418
+ name: string;
5419
+ /** OAuth 2.0 token for the current user. */
5420
+ oauth_token?: string;
5421
+ /** Returns response with indentations and line breaks. */
5422
+ prettyPrint?: boolean;
5423
+ /** 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. */
5424
+ quotaUser?: string;
5425
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5426
+ upload_protocol?: string;
5427
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5428
+ uploadType?: string;
5429
+ },
5430
+ body: GoogleCloudContactcenterinsightsV1FinalizeAssessmentRequest,
5431
+ ): Request<GoogleCloudContactcenterinsightsV1Assessment>;
5432
+ /** Get Assessment. */
4178
5433
  get(request?: {
4179
5434
  /** V1 error format. */
4180
5435
  '$.xgafv'?: string;
@@ -4188,7 +5443,7 @@ declare namespace gapi.client {
4188
5443
  fields?: string;
4189
5444
  /** API key. 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
5445
  key?: string;
4191
- /** Required. The name of the analysis to get. */
5446
+ /** Required. The name of the assessment to get. */
4192
5447
  name: string;
4193
5448
  /** OAuth 2.0 token for the current user. */
4194
5449
  oauth_token?: string;
@@ -4200,8 +5455,8 @@ declare namespace gapi.client {
4200
5455
  upload_protocol?: string;
4201
5456
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4202
5457
  uploadType?: string;
4203
- }): Request<GoogleCloudContactcenterinsightsV1Analysis>;
4204
- /** Lists analyses. */
5458
+ }): Request<GoogleCloudContactcenterinsightsV1Assessment>;
5459
+ /** List Assessments. */
4205
5460
  list(request?: {
4206
5461
  /** V1 error format. */
4207
5462
  '$.xgafv'?: string;
@@ -4213,17 +5468,17 @@ declare namespace gapi.client {
4213
5468
  callback?: string;
4214
5469
  /** Selector specifying which fields to include in a partial response. */
4215
5470
  fields?: string;
4216
- /** A filter to reduce results to a specific subset. Useful for querying conversations with specific properties. */
5471
+ /** Optional. A filter to reduce results to a specific subset. Supported filters include: * `state` - The state of the assessment * `agent_info.agent_id` - The ID of the agent the assessment is for */
4217
5472
  filter?: string;
4218
5473
  /** API key. 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
5474
  key?: string;
4220
5475
  /** OAuth 2.0 token for the current user. */
4221
5476
  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. */
5477
+ /** The maximum number of assessments to list. If zero, the service will select a default size. A call may return fewer objects than requested. A non-empty `next_page_token` in the response indicates that more data is available. */
4223
5478
  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. */
5479
+ /** Optional. The value returned by the last `ListAssessmentRulesResponse`; indicates that this is a continuation of a prior `ListAssessmentRules` call and the system should return the next page of data. */
4225
5480
  pageToken?: string;
4226
- /** Required. The parent resource of the analyses. */
5481
+ /** Required. The parent resource of the assessments. To list all assessments in a location, substitute the conversation ID with a '-' character. */
4227
5482
  parent: string;
4228
5483
  /** Returns response with indentations and line breaks. */
4229
5484
  prettyPrint?: boolean;
@@ -4233,7 +5488,66 @@ declare namespace gapi.client {
4233
5488
  upload_protocol?: string;
4234
5489
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4235
5490
  uploadType?: string;
4236
- }): Request<GoogleCloudContactcenterinsightsV1ListAnalysesResponse>;
5491
+ }): Request<GoogleCloudContactcenterinsightsV1ListAssessmentsResponse>;
5492
+ /** Publish an Assessment. */
5493
+ publish(request: {
5494
+ /** V1 error format. */
5495
+ '$.xgafv'?: string;
5496
+ /** OAuth access token. */
5497
+ access_token?: string;
5498
+ /** Data format for response. */
5499
+ alt?: string;
5500
+ /** JSONP */
5501
+ callback?: string;
5502
+ /** Selector specifying which fields to include in a partial response. */
5503
+ fields?: string;
5504
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
5505
+ key?: string;
5506
+ /** Required. The name of the assessment to publish. */
5507
+ name: string;
5508
+ /** OAuth 2.0 token for the current user. */
5509
+ oauth_token?: string;
5510
+ /** Returns response with indentations and line breaks. */
5511
+ prettyPrint?: boolean;
5512
+ /** 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. */
5513
+ quotaUser?: string;
5514
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5515
+ upload_protocol?: string;
5516
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5517
+ uploadType?: string;
5518
+ /** Request body */
5519
+ resource: GoogleCloudContactcenterinsightsV1PublishAssessmentRequest;
5520
+ }): Request<GoogleCloudContactcenterinsightsV1Assessment>;
5521
+ publish(
5522
+ request: {
5523
+ /** V1 error format. */
5524
+ '$.xgafv'?: string;
5525
+ /** OAuth access token. */
5526
+ access_token?: string;
5527
+ /** Data format for response. */
5528
+ alt?: string;
5529
+ /** JSONP */
5530
+ callback?: string;
5531
+ /** Selector specifying which fields to include in a partial response. */
5532
+ fields?: string;
5533
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
5534
+ key?: string;
5535
+ /** Required. The name of the assessment to publish. */
5536
+ name: string;
5537
+ /** OAuth 2.0 token for the current user. */
5538
+ oauth_token?: string;
5539
+ /** Returns response with indentations and line breaks. */
5540
+ prettyPrint?: boolean;
5541
+ /** 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. */
5542
+ quotaUser?: string;
5543
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5544
+ upload_protocol?: string;
5545
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5546
+ uploadType?: string;
5547
+ },
5548
+ body: GoogleCloudContactcenterinsightsV1PublishAssessmentRequest,
5549
+ ): Request<GoogleCloudContactcenterinsightsV1Assessment>;
5550
+ notes: NotesResource;
4237
5551
  }
4238
5552
  interface FeedbackLabelsResource {
4239
5553
  /** Create feedback label. */
@@ -4930,6 +6244,7 @@ declare namespace gapi.client {
4930
6244
  body: GoogleCloudContactcenterinsightsV1UploadConversationRequest,
4931
6245
  ): Request<GoogleLongrunningOperation>;
4932
6246
  analyses: AnalysesResource;
6247
+ assessments: AssessmentsResource;
4933
6248
  feedbackLabels: FeedbackLabelsResource;
4934
6249
  }
4935
6250
  interface AnalysesResource {
@@ -8321,6 +9636,7 @@ declare namespace gapi.client {
8321
9636
  body: GoogleCloudContactcenterinsightsV1Settings,
8322
9637
  ): Request<GoogleCloudContactcenterinsightsV1Settings>;
8323
9638
  analysisRules: AnalysisRulesResource;
9639
+ assessmentRules: AssessmentRulesResource;
8324
9640
  authorizedViewSets: AuthorizedViewSetsResource;
8325
9641
  conversations: ConversationsResource;
8326
9642
  datasets: DatasetsResource;