...

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

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

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

View as plain text