public abstract static class RecommenderGrpc.RecommenderImplBase extends Object implements io.grpc.BindableService
Provides insights and recommendations for cloud customers for various categories like performance optimization, cost savings, reliability, feature discovery, etc. Insights and recommendations are generated automatically based on analysis of user resources, configuration and monitoring metrics.
| Constructor and Description |
|---|
RecommenderImplBase() |
| Modifier and Type | Method and Description |
|---|---|
io.grpc.ServerServiceDefinition |
bindService() |
void |
getRecommendation(GetRecommendationRequest request,
io.grpc.stub.StreamObserver<Recommendation> responseObserver)
Gets the requested recommendation.
|
void |
listRecommendations(ListRecommendationsRequest request,
io.grpc.stub.StreamObserver<ListRecommendationsResponse> responseObserver)
Lists recommendations for a Cloud project.
|
void |
markRecommendationClaimed(MarkRecommendationClaimedRequest request,
io.grpc.stub.StreamObserver<Recommendation> responseObserver)
Marks the Recommendation State as Claimed.
|
void |
markRecommendationFailed(MarkRecommendationFailedRequest request,
io.grpc.stub.StreamObserver<Recommendation> responseObserver)
Marks the Recommendation State as Failed.
|
void |
markRecommendationSucceeded(MarkRecommendationSucceededRequest request,
io.grpc.stub.StreamObserver<Recommendation> responseObserver)
Marks the Recommendation State as Succeeded.
|
public void listRecommendations(ListRecommendationsRequest request, io.grpc.stub.StreamObserver<ListRecommendationsResponse> responseObserver)
Lists recommendations for a Cloud project. Requires the recommender.*.list IAM permission for the specified recommender.
public void getRecommendation(GetRecommendationRequest request, io.grpc.stub.StreamObserver<Recommendation> responseObserver)
Gets the requested recommendation. Requires the recommender.*.get IAM permission for the specified recommender.
public void markRecommendationClaimed(MarkRecommendationClaimedRequest request, io.grpc.stub.StreamObserver<Recommendation> responseObserver)
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 or ACTIVE state. Requires the recommender.*.update IAM permission for the specified recommender.
public void markRecommendationSucceeded(MarkRecommendationSucceededRequest request, io.grpc.stub.StreamObserver<Recommendation> responseObserver)
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.
public void markRecommendationFailed(MarkRecommendationFailedRequest request, io.grpc.stub.StreamObserver<Recommendation> responseObserver)
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.
public final io.grpc.ServerServiceDefinition bindService()
bindService in interface io.grpc.BindableServiceCopyright © 2020 Google LLC. All rights reserved.