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 apigateway aliases all exported identifiers in package 18 // "cloud.google.com/go/apigateway/apiv1/apigatewaypb". 19 // 20 // Deprecated: Please use types in: cloud.google.com/go/apigateway/apiv1/apigatewaypb. 21 // Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md 22 // for more details. 23 package apigateway 24 25 import ( 26 src "cloud.google.com/go/apigateway/apiv1/apigatewaypb" 27 grpc "google.golang.org/grpc" 28 ) 29 30 // Deprecated: Please use consts in: cloud.google.com/go/apigateway/apiv1/apigatewaypb 31 const ( 32 ApiConfig_ACTIVATING = src.ApiConfig_ACTIVATING 33 ApiConfig_ACTIVE = src.ApiConfig_ACTIVE 34 ApiConfig_CREATING = src.ApiConfig_CREATING 35 ApiConfig_DELETING = src.ApiConfig_DELETING 36 ApiConfig_FAILED = src.ApiConfig_FAILED 37 ApiConfig_STATE_UNSPECIFIED = src.ApiConfig_STATE_UNSPECIFIED 38 ApiConfig_UPDATING = src.ApiConfig_UPDATING 39 Api_ACTIVE = src.Api_ACTIVE 40 Api_CREATING = src.Api_CREATING 41 Api_DELETING = src.Api_DELETING 42 Api_FAILED = src.Api_FAILED 43 Api_STATE_UNSPECIFIED = src.Api_STATE_UNSPECIFIED 44 Api_UPDATING = src.Api_UPDATING 45 Gateway_ACTIVE = src.Gateway_ACTIVE 46 Gateway_CREATING = src.Gateway_CREATING 47 Gateway_DELETING = src.Gateway_DELETING 48 Gateway_FAILED = src.Gateway_FAILED 49 Gateway_STATE_UNSPECIFIED = src.Gateway_STATE_UNSPECIFIED 50 Gateway_UPDATING = src.Gateway_UPDATING 51 GetApiConfigRequest_BASIC = src.GetApiConfigRequest_BASIC 52 GetApiConfigRequest_CONFIG_VIEW_UNSPECIFIED = src.GetApiConfigRequest_CONFIG_VIEW_UNSPECIFIED 53 GetApiConfigRequest_FULL = src.GetApiConfigRequest_FULL 54 ) 55 56 // Deprecated: Please use vars in: cloud.google.com/go/apigateway/apiv1/apigatewaypb 57 var ( 58 ApiConfig_State_name = src.ApiConfig_State_name 59 ApiConfig_State_value = src.ApiConfig_State_value 60 Api_State_name = src.Api_State_name 61 Api_State_value = src.Api_State_value 62 File_google_cloud_apigateway_v1_apigateway_proto = src.File_google_cloud_apigateway_v1_apigateway_proto 63 File_google_cloud_apigateway_v1_apigateway_service_proto = src.File_google_cloud_apigateway_v1_apigateway_service_proto 64 Gateway_State_name = src.Gateway_State_name 65 Gateway_State_value = src.Gateway_State_value 66 GetApiConfigRequest_ConfigView_name = src.GetApiConfigRequest_ConfigView_name 67 GetApiConfigRequest_ConfigView_value = src.GetApiConfigRequest_ConfigView_value 68 ) 69 70 // An API that can be served by one or more Gateways. 71 // 72 // Deprecated: Please use types in: cloud.google.com/go/apigateway/apiv1/apigatewaypb 73 type Api = src.Api 74 75 // An API Configuration is a combination of settings for both the Managed 76 // Service and Gateways serving this API Config. 77 // 78 // Deprecated: Please use types in: cloud.google.com/go/apigateway/apiv1/apigatewaypb 79 type ApiConfig = src.ApiConfig 80 81 // A lightweight description of a file. 82 // 83 // Deprecated: Please use types in: cloud.google.com/go/apigateway/apiv1/apigatewaypb 84 type ApiConfig_File = src.ApiConfig_File 85 86 // A gRPC service definition. 87 // 88 // Deprecated: Please use types in: cloud.google.com/go/apigateway/apiv1/apigatewaypb 89 type ApiConfig_GrpcServiceDefinition = src.ApiConfig_GrpcServiceDefinition 90 91 // An OpenAPI Specification Document describing an API. 92 // 93 // Deprecated: Please use types in: cloud.google.com/go/apigateway/apiv1/apigatewaypb 94 type ApiConfig_OpenApiDocument = src.ApiConfig_OpenApiDocument 95 96 // All the possible API Config states. 97 // 98 // Deprecated: Please use types in: cloud.google.com/go/apigateway/apiv1/apigatewaypb 99 type ApiConfig_State = src.ApiConfig_State 100 101 // ApiGatewayServiceClient is the client API for ApiGatewayService service. 102 // For semantics around ctx use and closing/ending streaming RPCs, please refer 103 // to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 104 // 105 // Deprecated: Please use types in: cloud.google.com/go/apigateway/apiv1/apigatewaypb 106 type ApiGatewayServiceClient = src.ApiGatewayServiceClient 107 108 // ApiGatewayServiceServer is the server API for ApiGatewayService service. 109 // 110 // Deprecated: Please use types in: cloud.google.com/go/apigateway/apiv1/apigatewaypb 111 type ApiGatewayServiceServer = src.ApiGatewayServiceServer 112 113 // All the possible API states. 114 // 115 // Deprecated: Please use types in: cloud.google.com/go/apigateway/apiv1/apigatewaypb 116 type Api_State = src.Api_State 117 118 // Request message for ApiGatewayService.CreateApiConfig 119 // 120 // Deprecated: Please use types in: cloud.google.com/go/apigateway/apiv1/apigatewaypb 121 type CreateApiConfigRequest = src.CreateApiConfigRequest 122 123 // Request message for ApiGatewayService.CreateApi 124 // 125 // Deprecated: Please use types in: cloud.google.com/go/apigateway/apiv1/apigatewaypb 126 type CreateApiRequest = src.CreateApiRequest 127 128 // Request message for ApiGatewayService.CreateGateway 129 // 130 // Deprecated: Please use types in: cloud.google.com/go/apigateway/apiv1/apigatewaypb 131 type CreateGatewayRequest = src.CreateGatewayRequest 132 133 // Request message for ApiGatewayService.DeleteApiConfig 134 // 135 // Deprecated: Please use types in: cloud.google.com/go/apigateway/apiv1/apigatewaypb 136 type DeleteApiConfigRequest = src.DeleteApiConfigRequest 137 138 // Request message for ApiGatewayService.DeleteApi 139 // 140 // Deprecated: Please use types in: cloud.google.com/go/apigateway/apiv1/apigatewaypb 141 type DeleteApiRequest = src.DeleteApiRequest 142 143 // Request message for ApiGatewayService.DeleteGateway 144 // 145 // Deprecated: Please use types in: cloud.google.com/go/apigateway/apiv1/apigatewaypb 146 type DeleteGatewayRequest = src.DeleteGatewayRequest 147 148 // A Gateway is an API-aware HTTP proxy. It performs API-Method and/or 149 // API-Consumer specific actions based on an API Config such as authentication, 150 // policy enforcement, and backend selection. 151 // 152 // Deprecated: Please use types in: cloud.google.com/go/apigateway/apiv1/apigatewaypb 153 type Gateway = src.Gateway 154 155 // All the possible Gateway states. 156 // 157 // Deprecated: Please use types in: cloud.google.com/go/apigateway/apiv1/apigatewaypb 158 type Gateway_State = src.Gateway_State 159 160 // Request message for ApiGatewayService.GetApiConfig 161 // 162 // Deprecated: Please use types in: cloud.google.com/go/apigateway/apiv1/apigatewaypb 163 type GetApiConfigRequest = src.GetApiConfigRequest 164 165 // Enum to control which fields should be included in the response. 166 // 167 // Deprecated: Please use types in: cloud.google.com/go/apigateway/apiv1/apigatewaypb 168 type GetApiConfigRequest_ConfigView = src.GetApiConfigRequest_ConfigView 169 170 // Request message for ApiGatewayService.GetApi 171 // 172 // Deprecated: Please use types in: cloud.google.com/go/apigateway/apiv1/apigatewaypb 173 type GetApiRequest = src.GetApiRequest 174 175 // Request message for ApiGatewayService.GetGateway 176 // 177 // Deprecated: Please use types in: cloud.google.com/go/apigateway/apiv1/apigatewaypb 178 type GetGatewayRequest = src.GetGatewayRequest 179 180 // Request message for ApiGatewayService.ListApiConfigs 181 // 182 // Deprecated: Please use types in: cloud.google.com/go/apigateway/apiv1/apigatewaypb 183 type ListApiConfigsRequest = src.ListApiConfigsRequest 184 185 // Response message for ApiGatewayService.ListApiConfigs 186 // 187 // Deprecated: Please use types in: cloud.google.com/go/apigateway/apiv1/apigatewaypb 188 type ListApiConfigsResponse = src.ListApiConfigsResponse 189 190 // Request message for ApiGatewayService.ListApis 191 // 192 // Deprecated: Please use types in: cloud.google.com/go/apigateway/apiv1/apigatewaypb 193 type ListApisRequest = src.ListApisRequest 194 195 // Response message for ApiGatewayService.ListApis 196 // 197 // Deprecated: Please use types in: cloud.google.com/go/apigateway/apiv1/apigatewaypb 198 type ListApisResponse = src.ListApisResponse 199 200 // Request message for ApiGatewayService.ListGateways 201 // 202 // Deprecated: Please use types in: cloud.google.com/go/apigateway/apiv1/apigatewaypb 203 type ListGatewaysRequest = src.ListGatewaysRequest 204 205 // Response message for ApiGatewayService.ListGateways 206 // 207 // Deprecated: Please use types in: cloud.google.com/go/apigateway/apiv1/apigatewaypb 208 type ListGatewaysResponse = src.ListGatewaysResponse 209 210 // Represents the metadata of the long-running operation. 211 // 212 // Deprecated: Please use types in: cloud.google.com/go/apigateway/apiv1/apigatewaypb 213 type OperationMetadata = src.OperationMetadata 214 215 // Diagnostic information from configuration processing. 216 // 217 // Deprecated: Please use types in: cloud.google.com/go/apigateway/apiv1/apigatewaypb 218 type OperationMetadata_Diagnostic = src.OperationMetadata_Diagnostic 219 220 // UnimplementedApiGatewayServiceServer can be embedded to have forward 221 // compatible implementations. 222 // 223 // Deprecated: Please use types in: cloud.google.com/go/apigateway/apiv1/apigatewaypb 224 type UnimplementedApiGatewayServiceServer = src.UnimplementedApiGatewayServiceServer 225 226 // Request message for ApiGatewayService.UpdateApiConfig 227 // 228 // Deprecated: Please use types in: cloud.google.com/go/apigateway/apiv1/apigatewaypb 229 type UpdateApiConfigRequest = src.UpdateApiConfigRequest 230 231 // Request message for ApiGatewayService.UpdateApi 232 // 233 // Deprecated: Please use types in: cloud.google.com/go/apigateway/apiv1/apigatewaypb 234 type UpdateApiRequest = src.UpdateApiRequest 235 236 // Request message for ApiGatewayService.UpdateGateway 237 // 238 // Deprecated: Please use types in: cloud.google.com/go/apigateway/apiv1/apigatewaypb 239 type UpdateGatewayRequest = src.UpdateGatewayRequest 240 241 // Deprecated: Please use funcs in: cloud.google.com/go/apigateway/apiv1/apigatewaypb 242 func NewApiGatewayServiceClient(cc grpc.ClientConnInterface) ApiGatewayServiceClient { 243 return src.NewApiGatewayServiceClient(cc) 244 } 245 246 // Deprecated: Please use funcs in: cloud.google.com/go/apigateway/apiv1/apigatewaypb 247 func RegisterApiGatewayServiceServer(s *grpc.Server, srv ApiGatewayServiceServer) { 248 src.RegisterApiGatewayServiceServer(s, srv) 249 } 250