| 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 networkmanagement aliases all exported identifiers in package |
| 18 |
// "cloud.google.com/go/networkmanagement/apiv1/networkmanagementpb". |
| 19 |
// |
| 20 |
// Deprecated: Please use types in: cloud.google.com/go/networkmanagement/apiv1/networkmanagementpb. |
| 21 |
// Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md |
| 22 |
// for more details. |
| 23 |
package networkmanagement |
| 24 |
|
| 25 |
import ( |
| 26 |
src "cloud.google.com/go/networkmanagement/apiv1/networkmanagementpb" |
| 27 |
grpc "google.golang.org/grpc" |
| 28 |
) |
| 29 |
|
| 30 |
// Deprecated: Please use consts in: cloud.google.com/go/networkmanagement/apiv1/networkmanagementpb |
| 31 |
const ( |
| 32 |
AbortInfo_CAUSE_UNSPECIFIED = src.AbortInfo_CAUSE_UNSPECIFIED |
| 33 |
AbortInfo_DESTINATION_ENDPOINT_NOT_FOUND = src.AbortInfo_DESTINATION_ENDPOINT_NOT_FOUND |
| 34 |
AbortInfo_INTERNAL_ERROR = src.AbortInfo_INTERNAL_ERROR |
| 35 |
AbortInfo_INVALID_ARGUMENT = src.AbortInfo_INVALID_ARGUMENT |
| 36 |
AbortInfo_MISMATCHED_DESTINATION_NETWORK = src.AbortInfo_MISMATCHED_DESTINATION_NETWORK |
| 37 |
AbortInfo_MISMATCHED_SOURCE_NETWORK = src.AbortInfo_MISMATCHED_SOURCE_NETWORK |
| 38 |
AbortInfo_NO_EXTERNAL_IP = src.AbortInfo_NO_EXTERNAL_IP |
| 39 |
AbortInfo_NO_SOURCE_LOCATION = src.AbortInfo_NO_SOURCE_LOCATION |
| 40 |
AbortInfo_PERMISSION_DENIED = src.AbortInfo_PERMISSION_DENIED |
| 41 |
AbortInfo_SOURCE_ENDPOINT_NOT_FOUND = src.AbortInfo_SOURCE_ENDPOINT_NOT_FOUND |
| 42 |
AbortInfo_TRACE_TOO_LONG = src.AbortInfo_TRACE_TOO_LONG |
| 43 |
AbortInfo_UNINTENDED_DESTINATION = src.AbortInfo_UNINTENDED_DESTINATION |
| 44 |
AbortInfo_UNKNOWN_IP = src.AbortInfo_UNKNOWN_IP |
| 45 |
AbortInfo_UNKNOWN_NETWORK = src.AbortInfo_UNKNOWN_NETWORK |
| 46 |
AbortInfo_UNKNOWN_PROJECT = src.AbortInfo_UNKNOWN_PROJECT |
| 47 |
AbortInfo_UNSUPPORTED = src.AbortInfo_UNSUPPORTED |
| 48 |
DeliverInfo_CLOUD_SQL_INSTANCE = src.DeliverInfo_CLOUD_SQL_INSTANCE |
| 49 |
DeliverInfo_GKE_MASTER = src.DeliverInfo_GKE_MASTER |
| 50 |
DeliverInfo_GOOGLE_API = src.DeliverInfo_GOOGLE_API |
| 51 |
DeliverInfo_INSTANCE = src.DeliverInfo_INSTANCE |
| 52 |
DeliverInfo_INTERNET = src.DeliverInfo_INTERNET |
| 53 |
DeliverInfo_TARGET_UNSPECIFIED = src.DeliverInfo_TARGET_UNSPECIFIED |
| 54 |
DropInfo_CAUSE_UNSPECIFIED = src.DropInfo_CAUSE_UNSPECIFIED |
| 55 |
DropInfo_CLOUD_SQL_INSTANCE_NO_IP_ADDRESS = src.DropInfo_CLOUD_SQL_INSTANCE_NO_IP_ADDRESS |
| 56 |
DropInfo_CLOUD_SQL_INSTANCE_UNAUTHORIZED_ACCESS = src.DropInfo_CLOUD_SQL_INSTANCE_UNAUTHORIZED_ACCESS |
| 57 |
DropInfo_DROPPED_INSIDE_CLOUD_SQL_SERVICE = src.DropInfo_DROPPED_INSIDE_CLOUD_SQL_SERVICE |
| 58 |
DropInfo_DROPPED_INSIDE_GKE_SERVICE = src.DropInfo_DROPPED_INSIDE_GKE_SERVICE |
| 59 |
DropInfo_FIREWALL_BLOCKING_LOAD_BALANCER_BACKEND_HEALTH_CHECK = src.DropInfo_FIREWALL_BLOCKING_LOAD_BALANCER_BACKEND_HEALTH_CHECK |
| 60 |
DropInfo_FIREWALL_RULE = src.DropInfo_FIREWALL_RULE |
| 61 |
DropInfo_FOREIGN_IP_DISALLOWED = src.DropInfo_FOREIGN_IP_DISALLOWED |
| 62 |
DropInfo_FORWARDING_RULE_MISMATCH = src.DropInfo_FORWARDING_RULE_MISMATCH |
| 63 |
DropInfo_FORWARDING_RULE_NO_INSTANCES = src.DropInfo_FORWARDING_RULE_NO_INSTANCES |
| 64 |
DropInfo_GKE_MASTER_UNAUTHORIZED_ACCESS = src.DropInfo_GKE_MASTER_UNAUTHORIZED_ACCESS |
| 65 |
DropInfo_GOOGLE_MANAGED_SERVICE_NO_PEERING = src.DropInfo_GOOGLE_MANAGED_SERVICE_NO_PEERING |
| 66 |
DropInfo_INSTANCE_NOT_RUNNING = src.DropInfo_INSTANCE_NOT_RUNNING |
| 67 |
DropInfo_NO_EXTERNAL_ADDRESS = src.DropInfo_NO_EXTERNAL_ADDRESS |
| 68 |
DropInfo_NO_ROUTE = src.DropInfo_NO_ROUTE |
| 69 |
DropInfo_PRIVATE_GOOGLE_ACCESS_DISALLOWED = src.DropInfo_PRIVATE_GOOGLE_ACCESS_DISALLOWED |
| 70 |
DropInfo_PRIVATE_TRAFFIC_TO_INTERNET = src.DropInfo_PRIVATE_TRAFFIC_TO_INTERNET |
| 71 |
DropInfo_ROUTE_BLACKHOLE = src.DropInfo_ROUTE_BLACKHOLE |
| 72 |
DropInfo_ROUTE_WRONG_NETWORK = src.DropInfo_ROUTE_WRONG_NETWORK |
| 73 |
DropInfo_TRAFFIC_TYPE_BLOCKED = src.DropInfo_TRAFFIC_TYPE_BLOCKED |
| 74 |
DropInfo_UNKNOWN_EXTERNAL_ADDRESS = src.DropInfo_UNKNOWN_EXTERNAL_ADDRESS |
| 75 |
DropInfo_UNKNOWN_INTERNAL_ADDRESS = src.DropInfo_UNKNOWN_INTERNAL_ADDRESS |
| 76 |
Endpoint_GCP_NETWORK = src.Endpoint_GCP_NETWORK |
| 77 |
Endpoint_NETWORK_TYPE_UNSPECIFIED = src.Endpoint_NETWORK_TYPE_UNSPECIFIED |
| 78 |
Endpoint_NON_GCP_NETWORK = src.Endpoint_NON_GCP_NETWORK |
| 79 |
FirewallInfo_FIREWALL_RULE_TYPE_UNSPECIFIED = src.FirewallInfo_FIREWALL_RULE_TYPE_UNSPECIFIED |
| 80 |
FirewallInfo_HIERARCHICAL_FIREWALL_POLICY_RULE = src.FirewallInfo_HIERARCHICAL_FIREWALL_POLICY_RULE |
| 81 |
FirewallInfo_IMPLIED_VPC_FIREWALL_RULE = src.FirewallInfo_IMPLIED_VPC_FIREWALL_RULE |
| 82 |
FirewallInfo_VPC_FIREWALL_RULE = src.FirewallInfo_VPC_FIREWALL_RULE |
| 83 |
ForwardInfo_CLOUD_SQL_INSTANCE = src.ForwardInfo_CLOUD_SQL_INSTANCE |
| 84 |
ForwardInfo_GKE_MASTER = src.ForwardInfo_GKE_MASTER |
| 85 |
ForwardInfo_IMPORTED_CUSTOM_ROUTE_NEXT_HOP = src.ForwardInfo_IMPORTED_CUSTOM_ROUTE_NEXT_HOP |
| 86 |
ForwardInfo_INTERCONNECT = src.ForwardInfo_INTERCONNECT |
| 87 |
ForwardInfo_PEERING_VPC = src.ForwardInfo_PEERING_VPC |
| 88 |
ForwardInfo_TARGET_UNSPECIFIED = src.ForwardInfo_TARGET_UNSPECIFIED |
| 89 |
ForwardInfo_VPN_GATEWAY = src.ForwardInfo_VPN_GATEWAY |
| 90 |
LoadBalancerBackend_CONFIGURED = src.LoadBalancerBackend_CONFIGURED |
| 91 |
LoadBalancerBackend_HEALTH_CHECK_FIREWALL_STATE_UNSPECIFIED = src.LoadBalancerBackend_HEALTH_CHECK_FIREWALL_STATE_UNSPECIFIED |
| 92 |
LoadBalancerBackend_MISCONFIGURED = src.LoadBalancerBackend_MISCONFIGURED |
| 93 |
LoadBalancerInfo_BACKEND_SERVICE = src.LoadBalancerInfo_BACKEND_SERVICE |
| 94 |
LoadBalancerInfo_BACKEND_TYPE_UNSPECIFIED = src.LoadBalancerInfo_BACKEND_TYPE_UNSPECIFIED |
| 95 |
LoadBalancerInfo_HTTP_PROXY = src.LoadBalancerInfo_HTTP_PROXY |
| 96 |
LoadBalancerInfo_INTERNAL_TCP_UDP = src.LoadBalancerInfo_INTERNAL_TCP_UDP |
| 97 |
LoadBalancerInfo_LOAD_BALANCER_TYPE_UNSPECIFIED = src.LoadBalancerInfo_LOAD_BALANCER_TYPE_UNSPECIFIED |
| 98 |
LoadBalancerInfo_NETWORK_TCP_UDP = src.LoadBalancerInfo_NETWORK_TCP_UDP |
| 99 |
LoadBalancerInfo_SSL_PROXY = src.LoadBalancerInfo_SSL_PROXY |
| 100 |
LoadBalancerInfo_TARGET_POOL = src.LoadBalancerInfo_TARGET_POOL |
| 101 |
LoadBalancerInfo_TCP_PROXY = src.LoadBalancerInfo_TCP_PROXY |
| 102 |
ReachabilityDetails_AMBIGUOUS = src.ReachabilityDetails_AMBIGUOUS |
| 103 |
ReachabilityDetails_REACHABLE = src.ReachabilityDetails_REACHABLE |
| 104 |
ReachabilityDetails_RESULT_UNSPECIFIED = src.ReachabilityDetails_RESULT_UNSPECIFIED |
| 105 |
ReachabilityDetails_UNDETERMINED = src.ReachabilityDetails_UNDETERMINED |
| 106 |
ReachabilityDetails_UNREACHABLE = src.ReachabilityDetails_UNREACHABLE |
| 107 |
RouteInfo_DYNAMIC = src.RouteInfo_DYNAMIC |
| 108 |
RouteInfo_NEXT_HOP_BLACKHOLE = src.RouteInfo_NEXT_HOP_BLACKHOLE |
| 109 |
RouteInfo_NEXT_HOP_ILB = src.RouteInfo_NEXT_HOP_ILB |
| 110 |
RouteInfo_NEXT_HOP_INSTANCE = src.RouteInfo_NEXT_HOP_INSTANCE |
| 111 |
RouteInfo_NEXT_HOP_INTERCONNECT = src.RouteInfo_NEXT_HOP_INTERCONNECT |
| 112 |
RouteInfo_NEXT_HOP_INTERNET_GATEWAY = src.RouteInfo_NEXT_HOP_INTERNET_GATEWAY |
| 113 |
RouteInfo_NEXT_HOP_IP = src.RouteInfo_NEXT_HOP_IP |
| 114 |
RouteInfo_NEXT_HOP_NETWORK = src.RouteInfo_NEXT_HOP_NETWORK |
| 115 |
RouteInfo_NEXT_HOP_PEERING = src.RouteInfo_NEXT_HOP_PEERING |
| 116 |
RouteInfo_NEXT_HOP_ROUTER_APPLIANCE = src.RouteInfo_NEXT_HOP_ROUTER_APPLIANCE |
| 117 |
RouteInfo_NEXT_HOP_TYPE_UNSPECIFIED = src.RouteInfo_NEXT_HOP_TYPE_UNSPECIFIED |
| 118 |
RouteInfo_NEXT_HOP_VPN_GATEWAY = src.RouteInfo_NEXT_HOP_VPN_GATEWAY |
| 119 |
RouteInfo_NEXT_HOP_VPN_TUNNEL = src.RouteInfo_NEXT_HOP_VPN_TUNNEL |
| 120 |
RouteInfo_PEERING_DYNAMIC = src.RouteInfo_PEERING_DYNAMIC |
| 121 |
RouteInfo_PEERING_STATIC = src.RouteInfo_PEERING_STATIC |
| 122 |
RouteInfo_PEERING_SUBNET = src.RouteInfo_PEERING_SUBNET |
| 123 |
RouteInfo_ROUTE_TYPE_UNSPECIFIED = src.RouteInfo_ROUTE_TYPE_UNSPECIFIED |
| 124 |
RouteInfo_STATIC = src.RouteInfo_STATIC |
| 125 |
RouteInfo_SUBNET = src.RouteInfo_SUBNET |
| 126 |
Step_ABORT = src.Step_ABORT |
| 127 |
Step_APPLY_EGRESS_FIREWALL_RULE = src.Step_APPLY_EGRESS_FIREWALL_RULE |
| 128 |
Step_APPLY_FORWARDING_RULE = src.Step_APPLY_FORWARDING_RULE |
| 129 |
Step_APPLY_INGRESS_FIREWALL_RULE = src.Step_APPLY_INGRESS_FIREWALL_RULE |
| 130 |
Step_APPLY_ROUTE = src.Step_APPLY_ROUTE |
| 131 |
Step_ARRIVE_AT_EXTERNAL_LOAD_BALANCER = src.Step_ARRIVE_AT_EXTERNAL_LOAD_BALANCER |
| 132 |
Step_ARRIVE_AT_INSTANCE = src.Step_ARRIVE_AT_INSTANCE |
| 133 |
Step_ARRIVE_AT_INTERNAL_LOAD_BALANCER = src.Step_ARRIVE_AT_INTERNAL_LOAD_BALANCER |
| 134 |
Step_ARRIVE_AT_VPN_GATEWAY = src.Step_ARRIVE_AT_VPN_GATEWAY |
| 135 |
Step_ARRIVE_AT_VPN_TUNNEL = src.Step_ARRIVE_AT_VPN_TUNNEL |
| 136 |
Step_DELIVER = src.Step_DELIVER |
| 137 |
Step_DROP = src.Step_DROP |
| 138 |
Step_FORWARD = src.Step_FORWARD |
| 139 |
Step_NAT = src.Step_NAT |
| 140 |
Step_PROXY_CONNECTION = src.Step_PROXY_CONNECTION |
| 141 |
Step_SPOOFING_APPROVED = src.Step_SPOOFING_APPROVED |
| 142 |
Step_START_FROM_CLOUD_SQL_INSTANCE = src.Step_START_FROM_CLOUD_SQL_INSTANCE |
| 143 |
Step_START_FROM_GKE_MASTER = src.Step_START_FROM_GKE_MASTER |
| 144 |
Step_START_FROM_INSTANCE = src.Step_START_FROM_INSTANCE |
| 145 |
Step_START_FROM_INTERNET = src.Step_START_FROM_INTERNET |
| 146 |
Step_START_FROM_PRIVATE_NETWORK = src.Step_START_FROM_PRIVATE_NETWORK |
| 147 |
Step_STATE_UNSPECIFIED = src.Step_STATE_UNSPECIFIED |
| 148 |
Step_VIEWER_PERMISSION_MISSING = src.Step_VIEWER_PERMISSION_MISSING |
| 149 |
VpnTunnelInfo_DYNAMIC = src.VpnTunnelInfo_DYNAMIC |
| 150 |
VpnTunnelInfo_POLICY_BASED = src.VpnTunnelInfo_POLICY_BASED |
| 151 |
VpnTunnelInfo_ROUTE_BASED = src.VpnTunnelInfo_ROUTE_BASED |
| 152 |
VpnTunnelInfo_ROUTING_TYPE_UNSPECIFIED = src.VpnTunnelInfo_ROUTING_TYPE_UNSPECIFIED |
| 153 |
) |
| 154 |
|
| 155 |
// Deprecated: Please use vars in: cloud.google.com/go/networkmanagement/apiv1/networkmanagementpb |
| 156 |
var ( |
| 157 |
AbortInfo_Cause_name = src.AbortInfo_Cause_name |
| 158 |
AbortInfo_Cause_value = src.AbortInfo_Cause_value |
| 159 |
DeliverInfo_Target_name = src.DeliverInfo_Target_name |
| 160 |
DeliverInfo_Target_value = src.DeliverInfo_Target_value |
| 161 |
DropInfo_Cause_name = src.DropInfo_Cause_name |
| 162 |
DropInfo_Cause_value = src.DropInfo_Cause_value |
| 163 |
Endpoint_NetworkType_name = src.Endpoint_NetworkType_name |
| 164 |
Endpoint_NetworkType_value = src.Endpoint_NetworkType_value |
| 165 |
File_google_cloud_networkmanagement_v1_connectivity_test_proto = src.File_google_cloud_networkmanagement_v1_connectivity_test_proto |
| 166 |
File_google_cloud_networkmanagement_v1_reachability_proto = src.File_google_cloud_networkmanagement_v1_reachability_proto |
| 167 |
File_google_cloud_networkmanagement_v1_trace_proto = src.File_google_cloud_networkmanagement_v1_trace_proto |
| 168 |
FirewallInfo_FirewallRuleType_name = src.FirewallInfo_FirewallRuleType_name |
| 169 |
FirewallInfo_FirewallRuleType_value = src.FirewallInfo_FirewallRuleType_value |
| 170 |
ForwardInfo_Target_name = src.ForwardInfo_Target_name |
| 171 |
ForwardInfo_Target_value = src.ForwardInfo_Target_value |
| 172 |
LoadBalancerBackend_HealthCheckFirewallState_name = src.LoadBalancerBackend_HealthCheckFirewallState_name |
| 173 |
LoadBalancerBackend_HealthCheckFirewallState_value = src.LoadBalancerBackend_HealthCheckFirewallState_value |
| 174 |
LoadBalancerInfo_BackendType_name = src.LoadBalancerInfo_BackendType_name |
| 175 |
LoadBalancerInfo_BackendType_value = src.LoadBalancerInfo_BackendType_value |
| 176 |
LoadBalancerInfo_LoadBalancerType_name = src.LoadBalancerInfo_LoadBalancerType_name |
| 177 |
LoadBalancerInfo_LoadBalancerType_value = src.LoadBalancerInfo_LoadBalancerType_value |
| 178 |
ReachabilityDetails_Result_name = src.ReachabilityDetails_Result_name |
| 179 |
ReachabilityDetails_Result_value = src.ReachabilityDetails_Result_value |
| 180 |
RouteInfo_NextHopType_name = src.RouteInfo_NextHopType_name |
| 181 |
RouteInfo_NextHopType_value = src.RouteInfo_NextHopType_value |
| 182 |
RouteInfo_RouteType_name = src.RouteInfo_RouteType_name |
| 183 |
RouteInfo_RouteType_value = src.RouteInfo_RouteType_value |
| 184 |
Step_State_name = src.Step_State_name |
| 185 |
Step_State_value = src.Step_State_value |
| 186 |
VpnTunnelInfo_RoutingType_name = src.VpnTunnelInfo_RoutingType_name |
| 187 |
VpnTunnelInfo_RoutingType_value = src.VpnTunnelInfo_RoutingType_value |
| 188 |
) |
| 189 |
|
| 190 |
// Details of the final state "abort" and associated resource. |
| 191 |
// |
| 192 |
// Deprecated: Please use types in: cloud.google.com/go/networkmanagement/apiv1/networkmanagementpb |
| 193 |
type AbortInfo = src.AbortInfo |
| 194 |
|
| 195 |
// Abort cause types: |
| 196 |
// |
| 197 |
// Deprecated: Please use types in: cloud.google.com/go/networkmanagement/apiv1/networkmanagementpb |
| 198 |
type AbortInfo_Cause = src.AbortInfo_Cause |
| 199 |
|
| 200 |
// For display only. Metadata associated with a Cloud SQL instance. |
| 201 |
// |
| 202 |
// Deprecated: Please use types in: cloud.google.com/go/networkmanagement/apiv1/networkmanagementpb |
| 203 |
type CloudSQLInstanceInfo = src.CloudSQLInstanceInfo |
| 204 |
|
| 205 |
// A Connectivity Test for a network reachability analysis. |
| 206 |
// |
| 207 |
// Deprecated: Please use types in: cloud.google.com/go/networkmanagement/apiv1/networkmanagementpb |
| 208 |
type ConnectivityTest = src.ConnectivityTest |
| 209 |
|
| 210 |
// Request for the `CreateConnectivityTest` method. |
| 211 |
// |
| 212 |
// Deprecated: Please use types in: cloud.google.com/go/networkmanagement/apiv1/networkmanagementpb |
| 213 |
type CreateConnectivityTestRequest = src.CreateConnectivityTestRequest |
| 214 |
|
| 215 |
// Request for the `DeleteConnectivityTest` method. |
| 216 |
// |
| 217 |
// Deprecated: Please use types in: cloud.google.com/go/networkmanagement/apiv1/networkmanagementpb |
| 218 |
type DeleteConnectivityTestRequest = src.DeleteConnectivityTestRequest |
| 219 |
|
| 220 |
// Details of the final state "deliver" and associated resource. |
| 221 |
// |
| 222 |
// Deprecated: Please use types in: cloud.google.com/go/networkmanagement/apiv1/networkmanagementpb |
| 223 |
type DeliverInfo = src.DeliverInfo |
| 224 |
|
| 225 |
// Deliver target types: |
| 226 |
// |
| 227 |
// Deprecated: Please use types in: cloud.google.com/go/networkmanagement/apiv1/networkmanagementpb |
| 228 |
type DeliverInfo_Target = src.DeliverInfo_Target |
| 229 |
|
| 230 |
// Details of the final state "drop" and associated resource. |
| 231 |
// |
| 232 |
// Deprecated: Please use types in: cloud.google.com/go/networkmanagement/apiv1/networkmanagementpb |
| 233 |
type DropInfo = src.DropInfo |
| 234 |
|
| 235 |
// Drop cause types: |
| 236 |
// |
| 237 |
// Deprecated: Please use types in: cloud.google.com/go/networkmanagement/apiv1/networkmanagementpb |
| 238 |
type DropInfo_Cause = src.DropInfo_Cause |
| 239 |
|
| 240 |
// Source or destination of the Connectivity Test. |
| 241 |
// |
| 242 |
// Deprecated: Please use types in: cloud.google.com/go/networkmanagement/apiv1/networkmanagementpb |
| 243 |
type Endpoint = src.Endpoint |
| 244 |
|
| 245 |
// For display only. The specification of the endpoints for the test. |
| 246 |
// EndpointInfo is derived from source and destination Endpoint and validated |
| 247 |
// by the backend data plane model. |
| 248 |
// |
| 249 |
// Deprecated: Please use types in: cloud.google.com/go/networkmanagement/apiv1/networkmanagementpb |
| 250 |
type EndpointInfo = src.EndpointInfo |
| 251 |
|
| 252 |
// The type definition of an endpoint's network. Use one of the following |
| 253 |
// choices: |
| 254 |
// |
| 255 |
// Deprecated: Please use types in: cloud.google.com/go/networkmanagement/apiv1/networkmanagementpb |
| 256 |
type Endpoint_NetworkType = src.Endpoint_NetworkType |
| 257 |
|
| 258 |
// For display only. Metadata associated with a VPC firewall rule, an implied |
| 259 |
// VPC firewall rule, or a hierarchical firewall policy rule. |
| 260 |
// |
| 261 |
// Deprecated: Please use types in: cloud.google.com/go/networkmanagement/apiv1/networkmanagementpb |
| 262 |
type FirewallInfo = src.FirewallInfo |
| 263 |
|
| 264 |
// The firewall rule's type. |
| 265 |
// |
| 266 |
// Deprecated: Please use types in: cloud.google.com/go/networkmanagement/apiv1/networkmanagementpb |
| 267 |
type FirewallInfo_FirewallRuleType = src.FirewallInfo_FirewallRuleType |
| 268 |
|
| 269 |
// Details of the final state "forward" and associated resource. |
| 270 |
// |
| 271 |
// Deprecated: Please use types in: cloud.google.com/go/networkmanagement/apiv1/networkmanagementpb |
| 272 |
type ForwardInfo = src.ForwardInfo |
| 273 |
|
| 274 |
// Forward target types. |
| 275 |
// |
| 276 |
// Deprecated: Please use types in: cloud.google.com/go/networkmanagement/apiv1/networkmanagementpb |
| 277 |
type ForwardInfo_Target = src.ForwardInfo_Target |
| 278 |
|
| 279 |
// For display only. Metadata associated with a Compute Engine forwarding |
| 280 |
// rule. |
| 281 |
// |
| 282 |
// Deprecated: Please use types in: cloud.google.com/go/networkmanagement/apiv1/networkmanagementpb |
| 283 |
type ForwardingRuleInfo = src.ForwardingRuleInfo |
| 284 |
|
| 285 |
// For display only. Metadata associated with a Google Kubernetes Engine (GKE) |
| 286 |
// cluster master. |
| 287 |
// |
| 288 |
// Deprecated: Please use types in: cloud.google.com/go/networkmanagement/apiv1/networkmanagementpb |
| 289 |
type GKEMasterInfo = src.GKEMasterInfo |
| 290 |
|
| 291 |
// Request for the `GetConnectivityTest` method. |
| 292 |
// |
| 293 |
// Deprecated: Please use types in: cloud.google.com/go/networkmanagement/apiv1/networkmanagementpb |
| 294 |
type GetConnectivityTestRequest = src.GetConnectivityTestRequest |
| 295 |
|
| 296 |
// For display only. Metadata associated with a Compute Engine instance. |
| 297 |
// |
| 298 |
// Deprecated: Please use types in: cloud.google.com/go/networkmanagement/apiv1/networkmanagementpb |
| 299 |
type InstanceInfo = src.InstanceInfo |
| 300 |
|
| 301 |
// Request for the `ListConnectivityTests` method. |
| 302 |
// |
| 303 |
// Deprecated: Please use types in: cloud.google.com/go/networkmanagement/apiv1/networkmanagementpb |
| 304 |
type ListConnectivityTestsRequest = src.ListConnectivityTestsRequest |
| 305 |
|
| 306 |
// Response for the `ListConnectivityTests` method. |
| 307 |
// |
| 308 |
// Deprecated: Please use types in: cloud.google.com/go/networkmanagement/apiv1/networkmanagementpb |
| 309 |
type ListConnectivityTestsResponse = src.ListConnectivityTestsResponse |
| 310 |
|
| 311 |
// For display only. Metadata associated with a specific load balancer |
| 312 |
// backend. |
| 313 |
// |
| 314 |
// Deprecated: Please use types in: cloud.google.com/go/networkmanagement/apiv1/networkmanagementpb |
| 315 |
type LoadBalancerBackend = src.LoadBalancerBackend |
| 316 |
|
| 317 |
// State of a health check firewall configuration: |
| 318 |
// |
| 319 |
// Deprecated: Please use types in: cloud.google.com/go/networkmanagement/apiv1/networkmanagementpb |
| 320 |
type LoadBalancerBackend_HealthCheckFirewallState = src.LoadBalancerBackend_HealthCheckFirewallState |
| 321 |
|
| 322 |
// For display only. Metadata associated with a load balancer. |
| 323 |
// |
| 324 |
// Deprecated: Please use types in: cloud.google.com/go/networkmanagement/apiv1/networkmanagementpb |
| 325 |
type LoadBalancerInfo = src.LoadBalancerInfo |
| 326 |
|
| 327 |
// The type definition for a load balancer backend configuration: |
| 328 |
// |
| 329 |
// Deprecated: Please use types in: cloud.google.com/go/networkmanagement/apiv1/networkmanagementpb |
| 330 |
type LoadBalancerInfo_BackendType = src.LoadBalancerInfo_BackendType |
| 331 |
|
| 332 |
// The type definition for a load balancer: |
| 333 |
// |
| 334 |
// Deprecated: Please use types in: cloud.google.com/go/networkmanagement/apiv1/networkmanagementpb |
| 335 |
type LoadBalancerInfo_LoadBalancerType = src.LoadBalancerInfo_LoadBalancerType |
| 336 |
|
| 337 |
// For display only. Metadata associated with a Compute Engine network. |
| 338 |
// |
| 339 |
// Deprecated: Please use types in: cloud.google.com/go/networkmanagement/apiv1/networkmanagementpb |
| 340 |
type NetworkInfo = src.NetworkInfo |
| 341 |
|
| 342 |
// Metadata describing an [Operation][google.longrunning.Operation] |
| 343 |
// |
| 344 |
// Deprecated: Please use types in: cloud.google.com/go/networkmanagement/apiv1/networkmanagementpb |
| 345 |
type OperationMetadata = src.OperationMetadata |
| 346 |
|
| 347 |
// Results of the configuration analysis from the last run of the test. |
| 348 |
// |
| 349 |
// Deprecated: Please use types in: cloud.google.com/go/networkmanagement/apiv1/networkmanagementpb |
| 350 |
type ReachabilityDetails = src.ReachabilityDetails |
| 351 |
|
| 352 |
// The overall result of the test's configuration analysis. |
| 353 |
// |
| 354 |
// Deprecated: Please use types in: cloud.google.com/go/networkmanagement/apiv1/networkmanagementpb |
| 355 |
type ReachabilityDetails_Result = src.ReachabilityDetails_Result |
| 356 |
|
| 357 |
// ReachabilityServiceClient is the client API for ReachabilityService |
| 358 |
// service. For semantics around ctx use and closing/ending streaming RPCs, |
| 359 |
// please refer to |
| 360 |
// https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 361 |
// |
| 362 |
// Deprecated: Please use types in: cloud.google.com/go/networkmanagement/apiv1/networkmanagementpb |
| 363 |
type ReachabilityServiceClient = src.ReachabilityServiceClient |
| 364 |
|
| 365 |
// ReachabilityServiceServer is the server API for ReachabilityService |
| 366 |
// service. |
| 367 |
// |
| 368 |
// Deprecated: Please use types in: cloud.google.com/go/networkmanagement/apiv1/networkmanagementpb |
| 369 |
type ReachabilityServiceServer = src.ReachabilityServiceServer |
| 370 |
|
| 371 |
// Request for the `RerunConnectivityTest` method. |
| 372 |
// |
| 373 |
// Deprecated: Please use types in: cloud.google.com/go/networkmanagement/apiv1/networkmanagementpb |
| 374 |
type RerunConnectivityTestRequest = src.RerunConnectivityTestRequest |
| 375 |
|
| 376 |
// For display only. Metadata associated with a Compute Engine route. |
| 377 |
// |
| 378 |
// Deprecated: Please use types in: cloud.google.com/go/networkmanagement/apiv1/networkmanagementpb |
| 379 |
type RouteInfo = src.RouteInfo |
| 380 |
|
| 381 |
// Type of next hop: |
| 382 |
// |
| 383 |
// Deprecated: Please use types in: cloud.google.com/go/networkmanagement/apiv1/networkmanagementpb |
| 384 |
type RouteInfo_NextHopType = src.RouteInfo_NextHopType |
| 385 |
|
| 386 |
// Type of route: |
| 387 |
// |
| 388 |
// Deprecated: Please use types in: cloud.google.com/go/networkmanagement/apiv1/networkmanagementpb |
| 389 |
type RouteInfo_RouteType = src.RouteInfo_RouteType |
| 390 |
|
| 391 |
// A simulated forwarding path is composed of multiple steps. Each step has a |
| 392 |
// well-defined state and an associated configuration. |
| 393 |
// |
| 394 |
// Deprecated: Please use types in: cloud.google.com/go/networkmanagement/apiv1/networkmanagementpb |
| 395 |
type Step = src.Step |
| 396 |
type Step_Abort = src.Step_Abort |
| 397 |
type Step_CloudSqlInstance = src.Step_CloudSqlInstance |
| 398 |
type Step_Deliver = src.Step_Deliver |
| 399 |
type Step_Drop = src.Step_Drop |
| 400 |
type Step_Endpoint = src.Step_Endpoint |
| 401 |
type Step_Firewall = src.Step_Firewall |
| 402 |
type Step_Forward = src.Step_Forward |
| 403 |
type Step_ForwardingRule = src.Step_ForwardingRule |
| 404 |
type Step_GkeMaster = src.Step_GkeMaster |
| 405 |
type Step_Instance = src.Step_Instance |
| 406 |
type Step_LoadBalancer = src.Step_LoadBalancer |
| 407 |
type Step_Network = src.Step_Network |
| 408 |
type Step_Route = src.Step_Route |
| 409 |
|
| 410 |
// Type of states that are defined in the network state machine. Each step in |
| 411 |
// the packet trace is in a specific state. |
| 412 |
// |
| 413 |
// Deprecated: Please use types in: cloud.google.com/go/networkmanagement/apiv1/networkmanagementpb |
| 414 |
type Step_State = src.Step_State |
| 415 |
type Step_VpnGateway = src.Step_VpnGateway |
| 416 |
type Step_VpnTunnel = src.Step_VpnTunnel |
| 417 |
|
| 418 |
// Trace represents one simulated packet forwarding path. - Each trace |
| 419 |
// contains multiple ordered steps. - Each step is in a particular state with |
| 420 |
// associated configuration. - State is categorized as final or non-final |
| 421 |
// states. - Each final state has a reason associated. - Each trace must end |
| 422 |
// with a final state (the last step). ``` |
| 423 |
// |---------------------Trace----------------------| Step1(State) Step2(State) |
| 424 |
// --- StepN(State(final)) ``` |
| 425 |
// |
| 426 |
// Deprecated: Please use types in: cloud.google.com/go/networkmanagement/apiv1/networkmanagementpb |
| 427 |
type Trace = src.Trace |
| 428 |
|
| 429 |
// UnimplementedReachabilityServiceServer can be embedded to have forward |
| 430 |
// compatible implementations. |
| 431 |
// |
| 432 |
// Deprecated: Please use types in: cloud.google.com/go/networkmanagement/apiv1/networkmanagementpb |
| 433 |
type UnimplementedReachabilityServiceServer = src.UnimplementedReachabilityServiceServer |
| 434 |
|
| 435 |
// Request for the `UpdateConnectivityTest` method. |
| 436 |
// |
| 437 |
// Deprecated: Please use types in: cloud.google.com/go/networkmanagement/apiv1/networkmanagementpb |
| 438 |
type UpdateConnectivityTestRequest = src.UpdateConnectivityTestRequest |
| 439 |
|
| 440 |
// For display only. Metadata associated with a Compute Engine VPN gateway. |
| 441 |
// |
| 442 |
// Deprecated: Please use types in: cloud.google.com/go/networkmanagement/apiv1/networkmanagementpb |
| 443 |
type VpnGatewayInfo = src.VpnGatewayInfo |
| 444 |
|
| 445 |
// For display only. Metadata associated with a Compute Engine VPN tunnel. |
| 446 |
// |
| 447 |
// Deprecated: Please use types in: cloud.google.com/go/networkmanagement/apiv1/networkmanagementpb |
| 448 |
type VpnTunnelInfo = src.VpnTunnelInfo |
| 449 |
|
| 450 |
// Types of VPN routing policy. For details, refer to [Networks and Tunnel |
| 451 |
// routing](https://cloud.google.com/network-connectivity/docs/vpn/concepts/choosing-networks-routing/). |
| 452 |
// |
| 453 |
// Deprecated: Please use types in: cloud.google.com/go/networkmanagement/apiv1/networkmanagementpb |
| 454 |
type VpnTunnelInfo_RoutingType = src.VpnTunnelInfo_RoutingType |
| 455 |
|
| 456 |
// Deprecated: Please use funcs in: cloud.google.com/go/networkmanagement/apiv1/networkmanagementpb |
| 457 |
func NewReachabilityServiceClient(cc grpc.ClientConnInterface) ReachabilityServiceClient { |
| 458 |
return src.NewReachabilityServiceClient(cc) |
| 459 |
} |
| 460 |
|
| 461 |
// Deprecated: Please use funcs in: cloud.google.com/go/networkmanagement/apiv1/networkmanagementpb |
| 462 |
func RegisterReachabilityServiceServer(s *grpc.Server, srv ReachabilityServiceServer) { |
| 463 |
src.RegisterReachabilityServiceServer(s, srv) |
| 464 |
} |