Skip to content

Commit 89c4b12

Browse files
yoshi-automationsofisl
authored andcommitted
feat(contactcenterinsights): update the API
#### contactcenterinsights:v1 The following keys were added: - schemas.GoogleCloudContactcenterinsightsV1ConversationSummarizationSuggestionData.properties.generatorId.description - schemas.GoogleCloudContactcenterinsightsV1ConversationSummarizationSuggestionData.properties.generatorId.type - schemas.GoogleCloudContactcenterinsightsV1QaQuestion.properties.predefinedQuestionConfig.$ref - schemas.GoogleCloudContactcenterinsightsV1QaQuestion.properties.predefinedQuestionConfig.description - schemas.GoogleCloudContactcenterinsightsV1QaQuestion.properties.questionType.description - schemas.GoogleCloudContactcenterinsightsV1QaQuestion.properties.questionType.enum - schemas.GoogleCloudContactcenterinsightsV1QaQuestion.properties.questionType.enumDescriptions - schemas.GoogleCloudContactcenterinsightsV1QaQuestion.properties.questionType.type - schemas.GoogleCloudContactcenterinsightsV1QaQuestionPredefinedQuestionConfig.description - schemas.GoogleCloudContactcenterinsightsV1QaQuestionPredefinedQuestionConfig.id - schemas.GoogleCloudContactcenterinsightsV1QaQuestionPredefinedQuestionConfig.properties.type.description - schemas.GoogleCloudContactcenterinsightsV1QaQuestionPredefinedQuestionConfig.properties.type.enum - schemas.GoogleCloudContactcenterinsightsV1QaQuestionPredefinedQuestionConfig.properties.type.enumDescriptions - schemas.GoogleCloudContactcenterinsightsV1QaQuestionPredefinedQuestionConfig.properties.type.type - schemas.GoogleCloudContactcenterinsightsV1QaQuestionPredefinedQuestionConfig.type - schemas.GoogleCloudContactcenterinsightsV1QaScorecard.properties.isDefault.description - schemas.GoogleCloudContactcenterinsightsV1QaScorecard.properties.isDefault.type - schemas.GoogleCloudContactcenterinsightsV1alpha1ConversationSummarizationSuggestionData.properties.generatorId.description - schemas.GoogleCloudContactcenterinsightsV1alpha1ConversationSummarizationSuggestionData.properties.generatorId.type
1 parent 2c2df84 commit 89c4b12

File tree

2 files changed

+96
-1
lines changed

2 files changed

+96
-1
lines changed

discovery/contactcenterinsights-v1.json

