Skip to content

Commit f4902d9

Browse files
Google APIscopybara-github
authored andcommitted
feat: add service_uri field to CloudRunRevisionEndpoint
PiperOrigin-RevId: 793279699
1 parent 07d9064 commit f4902d9

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

google/cloud/networkmanagement/v1/connectivity_test.proto

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,13 @@ message Endpoint {
171171
// A [Cloud Run](https://cloud.google.com/run)
172172
// [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get)
173173
// URI. The format is:
174-
// projects/{project}/locations/{location}/revisions/{revision}
174+
// `projects/{project}/locations/{location}/revisions/{revision}`
175175
string uri = 1;
176+
177+
// Output only. The URI of the Cloud Run service that the revision belongs
178+
// to. The format is:
179+
// `projects/{project}/locations/{location}/services/{service}`
180+
string service_uri = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
176181
}
177182

178183
// The IP address of the endpoint, which can be an external or internal IP.
@@ -190,8 +195,8 @@ message Endpoint {
190195
// used for protocol forwarding, Private Service Connect and other network
191196
// services to provide forwarding information in the control plane. Applicable
192197
// only to destination endpoint. Format:
193-
// projects/{project}/global/forwardingRules/{id} or
194-
// projects/{project}/regions/{region}/forwardingRules/{id}
198+
// `projects/{project}/global/forwardingRules/{id}` or
199+
// `projects/{project}/regions/{region}/forwardingRules/{id}`
195200
string forwarding_rule = 13;
196201

197202
// Output only. Specifies the type of the target of the forwarding rule.

0 commit comments

Comments
 (0)