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

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