Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: [contactcenterinsights] Support topic model type V2 #9616

Merged
merged 2 commits into from
Jul 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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