google-cloud-recommender overview (2.1.5)

com.google.cloud.recommender.v1

The interfaces provided are listed below, along with usage samples.

RecommenderClient

Service Description: 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.

Sample for RecommenderClient:

try(RecommenderClientrecommenderClient=RecommenderClient.create()){InsightNamename=InsightName.ofProjectLocationInsightTypeInsightName("[PROJECT]","[LOCATION]","[INSIGHT_TYPE]","[INSIGHT]");Insightresponse=recommenderClient.getInsight(name);}

com.google.cloud.recommender.v1.stub

com.google.cloud.recommender.v1beta1

The interfaces provided are listed below, along with usage samples.

RecommenderClient

Service Description: 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.

Sample for RecommenderClient:

try(RecommenderClientrecommenderClient=RecommenderClient.create()){InsightNamename=InsightName.ofProjectLocationInsightTypeInsightName("[PROJECT]","[LOCATION]","[INSIGHT_TYPE]","[INSIGHT]");Insightresponse=recommenderClient.getInsight(name);}

com.google.cloud.recommender.v1beta1.stub

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-02-01 UTC.