OrganizationsLocationsRecommendersRecommendations
class OrganizationsLocationsRecommendersRecommendations extends Resource (View source)
The "recommendations" collection of methods.
Typical usage is:
$recommenderService = new Google\Service\Recommender(...);
$recommendations = $recommenderService->organizations_locations_recommenders_recommendations;
Methods
Gets the requested recommendation. Requires the recommender.*.get IAM permission for the specified recommender. (recommendations.get)
Lists recommendations for the specified Cloud Resource. Requires the recommender.*.list IAM permission for the specified recommender.
Marks the Recommendation State as Claimed. Users can use this method to indicate to the Recommender API that they are starting to apply the recommendation themselves. This stops the recommendation content from being updated. Associated insights are frozen and placed in the ACCEPTED state.
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. (recommendations.markDismissed)
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. (recommendations.markFailed)
Marks the Recommendation State as Succeeded. Users can use this method to indicate to the Recommender API that they have applied the recommendation themselves, and the operation was successful. This stops the recommendation content from being updated. Associated insights are frozen and placed in the ACCEPTED state. MarkRecommendationSucceeded can be applied to recommendations in ACTIVE, CLAIMED, SUCCEEDED, or FAILED state. Requires the recommender.*.update IAM permission for the specified recommender.
Details
GoogleCloudRecommenderV1Recommendation
get(string $name, array $optParams = [])
Gets the requested recommendation. Requires the recommender.*.get IAM permission for the specified recommender. (recommendations.get)
GoogleCloudRecommenderV1ListRecommendationsResponse
listOrganizationsLocationsRecommendersRecommendations(string $parent, array $optParams = [])
Lists recommendations for the specified Cloud Resource. Requires the recommender.*.list IAM permission for the specified recommender.
(recommendations.listOrganizationsLocationsRecommendersRecommendations)
GoogleCloudRecommenderV1Recommendation
markClaimed(string $name, GoogleCloudRecommenderV1MarkRecommendationClaimedRequest $postBody, array $optParams = [])
Marks the Recommendation State as Claimed. Users can use this method to indicate to the Recommender API that they are starting to apply the recommendation themselves. This stops the recommendation content from being updated. Associated insights are frozen and placed in the ACCEPTED state.
MarkRecommendationClaimed can be applied to recommendations in CLAIMED, SUCCEEDED, FAILED, or ACTIVE state. Requires the recommender.*.update IAM permission for the specified recommender. (recommendations.markClaimed)
GoogleCloudRecommenderV1Recommendation
markDismissed(string $name, GoogleCloudRecommenderV1MarkRecommendationDismissedRequest $postBody, array $optParams = [])
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. (recommendations.markDismissed)
GoogleCloudRecommenderV1Recommendation
markFailed(string $name, GoogleCloudRecommenderV1MarkRecommendationFailedRequest $postBody, array $optParams = [])
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. (recommendations.markFailed)
GoogleCloudRecommenderV1Recommendation
markSucceeded(string $name, GoogleCloudRecommenderV1MarkRecommendationSucceededRequest $postBody, array $optParams = [])
Marks the Recommendation State as Succeeded. Users can use this method to indicate to the Recommender API that they have applied the recommendation themselves, and the operation was successful. This stops the recommendation content from being updated. Associated insights are frozen and placed in the ACCEPTED state. MarkRecommendationSucceeded can be applied to recommendations in ACTIVE, CLAIMED, SUCCEEDED, or FAILED state. Requires the recommender.*.update IAM permission for the specified recommender.
(recommendations.markSucceeded)