Skip to content

Commit fb31956

Browse files
feat(recommender): update the api
#### recommender:v1 The following keys were added: - resources.billingAccounts.resources.locations.resources.recommenders.resources.recommendations.methods.markDismissed (Total Keys: 12) - resources.folders.resources.locations.resources.recommenders.resources.recommendations.methods.markDismissed (Total Keys: 12) - resources.organizations.resources.locations.resources.recommenders.resources.recommendations.methods.markDismissed (Total Keys: 12) - resources.projects.resources.locations.resources.recommenders.resources.recommendations.methods.markDismissed (Total Keys: 12) - schemas.GoogleCloudRecommenderV1MarkRecommendationDismissedRequest (Total Keys: 2) #### recommender:v1beta1 The following keys were added: - resources.billingAccounts.resources.locations.resources.recommenders.resources.recommendations.methods.markDismissed (Total Keys: 12) - resources.folders.resources.locations.resources.recommenders.resources.recommendations.methods.markDismissed (Total Keys: 12) - resources.organizations.resources.locations.resources.recommenders.resources.recommendations.methods.markDismissed (Total Keys: 12) - resources.projects.resources.locations.resources.recommenders.resources.recommendations.methods.markDismissed (Total Keys: 12) - schemas.GoogleCloudRecommenderV1beta1MarkRecommendationDismissedRequest (Total Keys: 2)
1 parent b65e142 commit fb31956

10 files changed

+1328
-2
lines changed

docs/dyn/recommender_v1.billingAccounts.locations.recommenders.recommendations.html

Lines changed: 135 additions & 0 deletions
Large diffs are not rendered by default.

docs/dyn/recommender_v1.folders.locations.recommenders.recommendations.html

Lines changed: 135 additions & 0 deletions
Large diffs are not rendered by default.

docs/dyn/recommender_v1.organizations.locations.recommenders.recommendations.html

Lines changed: 135 additions & 0 deletions
Large diffs are not rendered by default.

docs/dyn/recommender_v1.projects.locations.recommenders.recommendations.html

Lines changed: 135 additions & 0 deletions
Large diffs are not rendered by default.

docs/dyn/recommender_v1beta1.billingAccounts.locations.recommenders.recommendations.html

Lines changed: 135 additions & 0 deletions
Large diffs are not rendered by default.

docs/dyn/recommender_v1beta1.folders.locations.recommenders.recommendations.html

Lines changed: 135 additions & 0 deletions
Large diffs are not rendered by default.

docs/dyn/recommender_v1beta1.organizations.locations.recommenders.recommendations.html

Lines changed: 135 additions & 0 deletions
Large diffs are not rendered by default.

docs/dyn/recommender_v1beta1.projects.locations.recommenders.recommendations.html

Lines changed: 135 additions & 0 deletions
Large diffs are not rendered by default.

googleapiclient/discovery_cache/documents/recommender.v1.json

