Skip to content

Commit 0f4c25d

Browse files
feat: [contactcenterinsights] Support topic model type V2 (#9616)
* feat: Support topic model type V2 PiperOrigin-RevId: 545798962 Source-Link: googleapis/googleapis@601a6dd Source-Link: https://github.com/googleapis/googleapis-gen/commit/a40848f267533e9c490f93dc30589f0dc45384eb Copy-Tag: eyJwIjoiamF2YS1jb250YWN0LWNlbnRlci1pbnNpZ2h0cy8uT3dsQm90LnlhbWwiLCJoIjoiYTQwODQ4ZjI2NzUzM2U5YzQ5MGY5M2RjMzA1ODlmMGRjNDUzODRlYiJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 29d1eb1 commit 0f4c25d

11 files changed

Lines changed: 817 additions & 233 deletions

File tree

java-contact-center-insights/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
2020
<dependency>
2121
<groupId>com.google.cloud</groupId>
2222
<artifactId>libraries-bom</artifactId>
23-
<version>26.16.0</version>
23+
<version>26.18.0</version>
2424
<type>pom</type>
2525
<scope>import</scope>
2626
</dependency>
@@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
195195
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
196196
[stability-image]: https://img.shields.io/badge/stability-stable-green
197197
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-contact-center-insights.svg
198-
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-contact-center-insights/2.19.0
198+
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-contact-center-insights/2.20.0
199199
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
200200
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
201201
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles

java-contact-center-insights/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientHttpJsonTest.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1391,6 +1391,7 @@ public void createIssueModelTest() throws Exception {
13911391
.setIssueCount(1779144233)
13921392
.setInputDataConfig(IssueModel.InputDataConfig.newBuilder().build())
13931393
.setTrainingStats(IssueModelLabelStats.newBuilder().build())
1394+
.setLanguageCode("languageCode-2092349083")
13941395
.build();
13951396
Operation resultOperation =
13961397
Operation.newBuilder()
@@ -1448,6 +1449,7 @@ public void createIssueModelTest2() throws Exception {
14481449
.setIssueCount(1779144233)
14491450
.setInputDataConfig(IssueModel.InputDataConfig.newBuilder().build())
14501451
.setTrainingStats(IssueModelLabelStats.newBuilder().build())
1452+
.setLanguageCode("languageCode-2092349083")
14511453
.build();
14521454
Operation resultOperation =
14531455
Operation.newBuilder()
@@ -1505,6 +1507,7 @@ public void updateIssueModelTest() throws Exception {
15051507
.setIssueCount(1779144233)
15061508
.setInputDataConfig(IssueModel.InputDataConfig.newBuilder().build())
15071509
.setTrainingStats(IssueModelLabelStats.newBuilder().build())
1510+
.setLanguageCode("languageCode-2092349083")
15081511
.build();
15091512
mockService.addResponse(expectedResponse);
15101513

@@ -1517,6 +1520,7 @@ public void updateIssueModelTest() throws Exception {
15171520
.setIssueCount(1779144233)
15181521
.setInputDataConfig(IssueModel.InputDataConfig.newBuilder().build())
15191522
.setTrainingStats(IssueModelLabelStats.newBuilder().build())
1523+
.setLanguageCode("languageCode-2092349083")
15201524
.build();
15211525
FieldMask updateMask = FieldMask.newBuilder().build();
15221526

@@ -1555,6 +1559,7 @@ public void updateIssueModelExceptionTest() throws Exception {
15551559
.setIssueCount(1779144233)
15561560
.setInputDataConfig(IssueModel.InputDataConfig.newBuilder().build())
15571561
.setTrainingStats(IssueModelLabelStats.newBuilder().build())
1562+
.setLanguageCode("languageCode-2092349083")
15581563
.build();
15591564
FieldMask updateMask = FieldMask.newBuilder().build();
15601565
client.updateIssueModel(issueModel, updateMask);
@@ -1575,6 +1580,7 @@ public void getIssueModelTest() throws Exception {
15751580
.setIssueCount(1779144233)
15761581
.setInputDataConfig(IssueModel.InputDataConfig.newBuilder().build())
15771582
.setTrainingStats(IssueModelLabelStats.newBuilder().build())
1583+
.setLanguageCode("languageCode-2092349083")
15781584
.build();
15791585
mockService.addResponse(expectedResponse);
15801586

@@ -1625,6 +1631,7 @@ public void getIssueModelTest2() throws Exception {
16251631
.setIssueCount(1779144233)
16261632
.setInputDataConfig(IssueModel.InputDataConfig.newBuilder().build())
16271633
.setTrainingStats(IssueModelLabelStats.newBuilder().build())
1634+
.setLanguageCode("languageCode-2092349083")
16281635
.build();
16291636
mockService.addResponse(expectedResponse);
16301637

java-contact-center-insights/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientTest.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1253,6 +1253,7 @@ public void createIssueModelTest() throws Exception {
12531253
.setIssueCount(1779144233)
12541254
.setInputDataConfig(IssueModel.InputDataConfig.newBuilder().build())
12551255
.setTrainingStats(IssueModelLabelStats.newBuilder().build())
1256+
.setLanguageCode("languageCode-2092349083")
12561257
.build();
12571258
Operation resultOperation =
12581259
Operation.newBuilder()
@@ -1308,6 +1309,7 @@ public void createIssueModelTest2() throws Exception {
13081309
.setIssueCount(1779144233)
13091310
.setInputDataConfig(IssueModel.InputDataConfig.newBuilder().build())
13101311
.setTrainingStats(IssueModelLabelStats.newBuilder().build())
1312+
.setLanguageCode("languageCode-2092349083")
13111313
.build();
13121314
Operation resultOperation =
13131315
Operation.newBuilder()
@@ -1363,6 +1365,7 @@ public void updateIssueModelTest() throws Exception {
13631365
.setIssueCount(1779144233)
13641366
.setInputDataConfig(IssueModel.InputDataConfig.newBuilder().build())
13651367
.setTrainingStats(IssueModelLabelStats.newBuilder().build())
1368+
.setLanguageCode("languageCode-2092349083")
13661369
.build();
13671370
mockContactCenterInsights.addResponse(expectedResponse);
13681371

@@ -1410,6 +1413,7 @@ public void getIssueModelTest() throws Exception {
14101413
.setIssueCount(1779144233)
14111414
.setInputDataConfig(IssueModel.InputDataConfig.newBuilder().build())
14121415
.setTrainingStats(IssueModelLabelStats.newBuilder().build())
1416+
.setLanguageCode("languageCode-2092349083")
14131417
.build();
14141418
mockContactCenterInsights.addResponse(expectedResponse);
14151419

@@ -1454,6 +1458,7 @@ public void getIssueModelTest2() throws Exception {
14541458
.setIssueCount(1779144233)
14551459
.setInputDataConfig(IssueModel.InputDataConfig.newBuilder().build())
14561460
.setTrainingStats(IssueModelLabelStats.newBuilder().build())
1461+
.setLanguageCode("languageCode-2092349083")
14571462
.build();
14581463
mockContactCenterInsights.addResponse(expectedResponse);
14591464

java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipant.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ public com.google.protobuf.ByteString getUserIdBytes() {
476476
*
477477
* @deprecated
478478
* google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is
479-
* deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1190
479+
* deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1208
480480
* @return The dialogflowParticipant.
481481
*/
482482
@java.lang.Override
@@ -505,7 +505,7 @@ public java.lang.String getDialogflowParticipant() {
505505
*
506506
* @deprecated
507507
* google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is
508-
* deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1190
508+
* deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1208
509509
* @return The bytes for dialogflowParticipant.
510510
*/
511511
@java.lang.Override
@@ -1397,7 +1397,7 @@ public Builder setUserIdBytes(com.google.protobuf.ByteString value) {
13971397
*
13981398
* @deprecated
13991399
* google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is
1400-
* deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1190
1400+
* deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1208
14011401
* @return The dialogflowParticipant.
14021402
*/
14031403
@java.lang.Deprecated
@@ -1425,7 +1425,7 @@ public java.lang.String getDialogflowParticipant() {
14251425
*
14261426
* @deprecated
14271427
* google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is
1428-
* deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1190
1428+
* deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1208
14291429
* @return The bytes for dialogflowParticipant.
14301430
*/
14311431
@java.lang.Deprecated
@@ -1453,7 +1453,7 @@ public com.google.protobuf.ByteString getDialogflowParticipantBytes() {
14531453
*
14541454
* @deprecated
14551455
* google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is
1456-
* deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1190
1456+
* deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1208
14571457
* @param value The dialogflowParticipant to set.
14581458
* @return This builder for chaining.
14591459
*/
@@ -1480,7 +1480,7 @@ public Builder setDialogflowParticipant(java.lang.String value) {
14801480
*
14811481
* @deprecated
14821482
* google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is
1483-
* deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1190
1483+
* deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1208
14841484
* @return This builder for chaining.
14851485
*/
14861486
@java.lang.Deprecated
@@ -1503,7 +1503,7 @@ public Builder clearDialogflowParticipant() {
15031503
*
15041504
* @deprecated
15051505
* google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is
1506-
* deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1190
1506+
* deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1208
15071507
* @param value The bytes for dialogflowParticipant to set.
15081508
* @return This builder for chaining.
15091509
*/

java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipantOrBuilder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ public interface ConversationParticipantOrBuilder
113113
*
114114
* @deprecated
115115
* google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is
116-
* deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1190
116+
* deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1208
117117
* @return The dialogflowParticipant.
118118
*/
119119
@java.lang.Deprecated
@@ -131,7 +131,7 @@ public interface ConversationParticipantOrBuilder
131131
*
132132
* @deprecated
133133
* google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is
134-
* deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1190
134+
* deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1208
135135
* @return The bytes for dialogflowParticipant.
136136
*/
137137
@java.lang.Deprecated

0 commit comments

Comments
 (0)