| 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 appgateways aliases all exported identifiers in package |
| 18 |
// "cloud.google.com/go/beyondcorp/appgateways/apiv1/appgatewayspb". |
| 19 |
// |
| 20 |
// Deprecated: Please use types in: cloud.google.com/go/beyondcorp/appgateways/apiv1/appgatewayspb. |
| 21 |
// Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md |
| 22 |
// for more details. |
| 23 |
package appgateways |
| 24 |
|
| 25 |
import ( |
| 26 |
src "cloud.google.com/go/beyondcorp/appgateways/apiv1/appgatewayspb" |
| 27 |
grpc "google.golang.org/grpc" |
| 28 |
) |
| 29 |
|
| 30 |
// Deprecated: Please use consts in: cloud.google.com/go/beyondcorp/appgateways/apiv1/appgatewayspb |
| 31 |
const ( |
| 32 |
AppGateway_CREATED = src.AppGateway_CREATED |
| 33 |
AppGateway_CREATING = src.AppGateway_CREATING |
| 34 |
AppGateway_DELETING = src.AppGateway_DELETING |
| 35 |
AppGateway_DOWN = src.AppGateway_DOWN |
| 36 |
AppGateway_GCP_REGIONAL_MIG = src.AppGateway_GCP_REGIONAL_MIG |
| 37 |
AppGateway_HOST_TYPE_UNSPECIFIED = src.AppGateway_HOST_TYPE_UNSPECIFIED |
| 38 |
AppGateway_STATE_UNSPECIFIED = src.AppGateway_STATE_UNSPECIFIED |
| 39 |
AppGateway_TCP_PROXY = src.AppGateway_TCP_PROXY |
| 40 |
AppGateway_TYPE_UNSPECIFIED = src.AppGateway_TYPE_UNSPECIFIED |
| 41 |
AppGateway_UPDATING = src.AppGateway_UPDATING |
| 42 |
) |
| 43 |
|
| 44 |
// Deprecated: Please use vars in: cloud.google.com/go/beyondcorp/appgateways/apiv1/appgatewayspb |
| 45 |
var ( |
| 46 |
AppGateway_HostType_name = src.AppGateway_HostType_name |
| 47 |
AppGateway_HostType_value = src.AppGateway_HostType_value |
| 48 |
AppGateway_State_name = src.AppGateway_State_name |
| 49 |
AppGateway_State_value = src.AppGateway_State_value |
| 50 |
AppGateway_Type_name = src.AppGateway_Type_name |
| 51 |
AppGateway_Type_value = src.AppGateway_Type_value |
| 52 |
File_google_cloud_beyondcorp_appgateways_v1_app_gateways_service_proto = src.File_google_cloud_beyondcorp_appgateways_v1_app_gateways_service_proto |
| 53 |
) |
| 54 |
|
| 55 |
// A BeyondCorp AppGateway resource represents a BeyondCorp protected |
| 56 |
// AppGateway to a remote application. It creates all the necessary GCP |
| 57 |
// components needed for creating a BeyondCorp protected AppGateway. Multiple |
| 58 |
// connectors can be authorised for a single AppGateway. |
| 59 |
// |
| 60 |
// Deprecated: Please use types in: cloud.google.com/go/beyondcorp/appgateways/apiv1/appgatewayspb |
| 61 |
type AppGateway = src.AppGateway |
| 62 |
|
| 63 |
// Represents the metadata of the long-running operation. |
| 64 |
// |
| 65 |
// Deprecated: Please use types in: cloud.google.com/go/beyondcorp/appgateways/apiv1/appgatewayspb |
| 66 |
type AppGatewayOperationMetadata = src.AppGatewayOperationMetadata |
| 67 |
|
| 68 |
// Allocated connection of the AppGateway. |
| 69 |
// |
| 70 |
// Deprecated: Please use types in: cloud.google.com/go/beyondcorp/appgateways/apiv1/appgatewayspb |
| 71 |
type AppGateway_AllocatedConnection = src.AppGateway_AllocatedConnection |
| 72 |
|
| 73 |
// Enum containing list of all possible host types supported by BeyondCorp |
| 74 |
// Connection. |
| 75 |
// |
| 76 |
// Deprecated: Please use types in: cloud.google.com/go/beyondcorp/appgateways/apiv1/appgatewayspb |
| 77 |
type AppGateway_HostType = src.AppGateway_HostType |
| 78 |
|
| 79 |
// Represents the different states of an AppGateway. |
| 80 |
// |
| 81 |
// Deprecated: Please use types in: cloud.google.com/go/beyondcorp/appgateways/apiv1/appgatewayspb |
| 82 |
type AppGateway_State = src.AppGateway_State |
| 83 |
|
| 84 |
// Enum containing list of all possible network connectivity options supported |
| 85 |
// by BeyondCorp AppGateway. |
| 86 |
// |
| 87 |
// Deprecated: Please use types in: cloud.google.com/go/beyondcorp/appgateways/apiv1/appgatewayspb |
| 88 |
type AppGateway_Type = src.AppGateway_Type |
| 89 |
|
| 90 |
// AppGatewaysServiceClient is the client API for AppGatewaysService service. |
| 91 |
// For semantics around ctx use and closing/ending streaming RPCs, please refer |
| 92 |
// to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 93 |
// |
| 94 |
// Deprecated: Please use types in: cloud.google.com/go/beyondcorp/appgateways/apiv1/appgatewayspb |
| 95 |
type AppGatewaysServiceClient = src.AppGatewaysServiceClient |
| 96 |
|
| 97 |
// AppGatewaysServiceServer is the server API for AppGatewaysService service. |
| 98 |
// |
| 99 |
// Deprecated: Please use types in: cloud.google.com/go/beyondcorp/appgateways/apiv1/appgatewayspb |
| 100 |
type AppGatewaysServiceServer = src.AppGatewaysServiceServer |
| 101 |
|
| 102 |
// Request message for BeyondCorp.CreateAppGateway. |
| 103 |
// |
| 104 |
// Deprecated: Please use types in: cloud.google.com/go/beyondcorp/appgateways/apiv1/appgatewayspb |
| 105 |
type CreateAppGatewayRequest = src.CreateAppGatewayRequest |
| 106 |
|
| 107 |
// Request message for BeyondCorp.DeleteAppGateway. |
| 108 |
// |
| 109 |
// Deprecated: Please use types in: cloud.google.com/go/beyondcorp/appgateways/apiv1/appgatewayspb |
| 110 |
type DeleteAppGatewayRequest = src.DeleteAppGatewayRequest |
| 111 |
|
| 112 |
// Request message for BeyondCorp.GetAppGateway. |
| 113 |
// |
| 114 |
// Deprecated: Please use types in: cloud.google.com/go/beyondcorp/appgateways/apiv1/appgatewayspb |
| 115 |
type GetAppGatewayRequest = src.GetAppGatewayRequest |
| 116 |
|
| 117 |
// Request message for BeyondCorp.ListAppGateways. |
| 118 |
// |
| 119 |
// Deprecated: Please use types in: cloud.google.com/go/beyondcorp/appgateways/apiv1/appgatewayspb |
| 120 |
type ListAppGatewaysRequest = src.ListAppGatewaysRequest |
| 121 |
|
| 122 |
// Response message for BeyondCorp.ListAppGateways. |
| 123 |
// |
| 124 |
// Deprecated: Please use types in: cloud.google.com/go/beyondcorp/appgateways/apiv1/appgatewayspb |
| 125 |
type ListAppGatewaysResponse = src.ListAppGatewaysResponse |
| 126 |
|
| 127 |
// UnimplementedAppGatewaysServiceServer can be embedded to have forward |
| 128 |
// compatible implementations. |
| 129 |
// |
| 130 |
// Deprecated: Please use types in: cloud.google.com/go/beyondcorp/appgateways/apiv1/appgatewayspb |
| 131 |
type UnimplementedAppGatewaysServiceServer = src.UnimplementedAppGatewaysServiceServer |
| 132 |
|
| 133 |
// Deprecated: Please use funcs in: cloud.google.com/go/beyondcorp/appgateways/apiv1/appgatewayspb |
| 134 |
func NewAppGatewaysServiceClient(cc grpc.ClientConnInterface) AppGatewaysServiceClient { |
| 135 |
return src.NewAppGatewaysServiceClient(cc) |
| 136 |
} |
| 137 |
|
| 138 |
// Deprecated: Please use funcs in: cloud.google.com/go/beyondcorp/appgateways/apiv1/appgatewayspb |
| 139 |
func RegisterAppGatewaysServiceServer(s *grpc.Server, srv AppGatewaysServiceServer) { |
| 140 |
src.RegisterAppGatewaysServiceServer(s, srv) |
| 141 |
} |