Lines changed: 124 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,34 @@
441441
"https://www.googleapis.com/auth/cloud-platform"
442442
]
443443
},
444+
"markDismissed": {
445+
"description": "Mark the Recommendation State as Dismissed. Users can use this method to indicate to the Recommender API that an ACTIVE recommendation has to be marked back as DISMISSED. MarkRecommendationDismissed can be applied to recommendations in ACTIVE state. Requires the recommender.*.update IAM permission for the specified recommender.",
446+
"flatPath": "v1/billingAccounts/{billingAccountsId}/locations/{locationsId}/recommenders/{recommendersId}/recommendations/{recommendationsId}:markDismissed",
447+
"httpMethod": "POST",
448+
"id": "recommender.billingAccounts.locations.recommenders.recommendations.markDismissed",
449+
"parameterOrder": [
450+
"name"
451+
],
452+
"parameters": {
453+
"name": {
454+
"description": "Name of the recommendation.",
455+
"location": "path",
456+
"pattern": "^billingAccounts/[^/]+/locations/[^/]+/recommenders/[^/]+/recommendations/[^/]+$",
457+
"required": true,
458+
"type": "string"
459+
}
460+
},
461+
"path": "v1/{+name}:markDismissed",
462+
"request": {
463+
"$ref": "GoogleCloudRecommenderV1MarkRecommendationDismissedRequest"
464+
},
465+
"response": {
466+
"$ref": "GoogleCloudRecommenderV1Recommendation"
467+
},
468+
"scopes": [
469+
"https://www.googleapis.com/auth/cloud-platform"
470+
]
471+
},
444472
"markFailed": {
445473
"description": "Marks the Recommendation State as Failed. Users can use this method to indicate to the Recommender API that they have applied the recommendation themselves, and the operation failed. This stops the recommendation content from being updated. Associated insights are frozen and placed in the ACCEPTED state. MarkRecommendationFailed can be applied to recommendations in ACTIVE, CLAIMED, SUCCEEDED, or FAILED state. Requires the recommender.*.update IAM permission for the specified recommender.",
446474
"flatPath": "v1/billingAccounts/{billingAccountsId}/locations/{locationsId}/recommenders/{recommendersId}/recommendations/{recommendationsId}:markFailed",
@@ -709,6 +737,34 @@
709737
"https://www.googleapis.com/auth/cloud-platform"
710738
]
711739
},
740+
"markDismissed": {
741+
"description": "Mark the Recommendation State as Dismissed. Users can use this method to indicate to the Recommender API that an ACTIVE recommendation has to be marked back as DISMISSED. MarkRecommendationDismissed can be applied to recommendations in ACTIVE state. Requires the recommender.*.update IAM permission for the specified recommender.",
742+
"flatPath": "v1/folders/{foldersId}/locations/{locationsId}/recommenders/{recommendersId}/recommendations/{recommendationsId}:markDismissed",
743+
"httpMethod": "POST",
744+
"id": "recommender.folders.locations.recommenders.recommendations.markDismissed",
745+
"parameterOrder": [
746+
"name"
747+
],
748+
"parameters": {
749+
"name": {
750+
"description": "Name of the recommendation.",
751+
"location": "path",
752+
"pattern": "^folders/[^/]+/locations/[^/]+/recommenders/[^/]+/recommendations/[^/]+$",
753+
"required": true,
754+
"type": "string"
755+
}
756+
},
757+
"path": "v1/{+name}:markDismissed",
758+
"request": {
759+
"$ref": "GoogleCloudRecommenderV1MarkRecommendationDismissedRequest"
760+
},
761+
"response": {
762+
"$ref": "GoogleCloudRecommenderV1Recommendation"
763+
},
764+
"scopes": [
765+
"https://www.googleapis.com/auth/cloud-platform"
766+
]
767+
},
712768
"markFailed": {
713769
"description": "Marks the Recommendation State as Failed. Users can use this method to indicate to the Recommender API that they have applied the recommendation themselves, and the operation failed. This stops the recommendation content from being updated. Associated insights are frozen and placed in the ACCEPTED state. MarkRecommendationFailed can be applied to recommendations in ACTIVE, CLAIMED, SUCCEEDED, or FAILED state. Requires the recommender.*.update IAM permission for the specified recommender.",
714770
"flatPath": "v1/folders/{foldersId}/locations/{locationsId}/recommenders/{recommendersId}/recommendations/{recommendationsId}:markFailed",
@@ -1109,6 +1165,34 @@
11091165
"https://www.googleapis.com/auth/cloud-platform"
11101166
]
11111167
},
1168+
"markDismissed": {
1169+
"description": "Mark the Recommendation State as Dismissed. Users can use this method to indicate to the Recommender API that an ACTIVE recommendation has to be marked back as DISMISSED. MarkRecommendationDismissed can be applied to recommendations in ACTIVE state. Requires the recommender.*.update IAM permission for the specified recommender.",
1170+
"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/recommenders/{recommendersId}/recommendations/{recommendationsId}:markDismissed",
1171+
"httpMethod": "POST",
1172+
"id": "recommender.organizations.locations.recommenders.recommendations.markDismissed",
1173+
"parameterOrder": [
1174+
"name"
1175+
],
1176+
"parameters": {
1177+
"name": {
1178+
"description": "Name of the recommendation.",
1179+
"location": "path",
1180+
"pattern": "^organizations/[^/]+/locations/[^/]+/recommenders/[^/]+/recommendations/[^/]+$",
1181+
"required": true,
1182+
"type": "string"
1183+
}
1184+
},
1185+
"path": "v1/{+name}:markDismissed",
1186+
"request": {
1187+
"$ref": "GoogleCloudRecommenderV1MarkRecommendationDismissedRequest"
1188+
},
1189+
"response": {
1190+
"$ref": "GoogleCloudRecommenderV1Recommendation"
1191+
},
1192+
"scopes": [
1193+
"https://www.googleapis.com/auth/cloud-platform"
1194+
]
1195+
},
11121196
"markFailed": {
11131197
"description": "Marks the Recommendation State as Failed. Users can use this method to indicate to the Recommender API that they have applied the recommendation themselves, and the operation failed. This stops the recommendation content from being updated. Associated insights are frozen and placed in the ACCEPTED state. MarkRecommendationFailed can be applied to recommendations in ACTIVE, CLAIMED, SUCCEEDED, or FAILED state. Requires the recommender.*.update IAM permission for the specified recommender.",
11141198
"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/recommenders/{recommendersId}/recommendations/{recommendationsId}:markFailed",
@@ -1509,6 +1593,34 @@
15091593
"https://www.googleapis.com/auth/cloud-platform"
15101594
]
15111595
},
1596+
"markDismissed": {
1597+
"description": "Mark the Recommendation State as Dismissed. Users can use this method to indicate to the Recommender API that an ACTIVE recommendation has to be marked back as DISMISSED. MarkRecommendationDismissed can be applied to recommendations in ACTIVE state. Requires the recommender.*.update IAM permission for the specified recommender.",
1598+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/recommenders/{recommendersId}/recommendations/{recommendationsId}:markDismissed",
1599+
"httpMethod": "POST",
1600+
"id": "recommender.projects.locations.recommenders.recommendations.markDismissed",
1601+
"parameterOrder": [
1602+
"name"
1603+
],
1604+
"parameters": {
1605+
"name": {
1606+
"description": "Name of the recommendation.",
1607+
"location": "path",
1608+
"pattern": "^projects/[^/]+/locations/[^/]+/recommenders/[^/]+/recommendations/[^/]+$",
1609+
"required": true,
1610+
"type": "string"
1611+
}
1612+
},
1613+
"path": "v1/{+name}:markDismissed",
1614+
"request": {
1615+
"$ref": "GoogleCloudRecommenderV1MarkRecommendationDismissedRequest"
1616+
},
1617+
"response": {
1618+
"$ref": "GoogleCloudRecommenderV1Recommendation"
1619+
},
1620+
"scopes": [
1621+
"https://www.googleapis.com/auth/cloud-platform"
1622+
]
1623+
},
15121624
"markFailed": {
15131625
"description": "Marks the Recommendation State as Failed. Users can use this method to indicate to the Recommender API that they have applied the recommendation themselves, and the operation failed. This stops the recommendation content from being updated. Associated insights are frozen and placed in the ACCEPTED state. MarkRecommendationFailed can be applied to recommendations in ACTIVE, CLAIMED, SUCCEEDED, or FAILED state. Requires the recommender.*.update IAM permission for the specified recommender.",
15141626
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/recommenders/{recommendersId}/recommendations/{recommendationsId}:markFailed",
@@ -1574,7 +1686,7 @@
15741686
}
15751687
}
15761688
},
1577-
"revision": "20221211",
1689+
"revision": "20230108",
15781690
"rootUrl": "https://recommender.googleapis.com/",
15791691
"schemas": {
15801692
"GoogleCloudRecommenderV1CostProjection": {
@@ -1905,6 +2017,17 @@
19052017
},
19062018
"type": "object"
19072019
},
2020+
"GoogleCloudRecommenderV1MarkRecommendationDismissedRequest": {
2021+
"description": "Request for the `MarkRecommendationDismissed` Method.",
2022+
"id": "GoogleCloudRecommenderV1MarkRecommendationDismissedRequest",
2023+
"properties": {
2024+
"etag": {
2025+
"description": "Fingerprint of the Recommendation. Provides optimistic locking.",
2026+
"type": "string"
2027+
}
2028+
},
2029+
"type": "object"
2030+
},
19082031
"GoogleCloudRecommenderV1MarkRecommendationFailedRequest": {
19092032
"description": "Request for the `MarkRecommendationFailed` Method.",
19102033
"id": "GoogleCloudRecommenderV1MarkRecommendationFailedRequest",

0 commit comments

Comments
 (0)