Skip to content

Commit 95a0877

Browse files
yoshi-automationsofisl
authored andcommitted
feat(recommender): update the API
#### recommender:v1beta1 The following keys were added: - schemas.GoogleCloudRecommenderV1beta1Impact.properties.impactComponents.description - schemas.GoogleCloudRecommenderV1beta1Impact.properties.impactComponents.items.$ref - schemas.GoogleCloudRecommenderV1beta1Impact.properties.impactComponents.type - schemas.GoogleCloudRecommenderV1beta1Impact.properties.service.description - schemas.GoogleCloudRecommenderV1beta1Impact.properties.service.type #### recommender:v1 The following keys were added: - schemas.GoogleCloudRecommenderV1Impact.properties.impactComponents.description - schemas.GoogleCloudRecommenderV1Impact.properties.impactComponents.items.$ref - schemas.GoogleCloudRecommenderV1Impact.properties.impactComponents.type - schemas.GoogleCloudRecommenderV1Impact.properties.service.description - schemas.GoogleCloudRecommenderV1Impact.properties.service.type
1 parent 0d44bca commit 95a0877

File tree

4 files changed

+40
-2
lines changed

4 files changed

+40
-2
lines changed

‎discovery/recommender-v1.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1686,7 +1686,7 @@
16861686
}
16871687
}
16881688
},
1689-
"revision": "20240428",
1689+
"revision": "20241013",
16901690
"rootUrl": "https://recommender.googleapis.com/",
16911691
"schemas": {
16921692
"GoogleCloudRecommenderV1CostProjection": {
@@ -1739,6 +1739,13 @@
17391739
"$ref": "GoogleCloudRecommenderV1CostProjection",
17401740
"description": "Use with CategoryType.COST"
17411741
},
1742+
"impactComponents": {
1743+
"description": "If populated, the impact contains multiple components. In this case, the top-level impact contains aggregated values and each component contains per-service details.",
1744+
"items": {
1745+
"$ref": "GoogleCloudRecommenderV1Impact"
1746+
},
1747+
"type": "array"
1748+
},
17421749
"reliabilityProjection": {
17431750
"$ref": "GoogleCloudRecommenderV1ReliabilityProjection",
17441751
"description": "Use with CategoryType.RELIABILITY"
@@ -1747,6 +1754,10 @@
17471754
"$ref": "GoogleCloudRecommenderV1SecurityProjection",
17481755
"description": "Use with CategoryType.SECURITY"
17491756
},
1757+
"service": {
1758+
"description": "The service that this impact is associated with.",
1759+
"type": "string"
1760+
},
17501761
"sustainabilityProjection": {
17511762
"$ref": "GoogleCloudRecommenderV1SustainabilityProjection",
17521763
"description": "Use with CategoryType.SUSTAINABILITY"

‎discovery/recommender-v1beta1.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1920,7 +1920,7 @@
19201920
}
19211921
}
19221922
},
1923-
"revision": "20240428",
1923+
"revision": "20241013",
19241924
"rootUrl": "https://recommender.googleapis.com/",
19251925
"schemas": {
19261926
"GoogleCloudLocationListLocationsResponse": {
@@ -2039,6 +2039,13 @@
20392039
"$ref": "GoogleCloudRecommenderV1beta1CostProjection",
20402040
"description": "Use with CategoryType.COST"
20412041
},
2042+
"impactComponents": {
2043+
"description": "If populated, the impact contains multiple components. In this case, the top-level impact contains aggregated values and each component contains per-service details.",
2044+
"items": {
2045+
"$ref": "GoogleCloudRecommenderV1beta1Impact"
2046+
},
2047+
"type": "array"
2048+
},
20422049
"reliabilityProjection": {
20432050
"$ref": "GoogleCloudRecommenderV1beta1ReliabilityProjection",
20442051
"description": "Use with CategoryType.RELIABILITY"
@@ -2047,6 +2054,10 @@
20472054
"$ref": "GoogleCloudRecommenderV1beta1SecurityProjection",
20482055
"description": "Use with CategoryType.SECURITY"
20492056
},
2057+
"service": {
2058+
"description": "The service that this impact is associated with.",
2059+
"type": "string"
2060+
},
20502061
"sustainabilityProjection": {
20512062
"$ref": "GoogleCloudRecommenderV1beta1SustainabilityProjection",
20522063
"description": "Use with CategoryType.SUSTAINABILITY"

‎src/apis/recommender/v1.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,10 @@ export namespace recommender_v1 {
159159
* Use with CategoryType.COST
160160
*/
161161
costProjection?: Schema$GoogleCloudRecommenderV1CostProjection;
162+
/**
163+
* If populated, the impact contains multiple components. In this case, the top-level impact contains aggregated values and each component contains per-service details.
164+
*/
165+
impactComponents?: Schema$GoogleCloudRecommenderV1Impact[];
162166
/**
163167
* Use with CategoryType.RELIABILITY
164168
*/
@@ -167,6 +171,10 @@ export namespace recommender_v1 {
167171
* Use with CategoryType.SECURITY
168172
*/
169173
securityProjection?: Schema$GoogleCloudRecommenderV1SecurityProjection;
174+
/**
175+
* The service that this impact is associated with.
176+
*/
177+
service?: string | null;
170178
/**
171179
* Use with CategoryType.SUSTAINABILITY
172180
*/

‎src/apis/recommender/v1beta1.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,10 @@ export namespace recommender_v1beta1 {
205205
* Use with CategoryType.COST
206206
*/
207207
costProjection?: Schema$GoogleCloudRecommenderV1beta1CostProjection;
208+
/**
209+
* If populated, the impact contains multiple components. In this case, the top-level impact contains aggregated values and each component contains per-service details.
210+
*/
211+
impactComponents?: Schema$GoogleCloudRecommenderV1beta1Impact[];
208212
/**
209213
* Use with CategoryType.RELIABILITY
210214
*/
@@ -213,6 +217,10 @@ export namespace recommender_v1beta1 {
213217
* Use with CategoryType.SECURITY
214218
*/
215219
securityProjection?: Schema$GoogleCloudRecommenderV1beta1SecurityProjection;
220+
/**
221+
* The service that this impact is associated with.
222+
*/
223+
service?: string | null;
216224
/**
217225
* Use with CategoryType.SUSTAINABILITY
218226
*/

0 commit comments

Comments
 (0)