| 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 appconnections aliases all exported identifiers in package |
| 18 |
// "cloud.google.com/go/beyondcorp/appconnections/apiv1/appconnectionspb". |
| 19 |
// |
| 20 |
// Deprecated: Please use types in: cloud.google.com/go/beyondcorp/appconnections/apiv1/appconnectionspb. |
| 21 |
// Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md |
| 22 |
// for more details. |
| 23 |
package appconnections |
| 24 |
|
| 25 |
import ( |
| 26 |
src "cloud.google.com/go/beyondcorp/appconnections/apiv1/appconnectionspb" |
| 27 |
grpc "google.golang.org/grpc" |
| 28 |
) |
| 29 |
|
| 30 |
// Deprecated: Please use consts in: cloud.google.com/go/beyondcorp/appconnections/apiv1/appconnectionspb |
| 31 |
const ( |
| 32 |
AppConnection_CREATED = src.AppConnection_CREATED |
| 33 |
AppConnection_CREATING = src.AppConnection_CREATING |
| 34 |
AppConnection_DELETING = src.AppConnection_DELETING |
| 35 |
AppConnection_DOWN = src.AppConnection_DOWN |
| 36 |
AppConnection_Gateway_GCP_REGIONAL_MIG = src.AppConnection_Gateway_GCP_REGIONAL_MIG |
| 37 |
AppConnection_Gateway_TYPE_UNSPECIFIED = src.AppConnection_Gateway_TYPE_UNSPECIFIED |
| 38 |
AppConnection_STATE_UNSPECIFIED = src.AppConnection_STATE_UNSPECIFIED |
| 39 |
AppConnection_TCP_PROXY = src.AppConnection_TCP_PROXY |
| 40 |
AppConnection_TYPE_UNSPECIFIED = src.AppConnection_TYPE_UNSPECIFIED |
| 41 |
AppConnection_UPDATING = src.AppConnection_UPDATING |
| 42 |
) |
| 43 |
|
| 44 |
// Deprecated: Please use vars in: cloud.google.com/go/beyondcorp/appconnections/apiv1/appconnectionspb |
| 45 |
var ( |
| 46 |
AppConnection_Gateway_Type_name = src.AppConnection_Gateway_Type_name |
| 47 |
AppConnection_Gateway_Type_value = src.AppConnection_Gateway_Type_value |
| 48 |
AppConnection_State_name = src.AppConnection_State_name |
| 49 |
AppConnection_State_value = src.AppConnection_State_value |
| 50 |
AppConnection_Type_name = src.AppConnection_Type_name |
| 51 |
AppConnection_Type_value = src.AppConnection_Type_value |
| 52 |
File_google_cloud_beyondcorp_appconnections_v1_app_connections_service_proto = src.File_google_cloud_beyondcorp_appconnections_v1_app_connections_service_proto |
| 53 |
) |
| 54 |
|
| 55 |
// A BeyondCorp AppConnection resource represents a BeyondCorp protected |
| 56 |
// AppConnection to a remote application. It creates all the necessary GCP |
| 57 |
// components needed for creating a BeyondCorp protected AppConnection. |
| 58 |
// Multiple connectors can be authorised for a single AppConnection. |
| 59 |
// |
| 60 |
// Deprecated: Please use types in: cloud.google.com/go/beyondcorp/appconnections/apiv1/appconnectionspb |
| 61 |
type AppConnection = src.AppConnection |
| 62 |
|
| 63 |
// Represents the metadata of the long-running operation. |
| 64 |
// |
| 65 |
// Deprecated: Please use types in: cloud.google.com/go/beyondcorp/appconnections/apiv1/appconnectionspb |
| 66 |
type AppConnectionOperationMetadata = src.AppConnectionOperationMetadata |
| 67 |
|
| 68 |
// ApplicationEndpoint represents a remote application endpoint. |
| 69 |
// |
| 70 |
// Deprecated: Please use types in: cloud.google.com/go/beyondcorp/appconnections/apiv1/appconnectionspb |
| 71 |
type AppConnection_ApplicationEndpoint = src.AppConnection_ApplicationEndpoint |
| 72 |
|
| 73 |
// Gateway represents a user facing component that serves as an entrance to |
| 74 |
// enable connectivity. |
| 75 |
// |
| 76 |
// Deprecated: Please use types in: cloud.google.com/go/beyondcorp/appconnections/apiv1/appconnectionspb |
| 77 |
type AppConnection_Gateway = src.AppConnection_Gateway |
| 78 |
|
| 79 |
// Enum listing possible gateway hosting options. |
| 80 |
// |
| 81 |
// Deprecated: Please use types in: cloud.google.com/go/beyondcorp/appconnections/apiv1/appconnectionspb |
| 82 |
type AppConnection_Gateway_Type = src.AppConnection_Gateway_Type |
| 83 |
|
| 84 |
// Represents the different states of a AppConnection. |
| 85 |
// |
| 86 |
// Deprecated: Please use types in: cloud.google.com/go/beyondcorp/appconnections/apiv1/appconnectionspb |
| 87 |
type AppConnection_State = src.AppConnection_State |
| 88 |
|
| 89 |
// Enum containing list of all possible network connectivity options supported |
| 90 |
// by BeyondCorp AppConnection. |
| 91 |
// |
| 92 |
// Deprecated: Please use types in: cloud.google.com/go/beyondcorp/appconnections/apiv1/appconnectionspb |
| 93 |
type AppConnection_Type = src.AppConnection_Type |
| 94 |
|
| 95 |
// AppConnectionsServiceClient is the client API for AppConnectionsService |
| 96 |
// service. For semantics around ctx use and closing/ending streaming RPCs, |
| 97 |
// please refer to |
| 98 |
// https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 99 |
// |
| 100 |
// Deprecated: Please use types in: cloud.google.com/go/beyondcorp/appconnections/apiv1/appconnectionspb |
| 101 |
type AppConnectionsServiceClient = src.AppConnectionsServiceClient |
| 102 |
|
| 103 |
// AppConnectionsServiceServer is the server API for AppConnectionsService |
| 104 |
// service. |
| 105 |
// |
| 106 |
// Deprecated: Please use types in: cloud.google.com/go/beyondcorp/appconnections/apiv1/appconnectionspb |
| 107 |
type AppConnectionsServiceServer = src.AppConnectionsServiceServer |
| 108 |
|
| 109 |
// Request message for BeyondCorp.CreateAppConnection. |
| 110 |
// |
| 111 |
// Deprecated: Please use types in: cloud.google.com/go/beyondcorp/appconnections/apiv1/appconnectionspb |
| 112 |
type CreateAppConnectionRequest = src.CreateAppConnectionRequest |
| 113 |
|
| 114 |
// Request message for BeyondCorp.DeleteAppConnection. |
| 115 |
// |
| 116 |
// Deprecated: Please use types in: cloud.google.com/go/beyondcorp/appconnections/apiv1/appconnectionspb |
| 117 |
type DeleteAppConnectionRequest = src.DeleteAppConnectionRequest |
| 118 |
|
| 119 |
// Request message for BeyondCorp.GetAppConnection. |
| 120 |
// |
| 121 |
// Deprecated: Please use types in: cloud.google.com/go/beyondcorp/appconnections/apiv1/appconnectionspb |
| 122 |
type GetAppConnectionRequest = src.GetAppConnectionRequest |
| 123 |
|
| 124 |
// Request message for BeyondCorp.ListAppConnections. |
| 125 |
// |
| 126 |
// Deprecated: Please use types in: cloud.google.com/go/beyondcorp/appconnections/apiv1/appconnectionspb |
| 127 |
type ListAppConnectionsRequest = src.ListAppConnectionsRequest |
| 128 |
|
| 129 |
// Response message for BeyondCorp.ListAppConnections. |
| 130 |
// |
| 131 |
// Deprecated: Please use types in: cloud.google.com/go/beyondcorp/appconnections/apiv1/appconnectionspb |
| 132 |
type ListAppConnectionsResponse = src.ListAppConnectionsResponse |
| 133 |
|
| 134 |
// Request message for BeyondCorp.ResolveAppConnections. |
| 135 |
// |
| 136 |
// Deprecated: Please use types in: cloud.google.com/go/beyondcorp/appconnections/apiv1/appconnectionspb |
| 137 |
type ResolveAppConnectionsRequest = src.ResolveAppConnectionsRequest |
| 138 |
|
| 139 |
// Response message for BeyondCorp.ResolveAppConnections. |
| 140 |
// |
| 141 |
// Deprecated: Please use types in: cloud.google.com/go/beyondcorp/appconnections/apiv1/appconnectionspb |
| 142 |
type ResolveAppConnectionsResponse = src.ResolveAppConnectionsResponse |
| 143 |
|
| 144 |
// Details of the AppConnection. |
| 145 |
// |
| 146 |
// Deprecated: Please use types in: cloud.google.com/go/beyondcorp/appconnections/apiv1/appconnectionspb |
| 147 |
type ResolveAppConnectionsResponse_AppConnectionDetails = src.ResolveAppConnectionsResponse_AppConnectionDetails |
| 148 |
|
| 149 |
// UnimplementedAppConnectionsServiceServer can be embedded to have forward |
| 150 |
// compatible implementations. |
| 151 |
// |
| 152 |
// Deprecated: Please use types in: cloud.google.com/go/beyondcorp/appconnections/apiv1/appconnectionspb |
| 153 |
type UnimplementedAppConnectionsServiceServer = src.UnimplementedAppConnectionsServiceServer |
| 154 |
|
| 155 |
// Request message for BeyondCorp.UpdateAppConnection. |
| 156 |
// |
| 157 |
// Deprecated: Please use types in: cloud.google.com/go/beyondcorp/appconnections/apiv1/appconnectionspb |
| 158 |
type UpdateAppConnectionRequest = src.UpdateAppConnectionRequest |
| 159 |
|
| 160 |
// Deprecated: Please use funcs in: cloud.google.com/go/beyondcorp/appconnections/apiv1/appconnectionspb |
| 161 |
func NewAppConnectionsServiceClient(cc grpc.ClientConnInterface) AppConnectionsServiceClient { |
| 162 |
return src.NewAppConnectionsServiceClient(cc) |
| 163 |
} |
| 164 |
|
| 165 |
// Deprecated: Please use funcs in: cloud.google.com/go/beyondcorp/appconnections/apiv1/appconnectionspb |
| 166 |
func RegisterAppConnectionsServiceServer(s *grpc.Server, srv AppConnectionsServiceServer) { |
| 167 |
src.RegisterAppConnectionsServiceServer(s, srv) |
| 168 |
} |