Lines changed: 52 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5300,7 +5300,7 @@
53005300
}
53015301
}
53025302
},
5303-
"revision": "20250701",
5303+
"revision": "20250711",
53045304
"rootUrl": "https://contactcenterinsights.googleapis.com/",
53055305
"schemas": {
53065306
"GoogleCloudContactcenterinsightsV1Analysis": {
@@ -6733,6 +6733,10 @@
67336733
"description": "The name of the model that generates this summary. Format: projects/{project}/locations/{location}/conversationModels/{conversation_model}",
67346734
"type": "string"
67356735
},
6736+
"generatorId": {
6737+
"description": "Agent Assist generator ID.",
6738+
"type": "string"
6739+
},
67366740
"metadata": {
67376741
"additionalProperties": {
67386742
"type": "string"
@@ -8972,10 +8976,28 @@
89728976
"format": "int32",
89738977
"type": "integer"
89748978
},
8979+
"predefinedQuestionConfig": {
8980+
"$ref": "GoogleCloudContactcenterinsightsV1QaQuestionPredefinedQuestionConfig",
8981+
"description": "The configuration of the predefined question. This field will only be set if the Question Type is predefined."
8982+
},
89758983
"questionBody": {
89768984
"description": "Question text. E.g., \"Did the agent greet the customer?\"",
89778985
"type": "string"
89788986
},
8987+
"questionType": {
8988+
"description": "The type of question.",
8989+
"enum": [
8990+
"QA_QUESTION_TYPE_UNSPECIFIED",
8991+
"CUSTOMIZABLE",
8992+
"PREDEFINED"
8993+
],
8994+
"enumDescriptions": [
8995+
"The type of the question is unspecified.",
8996+
"The default question type. The question is fully customizable by the user.",
8997+
"The question type is using a predefined model provided by CCAI teams. Users are not allowed to edit the question_body, answer_choices, upload feedback labels for the question nor fine-tune the question. However, users may edit other fields like question tags, question order, etc."
8998+
],
8999+
"type": "string"
9000+
},
89799001
"tags": {
89809002
"description": "Questions are tagged for categorization and scoring. Tags can either be: - Default Tags: These are predefined categories. They are identified by their string value (e.g., \"BUSINESS\", \"COMPLIANCE\", and \"CUSTOMER\"). - Custom Tags: These are user-defined categories. They are identified by their full resource name (e.g., projects/{project}/locations/{location}/qaQuestionTags/{qa_question_tag}). Both default and custom tags are used to group questions and to influence the scoring of each question.",
89819003
"items": {
@@ -9042,6 +9064,27 @@
90429064
},
90439065
"type": "object"
90449066
},
9067+
"GoogleCloudContactcenterinsightsV1QaQuestionPredefinedQuestionConfig": {
9068+
"description": "Configuration for a predefined question. This field will only be set if the Question Type is predefined.",
9069+
"id": "GoogleCloudContactcenterinsightsV1QaQuestionPredefinedQuestionConfig",
9070+
"properties": {
9071+
"type": {
9072+
"description": "The type of the predefined question.",
9073+
"enum": [
9074+
"PREDEFINED_QUESTION_TYPE_UNSPECIFIED",
9075+
"CONVERSATION_OUTCOME",
9076+
"CONVERSATION_OUTCOME_ESCALATION_INITIATOR_ROLE"
9077+
],
9078+
"enumDescriptions": [
9079+
"The type of the predefined question is unspecified.",
9080+
"A prebuilt classifier classfying the outcome of the conversation. For example, if the customer issue mentioned in a conversation has been resolved or not.",
9081+
"A prebuilt classifier classfying the initiator of the conversation escalation. For example, if it was initiated by the customer or the agent."
9082+
],
9083+
"type": "string"
9084+
}
9085+
},
9086+
"type": "object"
9087+
},
90459088
"GoogleCloudContactcenterinsightsV1QaQuestionTag": {
90469089
"description": "A tag is a resource which aims to categorize a set of questions across multiple scorecards, e.g., \"Customer Satisfaction\",\"Billing\", etc.",
90479090
"id": "GoogleCloudContactcenterinsightsV1QaQuestionTag",
@@ -9131,6 +9174,10 @@
91319174
"description": "The user-specified display name of the scorecard.",
91329175
"type": "string"
91339176
},
9177+
"isDefault": {
9178+
"description": "Whether the scorecard is the default one for the project. A default scorecard cannot be deleted and will always appear first in scorecard selector.",
9179+
"type": "boolean"
9180+
},
91349181
"name": {
91359182
"description": "Identifier. The scorecard name. Format: projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}",
91369183
"type": "string"
@@ -11106,6 +11153,10 @@
1110611153
"description": "The name of the model that generates this summary. Format: projects/{project}/locations/{location}/conversationModels/{conversation_model}",
1110711154
"type": "string"
1110811155
},
11156+
"generatorId": {
11157+
"description": "Agent Assist generator ID.",
11158+
"type": "string"
11159+
},
1110911160
"metadata": {
1111011161
"additionalProperties": {
1111111162
"type": "string"

src/apis/contactcenterinsights/v1.ts

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -798,6 +798,10 @@ export namespace contactcenterinsights_v1 {
798798
* The name of the model that generates this summary. Format: projects/{project\}/locations/{location\}/conversationModels/{conversation_model\}
799799
*/
800800
conversationModel?: string | null;
801+
/**
802+
* Agent Assist generator ID.
803+
*/
804+
generatorId?: string | null;
801805
/**
802806
* A map that contains metadata about the summarization and the document from which it originates.
803807
*/
@@ -3668,6 +3672,10 @@ export namespace contactcenterinsights_v1 {
36683672
* The name of the model that generates this summary. Format: projects/{project\}/locations/{location\}/conversationModels/{conversation_model\}
36693673
*/
36703674
conversationModel?: string | null;
3675+
/**
3676+
* Agent Assist generator ID.
3677+
*/
3678+
generatorId?: string | null;
36713679
/**
36723680
* A map that contains metadata about the summarization and the document from which it originates.
36733681
*/
@@ -5273,10 +5281,18 @@ export namespace contactcenterinsights_v1 {
52735281
* Defines the order of the question within its parent scorecard revision.
52745282
*/
52755283
order?: number | null;
5284+
/**
5285+
* The configuration of the predefined question. This field will only be set if the Question Type is predefined.
5286+
*/
5287+
predefinedQuestionConfig?: Schema$GoogleCloudContactcenterinsightsV1QaQuestionPredefinedQuestionConfig;
52765288
/**
52775289
* Question text. E.g., "Did the agent greet the customer?"
52785290
*/
52795291
questionBody?: string | null;
5292+
/**
5293+
* The type of question.
5294+
*/
5295+
questionType?: string | null;
52805296
/**
52815297
* Questions are tagged for categorization and scoring. Tags can either be: - Default Tags: These are predefined categories. They are identified by their string value (e.g., "BUSINESS", "COMPLIANCE", and "CUSTOMER"). - Custom Tags: These are user-defined categories. They are identified by their full resource name (e.g., projects/{project\}/locations/{location\}/qaQuestionTags/{qa_question_tag\}). Both default and custom tags are used to group questions and to influence the scoring of each question.
52825298
*/
@@ -5328,6 +5344,15 @@ export namespace contactcenterinsights_v1 {
53285344
*/
53295345
accuracy?: number | null;
53305346
}
5347+
/**
5348+
* Configuration for a predefined question. This field will only be set if the Question Type is predefined.
5349+
*/
5350+
export interface Schema$GoogleCloudContactcenterinsightsV1QaQuestionPredefinedQuestionConfig {
5351+
/**
5352+
* The type of the predefined question.
5353+
*/
5354+
type?: string | null;
5355+
}
53315356
/**
53325357
* A tag is a resource which aims to categorize a set of questions across multiple scorecards, e.g., "Customer Satisfaction","Billing", etc.
53335358
*/
@@ -5386,6 +5411,10 @@ export namespace contactcenterinsights_v1 {
53865411
* The user-specified display name of the scorecard.
53875412
*/
53885413
displayName?: string | null;
5414+
/**
5415+
* Whether the scorecard is the default one for the project. A default scorecard cannot be deleted and will always appear first in scorecard selector.
5416+
*/
5417+
isDefault?: boolean | null;
53895418
/**
53905419
* Identifier. The scorecard name. Format: projects/{project\}/locations/{location\}/qaScorecards/{qa_scorecard\}
53915420
*/
@@ -30653,6 +30682,7 @@ export namespace contactcenterinsights_v1 {
3065330682
* // "createTime": "my_createTime",
3065430683
* // "description": "my_description",
3065530684
* // "displayName": "my_displayName",
30685+
* // "isDefault": false,
3065630686
* // "name": "my_name",
3065730687
* // "updateTime": "my_updateTime"
3065830688
* // }
@@ -30665,6 +30695,7 @@ export namespace contactcenterinsights_v1 {
3066530695
* // "createTime": "my_createTime",
3066630696
* // "description": "my_description",
3066730697
* // "displayName": "my_displayName",
30698+
* // "isDefault": false,
3066830699
* // "name": "my_name",
3066930700
* // "updateTime": "my_updateTime"
3067030701
* // }
@@ -30953,6 +30984,7 @@ export namespace contactcenterinsights_v1 {
3095330984
* // "createTime": "my_createTime",
3095430985
* // "description": "my_description",
3095530986
* // "displayName": "my_displayName",
30987+
* // "isDefault": false,
3095630988
* // "name": "my_name",
3095730989
* // "updateTime": "my_updateTime"
3095830990
* // }
@@ -31258,6 +31290,7 @@ export namespace contactcenterinsights_v1 {
3125831290
* // "createTime": "my_createTime",
3125931291
* // "description": "my_description",
3126031292
* // "displayName": "my_displayName",
31293+
* // "isDefault": false,
3126131294
* // "name": "my_name",
3126231295
* // "updateTime": "my_updateTime"
3126331296
* // }
@@ -31271,6 +31304,7 @@ export namespace contactcenterinsights_v1 {
3127131304
* // "createTime": "my_createTime",
3127231305
* // "description": "my_description",
3127331306
* // "displayName": "my_displayName",
31307+
* // "isDefault": false,
3127431308
* // "name": "my_name",
3127531309
* // "updateTime": "my_updateTime"
3127631310
* // }
@@ -32704,7 +32738,9 @@ export namespace contactcenterinsights_v1 {
3270432738
* // "metrics": {},
3270532739
* // "name": "my_name",
3270632740
* // "order": 0,
32741+
* // "predefinedQuestionConfig": {},
3270732742
* // "questionBody": "my_questionBody",
32743+
* // "questionType": "my_questionType",
3270832744
* // "tags": [],
3270932745
* // "tuningMetadata": {},
3271032746
* // "updateTime": "my_updateTime"
@@ -32723,7 +32759,9 @@ export namespace contactcenterinsights_v1 {
3272332759
* // "metrics": {},
3272432760
* // "name": "my_name",
3272532761
* // "order": 0,
32762+
* // "predefinedQuestionConfig": {},
3272632763
* // "questionBody": "my_questionBody",
32764+
* // "questionType": "my_questionType",
3272732765
* // "tags": [],
3272832766
* // "tuningMetadata": {},
3272932767
* // "updateTime": "my_updateTime"
@@ -33022,7 +33060,9 @@ export namespace contactcenterinsights_v1 {
3302233060
* // "metrics": {},
3302333061
* // "name": "my_name",
3302433062
* // "order": 0,
33063+
* // "predefinedQuestionConfig": {},
3302533064
* // "questionBody": "my_questionBody",
33065+
* // "questionType": "my_questionType",
3302633066
* // "tags": [],
3302733067
* // "tuningMetadata": {},
3302833068
* // "updateTime": "my_updateTime"
@@ -33340,7 +33380,9 @@ export namespace contactcenterinsights_v1 {
3334033380
* // "metrics": {},
3334133381
* // "name": "my_name",
3334233382
* // "order": 0,
33383+
* // "predefinedQuestionConfig": {},
3334333384
* // "questionBody": "my_questionBody",
33385+
* // "questionType": "my_questionType",
3334433386
* // "tags": [],
3334533387
* // "tuningMetadata": {},
3334633388
* // "updateTime": "my_updateTime"
@@ -33359,7 +33401,9 @@ export namespace contactcenterinsights_v1 {
3335933401
* // "metrics": {},
3336033402
* // "name": "my_name",
3336133403
* // "order": 0,
33404+
* // "predefinedQuestionConfig": {},
3336233405
* // "questionBody": "my_questionBody",
33406+
* // "questionType": "my_questionType",
3336333407
* // "tags": [],
3336433408
* // "tuningMetadata": {},
3336533409
* // "updateTime": "my_updateTime"

0 commit comments

Comments
 (0)