From d84b745b282c89e3ca2f3f1e3a23bc65e56fa3f6 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Wed, 20 Oct 2021 11:41:05 -0700 Subject: [PATCH] fix: Remove invalid resource annotations (#213) Note: normally removing an annotation is a breaking change. However, the annotation here is invalid as it doesn't refer to a string field. Any generator which actually tried to use it in a meaningful way would either generate invalid code or fail to generate at all. Therefore removing it can't break anything. PiperOrigin-RevId: 404455880 Source-Link: https://github.com/googleapis/googleapis/commit/dc83df85270eeb79b3377d4091cefe99aaf6a21d Source-Link: https://github.com/googleapis/googleapis-gen/commit/f0d78f497979b0d7d6b93587d904c8464512853e Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZjBkNzhmNDk3OTc5YjBkN2Q2YjkzNTg3ZDkwNGM4NDY0NTEyODUzZSJ9 --- .../google/cloud/aiplatform/v1/lineage_subgraph.proto | 9 ++------- packages/google-cloud-aiplatform/protos/protos.json | 10 ++-------- 2 files changed, 4 insertions(+), 15 deletions(-) diff --git a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/lineage_subgraph.proto b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/lineage_subgraph.proto index 2ff8c5c58e1..dc9f62e1fa5 100644 --- a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/lineage_subgraph.proto +++ b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/lineage_subgraph.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; -import "google/api/resource.proto"; import "google/cloud/aiplatform/v1/artifact.proto"; import "google/cloud/aiplatform/v1/event.proto"; import "google/cloud/aiplatform/v1/execution.proto"; @@ -34,14 +33,10 @@ option ruby_package = "Google::Cloud::AIPlatform::V1"; // Execution nodes. message LineageSubgraph { // The Artifact nodes in the subgraph. - repeated Artifact artifacts = 1 [(google.api.resource_reference) = { - type: "aiplatform.googleapis.com/Artifact" - }]; + repeated Artifact artifacts = 1; // The Execution nodes in the subgraph. - repeated Execution executions = 2 [(google.api.resource_reference) = { - type: "aiplatform.googleapis.com/Execution" - }]; + repeated Execution executions = 2; // The Event edges between Artifacts and Executions in the subgraph. repeated Event events = 3; diff --git a/packages/google-cloud-aiplatform/protos/protos.json b/packages/google-cloud-aiplatform/protos/protos.json index fd2676552c8..7ba734822e6 100644 --- a/packages/google-cloud-aiplatform/protos/protos.json +++ b/packages/google-cloud-aiplatform/protos/protos.json @@ -8830,18 +8830,12 @@ "artifacts": { "rule": "repeated", "type": "Artifact", - "id": 1, - "options": { - "(google.api.resource_reference).type": "aiplatform.googleapis.com/Artifact" - } + "id": 1 }, "executions": { "rule": "repeated", "type": "Execution", - "id": 2, - "options": { - "(google.api.resource_reference).type": "aiplatform.googleapis.com/Execution" - } + "id": 2 }, "events": { "rule": "repeated",