From dd465166d7e039dfd0af2092a1f4613355d3d2fe Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 30 Jun 2020 21:11:10 -0700 Subject: [PATCH] chore: fix client library environment resource annotation (#632) --- .../google/cloud/dialogflow/v2beta1/environment.proto | 7 +------ packages/google-cloud-dialogflow/protos/protos.json | 3 +-- packages/google-cloud-dialogflow/synth.metadata | 4 ++-- 3 files changed, 4 insertions(+), 10 deletions(-) diff --git a/packages/google-cloud-dialogflow/protos/google/cloud/dialogflow/v2beta1/environment.proto b/packages/google-cloud-dialogflow/protos/google/cloud/dialogflow/v2beta1/environment.proto index d9cfbb9ed2f..da1c4b28772 100644 --- a/packages/google-cloud-dialogflow/protos/google/cloud/dialogflow/v2beta1/environment.proto +++ b/packages/google-cloud-dialogflow/protos/google/cloud/dialogflow/v2beta1/environment.proto @@ -88,12 +88,7 @@ message Environment { // Optional. The agent version loaded into this environment. // Format: `projects//agent/versions/`. - string agent_version = 3 [ - (google.api.field_behavior) = OPTIONAL, - (google.api.resource_reference) = { - type: "dialogflow.googleapis.com/Version" - } - ]; + string agent_version = 3 [(google.api.field_behavior) = OPTIONAL]; // Output only. The state of this environment. This field is read-only, i.e., it cannot be // set by create and update methods. diff --git a/packages/google-cloud-dialogflow/protos/protos.json b/packages/google-cloud-dialogflow/protos/protos.json index 28a9e8af63d..9bd1300c77c 100644 --- a/packages/google-cloud-dialogflow/protos/protos.json +++ b/packages/google-cloud-dialogflow/protos/protos.json @@ -3841,8 +3841,7 @@ "type": "string", "id": 3, "options": { - "(google.api.field_behavior)": "OPTIONAL", - "(google.api.resource_reference).type": "dialogflow.googleapis.com/Version" + "(google.api.field_behavior)": "OPTIONAL" } }, "state": { diff --git a/packages/google-cloud-dialogflow/synth.metadata b/packages/google-cloud-dialogflow/synth.metadata index ac0f66e6734..1442bfbc368 100644 --- a/packages/google-cloud-dialogflow/synth.metadata +++ b/packages/google-cloud-dialogflow/synth.metadata @@ -11,8 +11,8 @@ "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "927ff51dcfbdf092d469083dc3964173851f5575", - "internalRef": "317983262" + "sha": "dc3682a7075d3028f00de866446fd0543ebc6079", + "internalRef": "318303567" } }, {