Skip to content

Commit

Permalink
feat: [contactcenterinsights] Support topic model type V2 (#9616)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Jul 7, 2023
1 parent 29d1eb1 commit 0f4c25d
Show file tree
Hide file tree
Showing 11 changed files with 817 additions and 233 deletions.
4 changes: 2 additions & 2 deletions java-contact-center-insights/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>libraries-bom</artifactId>
<version>26.16.0</version>
<version>26.18.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down Expand Up @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-contact-center-insights.svg
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-contact-center-insights/2.19.0
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-contact-center-insights/2.20.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1391,6 +1391,7 @@ public void createIssueModelTest() throws Exception {
.setIssueCount(1779144233)
.setInputDataConfig(IssueModel.InputDataConfig.newBuilder().build())
.setTrainingStats(IssueModelLabelStats.newBuilder().build())
.setLanguageCode("languageCode-2092349083")
.build();
Operation resultOperation =
Operation.newBuilder()
Expand Down Expand Up @@ -1448,6 +1449,7 @@ public void createIssueModelTest2() throws Exception {
.setIssueCount(1779144233)
.setInputDataConfig(IssueModel.InputDataConfig.newBuilder().build())
.setTrainingStats(IssueModelLabelStats.newBuilder().build())
.setLanguageCode("languageCode-2092349083")
.build();
Operation resultOperation =
Operation.newBuilder()
Expand Down Expand Up @@ -1505,6 +1507,7 @@ public void updateIssueModelTest() throws Exception {
.setIssueCount(1779144233)
.setInputDataConfig(IssueModel.InputDataConfig.newBuilder().build())
.setTrainingStats(IssueModelLabelStats.newBuilder().build())
.setLanguageCode("languageCode-2092349083")
.build();
mockService.addResponse(expectedResponse);

Expand All @@ -1517,6 +1520,7 @@ public void updateIssueModelTest() throws Exception {
.setIssueCount(1779144233)
.setInputDataConfig(IssueModel.InputDataConfig.newBuilder().build())
.setTrainingStats(IssueModelLabelStats.newBuilder().build())
.setLanguageCode("languageCode-2092349083")
.build();
FieldMask updateMask = FieldMask.newBuilder().build();

Expand Down Expand Up @@ -1555,6 +1559,7 @@ public void updateIssueModelExceptionTest() throws Exception {
.setIssueCount(1779144233)
.setInputDataConfig(IssueModel.InputDataConfig.newBuilder().build())
.setTrainingStats(IssueModelLabelStats.newBuilder().build())
.setLanguageCode("languageCode-2092349083")
.build();
FieldMask updateMask = FieldMask.newBuilder().build();
client.updateIssueModel(issueModel, updateMask);
Expand All @@ -1575,6 +1580,7 @@ public void getIssueModelTest() throws Exception {
.setIssueCount(1779144233)
.setInputDataConfig(IssueModel.InputDataConfig.newBuilder().build())
.setTrainingStats(IssueModelLabelStats.newBuilder().build())
.setLanguageCode("languageCode-2092349083")
.build();
mockService.addResponse(expectedResponse);

Expand Down Expand Up @@ -1625,6 +1631,7 @@ public void getIssueModelTest2() throws Exception {
.setIssueCount(1779144233)
.setInputDataConfig(IssueModel.InputDataConfig.newBuilder().build())
.setTrainingStats(IssueModelLabelStats.newBuilder().build())
.setLanguageCode("languageCode-2092349083")
.build();
mockService.addResponse(expectedResponse);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1253,6 +1253,7 @@ public void createIssueModelTest() throws Exception {
.setIssueCount(1779144233)
.setInputDataConfig(IssueModel.InputDataConfig.newBuilder().build())
.setTrainingStats(IssueModelLabelStats.newBuilder().build())
.setLanguageCode("languageCode-2092349083")
.build();
Operation resultOperation =
Operation.newBuilder()
Expand Down Expand Up @@ -1308,6 +1309,7 @@ public void createIssueModelTest2() throws Exception {
.setIssueCount(1779144233)
.setInputDataConfig(IssueModel.InputDataConfig.newBuilder().build())
.setTrainingStats(IssueModelLabelStats.newBuilder().build())
.setLanguageCode("languageCode-2092349083")
.build();
Operation resultOperation =
Operation.newBuilder()
Expand Down Expand Up @@ -1363,6 +1365,7 @@ public void updateIssueModelTest() throws Exception {
.setIssueCount(1779144233)
.setInputDataConfig(IssueModel.InputDataConfig.newBuilder().build())
.setTrainingStats(IssueModelLabelStats.newBuilder().build())
.setLanguageCode("languageCode-2092349083")
.build();
mockContactCenterInsights.addResponse(expectedResponse);

Expand Down Expand Up @@ -1410,6 +1413,7 @@ public void getIssueModelTest() throws Exception {
.setIssueCount(1779144233)
.setInputDataConfig(IssueModel.InputDataConfig.newBuilder().build())
.setTrainingStats(IssueModelLabelStats.newBuilder().build())
.setLanguageCode("languageCode-2092349083")
.build();
mockContactCenterInsights.addResponse(expectedResponse);

Expand Down Expand Up @@ -1454,6 +1458,7 @@ public void getIssueModelTest2() throws Exception {
.setIssueCount(1779144233)
.setInputDataConfig(IssueModel.InputDataConfig.newBuilder().build())
.setTrainingStats(IssueModelLabelStats.newBuilder().build())
.setLanguageCode("languageCode-2092349083")
.build();
mockContactCenterInsights.addResponse(expectedResponse);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ public com.google.protobuf.ByteString getUserIdBytes() {
*
* @deprecated
* google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is
* deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1190
* deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1208
* @return The dialogflowParticipant.
*/
@java.lang.Override
Expand Down Expand Up @@ -505,7 +505,7 @@ public java.lang.String getDialogflowParticipant() {
*
* @deprecated
* google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is
* deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1190
* deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1208
* @return The bytes for dialogflowParticipant.
*/
@java.lang.Override
Expand Down Expand Up @@ -1397,7 +1397,7 @@ public Builder setUserIdBytes(com.google.protobuf.ByteString value) {
*
* @deprecated
* google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is
* deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1190
* deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1208
* @return The dialogflowParticipant.
*/
@java.lang.Deprecated
Expand Down Expand Up @@ -1425,7 +1425,7 @@ public java.lang.String getDialogflowParticipant() {
*
* @deprecated
* google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is
* deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1190
* deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1208
* @return The bytes for dialogflowParticipant.
*/
@java.lang.Deprecated
Expand Down Expand Up @@ -1453,7 +1453,7 @@ public com.google.protobuf.ByteString getDialogflowParticipantBytes() {
*
* @deprecated
* google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is
* deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1190
* deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1208
* @param value The dialogflowParticipant to set.
* @return This builder for chaining.
*/
Expand All @@ -1480,7 +1480,7 @@ public Builder setDialogflowParticipant(java.lang.String value) {
*
* @deprecated
* google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is
* deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1190
* deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1208
* @return This builder for chaining.
*/
@java.lang.Deprecated
Expand All @@ -1503,7 +1503,7 @@ public Builder clearDialogflowParticipant() {
*
* @deprecated
* google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is
* deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1190
* deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1208
* @param value The bytes for dialogflowParticipant to set.
* @return This builder for chaining.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ public interface ConversationParticipantOrBuilder
*
* @deprecated
* google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is
* deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1190
* deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1208
* @return The dialogflowParticipant.
*/
@java.lang.Deprecated
Expand All @@ -131,7 +131,7 @@ public interface ConversationParticipantOrBuilder
*
* @deprecated
* google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is
* deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1190
* deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1208
* @return The bytes for dialogflowParticipant.
*/
@java.lang.Deprecated
Expand Down
Loading

0 comments on commit 0f4c25d

Please sign in to comment.