@Generated("by gapic-generator-java")
Package com.google.cloud.recommender.v1
A client to Recommender API
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:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (RecommenderClient recommenderClient = RecommenderClient.create()) {
InsightName name =
InsightName.ofProjectLocationInsightTypeInsightName(
"[PROJECT]", "[LOCATION]", "[INSIGHT_TYPE]", "[INSIGHT]");
Insight response = recommenderClient.getInsight(name);
}
-
Class Summary Class Description CostProjection Contains metadata about how much money a recommendation can save or incur.CostProjection.Builder Contains metadata about how much money a recommendation can save or incur.GetInsightRequest Request to the `GetInsight` method.GetInsightRequest.Builder Request to the `GetInsight` method.GetInsightTypeConfigRequest Request for the GetInsightTypeConfig` method.GetInsightTypeConfigRequest.Builder Request for the GetInsightTypeConfig` method.GetRecommendationRequest Request to the `GetRecommendation` method.GetRecommendationRequest.Builder Request to the `GetRecommendation` method.GetRecommenderConfigRequest Request for the GetRecommenderConfig` method.GetRecommenderConfigRequest.Builder Request for the GetRecommenderConfig` method.Impact Contains the impact a recommendation can have for a given category.Impact.Builder Contains the impact a recommendation can have for a given category.Insight An insight along with the information used to derive the insight.Insight.Builder An insight along with the information used to derive the insight.Insight.RecommendationReference Reference to an associated recommendation.Insight.RecommendationReference.Builder Reference to an associated recommendation.InsightName InsightName.BillingAccountLocationInsightTypeInsightBuilder Builder for billingAccounts/{billing_account}/locations/{location}/insightTypes/{insight_type}/insights/{insight}.InsightName.Builder Builder for projects/{project}/locations/{location}/insightTypes/{insight_type}/insights/{insight}.InsightName.FolderLocationInsightTypeInsightBuilder Builder for folders/{folder}/locations/{location}/insightTypes/{insight_type}/insights/{insight}.InsightName.OrganizationLocationInsightTypeInsightBuilder Builder for organizations/{organization}/locations/{location}/insightTypes/{insight_type}/insights/{insight}.InsightProto InsightStateInfo Information related to insight state.InsightStateInfo.Builder Information related to insight state.InsightTypeConfig Configuration for an InsightType.InsightTypeConfig.Builder Configuration for an InsightType.InsightTypeConfigName InsightTypeConfigName.BillingAccountLocationInsightTypeBuilder Builder for billingAccounts/{billing_account}/locations/{location}/insightTypes/{insight_type}/config.InsightTypeConfigName.Builder Builder for projects/{project}/locations/{location}/insightTypes/{insight_type}/config.InsightTypeConfigName.OrganizationLocationInsightTypeBuilder Builder for organizations/{organization}/locations/{location}/insightTypes/{insight_type}/config.InsightTypeConfigProto InsightTypeGenerationConfig A configuration to customize the generation of insights.InsightTypeGenerationConfig.Builder A configuration to customize the generation of insights.InsightTypeName InsightTypeName.BillingAccountLocationInsightTypeBuilder Builder for billingAccounts/{billing_account}/locations/{location}/insightTypes/{insight_type}.InsightTypeName.Builder Builder for projects/{project}/locations/{location}/insightTypes/{insight_type}.InsightTypeName.FolderLocationInsightTypeBuilder Builder for folders/{folder}/locations/{location}/insightTypes/{insight_type}.InsightTypeName.OrganizationLocationInsightTypeBuilder Builder for organizations/{organization}/locations/{location}/insightTypes/{insight_type}.ListInsightsRequest Request for the `ListInsights` method.ListInsightsRequest.Builder Request for the `ListInsights` method.ListInsightsResponse Response to the `ListInsights` method.ListInsightsResponse.Builder Response to the `ListInsights` method.ListRecommendationsRequest Request for the `ListRecommendations` method.ListRecommendationsRequest.Builder Request for the `ListRecommendations` method.ListRecommendationsResponse Response to the `ListRecommendations` method.ListRecommendationsResponse.Builder Response to the `ListRecommendations` method.MarkInsightAcceptedRequest Request for the `MarkInsightAccepted` method.MarkInsightAcceptedRequest.Builder Request for the `MarkInsightAccepted` method.MarkRecommendationClaimedRequest Request for the `MarkRecommendationClaimed` Method.MarkRecommendationClaimedRequest.Builder Request for the `MarkRecommendationClaimed` Method.MarkRecommendationDismissedRequest Request for the `MarkRecommendationDismissed` Method.MarkRecommendationDismissedRequest.Builder Request for the `MarkRecommendationDismissed` Method.MarkRecommendationFailedRequest Request for the `MarkRecommendationFailed` Method.MarkRecommendationFailedRequest.Builder Request for the `MarkRecommendationFailed` Method.MarkRecommendationSucceededRequest Request for the `MarkRecommendationSucceeded` Method.MarkRecommendationSucceededRequest.Builder Request for the `MarkRecommendationSucceeded` Method.Operation Contains an operation for a resource loosely based on the JSON-PATCH format with support for: * Custom filters for describing partial array patch.Operation.Builder Contains an operation for a resource loosely based on the JSON-PATCH format with support for: * Custom filters for describing partial array patch.OperationGroup Group of operations that need to be performed atomically.OperationGroup.Builder Group of operations that need to be performed atomically.Recommendation A recommendation along with a suggested action.Recommendation.Builder A recommendation along with a suggested action.Recommendation.InsightReference Reference to an associated insight.Recommendation.InsightReference.Builder Reference to an associated insight.RecommendationContent Contains what resources are changing and how they are changing.RecommendationContent.Builder Contains what resources are changing and how they are changing.RecommendationName RecommendationName.BillingAccountLocationRecommenderRecommendationBuilder Builder for billingAccounts/{billing_account}/locations/{location}/recommenders/{recommender}/recommendations/{recommendation}.RecommendationName.Builder Builder for projects/{project}/locations/{location}/recommenders/{recommender}/recommendations/{recommendation}.RecommendationName.FolderLocationRecommenderRecommendationBuilder Builder for folders/{folder}/locations/{location}/recommenders/{recommender}/recommendations/{recommendation}.RecommendationName.OrganizationLocationRecommenderRecommendationBuilder Builder for organizations/{organization}/locations/{location}/recommenders/{recommender}/recommendations/{recommendation}.RecommendationOuterClass RecommendationStateInfo Information for state.RecommendationStateInfo.Builder Information for state.RecommenderClient Service Description: Provides insights and recommendations for cloud customers for various categories like performance optimization, cost savings, reliability, feature discovery, etc.RecommenderClient.ListInsightsFixedSizeCollection RecommenderClient.ListInsightsPage RecommenderClient.ListInsightsPagedResponse RecommenderClient.ListRecommendationsFixedSizeCollection RecommenderClient.ListRecommendationsPage RecommenderClient.ListRecommendationsPagedResponse RecommenderConfig Configuration for a Recommender.RecommenderConfig.Builder Configuration for a Recommender.RecommenderConfigName RecommenderConfigName.BillingAccountLocationRecommenderBuilder Builder for billingAccounts/{billing_account}/locations/{location}/recommenders/{recommender}/config.RecommenderConfigName.Builder Builder for projects/{project}/locations/{location}/recommenders/{recommender}/config.RecommenderConfigName.OrganizationLocationRecommenderBuilder Builder for organizations/{organization}/locations/{location}/recommenders/{recommender}/config.RecommenderConfigProto RecommenderGenerationConfig A Configuration to customize the generation of recommendations.RecommenderGenerationConfig.Builder A Configuration to customize the generation of recommendations.RecommenderGrpc Provides insights and recommendations for cloud customers for various categories like performance optimization, cost savings, reliability, feature discovery, etc.RecommenderGrpc.RecommenderBlockingStub A stub to allow clients to do synchronous rpc calls to service Recommender.RecommenderGrpc.RecommenderFutureStub A stub to allow clients to do ListenableFuture-style rpc calls to service Recommender.RecommenderGrpc.RecommenderImplBase Base class for the server implementation of the service Recommender.RecommenderGrpc.RecommenderStub A stub to allow clients to do asynchronous rpc calls to service Recommender.RecommenderName RecommenderName.BillingAccountLocationRecommenderBuilder Builder for billingAccounts/{billing_account}/locations/{location}/recommenders/{recommender}.RecommenderName.Builder Builder for projects/{project}/locations/{location}/recommenders/{recommender}.RecommenderName.FolderLocationRecommenderBuilder Builder for folders/{folder}/locations/{location}/recommenders/{recommender}.RecommenderName.OrganizationLocationRecommenderBuilder Builder for organizations/{organization}/locations/{location}/recommenders/{recommender}.RecommenderProto RecommenderSettings Settings class to configure an instance ofRecommenderClient
.RecommenderSettings.Builder Builder for RecommenderSettings.ReliabilityProjection Contains information on the impact of a reliability recommendation.ReliabilityProjection.Builder Contains information on the impact of a reliability recommendation.SecurityProjection Contains various ways of describing the impact on Security.SecurityProjection.Builder Contains various ways of describing the impact on Security.SustainabilityProjection Contains metadata about how much sustainability a recommendation can save or incur.SustainabilityProjection.Builder Contains metadata about how much sustainability a recommendation can save or incur.UpdateInsightTypeConfigRequest Request for the `UpdateInsightTypeConfig` method.UpdateInsightTypeConfigRequest.Builder Request for the `UpdateInsightTypeConfig` method.UpdateRecommenderConfigRequest Request for the `UpdateRecommenderConfig` method.UpdateRecommenderConfigRequest.Builder Request for the `UpdateRecommenderConfig` method.ValueMatcher Contains various matching options for values for a GCP resource field.ValueMatcher.Builder Contains various matching options for values for a GCP resource field. -
Enum Summary Enum Description Impact.Category The category of the impact.Impact.ProjectionCase Insight.Category Insight category.Insight.Severity Insight severity levels.InsightStateInfo.State Represents insight state.Operation.PathValueCase Recommendation.Priority Recommendation priority levels.RecommendationStateInfo.State Represents Recommendation State.ReliabilityProjection.RiskType The risk associated with the reliability issue.ValueMatcher.MatchVariantCase