From 133c7b7d98df869e06d62a1c95559de546d5f77c Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 10 Aug 2021 13:13:09 -0700 Subject: [PATCH] feat: expose `Locations` service to get/list avaliable locations of Dialogflow products; fixed some API annotations (#860) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat: expose `Locations` service to get/list avaliable locations of Dialogflow products; fixed some API annotations PiperOrigin-RevId: 389905442 Source-Link: https://github.com/googleapis/googleapis/commit/4c984f3be8e1bd85eb8fe78a2911a83b9785a7ea Source-Link: https://github.com/googleapis/googleapis-gen/commit/ea3337a8198ab8dfb233529fcd53e54fa168b0cd * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot --- .../protos/google/cloud/dialogflow/v2/intent.proto | 7 ++++--- packages/google-cloud-dialogflow/protos/protos.json | 10 ++++++++-- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/packages/google-cloud-dialogflow/protos/google/cloud/dialogflow/v2/intent.proto b/packages/google-cloud-dialogflow/protos/google/cloud/dialogflow/v2/intent.proto index fae280cee30..0c6b0deac87 100644 --- a/packages/google-cloud-dialogflow/protos/google/cloud/dialogflow/v2/intent.proto +++ b/packages/google-cloud-dialogflow/protos/google/cloud/dialogflow/v2/intent.proto @@ -873,12 +873,13 @@ message Intent { // copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform). repeated Message.Platform default_response_platforms = 15 [(google.api.field_behavior) = OPTIONAL]; + // Output only. // Read-only. The unique identifier of the root intent in the chain of // followup intents. It identifies the correct followup intents chain for // this intent. We populate this field only in the output. // // Format: `projects//agent/intents/`. - string root_followup_intent_name = 16; + string root_followup_intent_name = 16 [(google.api.field_behavior) = OUTPUT_ONLY]; // Read-only after creation. The unique identifier of the parent intent in the // chain of followup intents. You can set this field when creating an intent, @@ -890,9 +891,9 @@ message Intent { // Format: `projects//agent/intents/`. string parent_followup_intent_name = 17; - // Read-only. Information about all followup intents that have this intent as + // Output only. Read-only. Information about all followup intents that have this intent as // a direct or indirect parent. We populate this field only in the output. - repeated FollowupIntentInfo followup_intent_info = 18; + repeated FollowupIntentInfo followup_intent_info = 18 [(google.api.field_behavior) = OUTPUT_ONLY]; } // The request message for [Intents.ListIntents][google.cloud.dialogflow.v2.Intents.ListIntents]. diff --git a/packages/google-cloud-dialogflow/protos/protos.json b/packages/google-cloud-dialogflow/protos/protos.json index a9fdce999fc..e97ecd82d8a 100644 --- a/packages/google-cloud-dialogflow/protos/protos.json +++ b/packages/google-cloud-dialogflow/protos/protos.json @@ -2878,7 +2878,10 @@ }, "rootFollowupIntentName": { "type": "string", - "id": 16 + "id": 16, + "options": { + "(google.api.field_behavior)": "OUTPUT_ONLY" + } }, "parentFollowupIntentName": { "type": "string", @@ -2887,7 +2890,10 @@ "followupIntentInfo": { "rule": "repeated", "type": "FollowupIntentInfo", - "id": 18 + "id": 18, + "options": { + "(google.api.field_behavior)": "OUTPUT_ONLY" + } } }, "nested": {