Skip to content

Commit

Permalink
feat: [dialogflow] add sections field to HumanAgentAssistantConfig.Su…
Browse files Browse the repository at this point in the history
…ggestionQueryConfig (#10158)

* feat: add sections field to HumanAgentAssistantConfig.SuggestionQueryConfig
feat: add enable_conversation_augmented_query field to HumanAgentAssistantConfig.SuggestionFeatureConfig message
feat: add INTENT enum in SearchKnowledgeAnswer.AnswerType message
feat: add rewritten_query in field in SearchKnowledgeResponse message
docs: improved comments on audio_config proto

PiperOrigin-RevId: 591042460

Source-Link: googleapis/googleapis@8e2e403

Source-Link: googleapis/googleapis-gen@c8cdc4d
Copy-Tag: eyJwIjoiamF2YS1kaWFsb2dmbG93Ly5Pd2xCb3QueWFtbCIsImgiOiJjOGNkYzRkMzg2MzUyYzg2MGZjZTJiNmVmYzVjMDJlNjgwNDAzYTNkIn0=

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* feat: add sections field to HumanAgentAssistantConfig.SuggestionQueryConfig
feat: add enable_conversation_augmented_query field to HumanAgentAssistantConfig.SuggestionFeatureConfig message
feat: add INTENT enum in SearchKnowledgeAnswer.AnswerType message
feat: add rewritten_query in field in SearchKnowledgeResponse message
docs: improved comments on audio_config proto

PiperOrigin-RevId: 591055870

Source-Link: googleapis/googleapis@2f93f44

Source-Link: googleapis/googleapis-gen@2154bfc
Copy-Tag: eyJwIjoiamF2YS1kaWFsb2dmbG93Ly5Pd2xCb3QueWFtbCIsImgiOiIyMTU0YmZjMGQ1MGRiYTBiOGI4OTgwZTgwMjQzZDkyOGM5OTc3MTA4In0=

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* 🦉 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] committed Jan 2, 2024
1 parent b1f9213 commit 16f75a7
Show file tree
Hide file tree
Showing 37 changed files with 5,669 additions and 1,164 deletions.
2 changes: 1 addition & 1 deletion java-dialogflow/README.md
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-dialogflow.svg
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dialogflow/4.36.0
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dialogflow/4.38.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
Expand Up @@ -2933,6 +2933,33 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.cloud.dialogflow.v2.HumanAgentAssistantConfig$SuggestionQueryConfig$Sections",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.cloud.dialogflow.v2.HumanAgentAssistantConfig$SuggestionQueryConfig$Sections$Builder",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.cloud.dialogflow.v2.HumanAgentAssistantConfig$SuggestionQueryConfig$Sections$SectionType",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.cloud.dialogflow.v2.HumanAgentAssistantConfig$SuggestionTriggerSettings",
"queryAllDeclaredConstructors": true,
Expand Down
Expand Up @@ -2627,6 +2627,33 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig$SuggestionQueryConfig$Sections",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig$SuggestionQueryConfig$Sections$Builder",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig$SuggestionQueryConfig$Sections$SectionType",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig$SuggestionTriggerSettings",
"queryAllDeclaredConstructors": true,
Expand Down
Expand Up @@ -900,6 +900,7 @@ public void searchKnowledgeTest() throws Exception {
SearchKnowledgeResponse expectedResponse =
SearchKnowledgeResponse.newBuilder()
.addAllAnswers(new ArrayList<SearchKnowledgeAnswer>())
.setRewrittenQuery("rewrittenQuery-1572767836")
.build();
mockService.addResponse(expectedResponse);

Expand Down
Expand Up @@ -822,6 +822,7 @@ public void searchKnowledgeTest() throws Exception {
SearchKnowledgeResponse expectedResponse =
SearchKnowledgeResponse.newBuilder()
.addAllAnswers(new ArrayList<SearchKnowledgeAnswer>())
.setRewrittenQuery("rewrittenQuery-1572767836")
.build();
mockConversations.addResponse(expectedResponse);

Expand Down
Expand Up @@ -986,6 +986,7 @@ public void searchKnowledgeTest() throws Exception {
SearchKnowledgeResponse expectedResponse =
SearchKnowledgeResponse.newBuilder()
.addAllAnswers(new ArrayList<SearchKnowledgeAnswer>())
.setRewrittenQuery("rewrittenQuery-1572767836")
.build();
mockService.addResponse(expectedResponse);

Expand Down
Expand Up @@ -896,6 +896,7 @@ public void searchKnowledgeTest() throws Exception {
SearchKnowledgeResponse expectedResponse =
SearchKnowledgeResponse.newBuilder()
.addAllAnswers(new ArrayList<SearchKnowledgeAnswer>())
.setRewrittenQuery("rewrittenQuery-1572767836")
.build();
mockConversations.addResponse(expectedResponse);

Expand Down
Expand Up @@ -155,10 +155,10 @@ public com.google.protobuf.ByteString getAgentBytes() {
*
*
* <pre>
* Optional. Sets Dialogflow CX session life time.
* Optional. Configure lifetime of the Dialogflow session.
* By default, a Dialogflow CX session remains active and its data is stored
* for 30 minutes after the last request is sent for the session. This value
* should be no longer than 1 day.
* for 30 minutes after the last request is sent for the session.
* This value should be no longer than 1 day.
* </pre>
*
* <code>.google.protobuf.Duration session_ttl = 3 [(.google.api.field_behavior) = OPTIONAL];
Expand All @@ -174,10 +174,10 @@ public boolean hasSessionTtl() {
*
*
* <pre>
* Optional. Sets Dialogflow CX session life time.
* Optional. Configure lifetime of the Dialogflow session.
* By default, a Dialogflow CX session remains active and its data is stored
* for 30 minutes after the last request is sent for the session. This value
* should be no longer than 1 day.
* for 30 minutes after the last request is sent for the session.
* This value should be no longer than 1 day.
* </pre>
*
* <code>.google.protobuf.Duration session_ttl = 3 [(.google.api.field_behavior) = OPTIONAL];
Expand All @@ -193,10 +193,10 @@ public com.google.protobuf.Duration getSessionTtl() {
*
*
* <pre>
* Optional. Sets Dialogflow CX session life time.
* Optional. Configure lifetime of the Dialogflow session.
* By default, a Dialogflow CX session remains active and its data is stored
* for 30 minutes after the last request is sent for the session. This value
* should be no longer than 1 day.
* for 30 minutes after the last request is sent for the session.
* This value should be no longer than 1 day.
* </pre>
*
* <code>.google.protobuf.Duration session_ttl = 3 [(.google.api.field_behavior) = OPTIONAL];
Expand Down Expand Up @@ -786,10 +786,10 @@ public Builder setAgentBytes(com.google.protobuf.ByteString value) {
*
*
* <pre>
* Optional. Sets Dialogflow CX session life time.
* Optional. Configure lifetime of the Dialogflow session.
* By default, a Dialogflow CX session remains active and its data is stored
* for 30 minutes after the last request is sent for the session. This value
* should be no longer than 1 day.
* for 30 minutes after the last request is sent for the session.
* This value should be no longer than 1 day.
* </pre>
*
* <code>.google.protobuf.Duration session_ttl = 3 [(.google.api.field_behavior) = OPTIONAL];
Expand All @@ -804,10 +804,10 @@ public boolean hasSessionTtl() {
*
*
* <pre>
* Optional. Sets Dialogflow CX session life time.
* Optional. Configure lifetime of the Dialogflow session.
* By default, a Dialogflow CX session remains active and its data is stored
* for 30 minutes after the last request is sent for the session. This value
* should be no longer than 1 day.
* for 30 minutes after the last request is sent for the session.
* This value should be no longer than 1 day.
* </pre>
*
* <code>.google.protobuf.Duration session_ttl = 3 [(.google.api.field_behavior) = OPTIONAL];
Expand All @@ -828,10 +828,10 @@ public com.google.protobuf.Duration getSessionTtl() {
*
*
* <pre>
* Optional. Sets Dialogflow CX session life time.
* Optional. Configure lifetime of the Dialogflow session.
* By default, a Dialogflow CX session remains active and its data is stored
* for 30 minutes after the last request is sent for the session. This value
* should be no longer than 1 day.
* for 30 minutes after the last request is sent for the session.
* This value should be no longer than 1 day.
* </pre>
*
* <code>.google.protobuf.Duration session_ttl = 3 [(.google.api.field_behavior) = OPTIONAL];
Expand All @@ -854,10 +854,10 @@ public Builder setSessionTtl(com.google.protobuf.Duration value) {
*
*
* <pre>
* Optional. Sets Dialogflow CX session life time.
* Optional. Configure lifetime of the Dialogflow session.
* By default, a Dialogflow CX session remains active and its data is stored
* for 30 minutes after the last request is sent for the session. This value
* should be no longer than 1 day.
* for 30 minutes after the last request is sent for the session.
* This value should be no longer than 1 day.
* </pre>
*
* <code>.google.protobuf.Duration session_ttl = 3 [(.google.api.field_behavior) = OPTIONAL];
Expand All @@ -877,10 +877,10 @@ public Builder setSessionTtl(com.google.protobuf.Duration.Builder builderForValu
*
*
* <pre>
* Optional. Sets Dialogflow CX session life time.
* Optional. Configure lifetime of the Dialogflow session.
* By default, a Dialogflow CX session remains active and its data is stored
* for 30 minutes after the last request is sent for the session. This value
* should be no longer than 1 day.
* for 30 minutes after the last request is sent for the session.
* This value should be no longer than 1 day.
* </pre>
*
* <code>.google.protobuf.Duration session_ttl = 3 [(.google.api.field_behavior) = OPTIONAL];
Expand All @@ -906,10 +906,10 @@ public Builder mergeSessionTtl(com.google.protobuf.Duration value) {
*
*
* <pre>
* Optional. Sets Dialogflow CX session life time.
* Optional. Configure lifetime of the Dialogflow session.
* By default, a Dialogflow CX session remains active and its data is stored
* for 30 minutes after the last request is sent for the session. This value
* should be no longer than 1 day.
* for 30 minutes after the last request is sent for the session.
* This value should be no longer than 1 day.
* </pre>
*
* <code>.google.protobuf.Duration session_ttl = 3 [(.google.api.field_behavior) = OPTIONAL];
Expand All @@ -929,10 +929,10 @@ public Builder clearSessionTtl() {
*
*
* <pre>
* Optional. Sets Dialogflow CX session life time.
* Optional. Configure lifetime of the Dialogflow session.
* By default, a Dialogflow CX session remains active and its data is stored
* for 30 minutes after the last request is sent for the session. This value
* should be no longer than 1 day.
* for 30 minutes after the last request is sent for the session.
* This value should be no longer than 1 day.
* </pre>
*
* <code>.google.protobuf.Duration session_ttl = 3 [(.google.api.field_behavior) = OPTIONAL];
Expand All @@ -947,10 +947,10 @@ public com.google.protobuf.Duration.Builder getSessionTtlBuilder() {
*
*
* <pre>
* Optional. Sets Dialogflow CX session life time.
* Optional. Configure lifetime of the Dialogflow session.
* By default, a Dialogflow CX session remains active and its data is stored
* for 30 minutes after the last request is sent for the session. This value
* should be no longer than 1 day.
* for 30 minutes after the last request is sent for the session.
* This value should be no longer than 1 day.
* </pre>
*
* <code>.google.protobuf.Duration session_ttl = 3 [(.google.api.field_behavior) = OPTIONAL];
Expand All @@ -969,10 +969,10 @@ public com.google.protobuf.DurationOrBuilder getSessionTtlOrBuilder() {
*
*
* <pre>
* Optional. Sets Dialogflow CX session life time.
* Optional. Configure lifetime of the Dialogflow session.
* By default, a Dialogflow CX session remains active and its data is stored
* for 30 minutes after the last request is sent for the session. This value
* should be no longer than 1 day.
* for 30 minutes after the last request is sent for the session.
* This value should be no longer than 1 day.
* </pre>
*
* <code>.google.protobuf.Duration session_ttl = 3 [(.google.api.field_behavior) = OPTIONAL];
Expand Down
Expand Up @@ -88,10 +88,10 @@ public interface AutomatedAgentConfigOrBuilder
*
*
* <pre>
* Optional. Sets Dialogflow CX session life time.
* Optional. Configure lifetime of the Dialogflow session.
* By default, a Dialogflow CX session remains active and its data is stored
* for 30 minutes after the last request is sent for the session. This value
* should be no longer than 1 day.
* for 30 minutes after the last request is sent for the session.
* This value should be no longer than 1 day.
* </pre>
*
* <code>.google.protobuf.Duration session_ttl = 3 [(.google.api.field_behavior) = OPTIONAL];
Expand All @@ -104,10 +104,10 @@ public interface AutomatedAgentConfigOrBuilder
*
*
* <pre>
* Optional. Sets Dialogflow CX session life time.
* Optional. Configure lifetime of the Dialogflow session.
* By default, a Dialogflow CX session remains active and its data is stored
* for 30 minutes after the last request is sent for the session. This value
* should be no longer than 1 day.
* for 30 minutes after the last request is sent for the session.
* This value should be no longer than 1 day.
* </pre>
*
* <code>.google.protobuf.Duration session_ttl = 3 [(.google.api.field_behavior) = OPTIONAL];
Expand All @@ -120,10 +120,10 @@ public interface AutomatedAgentConfigOrBuilder
*
*
* <pre>
* Optional. Sets Dialogflow CX session life time.
* Optional. Configure lifetime of the Dialogflow session.
* By default, a Dialogflow CX session remains active and its data is stored
* for 30 minutes after the last request is sent for the session. This value
* should be no longer than 1 day.
* for 30 minutes after the last request is sent for the session.
* This value should be no longer than 1 day.
* </pre>
*
* <code>.google.protobuf.Duration session_ttl = 3 [(.google.api.field_behavior) = OPTIONAL];
Expand Down

0 comments on commit 16f75a7

Please sign in to comment.