| 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 appconnectors aliases all exported identifiers in package |
| 18 |
// "cloud.google.com/go/beyondcorp/appconnectors/apiv1/appconnectorspb". |
| 19 |
// |
| 20 |
// Deprecated: Please use types in: cloud.google.com/go/beyondcorp/appconnectors/apiv1/appconnectorspb. |
| 21 |
// Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md |
| 22 |
// for more details. |
| 23 |
package appconnectors |
| 24 |
|
| 25 |
import ( |
| 26 |
src "cloud.google.com/go/beyondcorp/appconnectors/apiv1/appconnectorspb" |
| 27 |
grpc "google.golang.org/grpc" |
| 28 |
) |
| 29 |
|
| 30 |
// Deprecated: Please use consts in: cloud.google.com/go/beyondcorp/appconnectors/apiv1/appconnectorspb |
| 31 |
const ( |
| 32 |
AppConnector_CREATED = src.AppConnector_CREATED |
| 33 |
AppConnector_CREATING = src.AppConnector_CREATING |
| 34 |
AppConnector_DELETING = src.AppConnector_DELETING |
| 35 |
AppConnector_DOWN = src.AppConnector_DOWN |
| 36 |
AppConnector_STATE_UNSPECIFIED = src.AppConnector_STATE_UNSPECIFIED |
| 37 |
AppConnector_UPDATING = src.AppConnector_UPDATING |
| 38 |
HealthStatus_DEGRADED = src.HealthStatus_DEGRADED |
| 39 |
HealthStatus_HEALTHY = src.HealthStatus_HEALTHY |
| 40 |
HealthStatus_HEALTH_STATUS_UNSPECIFIED = src.HealthStatus_HEALTH_STATUS_UNSPECIFIED |
| 41 |
HealthStatus_UNHEALTHY = src.HealthStatus_UNHEALTHY |
| 42 |
HealthStatus_UNRESPONSIVE = src.HealthStatus_UNRESPONSIVE |
| 43 |
) |
| 44 |
|
| 45 |
// Deprecated: Please use vars in: cloud.google.com/go/beyondcorp/appconnectors/apiv1/appconnectorspb |
| 46 |
var ( |
| 47 |
AppConnector_State_name = src.AppConnector_State_name |
| 48 |
AppConnector_State_value = src.AppConnector_State_value |
| 49 |
File_google_cloud_beyondcorp_appconnectors_v1_app_connector_instance_config_proto = src.File_google_cloud_beyondcorp_appconnectors_v1_app_connector_instance_config_proto |
| 50 |
File_google_cloud_beyondcorp_appconnectors_v1_app_connectors_service_proto = src.File_google_cloud_beyondcorp_appconnectors_v1_app_connectors_service_proto |
| 51 |
File_google_cloud_beyondcorp_appconnectors_v1_resource_info_proto = src.File_google_cloud_beyondcorp_appconnectors_v1_resource_info_proto |
| 52 |
HealthStatus_name = src.HealthStatus_name |
| 53 |
HealthStatus_value = src.HealthStatus_value |
| 54 |
) |
| 55 |
|
| 56 |
// A BeyondCorp connector resource that represents an application facing |
| 57 |
// component deployed proximal to and with direct access to the application |
| 58 |
// instances. It is used to establish connectivity between the remote |
| 59 |
// enterprise environment and GCP. It initiates connections to the applications |
| 60 |
// and can proxy the data from users over the connection. |
| 61 |
// |
| 62 |
// Deprecated: Please use types in: cloud.google.com/go/beyondcorp/appconnectors/apiv1/appconnectorspb |
| 63 |
type AppConnector = src.AppConnector |
| 64 |
|
| 65 |
// AppConnectorInstanceConfig defines the instance config of a AppConnector. |
| 66 |
// |
| 67 |
// Deprecated: Please use types in: cloud.google.com/go/beyondcorp/appconnectors/apiv1/appconnectorspb |
| 68 |
type AppConnectorInstanceConfig = src.AppConnectorInstanceConfig |
| 69 |
|
| 70 |
// Represents the metadata of the long-running operation. |
| 71 |
// |
| 72 |
// Deprecated: Please use types in: cloud.google.com/go/beyondcorp/appconnectors/apiv1/appconnectorspb |
| 73 |
type AppConnectorOperationMetadata = src.AppConnectorOperationMetadata |
| 74 |
|
| 75 |
// PrincipalInfo represents an Identity oneof. |
| 76 |
// |
| 77 |
// Deprecated: Please use types in: cloud.google.com/go/beyondcorp/appconnectors/apiv1/appconnectorspb |
| 78 |
type AppConnector_PrincipalInfo = src.AppConnector_PrincipalInfo |
| 79 |
|
| 80 |
// ServiceAccount represents a GCP service account. |
| 81 |
// |
| 82 |
// Deprecated: Please use types in: cloud.google.com/go/beyondcorp/appconnectors/apiv1/appconnectorspb |
| 83 |
type AppConnector_PrincipalInfo_ServiceAccount = src.AppConnector_PrincipalInfo_ServiceAccount |
| 84 |
type AppConnector_PrincipalInfo_ServiceAccount_ = src.AppConnector_PrincipalInfo_ServiceAccount_ |
| 85 |
|
| 86 |
// Represents the different states of a AppConnector. |
| 87 |
// |
| 88 |
// Deprecated: Please use types in: cloud.google.com/go/beyondcorp/appconnectors/apiv1/appconnectorspb |
| 89 |
type AppConnector_State = src.AppConnector_State |
| 90 |
|
| 91 |
// AppConnectorsServiceClient is the client API for AppConnectorsService |
| 92 |
// service. For semantics around ctx use and closing/ending streaming RPCs, |
| 93 |
// please refer to |
| 94 |
// https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 95 |
// |
| 96 |
// Deprecated: Please use types in: cloud.google.com/go/beyondcorp/appconnectors/apiv1/appconnectorspb |
| 97 |
type AppConnectorsServiceClient = src.AppConnectorsServiceClient |
| 98 |
|
| 99 |
// AppConnectorsServiceServer is the server API for AppConnectorsService |
| 100 |
// service. |
| 101 |
// |
| 102 |
// Deprecated: Please use types in: cloud.google.com/go/beyondcorp/appconnectors/apiv1/appconnectorspb |
| 103 |
type AppConnectorsServiceServer = src.AppConnectorsServiceServer |
| 104 |
|
| 105 |
// Request message for BeyondCorp.CreateAppConnector. |
| 106 |
// |
| 107 |
// Deprecated: Please use types in: cloud.google.com/go/beyondcorp/appconnectors/apiv1/appconnectorspb |
| 108 |
type CreateAppConnectorRequest = src.CreateAppConnectorRequest |
| 109 |
|
| 110 |
// Request message for BeyondCorp.DeleteAppConnector. |
| 111 |
// |
| 112 |
// Deprecated: Please use types in: cloud.google.com/go/beyondcorp/appconnectors/apiv1/appconnectorspb |
| 113 |
type DeleteAppConnectorRequest = src.DeleteAppConnectorRequest |
| 114 |
|
| 115 |
// Request message for BeyondCorp.GetAppConnector. |
| 116 |
// |
| 117 |
// Deprecated: Please use types in: cloud.google.com/go/beyondcorp/appconnectors/apiv1/appconnectorspb |
| 118 |
type GetAppConnectorRequest = src.GetAppConnectorRequest |
| 119 |
|
| 120 |
// HealthStatus represents the health status. |
| 121 |
// |
| 122 |
// Deprecated: Please use types in: cloud.google.com/go/beyondcorp/appconnectors/apiv1/appconnectorspb |
| 123 |
type HealthStatus = src.HealthStatus |
| 124 |
|
| 125 |
// ImageConfig defines the control plane images to run. |
| 126 |
// |
| 127 |
// Deprecated: Please use types in: cloud.google.com/go/beyondcorp/appconnectors/apiv1/appconnectorspb |
| 128 |
type ImageConfig = src.ImageConfig |
| 129 |
|
| 130 |
// Request message for BeyondCorp.ListAppConnectors. |
| 131 |
// |
| 132 |
// Deprecated: Please use types in: cloud.google.com/go/beyondcorp/appconnectors/apiv1/appconnectorspb |
| 133 |
type ListAppConnectorsRequest = src.ListAppConnectorsRequest |
| 134 |
|
| 135 |
// Response message for BeyondCorp.ListAppConnectors. |
| 136 |
// |
| 137 |
// Deprecated: Please use types in: cloud.google.com/go/beyondcorp/appconnectors/apiv1/appconnectorspb |
| 138 |
type ListAppConnectorsResponse = src.ListAppConnectorsResponse |
| 139 |
|
| 140 |
// NotificationConfig defines the mechanisms to notify instance agent. |
| 141 |
// |
| 142 |
// Deprecated: Please use types in: cloud.google.com/go/beyondcorp/appconnectors/apiv1/appconnectorspb |
| 143 |
type NotificationConfig = src.NotificationConfig |
| 144 |
|
| 145 |
// The configuration for Pub/Sub messaging for the AppConnector. |
| 146 |
// |
| 147 |
// Deprecated: Please use types in: cloud.google.com/go/beyondcorp/appconnectors/apiv1/appconnectorspb |
| 148 |
type NotificationConfig_CloudPubSubNotificationConfig = src.NotificationConfig_CloudPubSubNotificationConfig |
| 149 |
type NotificationConfig_PubsubNotification = src.NotificationConfig_PubsubNotification |
| 150 |
|
| 151 |
// Request report the connector status. |
| 152 |
// |
| 153 |
// Deprecated: Please use types in: cloud.google.com/go/beyondcorp/appconnectors/apiv1/appconnectorspb |
| 154 |
type ReportStatusRequest = src.ReportStatusRequest |
| 155 |
|
| 156 |
// ResourceInfo represents the information/status of an app connector |
| 157 |
// resource. Such as: - remote_agent - container - runtime - appgateway - |
| 158 |
// appconnector - appconnection - tunnel - logagent |
| 159 |
// |
| 160 |
// Deprecated: Please use types in: cloud.google.com/go/beyondcorp/appconnectors/apiv1/appconnectorspb |
| 161 |
type ResourceInfo = src.ResourceInfo |
| 162 |
|
| 163 |
// UnimplementedAppConnectorsServiceServer can be embedded to have forward |
| 164 |
// compatible implementations. |
| 165 |
// |
| 166 |
// Deprecated: Please use types in: cloud.google.com/go/beyondcorp/appconnectors/apiv1/appconnectorspb |
| 167 |
type UnimplementedAppConnectorsServiceServer = src.UnimplementedAppConnectorsServiceServer |
| 168 |
|
| 169 |
// Request message for BeyondCorp.UpdateAppConnector. |
| 170 |
// |
| 171 |
// Deprecated: Please use types in: cloud.google.com/go/beyondcorp/appconnectors/apiv1/appconnectorspb |
| 172 |
type UpdateAppConnectorRequest = src.UpdateAppConnectorRequest |
| 173 |
|
| 174 |
// Deprecated: Please use funcs in: cloud.google.com/go/beyondcorp/appconnectors/apiv1/appconnectorspb |
| 175 |
func NewAppConnectorsServiceClient(cc grpc.ClientConnInterface) AppConnectorsServiceClient { |
| 176 |
return src.NewAppConnectorsServiceClient(cc) |
| 177 |
} |
| 178 |
|
| 179 |
// Deprecated: Please use funcs in: cloud.google.com/go/beyondcorp/appconnectors/apiv1/appconnectorspb |
| 180 |
func RegisterAppConnectorsServiceServer(s *grpc.Server, srv AppConnectorsServiceServer) { |
| 181 |
src.RegisterAppConnectorsServiceServer(s, srv) |
| 182 |
} |