...

Source file src/google.golang.org/genproto/googleapis/cloud/recommender/v1beta1/alias.go

Documentation: google.golang.org/genproto/googleapis/cloud/recommender/v1beta1

     1  // Copyright 2022 Google LLC
     2  //
     3  // Licensed under the Apache License, Version 2.0 (the "License");
     4  // you may not use this file except in compliance with the License.
     5  // You may obtain a copy of the License at
     6  //
     7  //     http://www.apache.org/licenses/LICENSE-2.0
     8  //
     9  // Unless required by applicable law or agreed to in writing, software
    10  // distributed under the License is distributed on an "AS IS" BASIS,
    11  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  // See the License for the specific language governing permissions and
    13  // limitations under the License.
    14  
    15  // Code generated by aliasgen. DO NOT EDIT.
    16  
    17  // Package recommender aliases all exported identifiers in package
    18  // "cloud.google.com/go/recommender/apiv1beta1/recommenderpb".
    19  //
    20  // Deprecated: Please use types in: cloud.google.com/go/recommender/apiv1beta1/recommenderpb.
    21  // Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md
    22  // for more details.
    23  package recommender
    24  
    25  import (
    26  	src "cloud.google.com/go/recommender/apiv1beta1/recommenderpb"
    27  	grpc "google.golang.org/grpc"
    28  )
    29  
    30  // Deprecated: Please use consts in: cloud.google.com/go/recommender/apiv1beta1/recommenderpb
    31  const (
    32  	Impact_CATEGORY_UNSPECIFIED               = src.Impact_CATEGORY_UNSPECIFIED
    33  	Impact_COST                               = src.Impact_COST
    34  	Impact_MANAGEABILITY                      = src.Impact_MANAGEABILITY
    35  	Impact_PERFORMANCE                        = src.Impact_PERFORMANCE
    36  	Impact_SECURITY                           = src.Impact_SECURITY
    37  	Impact_SUSTAINABILITY                     = src.Impact_SUSTAINABILITY
    38  	InsightStateInfo_ACCEPTED                 = src.InsightStateInfo_ACCEPTED
    39  	InsightStateInfo_ACTIVE                   = src.InsightStateInfo_ACTIVE
    40  	InsightStateInfo_DISMISSED                = src.InsightStateInfo_DISMISSED
    41  	InsightStateInfo_STATE_UNSPECIFIED        = src.InsightStateInfo_STATE_UNSPECIFIED
    42  	Insight_CATEGORY_UNSPECIFIED              = src.Insight_CATEGORY_UNSPECIFIED
    43  	Insight_COST                              = src.Insight_COST
    44  	Insight_CRITICAL                          = src.Insight_CRITICAL
    45  	Insight_HIGH                              = src.Insight_HIGH
    46  	Insight_LOW                               = src.Insight_LOW
    47  	Insight_MANAGEABILITY                     = src.Insight_MANAGEABILITY
    48  	Insight_MEDIUM                            = src.Insight_MEDIUM
    49  	Insight_PERFORMANCE                       = src.Insight_PERFORMANCE
    50  	Insight_SECURITY                          = src.Insight_SECURITY
    51  	Insight_SEVERITY_UNSPECIFIED              = src.Insight_SEVERITY_UNSPECIFIED
    52  	RecommendationStateInfo_ACTIVE            = src.RecommendationStateInfo_ACTIVE
    53  	RecommendationStateInfo_CLAIMED           = src.RecommendationStateInfo_CLAIMED
    54  	RecommendationStateInfo_DISMISSED         = src.RecommendationStateInfo_DISMISSED
    55  	RecommendationStateInfo_FAILED            = src.RecommendationStateInfo_FAILED
    56  	RecommendationStateInfo_STATE_UNSPECIFIED = src.RecommendationStateInfo_STATE_UNSPECIFIED
    57  	RecommendationStateInfo_SUCCEEDED         = src.RecommendationStateInfo_SUCCEEDED
    58  	Recommendation_P1                         = src.Recommendation_P1
    59  	Recommendation_P2                         = src.Recommendation_P2
    60  	Recommendation_P3                         = src.Recommendation_P3
    61  	Recommendation_P4                         = src.Recommendation_P4
    62  	Recommendation_PRIORITY_UNSPECIFIED       = src.Recommendation_PRIORITY_UNSPECIFIED
    63  )
    64  
    65  // Deprecated: Please use vars in: cloud.google.com/go/recommender/apiv1beta1/recommenderpb
    66  var (
    67  	File_google_cloud_recommender_v1beta1_insight_proto             = src.File_google_cloud_recommender_v1beta1_insight_proto
    68  	File_google_cloud_recommender_v1beta1_insight_type_config_proto = src.File_google_cloud_recommender_v1beta1_insight_type_config_proto
    69  	File_google_cloud_recommender_v1beta1_recommendation_proto      = src.File_google_cloud_recommender_v1beta1_recommendation_proto
    70  	File_google_cloud_recommender_v1beta1_recommender_config_proto  = src.File_google_cloud_recommender_v1beta1_recommender_config_proto
    71  	File_google_cloud_recommender_v1beta1_recommender_service_proto = src.File_google_cloud_recommender_v1beta1_recommender_service_proto
    72  	Impact_Category_name                                            = src.Impact_Category_name
    73  	Impact_Category_value                                           = src.Impact_Category_value
    74  	InsightStateInfo_State_name                                     = src.InsightStateInfo_State_name
    75  	InsightStateInfo_State_value                                    = src.InsightStateInfo_State_value
    76  	Insight_Category_name                                           = src.Insight_Category_name
    77  	Insight_Category_value                                          = src.Insight_Category_value
    78  	Insight_Severity_name                                           = src.Insight_Severity_name
    79  	Insight_Severity_value                                          = src.Insight_Severity_value
    80  	RecommendationStateInfo_State_name                              = src.RecommendationStateInfo_State_name
    81  	RecommendationStateInfo_State_value                             = src.RecommendationStateInfo_State_value
    82  	Recommendation_Priority_name                                    = src.Recommendation_Priority_name
    83  	Recommendation_Priority_value                                   = src.Recommendation_Priority_value
    84  )
    85  
    86  // Contains metadata about how much money a recommendation can save or incur.
    87  //
    88  // Deprecated: Please use types in: cloud.google.com/go/recommender/apiv1beta1/recommenderpb
    89  type CostProjection = src.CostProjection
    90  
    91  // Request to the `GetInsight` method.
    92  //
    93  // Deprecated: Please use types in: cloud.google.com/go/recommender/apiv1beta1/recommenderpb
    94  type GetInsightRequest = src.GetInsightRequest
    95  
    96  // Request for the GetInsightTypeConfig` method.
    97  //
    98  // Deprecated: Please use types in: cloud.google.com/go/recommender/apiv1beta1/recommenderpb
    99  type GetInsightTypeConfigRequest = src.GetInsightTypeConfigRequest
   100  
   101  // Request to the `GetRecommendation` method.
   102  //
   103  // Deprecated: Please use types in: cloud.google.com/go/recommender/apiv1beta1/recommenderpb
   104  type GetRecommendationRequest = src.GetRecommendationRequest
   105  
   106  // Request for the GetRecommenderConfig` method.
   107  //
   108  // Deprecated: Please use types in: cloud.google.com/go/recommender/apiv1beta1/recommenderpb
   109  type GetRecommenderConfigRequest = src.GetRecommenderConfigRequest
   110  
   111  // Contains the impact a recommendation can have for a given category.
   112  //
   113  // Deprecated: Please use types in: cloud.google.com/go/recommender/apiv1beta1/recommenderpb
   114  type Impact = src.Impact
   115  
   116  // The category of the impact.
   117  //
   118  // Deprecated: Please use types in: cloud.google.com/go/recommender/apiv1beta1/recommenderpb
   119  type Impact_Category = src.Impact_Category
   120  type Impact_CostProjection = src.Impact_CostProjection
   121  type Impact_SecurityProjection = src.Impact_SecurityProjection
   122  type Impact_SustainabilityProjection = src.Impact_SustainabilityProjection
   123  
   124  // An insight along with the information used to derive the insight. The
   125  // insight may have associated recomendations as well.
   126  //
   127  // Deprecated: Please use types in: cloud.google.com/go/recommender/apiv1beta1/recommenderpb
   128  type Insight = src.Insight
   129  
   130  // Information related to insight state.
   131  //
   132  // Deprecated: Please use types in: cloud.google.com/go/recommender/apiv1beta1/recommenderpb
   133  type InsightStateInfo = src.InsightStateInfo
   134  
   135  // Represents insight state.
   136  //
   137  // Deprecated: Please use types in: cloud.google.com/go/recommender/apiv1beta1/recommenderpb
   138  type InsightStateInfo_State = src.InsightStateInfo_State
   139  
   140  // Configuration for an InsightType.
   141  //
   142  // Deprecated: Please use types in: cloud.google.com/go/recommender/apiv1beta1/recommenderpb
   143  type InsightTypeConfig = src.InsightTypeConfig
   144  
   145  // A configuration to customize the generation of insights. Eg, customizing
   146  // the lookback period considered when generating a insight.
   147  //
   148  // Deprecated: Please use types in: cloud.google.com/go/recommender/apiv1beta1/recommenderpb
   149  type InsightTypeGenerationConfig = src.InsightTypeGenerationConfig
   150  
   151  // Insight category.
   152  //
   153  // Deprecated: Please use types in: cloud.google.com/go/recommender/apiv1beta1/recommenderpb
   154  type Insight_Category = src.Insight_Category
   155  
   156  // Reference to an associated recommendation.
   157  //
   158  // Deprecated: Please use types in: cloud.google.com/go/recommender/apiv1beta1/recommenderpb
   159  type Insight_RecommendationReference = src.Insight_RecommendationReference
   160  
   161  // Insight severity levels.
   162  //
   163  // Deprecated: Please use types in: cloud.google.com/go/recommender/apiv1beta1/recommenderpb
   164  type Insight_Severity = src.Insight_Severity
   165  
   166  // Request for the `ListInsights` method.
   167  //
   168  // Deprecated: Please use types in: cloud.google.com/go/recommender/apiv1beta1/recommenderpb
   169  type ListInsightsRequest = src.ListInsightsRequest
   170  
   171  // Response to the `ListInsights` method.
   172  //
   173  // Deprecated: Please use types in: cloud.google.com/go/recommender/apiv1beta1/recommenderpb
   174  type ListInsightsResponse = src.ListInsightsResponse
   175  
   176  // Request for the `ListRecommendations` method.
   177  //
   178  // Deprecated: Please use types in: cloud.google.com/go/recommender/apiv1beta1/recommenderpb
   179  type ListRecommendationsRequest = src.ListRecommendationsRequest
   180  
   181  // Response to the `ListRecommendations` method.
   182  //
   183  // Deprecated: Please use types in: cloud.google.com/go/recommender/apiv1beta1/recommenderpb
   184  type ListRecommendationsResponse = src.ListRecommendationsResponse
   185  
   186  // Request for the `MarkInsightAccepted` method.
   187  //
   188  // Deprecated: Please use types in: cloud.google.com/go/recommender/apiv1beta1/recommenderpb
   189  type MarkInsightAcceptedRequest = src.MarkInsightAcceptedRequest
   190  
   191  // Request for the `MarkRecommendationClaimed` Method.
   192  //
   193  // Deprecated: Please use types in: cloud.google.com/go/recommender/apiv1beta1/recommenderpb
   194  type MarkRecommendationClaimedRequest = src.MarkRecommendationClaimedRequest
   195  
   196  // Request for the `MarkRecommendationFailed` Method.
   197  //
   198  // Deprecated: Please use types in: cloud.google.com/go/recommender/apiv1beta1/recommenderpb
   199  type MarkRecommendationFailedRequest = src.MarkRecommendationFailedRequest
   200  
   201  // Request for the `MarkRecommendationSucceeded` Method.
   202  //
   203  // Deprecated: Please use types in: cloud.google.com/go/recommender/apiv1beta1/recommenderpb
   204  type MarkRecommendationSucceededRequest = src.MarkRecommendationSucceededRequest
   205  
   206  // Contains an operation for a resource loosely based on the JSON-PATCH format
   207  // with support for: - Custom filters for describing partial array patch. -
   208  // Extended path values for describing nested arrays. - Custom fields for
   209  // describing the resource for which the operation is being described. - Allows
   210  // extension to custom operations not natively supported by RFC6902. See
   211  // https://tools.ietf.org/html/rfc6902 for details on the original RFC.
   212  //
   213  // Deprecated: Please use types in: cloud.google.com/go/recommender/apiv1beta1/recommenderpb
   214  type Operation = src.Operation
   215  
   216  // Group of operations that need to be performed atomically.
   217  //
   218  // Deprecated: Please use types in: cloud.google.com/go/recommender/apiv1beta1/recommenderpb
   219  type OperationGroup = src.OperationGroup
   220  type Operation_Value = src.Operation_Value
   221  type Operation_ValueMatcher = src.Operation_ValueMatcher
   222  
   223  // A recommendation along with a suggested action. E.g., a rightsizing
   224  // recommendation for an underutilized VM, IAM role recommendations, etc
   225  //
   226  // Deprecated: Please use types in: cloud.google.com/go/recommender/apiv1beta1/recommenderpb
   227  type Recommendation = src.Recommendation
   228  
   229  // Contains what resources are changing and how they are changing.
   230  //
   231  // Deprecated: Please use types in: cloud.google.com/go/recommender/apiv1beta1/recommenderpb
   232  type RecommendationContent = src.RecommendationContent
   233  
   234  // Information for state. Contains state and metadata.
   235  //
   236  // Deprecated: Please use types in: cloud.google.com/go/recommender/apiv1beta1/recommenderpb
   237  type RecommendationStateInfo = src.RecommendationStateInfo
   238  
   239  // Represents Recommendation State.
   240  //
   241  // Deprecated: Please use types in: cloud.google.com/go/recommender/apiv1beta1/recommenderpb
   242  type RecommendationStateInfo_State = src.RecommendationStateInfo_State
   243  
   244  // Reference to an associated insight.
   245  //
   246  // Deprecated: Please use types in: cloud.google.com/go/recommender/apiv1beta1/recommenderpb
   247  type Recommendation_InsightReference = src.Recommendation_InsightReference
   248  
   249  // Recommendation priority levels.
   250  //
   251  // Deprecated: Please use types in: cloud.google.com/go/recommender/apiv1beta1/recommenderpb
   252  type Recommendation_Priority = src.Recommendation_Priority
   253  
   254  // RecommenderClient is the client API for Recommender service. For semantics
   255  // around ctx use and closing/ending streaming RPCs, please refer to
   256  // https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
   257  //
   258  // Deprecated: Please use types in: cloud.google.com/go/recommender/apiv1beta1/recommenderpb
   259  type RecommenderClient = src.RecommenderClient
   260  
   261  // Configuration for a Recommender.
   262  //
   263  // Deprecated: Please use types in: cloud.google.com/go/recommender/apiv1beta1/recommenderpb
   264  type RecommenderConfig = src.RecommenderConfig
   265  
   266  // A Configuration to customize the generation of recommendations. Eg,
   267  // customizing the lookback period considered when generating a recommendation.
   268  //
   269  // Deprecated: Please use types in: cloud.google.com/go/recommender/apiv1beta1/recommenderpb
   270  type RecommenderGenerationConfig = src.RecommenderGenerationConfig
   271  
   272  // RecommenderServer is the server API for Recommender service.
   273  //
   274  // Deprecated: Please use types in: cloud.google.com/go/recommender/apiv1beta1/recommenderpb
   275  type RecommenderServer = src.RecommenderServer
   276  
   277  // Contains various ways of describing the impact on Security.
   278  //
   279  // Deprecated: Please use types in: cloud.google.com/go/recommender/apiv1beta1/recommenderpb
   280  type SecurityProjection = src.SecurityProjection
   281  
   282  // Contains metadata about how much sustainability a recommendation can save
   283  // or incur.
   284  //
   285  // Deprecated: Please use types in: cloud.google.com/go/recommender/apiv1beta1/recommenderpb
   286  type SustainabilityProjection = src.SustainabilityProjection
   287  
   288  // UnimplementedRecommenderServer can be embedded to have forward compatible
   289  // implementations.
   290  //
   291  // Deprecated: Please use types in: cloud.google.com/go/recommender/apiv1beta1/recommenderpb
   292  type UnimplementedRecommenderServer = src.UnimplementedRecommenderServer
   293  
   294  // Request for the `UpdateInsightTypeConfig` method.
   295  //
   296  // Deprecated: Please use types in: cloud.google.com/go/recommender/apiv1beta1/recommenderpb
   297  type UpdateInsightTypeConfigRequest = src.UpdateInsightTypeConfigRequest
   298  
   299  // Request for the `UpdateRecommenderConfig` method.
   300  //
   301  // Deprecated: Please use types in: cloud.google.com/go/recommender/apiv1beta1/recommenderpb
   302  type UpdateRecommenderConfigRequest = src.UpdateRecommenderConfigRequest
   303  
   304  // Contains various matching options for values for a GCP resource field.
   305  //
   306  // Deprecated: Please use types in: cloud.google.com/go/recommender/apiv1beta1/recommenderpb
   307  type ValueMatcher = src.ValueMatcher
   308  type ValueMatcher_MatchesPattern = src.ValueMatcher_MatchesPattern
   309  
   310  // Deprecated: Please use funcs in: cloud.google.com/go/recommender/apiv1beta1/recommenderpb
   311  func NewRecommenderClient(cc grpc.ClientConnInterface) RecommenderClient {
   312  	return src.NewRecommenderClient(cc)
   313  }
   314  
   315  // Deprecated: Please use funcs in: cloud.google.com/go/recommender/apiv1beta1/recommenderpb
   316  func RegisterRecommenderServer(s *grpc.Server, srv RecommenderServer) {
   317  	src.RegisterRecommenderServer(s, srv)
   318  }
   319  

View as plain text