1- // Copyright 2025 Google LLC
1+ // Copyright 2026 Google LLC
22//
33// Licensed under the Apache License, Version 2.0 (the "License");
44// you may not use this file except in compliance with the License.
@@ -16,6 +16,7 @@ syntax = "proto3";
1616
1717package google.cloud.recommender.v1 ;
1818
19+ import "google/api/field_behavior.proto" ;
1920import "google/api/resource.proto" ;
2021import "google/protobuf/duration.proto" ;
2122import "google/protobuf/struct.proto" ;
@@ -71,8 +72,8 @@ message Recommendation {
7172 string insight = 1 ;
7273 }
7374
74- // Name of recommendation.
75- string name = 1 ;
75+ // Identifier. Name of recommendation.
76+ string name = 1 [ (google.api .field_behavior ) = IDENTIFIER ] ;
7677
7778 // Free-form human readable summary in English. The maximum length is 500
7879 // characters.
@@ -123,6 +124,9 @@ message Recommendation {
123124 // exclusive group. This means that only one recommendation within the group
124125 // is suggested to be applied.
125126 string xor_group_id = 18 ;
127+
128+ // Fully qualified resource names that this recommendation is targeting.
129+ repeated string target_resources = 19 ;
126130}
127131
128132// Contains what resources are changing and how they are changing.
@@ -236,6 +240,7 @@ message Operation {
236240
237241// Contains various matching options for values for a GCP resource field.
238242message ValueMatcher {
243+ // To be used for full regex matching.
239244 oneof match_variant {
240245 // To be used for full regex matching. The regular expression is using the
241246 // Google RE2 syntax (https://github.com/google/re2/wiki/Syntax), so to be
@@ -346,6 +351,9 @@ message Impact {
346351 // Use with CategoryType.RELIABILITY
347352 ReliabilityProjection reliability_projection = 103 ;
348353 }
354+
355+ // The service that this impact is associated with.
356+ string service = 3 ;
349357}
350358
351359// Information for state. Contains state and metadata.
0 commit comments