From 5b86376273637f5ce3844f29bf8cb1c4aceaea2d Mon Sep 17 00:00:00 2001 From: Google APIs Date: Thu, 31 Oct 2019 19:38:31 -0700 Subject: [PATCH] Synchronize new proto/yaml changes. PiperOrigin-RevId: 277850256 --- google/cloud/dialogflow/v2beta1/intent.proto | 14 ++++++++++---- .../cloud/dialogflow/v2beta1/knowledge_base.proto | 2 +- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/google/cloud/dialogflow/v2beta1/intent.proto b/google/cloud/dialogflow/v2beta1/intent.proto index 9d298677..ca27b84c 100644 --- a/google/cloud/dialogflow/v2beta1/intent.proto +++ b/google/cloud/dialogflow/v2beta1/intent.proto @@ -437,6 +437,9 @@ message Intent { // Required. List items. repeated Item items = 2; + + // Optional. Subtitle of the list. + string subtitle = 3 [(google.api.field_behavior) = OPTIONAL]; } // The card for presenting a carousel of options to select from. @@ -1139,11 +1142,14 @@ message Intent { // Optional. Indicates whether webhooks are enabled for the intent. WebhookState webhook_state = 6; - // Optional. The priority of this intent. Higher numbers represent higher - // priorities. If this is zero or unspecified, we use the default - // priority 500000. + // The priority of this intent. Higher numbers represent higher + // priorities. // - // Negative numbers mean that the intent is disabled. + // - If the supplied value is unspecified or 0, the service + // translates the value to 500,000, which corresponds to the + // `Normal` priority in the console. + // - If the supplied value is negative, the intent is ignored + // in runtime detect intent requests. int32 priority = 3; // Optional. Indicates whether this is a fallback intent. diff --git a/google/cloud/dialogflow/v2beta1/knowledge_base.proto b/google/cloud/dialogflow/v2beta1/knowledge_base.proto index a8adc396..4bbc7452 100644 --- a/google/cloud/dialogflow/v2beta1/knowledge_base.proto +++ b/google/cloud/dialogflow/v2beta1/knowledge_base.proto @@ -126,7 +126,7 @@ message KnowledgeBase { // Language which represents the KnowledgeBase. When the KnowledgeBase is // created/updated, this is populated for all non en-us languages. If not // populated, the default language en-us applies. - string language_code = 3; + string language_code = 4; } // Request message for [KnowledgeBases.ListKnowledgeBases][google.cloud.dialogflow.v2beta1.KnowledgeBases.ListKnowledgeBases].