@@ -43,6 +43,14 @@ public final class GoogleCloudRecommenderV1Impact extends com.google.api.client.
43
43
@ com .google .api .client .util .Key
44
44
private GoogleCloudRecommenderV1CostProjection costProjection ;
45
45
46
+ /**
47
+ * If populated, the impact contains multiple components. In this case, the top-level impact
48
+ * contains aggregated values and each component contains per-service details.
49
+ * The value may be {@code null}.
50
+ */
51
+ @ com .google .api .client .util .Key
52
+ private java .util .List <GoogleCloudRecommenderV1Impact > impactComponents ;
53
+
46
54
/**
47
55
* Use with CategoryType.RELIABILITY
48
56
* The value may be {@code null}.
@@ -57,6 +65,13 @@ public final class GoogleCloudRecommenderV1Impact extends com.google.api.client.
57
65
@ com .google .api .client .util .Key
58
66
private GoogleCloudRecommenderV1SecurityProjection securityProjection ;
59
67
68
+ /**
69
+ * The service that this impact is associated with.
70
+ * The value may be {@code null}.
71
+ */
72
+ @ com .google .api .client .util .Key
73
+ private java .lang .String service ;
74
+
60
75
/**
61
76
* Use with CategoryType.SUSTAINABILITY
62
77
* The value may be {@code null}.
@@ -98,6 +113,25 @@ public GoogleCloudRecommenderV1Impact setCostProjection(GoogleCloudRecommenderV1
98
113
return this ;
99
114
}
100
115
116
+ /**
117
+ * If populated, the impact contains multiple components. In this case, the top-level impact
118
+ * contains aggregated values and each component contains per-service details.
119
+ * @return value or {@code null} for none
120
+ */
121
+ public java .util .List <GoogleCloudRecommenderV1Impact > getImpactComponents () {
122
+ return impactComponents ;
123
+ }
124
+
125
+ /**
126
+ * If populated, the impact contains multiple components. In this case, the top-level impact
127
+ * contains aggregated values and each component contains per-service details.
128
+ * @param impactComponents impactComponents or {@code null} for none
129
+ */
130
+ public GoogleCloudRecommenderV1Impact setImpactComponents (java .util .List <GoogleCloudRecommenderV1Impact > impactComponents ) {
131
+ this .impactComponents = impactComponents ;
132
+ return this ;
133
+ }
134
+
101
135
/**
102
136
* Use with CategoryType.RELIABILITY
103
137
* @return value or {@code null} for none
@@ -132,6 +166,23 @@ public GoogleCloudRecommenderV1Impact setSecurityProjection(GoogleCloudRecommend
132
166
return this ;
133
167
}
134
168
169
+ /**
170
+ * The service that this impact is associated with.
171
+ * @return value or {@code null} for none
172
+ */
173
+ public java .lang .String getService () {
174
+ return service ;
175
+ }
176
+
177
+ /**
178
+ * The service that this impact is associated with.
179
+ * @param service service or {@code null} for none
180
+ */
181
+ public GoogleCloudRecommenderV1Impact setService (java .lang .String service ) {
182
+ this .service = service ;
183
+ return this ;
184
+ }
185
+
135
186
/**
136
187
* Use with CategoryType.SUSTAINABILITY
137
188
* @return value or {@code null} for none
0 commit comments