Variables
Endpoint_NetworkType_name, Endpoint_NetworkType_value
var (
Endpoint_NetworkType_name = map[int32]string{
0: "NETWORK_TYPE_UNSPECIFIED",
1: "GCP_NETWORK",
2: "NON_GCP_NETWORK",
}
Endpoint_NetworkType_value = map[string]int32{
"NETWORK_TYPE_UNSPECIFIED": 0,
"GCP_NETWORK": 1,
"NON_GCP_NETWORK": 2,
}
)
Enum value maps for Endpoint_NetworkType.
Endpoint_ForwardingRuleTarget_name, Endpoint_ForwardingRuleTarget_value
var (
Endpoint_ForwardingRuleTarget_name = map[int32]string{
0: "FORWARDING_RULE_TARGET_UNSPECIFIED",
1: "INSTANCE",
2: "LOAD_BALANCER",
3: "VPN_GATEWAY",
4: "PSC",
}
Endpoint_ForwardingRuleTarget_value = map[string]int32{
"FORWARDING_RULE_TARGET_UNSPECIFIED": 0,
"INSTANCE": 1,
"LOAD_BALANCER": 2,
"VPN_GATEWAY": 3,
"PSC": 4,
}
)
Enum value maps for Endpoint_ForwardingRuleTarget.
ReachabilityDetails_Result_name, ReachabilityDetails_Result_value
var (
ReachabilityDetails_Result_name = map[int32]string{
0: "RESULT_UNSPECIFIED",
1: "REACHABLE",
2: "UNREACHABLE",
4: "AMBIGUOUS",
5: "UNDETERMINED",
}
ReachabilityDetails_Result_value = map[string]int32{
"RESULT_UNSPECIFIED": 0,
"REACHABLE": 1,
"UNREACHABLE": 2,
"AMBIGUOUS": 4,
"UNDETERMINED": 5,
}
)
Enum value maps for ReachabilityDetails_Result.
ProbingDetails_ProbingResult_name, ProbingDetails_ProbingResult_value
var (
ProbingDetails_ProbingResult_name = map[int32]string{
0: "PROBING_RESULT_UNSPECIFIED",
1: "REACHABLE",
2: "UNREACHABLE",
3: "REACHABILITY_INCONSISTENT",
4: "UNDETERMINED",
}
ProbingDetails_ProbingResult_value = map[string]int32{
"PROBING_RESULT_UNSPECIFIED": 0,
"REACHABLE": 1,
"UNREACHABLE": 2,
"REACHABILITY_INCONSISTENT": 3,
"UNDETERMINED": 4,
}
)
Enum value maps for ProbingDetails_ProbingResult.
ProbingDetails_ProbingAbortCause_name, ProbingDetails_ProbingAbortCause_value
var (
ProbingDetails_ProbingAbortCause_name = map[int32]string{
0: "PROBING_ABORT_CAUSE_UNSPECIFIED",
1: "PERMISSION_DENIED",
2: "NO_SOURCE_LOCATION",
}
ProbingDetails_ProbingAbortCause_value = map[string]int32{
"PROBING_ABORT_CAUSE_UNSPECIFIED": 0,
"PERMISSION_DENIED": 1,
"NO_SOURCE_LOCATION": 2,
}
)
Enum value maps for ProbingDetails_ProbingAbortCause.
LoadBalancerType_name, LoadBalancerType_value
var (
LoadBalancerType_name = map[int32]string{
0: "LOAD_BALANCER_TYPE_UNSPECIFIED",
1: "HTTPS_ADVANCED_LOAD_BALANCER",
2: "HTTPS_LOAD_BALANCER",
3: "REGIONAL_HTTPS_LOAD_BALANCER",
4: "INTERNAL_HTTPS_LOAD_BALANCER",
5: "SSL_PROXY_LOAD_BALANCER",
6: "TCP_PROXY_LOAD_BALANCER",
7: "INTERNAL_TCP_PROXY_LOAD_BALANCER",
8: "NETWORK_LOAD_BALANCER",
9: "LEGACY_NETWORK_LOAD_BALANCER",
10: "TCP_UDP_INTERNAL_LOAD_BALANCER",
}
LoadBalancerType_value = map[string]int32{
"LOAD_BALANCER_TYPE_UNSPECIFIED": 0,
"HTTPS_ADVANCED_LOAD_BALANCER": 1,
"HTTPS_LOAD_BALANCER": 2,
"REGIONAL_HTTPS_LOAD_BALANCER": 3,
"INTERNAL_HTTPS_LOAD_BALANCER": 4,
"SSL_PROXY_LOAD_BALANCER": 5,
"TCP_PROXY_LOAD_BALANCER": 6,
"INTERNAL_TCP_PROXY_LOAD_BALANCER": 7,
"NETWORK_LOAD_BALANCER": 8,
"LEGACY_NETWORK_LOAD_BALANCER": 9,
"TCP_UDP_INTERNAL_LOAD_BALANCER": 10,
}
)
Enum value maps for LoadBalancerType.
Step_State_name, Step_State_value
var (
Step_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "START_FROM_INSTANCE",
2: "START_FROM_INTERNET",
27: "START_FROM_GOOGLE_SERVICE",
3: "START_FROM_PRIVATE_NETWORK",
21: "START_FROM_GKE_MASTER",
22: "START_FROM_CLOUD_SQL_INSTANCE",
23: "START_FROM_CLOUD_FUNCTION",
25: "START_FROM_APP_ENGINE_VERSION",
26: "START_FROM_CLOUD_RUN_REVISION",
29: "START_FROM_STORAGE_BUCKET",
30: "START_FROM_PSC_PUBLISHED_SERVICE",
4: "APPLY_INGRESS_FIREWALL_RULE",
5: "APPLY_EGRESS_FIREWALL_RULE",
6: "APPLY_ROUTE",
7: "APPLY_FORWARDING_RULE",
28: "ANALYZE_LOAD_BALANCER_BACKEND",
8: "SPOOFING_APPROVED",
9: "ARRIVE_AT_INSTANCE",
10: "ARRIVE_AT_INTERNAL_LOAD_BALANCER",
11: "ARRIVE_AT_EXTERNAL_LOAD_BALANCER",
12: "ARRIVE_AT_VPN_GATEWAY",
13: "ARRIVE_AT_VPN_TUNNEL",
24: "ARRIVE_AT_VPC_CONNECTOR",
14: "NAT",
15: "PROXY_CONNECTION",
16: "DELIVER",
17: "DROP",
18: "FORWARD",
19: "ABORT",
20: "VIEWER_PERMISSION_MISSING",
}
Step_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"START_FROM_INSTANCE": 1,
"START_FROM_INTERNET": 2,
"START_FROM_GOOGLE_SERVICE": 27,
"START_FROM_PRIVATE_NETWORK": 3,
"START_FROM_GKE_MASTER": 21,
"START_FROM_CLOUD_SQL_INSTANCE": 22,
"START_FROM_CLOUD_FUNCTION": 23,
"START_FROM_APP_ENGINE_VERSION": 25,
"START_FROM_CLOUD_RUN_REVISION": 26,
"START_FROM_STORAGE_BUCKET": 29,
"START_FROM_PSC_PUBLISHED_SERVICE": 30,
"APPLY_INGRESS_FIREWALL_RULE": 4,
"APPLY_EGRESS_FIREWALL_RULE": 5,
"APPLY_ROUTE": 6,
"APPLY_FORWARDING_RULE": 7,
"ANALYZE_LOAD_BALANCER_BACKEND": 28,
"SPOOFING_APPROVED": 8,
"ARRIVE_AT_INSTANCE": 9,
"ARRIVE_AT_INTERNAL_LOAD_BALANCER": 10,
"ARRIVE_AT_EXTERNAL_LOAD_BALANCER": 11,
"ARRIVE_AT_VPN_GATEWAY": 12,
"ARRIVE_AT_VPN_TUNNEL": 13,
"ARRIVE_AT_VPC_CONNECTOR": 24,
"NAT": 14,
"PROXY_CONNECTION": 15,
"DELIVER": 16,
"DROP": 17,
"FORWARD": 18,
"ABORT": 19,
"VIEWER_PERMISSION_MISSING": 20,
}
)
Enum value maps for Step_State.
FirewallInfo_FirewallRuleType_name, FirewallInfo_FirewallRuleType_value
var (
FirewallInfo_FirewallRuleType_name = map[int32]string{
0: "FIREWALL_RULE_TYPE_UNSPECIFIED",
1: "HIERARCHICAL_FIREWALL_POLICY_RULE",
2: "VPC_FIREWALL_RULE",
3: "IMPLIED_VPC_FIREWALL_RULE",
4: "SERVERLESS_VPC_ACCESS_MANAGED_FIREWALL_RULE",
5: "NETWORK_FIREWALL_POLICY_RULE",
6: "NETWORK_REGIONAL_FIREWALL_POLICY_RULE",
100: "UNSUPPORTED_FIREWALL_POLICY_RULE",
101: "TRACKING_STATE",
}
FirewallInfo_FirewallRuleType_value = map[string]int32{
"FIREWALL_RULE_TYPE_UNSPECIFIED": 0,
"HIERARCHICAL_FIREWALL_POLICY_RULE": 1,
"VPC_FIREWALL_RULE": 2,
"IMPLIED_VPC_FIREWALL_RULE": 3,
"SERVERLESS_VPC_ACCESS_MANAGED_FIREWALL_RULE": 4,
"NETWORK_FIREWALL_POLICY_RULE": 5,
"NETWORK_REGIONAL_FIREWALL_POLICY_RULE": 6,
"UNSUPPORTED_FIREWALL_POLICY_RULE": 100,
"TRACKING_STATE": 101,
}
)
Enum value maps for FirewallInfo_FirewallRuleType.
RouteInfo_RouteType_name, RouteInfo_RouteType_value
var (
RouteInfo_RouteType_name = map[int32]string{
0: "ROUTE_TYPE_UNSPECIFIED",
1: "SUBNET",
2: "STATIC",
3: "DYNAMIC",
4: "PEERING_SUBNET",
5: "PEERING_STATIC",
6: "PEERING_DYNAMIC",
7: "POLICY_BASED",
}
RouteInfo_RouteType_value = map[string]int32{
"ROUTE_TYPE_UNSPECIFIED": 0,
"SUBNET": 1,
"STATIC": 2,
"DYNAMIC": 3,
"PEERING_SUBNET": 4,
"PEERING_STATIC": 5,
"PEERING_DYNAMIC": 6,
"POLICY_BASED": 7,
}
)
Enum value maps for RouteInfo_RouteType.
RouteInfo_NextHopType_name, RouteInfo_NextHopType_value
var (
RouteInfo_NextHopType_name = map[int32]string{
0: "NEXT_HOP_TYPE_UNSPECIFIED",
1: "NEXT_HOP_IP",
2: "NEXT_HOP_INSTANCE",
3: "NEXT_HOP_NETWORK",
4: "NEXT_HOP_PEERING",
5: "NEXT_HOP_INTERCONNECT",
6: "NEXT_HOP_VPN_TUNNEL",
7: "NEXT_HOP_VPN_GATEWAY",
8: "NEXT_HOP_INTERNET_GATEWAY",
9: "NEXT_HOP_BLACKHOLE",
10: "NEXT_HOP_ILB",
11: "NEXT_HOP_ROUTER_APPLIANCE",
12: "NEXT_HOP_NCC_HUB",
}
RouteInfo_NextHopType_value = map[string]int32{
"NEXT_HOP_TYPE_UNSPECIFIED": 0,
"NEXT_HOP_IP": 1,
"NEXT_HOP_INSTANCE": 2,
"NEXT_HOP_NETWORK": 3,
"NEXT_HOP_PEERING": 4,
"NEXT_HOP_INTERCONNECT": 5,
"NEXT_HOP_VPN_TUNNEL": 6,
"NEXT_HOP_VPN_GATEWAY": 7,
"NEXT_HOP_INTERNET_GATEWAY": 8,
"NEXT_HOP_BLACKHOLE": 9,
"NEXT_HOP_ILB": 10,
"NEXT_HOP_ROUTER_APPLIANCE": 11,
"NEXT_HOP_NCC_HUB": 12,
}
)
Enum value maps for RouteInfo_NextHopType.
RouteInfo_RouteScope_name, RouteInfo_RouteScope_value
var (
RouteInfo_RouteScope_name = map[int32]string{
0: "ROUTE_SCOPE_UNSPECIFIED",
1: "NETWORK",
2: "NCC_HUB",
}
RouteInfo_RouteScope_value = map[string]int32{
"ROUTE_SCOPE_UNSPECIFIED": 0,
"NETWORK": 1,
"NCC_HUB": 2,
}
)
Enum value maps for RouteInfo_RouteScope.
GoogleServiceInfo_GoogleServiceType_name, GoogleServiceInfo_GoogleServiceType_value
var (
GoogleServiceInfo_GoogleServiceType_name = map[int32]string{
0: "GOOGLE_SERVICE_TYPE_UNSPECIFIED",
1: "IAP",
2: "GFE_PROXY_OR_HEALTH_CHECK_PROBER",
3: "CLOUD_DNS",
4: "GOOGLE_API",
5: "GOOGLE_API_PSC",
6: "GOOGLE_API_VPC_SC",
}
GoogleServiceInfo_GoogleServiceType_value = map[string]int32{
"GOOGLE_SERVICE_TYPE_UNSPECIFIED": 0,
"IAP": 1,
"GFE_PROXY_OR_HEALTH_CHECK_PROBER": 2,
"CLOUD_DNS": 3,
"GOOGLE_API": 4,
"GOOGLE_API_PSC": 5,
"GOOGLE_API_VPC_SC": 6,
}
)
Enum value maps for GoogleServiceInfo_GoogleServiceType.
LoadBalancerInfo_LoadBalancerType_name, LoadBalancerInfo_LoadBalancerType_value
var (
LoadBalancerInfo_LoadBalancerType_name = map[int32]string{
0: "LOAD_BALANCER_TYPE_UNSPECIFIED",
1: "INTERNAL_TCP_UDP",
2: "NETWORK_TCP_UDP",
3: "HTTP_PROXY",
4: "TCP_PROXY",
5: "SSL_PROXY",
}
LoadBalancerInfo_LoadBalancerType_value = map[string]int32{
"LOAD_BALANCER_TYPE_UNSPECIFIED": 0,
"INTERNAL_TCP_UDP": 1,
"NETWORK_TCP_UDP": 2,
"HTTP_PROXY": 3,
"TCP_PROXY": 4,
"SSL_PROXY": 5,
}
)
Enum value maps for LoadBalancerInfo_LoadBalancerType.
LoadBalancerInfo_BackendType_name, LoadBalancerInfo_BackendType_value
var (
LoadBalancerInfo_BackendType_name = map[int32]string{
0: "BACKEND_TYPE_UNSPECIFIED",
1: "BACKEND_SERVICE",
2: "TARGET_POOL",
3: "TARGET_INSTANCE",
}
LoadBalancerInfo_BackendType_value = map[string]int32{
"BACKEND_TYPE_UNSPECIFIED": 0,
"BACKEND_SERVICE": 1,
"TARGET_POOL": 2,
"TARGET_INSTANCE": 3,
}
)
Enum value maps for LoadBalancerInfo_BackendType.
LoadBalancerBackend_HealthCheckFirewallState_name, LoadBalancerBackend_HealthCheckFirewallState_value
var (
LoadBalancerBackend_HealthCheckFirewallState_name = map[int32]string{
0: "HEALTH_CHECK_FIREWALL_STATE_UNSPECIFIED",
1: "CONFIGURED",
2: "MISCONFIGURED",
}
LoadBalancerBackend_HealthCheckFirewallState_value = map[string]int32{
"HEALTH_CHECK_FIREWALL_STATE_UNSPECIFIED": 0,
"CONFIGURED": 1,
"MISCONFIGURED": 2,
}
)
Enum value maps for LoadBalancerBackend_HealthCheckFirewallState.
VpnTunnelInfo_RoutingType_name, VpnTunnelInfo_RoutingType_value
var (
VpnTunnelInfo_RoutingType_name = map[int32]string{
0: "ROUTING_TYPE_UNSPECIFIED",
1: "ROUTE_BASED",
2: "POLICY_BASED",
3: "DYNAMIC",
}
VpnTunnelInfo_RoutingType_value = map[string]int32{
"ROUTING_TYPE_UNSPECIFIED": 0,
"ROUTE_BASED": 1,
"POLICY_BASED": 2,
"DYNAMIC": 3,
}
)
Enum value maps for VpnTunnelInfo_RoutingType.
DeliverInfo_Target_name, DeliverInfo_Target_value
var (
DeliverInfo_Target_name = map[int32]string{
0: "TARGET_UNSPECIFIED",
1: "INSTANCE",
2: "INTERNET",
3: "GOOGLE_API",
4: "GKE_MASTER",
5: "CLOUD_SQL_INSTANCE",
6: "PSC_PUBLISHED_SERVICE",
7: "PSC_GOOGLE_API",
8: "PSC_VPC_SC",
9: "SERVERLESS_NEG",
10: "STORAGE_BUCKET",
11: "PRIVATE_NETWORK",
12: "CLOUD_FUNCTION",
13: "APP_ENGINE_VERSION",
14: "CLOUD_RUN_REVISION",
}
DeliverInfo_Target_value = map[string]int32{
"TARGET_UNSPECIFIED": 0,
"INSTANCE": 1,
"INTERNET": 2,
"GOOGLE_API": 3,
"GKE_MASTER": 4,
"CLOUD_SQL_INSTANCE": 5,
"PSC_PUBLISHED_SERVICE": 6,
"PSC_GOOGLE_API": 7,
"PSC_VPC_SC": 8,
"SERVERLESS_NEG": 9,
"STORAGE_BUCKET": 10,
"PRIVATE_NETWORK": 11,
"CLOUD_FUNCTION": 12,
"APP_ENGINE_VERSION": 13,
"CLOUD_RUN_REVISION": 14,
}
)
Enum value maps for DeliverInfo_Target.
ForwardInfo_Target_name, ForwardInfo_Target_value
var (
ForwardInfo_Target_name = map[int32]string{
0: "TARGET_UNSPECIFIED",
1: "PEERING_VPC",
2: "VPN_GATEWAY",
3: "INTERCONNECT",
4: "GKE_MASTER",
5: "IMPORTED_CUSTOM_ROUTE_NEXT_HOP",
6: "CLOUD_SQL_INSTANCE",
7: "ANOTHER_PROJECT",
8: "NCC_HUB",
9: "ROUTER_APPLIANCE",
}
ForwardInfo_Target_value = map[string]int32{
"TARGET_UNSPECIFIED": 0,
"PEERING_VPC": 1,
"VPN_GATEWAY": 2,
"INTERCONNECT": 3,
"GKE_MASTER": 4,
"IMPORTED_CUSTOM_ROUTE_NEXT_HOP": 5,
"CLOUD_SQL_INSTANCE": 6,
"ANOTHER_PROJECT": 7,
"NCC_HUB": 8,
"ROUTER_APPLIANCE": 9,
}
)
Enum value maps for ForwardInfo_Target.
AbortInfo_Cause_name, AbortInfo_Cause_value
var (
AbortInfo_Cause_name = map[int32]string{
0: "CAUSE_UNSPECIFIED",
1: "UNKNOWN_NETWORK",
3: "UNKNOWN_PROJECT",
7: "NO_EXTERNAL_IP",
8: "UNINTENDED_DESTINATION",
11: "SOURCE_ENDPOINT_NOT_FOUND",
12: "MISMATCHED_SOURCE_NETWORK",
13: "DESTINATION_ENDPOINT_NOT_FOUND",
14: "MISMATCHED_DESTINATION_NETWORK",
2: "UNKNOWN_IP",
23: "SOURCE_IP_ADDRESS_NOT_IN_SOURCE_NETWORK",
4: "PERMISSION_DENIED",
28: "PERMISSION_DENIED_NO_CLOUD_NAT_CONFIGS",
29: "PERMISSION_DENIED_NO_NEG_ENDPOINT_CONFIGS",
5: "NO_SOURCE_LOCATION",
6: "INVALID_ARGUMENT",
9: "TRACE_TOO_LONG",
10: "INTERNAL_ERROR",
15: "UNSUPPORTED",
16: "MISMATCHED_IP_VERSION",
17: "GKE_KONNECTIVITY_PROXY_UNSUPPORTED",
18: "RESOURCE_CONFIG_NOT_FOUND",
24: "VM_INSTANCE_CONFIG_NOT_FOUND",
25: "NETWORK_CONFIG_NOT_FOUND",
26: "FIREWALL_CONFIG_NOT_FOUND",
27: "ROUTE_CONFIG_NOT_FOUND",
19: "GOOGLE_MANAGED_SERVICE_AMBIGUOUS_PSC_ENDPOINT",
20: "SOURCE_PSC_CLOUD_SQL_UNSUPPORTED",
21: "SOURCE_FORWARDING_RULE_UNSUPPORTED",
22: "NON_ROUTABLE_IP_ADDRESS",
30: "UNKNOWN_ISSUE_IN_GOOGLE_MANAGED_PROJECT",
31: "UNSUPPORTED_GOOGLE_MANAGED_PROJECT_CONFIG",
}
AbortInfo_Cause_value = map[string]int32{
"CAUSE_UNSPECIFIED": 0,
"UNKNOWN_NETWORK": 1,
"UNKNOWN_PROJECT": 3,
"NO_EXTERNAL_IP": 7,
"UNINTENDED_DESTINATION": 8,
"SOURCE_ENDPOINT_NOT_FOUND": 11,
"MISMATCHED_SOURCE_NETWORK": 12,
"DESTINATION_ENDPOINT_NOT_FOUND": 13,
"MISMATCHED_DESTINATION_NETWORK": 14,
"UNKNOWN_IP": 2,
"SOURCE_IP_ADDRESS_NOT_IN_SOURCE_NETWORK": 23,
"PERMISSION_DENIED": 4,
"PERMISSION_DENIED_NO_CLOUD_NAT_CONFIGS": 28,
"PERMISSION_DENIED_NO_NEG_ENDPOINT_CONFIGS": 29,
"NO_SOURCE_LOCATION": 5,
"INVALID_ARGUMENT": 6,
"TRACE_TOO_LONG": 9,
"INTERNAL_ERROR": 10,
"UNSUPPORTED": 15,
"MISMATCHED_IP_VERSION": 16,
"GKE_KONNECTIVITY_PROXY_UNSUPPORTED": 17,
"RESOURCE_CONFIG_NOT_FOUND": 18,
"VM_INSTANCE_CONFIG_NOT_FOUND": 24,
"NETWORK_CONFIG_NOT_FOUND": 25,
"FIREWALL_CONFIG_NOT_FOUND": 26,
"ROUTE_CONFIG_NOT_FOUND": 27,
"GOOGLE_MANAGED_SERVICE_AMBIGUOUS_PSC_ENDPOINT": 19,
"SOURCE_PSC_CLOUD_SQL_UNSUPPORTED": 20,
"SOURCE_FORWARDING_RULE_UNSUPPORTED": 21,
"NON_ROUTABLE_IP_ADDRESS": 22,
"UNKNOWN_ISSUE_IN_GOOGLE_MANAGED_PROJECT": 30,
"UNSUPPORTED_GOOGLE_MANAGED_PROJECT_CONFIG": 31,
}
)
Enum value maps for AbortInfo_Cause.
DropInfo_Cause_name, DropInfo_Cause_value
var (
DropInfo_Cause_name = map[int32]string{
0: "CAUSE_UNSPECIFIED",
1: "UNKNOWN_EXTERNAL_ADDRESS",
2: "FOREIGN_IP_DISALLOWED",
3: "FIREWALL_RULE",
4: "NO_ROUTE",
5: "ROUTE_BLACKHOLE",
6: "ROUTE_WRONG_NETWORK",
42: "ROUTE_NEXT_HOP_IP_ADDRESS_NOT_RESOLVED",
43: "ROUTE_NEXT_HOP_RESOURCE_NOT_FOUND",
49: "ROUTE_NEXT_HOP_INSTANCE_WRONG_NETWORK",
50: "ROUTE_NEXT_HOP_INSTANCE_NON_PRIMARY_IP",
51: "ROUTE_NEXT_HOP_FORWARDING_RULE_IP_MISMATCH",
52: "ROUTE_NEXT_HOP_VPN_TUNNEL_NOT_ESTABLISHED",
53: "ROUTE_NEXT_HOP_FORWARDING_RULE_TYPE_INVALID",
44: "NO_ROUTE_FROM_INTERNET_TO_PRIVATE_IPV6_ADDRESS",
45: "VPN_TUNNEL_LOCAL_SELECTOR_MISMATCH",
46: "VPN_TUNNEL_REMOTE_SELECTOR_MISMATCH",
7: "PRIVATE_TRAFFIC_TO_INTERNET",
8: "PRIVATE_GOOGLE_ACCESS_DISALLOWED",
47: "PRIVATE_GOOGLE_ACCESS_VIA_VPN_TUNNEL_UNSUPPORTED",
9: "NO_EXTERNAL_ADDRESS",
10: "UNKNOWN_INTERNAL_ADDRESS",
11: "FORWARDING_RULE_MISMATCH",
12: "FORWARDING_RULE_NO_INSTANCES",
13: "FIREWALL_BLOCKING_LOAD_BALANCER_BACKEND_HEALTH_CHECK",
14: "INSTANCE_NOT_RUNNING",
27: "GKE_CLUSTER_NOT_RUNNING",
28: "CLOUD_SQL_INSTANCE_NOT_RUNNING",
15: "TRAFFIC_TYPE_BLOCKED",
16: "GKE_MASTER_UNAUTHORIZED_ACCESS",
17: "CLOUD_SQL_INSTANCE_UNAUTHORIZED_ACCESS",
18: "DROPPED_INSIDE_GKE_SERVICE",
19: "DROPPED_INSIDE_CLOUD_SQL_SERVICE",
20: "GOOGLE_MANAGED_SERVICE_NO_PEERING",
38: "GOOGLE_MANAGED_SERVICE_NO_PSC_ENDPOINT",
36: "GKE_PSC_ENDPOINT_MISSING",
21: "CLOUD_SQL_INSTANCE_NO_IP_ADDRESS",
30: "GKE_CONTROL_PLANE_REGION_MISMATCH",
31: "PUBLIC_GKE_CONTROL_PLANE_TO_PRIVATE_DESTINATION",
32: "GKE_CONTROL_PLANE_NO_ROUTE",
33: "CLOUD_SQL_INSTANCE_NOT_CONFIGURED_FOR_EXTERNAL_TRAFFIC",
34: "PUBLIC_CLOUD_SQL_INSTANCE_TO_PRIVATE_DESTINATION",
35: "CLOUD_SQL_INSTANCE_NO_ROUTE",
22: "CLOUD_FUNCTION_NOT_ACTIVE",
23: "VPC_CONNECTOR_NOT_SET",
24: "VPC_CONNECTOR_NOT_RUNNING",
25: "FORWARDING_RULE_REGION_MISMATCH",
26: "PSC_CONNECTION_NOT_ACCEPTED",
41: "PSC_ENDPOINT_ACCESSED_FROM_PEERED_NETWORK",
48: "PSC_NEG_PRODUCER_ENDPOINT_NO_GLOBAL_ACCESS",
54: "PSC_NEG_PRODUCER_FORWARDING_RULE_MULTIPLE_PORTS",
58: "CLOUD_SQL_PSC_NEG_UNSUPPORTED",
57: "NO_NAT_SUBNETS_FOR_PSC_SERVICE_ATTACHMENT",
55: "HYBRID_NEG_NON_DYNAMIC_ROUTE_MATCHED",
56: "HYBRID_NEG_NON_LOCAL_DYNAMIC_ROUTE_MATCHED",
29: "CLOUD_RUN_REVISION_NOT_READY",
37: "DROPPED_INSIDE_PSC_SERVICE_PRODUCER",
39: "LOAD_BALANCER_HAS_NO_PROXY_SUBNET",
40: "CLOUD_NAT_NO_ADDRESSES",
59: "ROUTING_LOOP",
}
DropInfo_Cause_value = map[string]int32{
"CAUSE_UNSPECIFIED": 0,
"UNKNOWN_EXTERNAL_ADDRESS": 1,
"FOREIGN_IP_DISALLOWED": 2,
"FIREWALL_RULE": 3,
"NO_ROUTE": 4,
"ROUTE_BLACKHOLE": 5,
"ROUTE_WRONG_NETWORK": 6,
"ROUTE_NEXT_HOP_IP_ADDRESS_NOT_RESOLVED": 42,
"ROUTE_NEXT_HOP_RESOURCE_NOT_FOUND": 43,
"ROUTE_NEXT_HOP_INSTANCE_WRONG_NETWORK": 49,
"ROUTE_NEXT_HOP_INSTANCE_NON_PRIMARY_IP": 50,
"ROUTE_NEXT_HOP_FORWARDING_RULE_IP_MISMATCH": 51,
"ROUTE_NEXT_HOP_VPN_TUNNEL_NOT_ESTABLISHED": 52,
"ROUTE_NEXT_HOP_FORWARDING_RULE_TYPE_INVALID": 53,
"NO_ROUTE_FROM_INTERNET_TO_PRIVATE_IPV6_ADDRESS": 44,
"VPN_TUNNEL_LOCAL_SELECTOR_MISMATCH": 45,
"VPN_TUNNEL_REMOTE_SELECTOR_MISMATCH": 46,
"PRIVATE_TRAFFIC_TO_INTERNET": 7,
"PRIVATE_GOOGLE_ACCESS_DISALLOWED": 8,
"PRIVATE_GOOGLE_ACCESS_VIA_VPN_TUNNEL_UNSUPPORTED": 47,
"NO_EXTERNAL_ADDRESS": 9,
"UNKNOWN_INTERNAL_ADDRESS": 10,
"FORWARDING_RULE_MISMATCH": 11,
"FORWARDING_RULE_NO_INSTANCES": 12,
"FIREWALL_BLOCKING_LOAD_BALANCER_BACKEND_HEALTH_CHECK": 13,
"INSTANCE_NOT_RUNNING": 14,
"GKE_CLUSTER_NOT_RUNNING": 27,
"CLOUD_SQL_INSTANCE_NOT_RUNNING": 28,
"TRAFFIC_TYPE_BLOCKED": 15,
"GKE_MASTER_UNAUTHORIZED_ACCESS": 16,
"CLOUD_SQL_INSTANCE_UNAUTHORIZED_ACCESS": 17,
"DROPPED_INSIDE_GKE_SERVICE": 18,
"DROPPED_INSIDE_CLOUD_SQL_SERVICE": 19,
"GOOGLE_MANAGED_SERVICE_NO_PEERING": 20,
"GOOGLE_MANAGED_SERVICE_NO_PSC_ENDPOINT": 38,
"GKE_PSC_ENDPOINT_MISSING": 36,
"CLOUD_SQL_INSTANCE_NO_IP_ADDRESS": 21,
"GKE_CONTROL_PLANE_REGION_MISMATCH": 30,
"PUBLIC_GKE_CONTROL_PLANE_TO_PRIVATE_DESTINATION": 31,
"GKE_CONTROL_PLANE_NO_ROUTE": 32,
"CLOUD_SQL_INSTANCE_NOT_CONFIGURED_FOR_EXTERNAL_TRAFFIC": 33,
"PUBLIC_CLOUD_SQL_INSTANCE_TO_PRIVATE_DESTINATION": 34,
"CLOUD_SQL_INSTANCE_NO_ROUTE": 35,
"CLOUD_FUNCTION_NOT_ACTIVE": 22,
"VPC_CONNECTOR_NOT_SET": 23,
"VPC_CONNECTOR_NOT_RUNNING": 24,
"FORWARDING_RULE_REGION_MISMATCH": 25,
"PSC_CONNECTION_NOT_ACCEPTED": 26,
"PSC_ENDPOINT_ACCESSED_FROM_PEERED_NETWORK": 41,
"PSC_NEG_PRODUCER_ENDPOINT_NO_GLOBAL_ACCESS": 48,
"PSC_NEG_PRODUCER_FORWARDING_RULE_MULTIPLE_PORTS": 54,
"CLOUD_SQL_PSC_NEG_UNSUPPORTED": 58,
"NO_NAT_SUBNETS_FOR_PSC_SERVICE_ATTACHMENT": 57,
"HYBRID_NEG_NON_DYNAMIC_ROUTE_MATCHED": 55,
"HYBRID_NEG_NON_LOCAL_DYNAMIC_ROUTE_MATCHED": 56,
"CLOUD_RUN_REVISION_NOT_READY": 29,
"DROPPED_INSIDE_PSC_SERVICE_PRODUCER": 37,
"LOAD_BALANCER_HAS_NO_PROXY_SUBNET": 39,
"CLOUD_NAT_NO_ADDRESSES": 40,
"ROUTING_LOOP": 59,
}
)
Enum value maps for DropInfo_Cause.
NatInfo_Type_name, NatInfo_Type_value
var (
NatInfo_Type_name = map[int32]string{
0: "TYPE_UNSPECIFIED",
1: "INTERNAL_TO_EXTERNAL",
2: "EXTERNAL_TO_INTERNAL",
3: "CLOUD_NAT",
4: "PRIVATE_SERVICE_CONNECT",
}
NatInfo_Type_value = map[string]int32{
"TYPE_UNSPECIFIED": 0,
"INTERNAL_TO_EXTERNAL": 1,
"EXTERNAL_TO_INTERNAL": 2,
"CLOUD_NAT": 3,
"PRIVATE_SERVICE_CONNECT": 4,
}
)
Enum value maps for NatInfo_Type.
LoadBalancerBackendInfo_HealthCheckFirewallsConfigState_name, LoadBalancerBackendInfo_HealthCheckFirewallsConfigState_value
var (
LoadBalancerBackendInfo_HealthCheckFirewallsConfigState_name = map[int32]string{
0: "HEALTH_CHECK_FIREWALLS_CONFIG_STATE_UNSPECIFIED",
1: "FIREWALLS_CONFIGURED",
2: "FIREWALLS_PARTIALLY_CONFIGURED",
3: "FIREWALLS_NOT_CONFIGURED",
4: "FIREWALLS_UNSUPPORTED",
}
LoadBalancerBackendInfo_HealthCheckFirewallsConfigState_value = map[string]int32{
"HEALTH_CHECK_FIREWALLS_CONFIG_STATE_UNSPECIFIED": 0,
"FIREWALLS_CONFIGURED": 1,
"FIREWALLS_PARTIALLY_CONFIGURED": 2,
"FIREWALLS_NOT_CONFIGURED": 3,
"FIREWALLS_UNSUPPORTED": 4,
}
)
Enum value maps for LoadBalancerBackendInfo_HealthCheckFirewallsConfigState.
File_google_cloud_networkmanagement_v1_connectivity_test_proto
var File_google_cloud_networkmanagement_v1_connectivity_test_proto protoreflect.FileDescriptor
File_google_cloud_networkmanagement_v1_reachability_proto
var File_google_cloud_networkmanagement_v1_reachability_proto protoreflect.FileDescriptor
File_google_cloud_networkmanagement_v1_trace_proto
var File_google_cloud_networkmanagement_v1_trace_proto protoreflect.FileDescriptor
Functions
func RegisterReachabilityServiceServer
func RegisterReachabilityServiceServer(s *grpc.Server, srv ReachabilityServiceServer)
AbortInfo
type AbortInfo struct {
Cause AbortInfo_Cause `protobuf:"varint,1,opt,name=cause,proto3,enum=google.cloud.networkmanagement.v1.AbortInfo_Cause" json:"cause,omitempty"`
ResourceUri string `protobuf:"bytes,2,opt,name=resource_uri,json=resourceUri,proto3" json:"resource_uri,omitempty"`
IpAddress string `protobuf:"bytes,4,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"`
ProjectsMissingPermission []string "" /* 138 byte string literal not displayed */
}
Details of the final state "abort" and associated resource.
func (*AbortInfo) Descriptor
Deprecated: Use AbortInfo.ProtoReflect.Descriptor instead.
func (*AbortInfo) GetCause
func (x *AbortInfo) GetCause() AbortInfo_Cause
func (*AbortInfo) GetIpAddress
func (*AbortInfo) GetProjectsMissingPermission
func (*AbortInfo) GetResourceUri
func (*AbortInfo) ProtoMessage
func (*AbortInfo) ProtoMessage()
func (*AbortInfo) ProtoReflect
func (x *AbortInfo) ProtoReflect() protoreflect.Message
func (*AbortInfo) Reset
func (x *AbortInfo) Reset()
func (*AbortInfo) String
AbortInfo_Cause
type AbortInfo_Cause int32
Abort cause types:
AbortInfo_CAUSE_UNSPECIFIED, AbortInfo_UNKNOWN_NETWORK, AbortInfo_UNKNOWN_PROJECT, AbortInfo_NO_EXTERNAL_IP, AbortInfo_UNINTENDED_DESTINATION, AbortInfo_SOURCE_ENDPOINT_NOT_FOUND, AbortInfo_MISMATCHED_SOURCE_NETWORK, AbortInfo_DESTINATION_ENDPOINT_NOT_FOUND, AbortInfo_MISMATCHED_DESTINATION_NETWORK, AbortInfo_UNKNOWN_IP, AbortInfo_SOURCE_IP_ADDRESS_NOT_IN_SOURCE_NETWORK, AbortInfo_PERMISSION_DENIED, AbortInfo_PERMISSION_DENIED_NO_CLOUD_NAT_CONFIGS, AbortInfo_PERMISSION_DENIED_NO_NEG_ENDPOINT_CONFIGS, AbortInfo_NO_SOURCE_LOCATION, AbortInfo_INVALID_ARGUMENT, AbortInfo_TRACE_TOO_LONG, AbortInfo_INTERNAL_ERROR, AbortInfo_UNSUPPORTED, AbortInfo_MISMATCHED_IP_VERSION, AbortInfo_GKE_KONNECTIVITY_PROXY_UNSUPPORTED, AbortInfo_RESOURCE_CONFIG_NOT_FOUND, AbortInfo_VM_INSTANCE_CONFIG_NOT_FOUND, AbortInfo_NETWORK_CONFIG_NOT_FOUND, AbortInfo_FIREWALL_CONFIG_NOT_FOUND, AbortInfo_ROUTE_CONFIG_NOT_FOUND, AbortInfo_GOOGLE_MANAGED_SERVICE_AMBIGUOUS_PSC_ENDPOINT, AbortInfo_SOURCE_PSC_CLOUD_SQL_UNSUPPORTED, AbortInfo_SOURCE_FORWARDING_RULE_UNSUPPORTED, AbortInfo_NON_ROUTABLE_IP_ADDRESS, AbortInfo_UNKNOWN_ISSUE_IN_GOOGLE_MANAGED_PROJECT, AbortInfo_UNSUPPORTED_GOOGLE_MANAGED_PROJECT_CONFIG
const (
// Cause is unspecified.
AbortInfo_CAUSE_UNSPECIFIED AbortInfo_Cause = 0
// Aborted due to unknown network. Deprecated, not used in the new tests.
//
// Deprecated: Marked as deprecated in google/cloud/networkmanagement/v1/trace.proto.
AbortInfo_UNKNOWN_NETWORK AbortInfo_Cause = 1
// Aborted because no project information can be derived from the test
// input. Deprecated, not used in the new tests.
//
// Deprecated: Marked as deprecated in google/cloud/networkmanagement/v1/trace.proto.
AbortInfo_UNKNOWN_PROJECT AbortInfo_Cause = 3
// Aborted because traffic is sent from a public IP to an instance without
// an external IP. Deprecated, not used in the new tests.
//
// Deprecated: Marked as deprecated in google/cloud/networkmanagement/v1/trace.proto.
AbortInfo_NO_EXTERNAL_IP AbortInfo_Cause = 7
// Aborted because none of the traces matches destination information
// specified in the input test request. Deprecated, not used in the new
// tests.
//
// Deprecated: Marked as deprecated in google/cloud/networkmanagement/v1/trace.proto.
AbortInfo_UNINTENDED_DESTINATION AbortInfo_Cause = 8
// Aborted because the source endpoint could not be found. Deprecated, not
// used in the new tests.
//
// Deprecated: Marked as deprecated in google/cloud/networkmanagement/v1/trace.proto.
AbortInfo_SOURCE_ENDPOINT_NOT_FOUND AbortInfo_Cause = 11
// Aborted because the source network does not match the source endpoint.
// Deprecated, not used in the new tests.
//
// Deprecated: Marked as deprecated in google/cloud/networkmanagement/v1/trace.proto.
AbortInfo_MISMATCHED_SOURCE_NETWORK AbortInfo_Cause = 12
// Aborted because the destination endpoint could not be found. Deprecated,
// not used in the new tests.
//
// Deprecated: Marked as deprecated in google/cloud/networkmanagement/v1/trace.proto.
AbortInfo_DESTINATION_ENDPOINT_NOT_FOUND AbortInfo_Cause = 13
// Aborted because the destination network does not match the destination
// endpoint. Deprecated, not used in the new tests.
//
// Deprecated: Marked as deprecated in google/cloud/networkmanagement/v1/trace.proto.
AbortInfo_MISMATCHED_DESTINATION_NETWORK AbortInfo_Cause = 14
// Aborted because no endpoint with the packet's destination IP address is
// found.
AbortInfo_UNKNOWN_IP AbortInfo_Cause = 2
// Aborted because the source IP address doesn't belong to any of the
// subnets of the source VPC network.
AbortInfo_SOURCE_IP_ADDRESS_NOT_IN_SOURCE_NETWORK AbortInfo_Cause = 23
// Aborted because user lacks permission to access all or part of the
// network configurations required to run the test.
AbortInfo_PERMISSION_DENIED AbortInfo_Cause = 4
// Aborted because user lacks permission to access Cloud NAT configs
// required to run the test.
AbortInfo_PERMISSION_DENIED_NO_CLOUD_NAT_CONFIGS AbortInfo_Cause = 28
// Aborted because user lacks permission to access Network endpoint group
// endpoint configs required to run the test.
AbortInfo_PERMISSION_DENIED_NO_NEG_ENDPOINT_CONFIGS AbortInfo_Cause = 29
// Aborted because no valid source or destination endpoint is derived from
// the input test request.
AbortInfo_NO_SOURCE_LOCATION AbortInfo_Cause = 5
// Aborted because the source or destination endpoint specified in
// the request is invalid. Some examples:
// - The request might contain malformed resource URI, project ID, or IP
// address.
// - The request might contain inconsistent information (for example, the
// request might include both the instance and the network, but the instance
// might not have a NIC in that network).
AbortInfo_INVALID_ARGUMENT AbortInfo_Cause = 6
// Aborted because the number of steps in the trace exceeds a certain
// limit. It might be caused by a routing loop.
AbortInfo_TRACE_TOO_LONG AbortInfo_Cause = 9
// Aborted due to internal server error.
AbortInfo_INTERNAL_ERROR AbortInfo_Cause = 10
// Aborted because the test scenario is not supported.
AbortInfo_UNSUPPORTED AbortInfo_Cause = 15
// Aborted because the source and destination resources have no common IP
// version.
AbortInfo_MISMATCHED_IP_VERSION AbortInfo_Cause = 16
// Aborted because the connection between the control plane and the node of
// the source cluster is initiated by the node and managed by the
// Konnectivity proxy.
AbortInfo_GKE_KONNECTIVITY_PROXY_UNSUPPORTED AbortInfo_Cause = 17
// Aborted because expected resource configuration was missing.
AbortInfo_RESOURCE_CONFIG_NOT_FOUND AbortInfo_Cause = 18
// Aborted because expected VM instance configuration was missing.
AbortInfo_VM_INSTANCE_CONFIG_NOT_FOUND AbortInfo_Cause = 24
// Aborted because expected network configuration was missing.
AbortInfo_NETWORK_CONFIG_NOT_FOUND AbortInfo_Cause = 25
// Aborted because expected firewall configuration was missing.
AbortInfo_FIREWALL_CONFIG_NOT_FOUND AbortInfo_Cause = 26
// Aborted because expected route configuration was missing.
AbortInfo_ROUTE_CONFIG_NOT_FOUND AbortInfo_Cause = 27
// Aborted because a PSC endpoint selection for the Google-managed service
// is ambiguous (several PSC endpoints satisfy test input).
AbortInfo_GOOGLE_MANAGED_SERVICE_AMBIGUOUS_PSC_ENDPOINT AbortInfo_Cause = 19
// Aborted because tests with a PSC-based Cloud SQL instance as a source are
// not supported.
AbortInfo_SOURCE_PSC_CLOUD_SQL_UNSUPPORTED AbortInfo_Cause = 20
// Aborted because tests with a forwarding rule as a source are not
// supported.
AbortInfo_SOURCE_FORWARDING_RULE_UNSUPPORTED AbortInfo_Cause = 21
// Aborted because one of the endpoints is a non-routable IP address
// (loopback, link-local, etc).
AbortInfo_NON_ROUTABLE_IP_ADDRESS AbortInfo_Cause = 22
// Aborted due to an unknown issue in the Google-managed project.
AbortInfo_UNKNOWN_ISSUE_IN_GOOGLE_MANAGED_PROJECT AbortInfo_Cause = 30
// Aborted due to an unsupported configuration of the Google-managed
// project.
AbortInfo_UNSUPPORTED_GOOGLE_MANAGED_PROJECT_CONFIG AbortInfo_Cause = 31
)
func (AbortInfo_Cause) Descriptor
func (AbortInfo_Cause) Descriptor() protoreflect.EnumDescriptor
func (AbortInfo_Cause) Enum
func (x AbortInfo_Cause) Enum() *AbortInfo_Cause
func (AbortInfo_Cause) EnumDescriptor
func (AbortInfo_Cause) EnumDescriptor() ([]byte, []int)
Deprecated: Use AbortInfo_Cause.Descriptor instead.
func (AbortInfo_Cause) Number
func (x AbortInfo_Cause) Number() protoreflect.EnumNumber
func (AbortInfo_Cause) String
func (x AbortInfo_Cause) String() string
func (AbortInfo_Cause) Type
func (AbortInfo_Cause) Type() protoreflect.EnumType
AppEngineVersionInfo
type AppEngineVersionInfo struct {
// Name of an App Engine version.
DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// URI of an App Engine version.
Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
// Runtime of the App Engine version.
Runtime string `protobuf:"bytes,3,opt,name=runtime,proto3" json:"runtime,omitempty"`
// App Engine execution environment for a version.
Environment string `protobuf:"bytes,4,opt,name=environment,proto3" json:"environment,omitempty"`
// contains filtered or unexported fields
}
For display only. Metadata associated with an App Engine version.
func (*AppEngineVersionInfo) Descriptor
func (*AppEngineVersionInfo) Descriptor() ([]byte, []int)
Deprecated: Use AppEngineVersionInfo.ProtoReflect.Descriptor instead.
func (*AppEngineVersionInfo) GetDisplayName
func (x *AppEngineVersionInfo) GetDisplayName() string
func (*AppEngineVersionInfo) GetEnvironment
func (x *AppEngineVersionInfo) GetEnvironment() string
func (*AppEngineVersionInfo) GetRuntime
func (x *AppEngineVersionInfo) GetRuntime() string
func (*AppEngineVersionInfo) GetUri
func (x *AppEngineVersionInfo) GetUri() string
func (*AppEngineVersionInfo) ProtoMessage
func (*AppEngineVersionInfo) ProtoMessage()
func (*AppEngineVersionInfo) ProtoReflect
func (x *AppEngineVersionInfo) ProtoReflect() protoreflect.Message
func (*AppEngineVersionInfo) Reset
func (x *AppEngineVersionInfo) Reset()
func (*AppEngineVersionInfo) String
func (x *AppEngineVersionInfo) String() string
CloudFunctionInfo
type CloudFunctionInfo struct {
// Name of a Cloud Function.
DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// URI of a Cloud Function.
Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
// Location in which the Cloud Function is deployed.
Location string `protobuf:"bytes,3,opt,name=location,proto3" json:"location,omitempty"`
// Latest successfully deployed version id of the Cloud Function.
VersionId int64 `protobuf:"varint,4,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"`
// contains filtered or unexported fields
}
For display only. Metadata associated with a Cloud Function.
func (*CloudFunctionInfo) Descriptor
func (*CloudFunctionInfo) Descriptor() ([]byte, []int)
Deprecated: Use CloudFunctionInfo.ProtoReflect.Descriptor instead.
func (*CloudFunctionInfo) GetDisplayName
func (x *CloudFunctionInfo) GetDisplayName() string
func (*CloudFunctionInfo) GetLocation
func (x *CloudFunctionInfo) GetLocation() string
func (*CloudFunctionInfo) GetUri
func (x *CloudFunctionInfo) GetUri() string
func (*CloudFunctionInfo) GetVersionId
func (x *CloudFunctionInfo) GetVersionId() int64
func (*CloudFunctionInfo) ProtoMessage
func (*CloudFunctionInfo) ProtoMessage()
func (*CloudFunctionInfo) ProtoReflect
func (x *CloudFunctionInfo) ProtoReflect() protoreflect.Message
func (*CloudFunctionInfo) Reset
func (x *CloudFunctionInfo) Reset()
func (*CloudFunctionInfo) String
func (x *CloudFunctionInfo) String() string
CloudRunRevisionInfo
type CloudRunRevisionInfo struct {
// Name of a Cloud Run revision.
DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// URI of a Cloud Run revision.
Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
// Location in which this revision is deployed.
Location string `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"`
// URI of Cloud Run service this revision belongs to.
ServiceUri string `protobuf:"bytes,5,opt,name=service_uri,json=serviceUri,proto3" json:"service_uri,omitempty"`
// contains filtered or unexported fields
}
For display only. Metadata associated with a Cloud Run revision.
func (*CloudRunRevisionInfo) Descriptor
func (*CloudRunRevisionInfo) Descriptor() ([]byte, []int)
Deprecated: Use CloudRunRevisionInfo.ProtoReflect.Descriptor instead.
func (*CloudRunRevisionInfo) GetDisplayName
func (x *CloudRunRevisionInfo) GetDisplayName() string
func (*CloudRunRevisionInfo) GetLocation
func (x *CloudRunRevisionInfo) GetLocation() string
func (*CloudRunRevisionInfo) GetServiceUri
func (x *CloudRunRevisionInfo) GetServiceUri() string
func (*CloudRunRevisionInfo) GetUri
func (x *CloudRunRevisionInfo) GetUri() string
func (*CloudRunRevisionInfo) ProtoMessage
func (*CloudRunRevisionInfo) ProtoMessage()
func (*CloudRunRevisionInfo) ProtoReflect
func (x *CloudRunRevisionInfo) ProtoReflect() protoreflect.Message
func (*CloudRunRevisionInfo) Reset
func (x *CloudRunRevisionInfo) Reset()
func (*CloudRunRevisionInfo) String
func (x *CloudRunRevisionInfo) String() string
CloudSQLInstanceInfo
type CloudSQLInstanceInfo struct {
// Name of a Cloud SQL instance.
DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// URI of a Cloud SQL instance.
Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
// URI of a Cloud SQL instance network or empty string if the instance does
// not have one.
NetworkUri string `protobuf:"bytes,4,opt,name=network_uri,json=networkUri,proto3" json:"network_uri,omitempty"`
// Internal IP address of a Cloud SQL instance.
InternalIp string `protobuf:"bytes,5,opt,name=internal_ip,json=internalIp,proto3" json:"internal_ip,omitempty"`
// External IP address of a Cloud SQL instance.
ExternalIp string `protobuf:"bytes,6,opt,name=external_ip,json=externalIp,proto3" json:"external_ip,omitempty"`
// Region in which the Cloud SQL instance is running.
Region string `protobuf:"bytes,7,opt,name=region,proto3" json:"region,omitempty"`
// contains filtered or unexported fields
}
For display only. Metadata associated with a Cloud SQL instance.
func (*CloudSQLInstanceInfo) Descriptor
func (*CloudSQLInstanceInfo) Descriptor() ([]byte, []int)
Deprecated: Use CloudSQLInstanceInfo.ProtoReflect.Descriptor instead.
func (*CloudSQLInstanceInfo) GetDisplayName
func (x *CloudSQLInstanceInfo) GetDisplayName() string
func (*CloudSQLInstanceInfo) GetExternalIp
func (x *CloudSQLInstanceInfo) GetExternalIp() string
func (*CloudSQLInstanceInfo) GetInternalIp
func (x *CloudSQLInstanceInfo) GetInternalIp() string
func (*CloudSQLInstanceInfo) GetNetworkUri
func (x *CloudSQLInstanceInfo) GetNetworkUri() string
func (*CloudSQLInstanceInfo) GetRegion
func (x *CloudSQLInstanceInfo) GetRegion() string
func (*CloudSQLInstanceInfo) GetUri
func (x *CloudSQLInstanceInfo) GetUri() string
func (*CloudSQLInstanceInfo) ProtoMessage
func (*CloudSQLInstanceInfo) ProtoMessage()
func (*CloudSQLInstanceInfo) ProtoReflect
func (x *CloudSQLInstanceInfo) ProtoReflect() protoreflect.Message
func (*CloudSQLInstanceInfo) Reset
func (x *CloudSQLInstanceInfo) Reset()
func (*CloudSQLInstanceInfo) String
func (x *CloudSQLInstanceInfo) String() string
ConnectivityTest
type ConnectivityTest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
Source *Endpoint `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"`
Destination *Endpoint `protobuf:"bytes,4,opt,name=destination,proto3" json:"destination,omitempty"`
Protocol string `protobuf:"bytes,5,opt,name=protocol,proto3" json:"protocol,omitempty"`
RelatedProjects []string `protobuf:"bytes,6,rep,name=related_projects,json=relatedProjects,proto3" json:"related_projects,omitempty"`
DisplayName string `protobuf:"bytes,7,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
Labels map[string]string "" /* 153 byte string literal not displayed */
CreateTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
ReachabilityDetails *ReachabilityDetails `protobuf:"bytes,12,opt,name=reachability_details,json=reachabilityDetails,proto3" json:"reachability_details,omitempty"`
ProbingDetails *ProbingDetails `protobuf:"bytes,14,opt,name=probing_details,json=probingDetails,proto3" json:"probing_details,omitempty"`
BypassFirewallChecks bool `protobuf:"varint,17,opt,name=bypass_firewall_checks,json=bypassFirewallChecks,proto3" json:"bypass_firewall_checks,omitempty"`
}
A Connectivity Test for a network reachability analysis.
func (*ConnectivityTest) Descriptor
func (*ConnectivityTest) Descriptor() ([]byte, []int)
Deprecated: Use ConnectivityTest.ProtoReflect.Descriptor instead.
func (*ConnectivityTest) GetBypassFirewallChecks
func (x *ConnectivityTest) GetBypassFirewallChecks() bool
func (*ConnectivityTest) GetCreateTime
func (x *ConnectivityTest) GetCreateTime() *timestamppb.Timestamp
func (*ConnectivityTest) GetDescription
func (x *ConnectivityTest) GetDescription() string
func (*ConnectivityTest) GetDestination
func (x *ConnectivityTest) GetDestination() *Endpoint
func (*ConnectivityTest) GetDisplayName
func (x *ConnectivityTest) GetDisplayName() string
func (*ConnectivityTest) GetLabels
func (x *ConnectivityTest) GetLabels() map[string]string
func (*ConnectivityTest) GetName
func (x *ConnectivityTest) GetName() string
func (*ConnectivityTest) GetProbingDetails
func (x *ConnectivityTest) GetProbingDetails() *ProbingDetails
func (*ConnectivityTest) GetProtocol
func (x *ConnectivityTest) GetProtocol() string
func (*ConnectivityTest) GetReachabilityDetails
func (x *ConnectivityTest) GetReachabilityDetails() *ReachabilityDetails
func (*ConnectivityTest) GetRelatedProjects
func (x *ConnectivityTest) GetRelatedProjects() []string
func (*ConnectivityTest) GetSource
func (x *ConnectivityTest) GetSource() *Endpoint
func (*ConnectivityTest) GetUpdateTime
func (x *ConnectivityTest) GetUpdateTime() *timestamppb.Timestamp
func (*ConnectivityTest) ProtoMessage
func (*ConnectivityTest) ProtoMessage()
func (*ConnectivityTest) ProtoReflect
func (x *ConnectivityTest) ProtoReflect() protoreflect.Message
func (*ConnectivityTest) Reset
func (x *ConnectivityTest) Reset()
func (*ConnectivityTest) String
func (x *ConnectivityTest) String() string
CreateConnectivityTestRequest
type CreateConnectivityTestRequest struct {
// Required. The parent resource of the Connectivity Test to create:
//
// `projects/{project_id}/locations/global`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The logical name of the Connectivity Test in your project
// with the following restrictions:
//
// * Must contain only lowercase letters, numbers, and hyphens.
// * Must start with a letter.
// * Must be between 1-40 characters.
// * Must end with a number or a letter.
// * Must be unique within the customer project
TestId string `protobuf:"bytes,2,opt,name=test_id,json=testId,proto3" json:"test_id,omitempty"`
// Required. A `ConnectivityTest` resource
Resource *ConnectivityTest `protobuf:"bytes,3,opt,name=resource,proto3" json:"resource,omitempty"`
// contains filtered or unexported fields
}
Request for the CreateConnectivityTest
method.
func (*CreateConnectivityTestRequest) Descriptor
func (*CreateConnectivityTestRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateConnectivityTestRequest.ProtoReflect.Descriptor instead.
func (*CreateConnectivityTestRequest) GetParent
func (x *CreateConnectivityTestRequest) GetParent() string
func (*CreateConnectivityTestRequest) GetResource
func (x *CreateConnectivityTestRequest) GetResource() *ConnectivityTest
func (*CreateConnectivityTestRequest) GetTestId
func (x *CreateConnectivityTestRequest) GetTestId() string
func (*CreateConnectivityTestRequest) ProtoMessage
func (*CreateConnectivityTestRequest) ProtoMessage()
func (*CreateConnectivityTestRequest) ProtoReflect
func (x *CreateConnectivityTestRequest) ProtoReflect() protoreflect.Message
func (*CreateConnectivityTestRequest) Reset
func (x *CreateConnectivityTestRequest) Reset()
func (*CreateConnectivityTestRequest) String
func (x *CreateConnectivityTestRequest) String() string
DeleteConnectivityTestRequest
type DeleteConnectivityTestRequest struct {
// Required. Connectivity Test resource name using the form:
//
// `projects/{project_id}/locations/global/connectivityTests/{test_id}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request for the DeleteConnectivityTest
method.
func (*DeleteConnectivityTestRequest) Descriptor
func (*DeleteConnectivityTestRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteConnectivityTestRequest.ProtoReflect.Descriptor instead.
func (*DeleteConnectivityTestRequest) GetName
func (x *DeleteConnectivityTestRequest) GetName() string
func (*DeleteConnectivityTestRequest) ProtoMessage
func (*DeleteConnectivityTestRequest) ProtoMessage()
func (*DeleteConnectivityTestRequest) ProtoReflect
func (x *DeleteConnectivityTestRequest) ProtoReflect() protoreflect.Message
func (*DeleteConnectivityTestRequest) Reset
func (x *DeleteConnectivityTestRequest) Reset()
func (*DeleteConnectivityTestRequest) String
func (x *DeleteConnectivityTestRequest) String() string
DeliverInfo
type DeliverInfo struct {
// Target type where the packet is delivered to.
Target DeliverInfo_Target `protobuf:"varint,1,opt,name=target,proto3,enum=google.cloud.networkmanagement.v1.DeliverInfo_Target" json:"target,omitempty"`
// URI of the resource that the packet is delivered to.
ResourceUri string `protobuf:"bytes,2,opt,name=resource_uri,json=resourceUri,proto3" json:"resource_uri,omitempty"`
// IP address of the target (if applicable).
IpAddress string `protobuf:"bytes,3,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"`
// contains filtered or unexported fields
}
Details of the final state "deliver" and associated resource.
func (*DeliverInfo) Descriptor
func (*DeliverInfo) Descriptor() ([]byte, []int)
Deprecated: Use DeliverInfo.ProtoReflect.Descriptor instead.
func (*DeliverInfo) GetIpAddress
func (x *DeliverInfo) GetIpAddress() string
func (*DeliverInfo) GetResourceUri
func (x *DeliverInfo) GetResourceUri() string
func (*DeliverInfo) GetTarget
func (x *DeliverInfo) GetTarget() DeliverInfo_Target
func (*DeliverInfo) ProtoMessage
func (*DeliverInfo) ProtoMessage()
func (*DeliverInfo) ProtoReflect
func (x *DeliverInfo) ProtoReflect() protoreflect.Message
func (*DeliverInfo) Reset
func (x *DeliverInfo) Reset()
func (*DeliverInfo) String
func (x *DeliverInfo) String() string
DeliverInfo_Target
type DeliverInfo_Target int32
Deliver target types:
DeliverInfo_TARGET_UNSPECIFIED, DeliverInfo_INSTANCE, DeliverInfo_INTERNET, DeliverInfo_GOOGLE_API, DeliverInfo_GKE_MASTER, DeliverInfo_CLOUD_SQL_INSTANCE, DeliverInfo_PSC_PUBLISHED_SERVICE, DeliverInfo_PSC_GOOGLE_API, DeliverInfo_PSC_VPC_SC, DeliverInfo_SERVERLESS_NEG, DeliverInfo_STORAGE_BUCKET, DeliverInfo_PRIVATE_NETWORK, DeliverInfo_CLOUD_FUNCTION, DeliverInfo_APP_ENGINE_VERSION, DeliverInfo_CLOUD_RUN_REVISION
const (
// Target not specified.
DeliverInfo_TARGET_UNSPECIFIED DeliverInfo_Target = 0
// Target is a Compute Engine instance.
DeliverInfo_INSTANCE DeliverInfo_Target = 1
// Target is the internet.
DeliverInfo_INTERNET DeliverInfo_Target = 2
// Target is a Google API.
DeliverInfo_GOOGLE_API DeliverInfo_Target = 3
// Target is a Google Kubernetes Engine cluster master.
DeliverInfo_GKE_MASTER DeliverInfo_Target = 4
// Target is a Cloud SQL instance.
DeliverInfo_CLOUD_SQL_INSTANCE DeliverInfo_Target = 5
// Target is a published service that uses [Private Service
// Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-services).
DeliverInfo_PSC_PUBLISHED_SERVICE DeliverInfo_Target = 6
// Target is all Google APIs that use [Private Service
// Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-apis).
DeliverInfo_PSC_GOOGLE_API DeliverInfo_Target = 7
// Target is a VPC-SC that uses [Private Service
// Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-apis).
DeliverInfo_PSC_VPC_SC DeliverInfo_Target = 8
// Target is a serverless network endpoint group.
DeliverInfo_SERVERLESS_NEG DeliverInfo_Target = 9
// Target is a Cloud Storage bucket.
DeliverInfo_STORAGE_BUCKET DeliverInfo_Target = 10
// Target is a private network. Used only for return traces.
DeliverInfo_PRIVATE_NETWORK DeliverInfo_Target = 11
// Target is a Cloud Function. Used only for return traces.
DeliverInfo_CLOUD_FUNCTION DeliverInfo_Target = 12
// Target is a App Engine service version. Used only for return traces.
DeliverInfo_APP_ENGINE_VERSION DeliverInfo_Target = 13
// Target is a Cloud Run revision. Used only for return traces.
DeliverInfo_CLOUD_RUN_REVISION DeliverInfo_Target = 14
)
func (DeliverInfo_Target) Descriptor
func (DeliverInfo_Target) Descriptor() protoreflect.EnumDescriptor
func (DeliverInfo_Target) Enum
func (x DeliverInfo_Target) Enum() *DeliverInfo_Target
func (DeliverInfo_Target) EnumDescriptor
func (DeliverInfo_Target) EnumDescriptor() ([]byte, []int)
Deprecated: Use DeliverInfo_Target.Descriptor instead.
func (DeliverInfo_Target) Number
func (x DeliverInfo_Target) Number() protoreflect.EnumNumber
func (DeliverInfo_Target) String
func (x DeliverInfo_Target) String() string
func (DeliverInfo_Target) Type
func (DeliverInfo_Target) Type() protoreflect.EnumType
DropInfo
type DropInfo struct {
// Cause that the packet is dropped.
Cause DropInfo_Cause `protobuf:"varint,1,opt,name=cause,proto3,enum=google.cloud.networkmanagement.v1.DropInfo_Cause" json:"cause,omitempty"`
// URI of the resource that caused the drop.
ResourceUri string `protobuf:"bytes,2,opt,name=resource_uri,json=resourceUri,proto3" json:"resource_uri,omitempty"`
// Source IP address of the dropped packet (if relevant).
SourceIp string `protobuf:"bytes,3,opt,name=source_ip,json=sourceIp,proto3" json:"source_ip,omitempty"`
// Destination IP address of the dropped packet (if relevant).
DestinationIp string `protobuf:"bytes,4,opt,name=destination_ip,json=destinationIp,proto3" json:"destination_ip,omitempty"`
// Region of the dropped packet (if relevant).
Region string `protobuf:"bytes,5,opt,name=region,proto3" json:"region,omitempty"`
// contains filtered or unexported fields
}
Details of the final state "drop" and associated resource.
func (*DropInfo) Descriptor
Deprecated: Use DropInfo.ProtoReflect.Descriptor instead.
func (*DropInfo) GetCause
func (x *DropInfo) GetCause() DropInfo_Cause
func (*DropInfo) GetDestinationIp
func (*DropInfo) GetRegion
func (*DropInfo) GetResourceUri
func (*DropInfo) GetSourceIp
func (*DropInfo) ProtoMessage
func (*DropInfo) ProtoMessage()
func (*DropInfo) ProtoReflect
func (x *DropInfo) ProtoReflect() protoreflect.Message
func (*DropInfo) Reset
func (x *DropInfo) Reset()
func (*DropInfo) String
DropInfo_Cause
type DropInfo_Cause int32
Drop cause types:
DropInfo_CAUSE_UNSPECIFIED, DropInfo_UNKNOWN_EXTERNAL_ADDRESS, DropInfo_FOREIGN_IP_DISALLOWED, DropInfo_FIREWALL_RULE, DropInfo_NO_ROUTE, DropInfo_ROUTE_BLACKHOLE, DropInfo_ROUTE_WRONG_NETWORK, DropInfo_ROUTE_NEXT_HOP_IP_ADDRESS_NOT_RESOLVED, DropInfo_ROUTE_NEXT_HOP_RESOURCE_NOT_FOUND, DropInfo_ROUTE_NEXT_HOP_INSTANCE_WRONG_NETWORK, DropInfo_ROUTE_NEXT_HOP_INSTANCE_NON_PRIMARY_IP, DropInfo_ROUTE_NEXT_HOP_FORWARDING_RULE_IP_MISMATCH, DropInfo_ROUTE_NEXT_HOP_VPN_TUNNEL_NOT_ESTABLISHED, DropInfo_ROUTE_NEXT_HOP_FORWARDING_RULE_TYPE_INVALID, DropInfo_NO_ROUTE_FROM_INTERNET_TO_PRIVATE_IPV6_ADDRESS, DropInfo_VPN_TUNNEL_LOCAL_SELECTOR_MISMATCH, DropInfo_VPN_TUNNEL_REMOTE_SELECTOR_MISMATCH, DropInfo_PRIVATE_TRAFFIC_TO_INTERNET, DropInfo_PRIVATE_GOOGLE_ACCESS_DISALLOWED, DropInfo_PRIVATE_GOOGLE_ACCESS_VIA_VPN_TUNNEL_UNSUPPORTED, DropInfo_NO_EXTERNAL_ADDRESS, DropInfo_UNKNOWN_INTERNAL_ADDRESS, DropInfo_FORWARDING_RULE_MISMATCH, DropInfo_FORWARDING_RULE_NO_INSTANCES, DropInfo_FIREWALL_BLOCKING_LOAD_BALANCER_BACKEND_HEALTH_CHECK, DropInfo_INSTANCE_NOT_RUNNING, DropInfo_GKE_CLUSTER_NOT_RUNNING, DropInfo_CLOUD_SQL_INSTANCE_NOT_RUNNING, DropInfo_TRAFFIC_TYPE_BLOCKED, DropInfo_GKE_MASTER_UNAUTHORIZED_ACCESS, DropInfo_CLOUD_SQL_INSTANCE_UNAUTHORIZED_ACCESS, DropInfo_DROPPED_INSIDE_GKE_SERVICE, DropInfo_DROPPED_INSIDE_CLOUD_SQL_SERVICE, DropInfo_GOOGLE_MANAGED_SERVICE_NO_PEERING, DropInfo_GOOGLE_MANAGED_SERVICE_NO_PSC_ENDPOINT, DropInfo_GKE_PSC_ENDPOINT_MISSING, DropInfo_CLOUD_SQL_INSTANCE_NO_IP_ADDRESS, DropInfo_GKE_CONTROL_PLANE_REGION_MISMATCH, DropInfo_PUBLIC_GKE_CONTROL_PLANE_TO_PRIVATE_DESTINATION, DropInfo_GKE_CONTROL_PLANE_NO_ROUTE, DropInfo_CLOUD_SQL_INSTANCE_NOT_CONFIGURED_FOR_EXTERNAL_TRAFFIC, DropInfo_PUBLIC_CLOUD_SQL_INSTANCE_TO_PRIVATE_DESTINATION, DropInfo_CLOUD_SQL_INSTANCE_NO_ROUTE, DropInfo_CLOUD_FUNCTION_NOT_ACTIVE, DropInfo_VPC_CONNECTOR_NOT_SET, DropInfo_VPC_CONNECTOR_NOT_RUNNING, DropInfo_FORWARDING_RULE_REGION_MISMATCH, DropInfo_PSC_CONNECTION_NOT_ACCEPTED, DropInfo_PSC_ENDPOINT_ACCESSED_FROM_PEERED_NETWORK, DropInfo_PSC_NEG_PRODUCER_ENDPOINT_NO_GLOBAL_ACCESS, DropInfo_PSC_NEG_PRODUCER_FORWARDING_RULE_MULTIPLE_PORTS, DropInfo_CLOUD_SQL_PSC_NEG_UNSUPPORTED, DropInfo_NO_NAT_SUBNETS_FOR_PSC_SERVICE_ATTACHMENT, DropInfo_HYBRID_NEG_NON_DYNAMIC_ROUTE_MATCHED, DropInfo_HYBRID_NEG_NON_LOCAL_DYNAMIC_ROUTE_MATCHED, DropInfo_CLOUD_RUN_REVISION_NOT_READY, DropInfo_DROPPED_INSIDE_PSC_SERVICE_PRODUCER, DropInfo_LOAD_BALANCER_HAS_NO_PROXY_SUBNET, DropInfo_CLOUD_NAT_NO_ADDRESSES, DropInfo_ROUTING_LOOP
const (
// Cause is unspecified.
DropInfo_CAUSE_UNSPECIFIED DropInfo_Cause = 0
// Destination external address cannot be resolved to a known target. If
// the address is used in a Google Cloud project, provide the project ID
// as test input.
DropInfo_UNKNOWN_EXTERNAL_ADDRESS DropInfo_Cause = 1
// A Compute Engine instance can only send or receive a packet with a
// foreign IP address if ip_forward is enabled.
DropInfo_FOREIGN_IP_DISALLOWED DropInfo_Cause = 2
// Dropped due to a firewall rule, unless allowed due to connection
// tracking.
DropInfo_FIREWALL_RULE DropInfo_Cause = 3
// Dropped due to no matching routes.
DropInfo_NO_ROUTE DropInfo_Cause = 4
// Dropped due to invalid route. Route's next hop is a blackhole.
DropInfo_ROUTE_BLACKHOLE DropInfo_Cause = 5
// Packet is sent to a wrong (unintended) network. Example: you trace a
// packet from VM1:Network1 to VM2:Network2, however, the route configured
// in Network1 sends the packet destined for VM2's IP address to Network3.
DropInfo_ROUTE_WRONG_NETWORK DropInfo_Cause = 6
// Route's next hop IP address cannot be resolved to a GCP resource.
DropInfo_ROUTE_NEXT_HOP_IP_ADDRESS_NOT_RESOLVED DropInfo_Cause = 42
// Route's next hop resource is not found.
DropInfo_ROUTE_NEXT_HOP_RESOURCE_NOT_FOUND DropInfo_Cause = 43
// Route's next hop instance doesn't have a NIC in the route's network.
DropInfo_ROUTE_NEXT_HOP_INSTANCE_WRONG_NETWORK DropInfo_Cause = 49
// Route's next hop IP address is not a primary IP address of the next hop
// instance.
DropInfo_ROUTE_NEXT_HOP_INSTANCE_NON_PRIMARY_IP DropInfo_Cause = 50
// Route's next hop forwarding rule doesn't match next hop IP address.
DropInfo_ROUTE_NEXT_HOP_FORWARDING_RULE_IP_MISMATCH DropInfo_Cause = 51
// Route's next hop VPN tunnel is down (does not have valid IKE SAs).
DropInfo_ROUTE_NEXT_HOP_VPN_TUNNEL_NOT_ESTABLISHED DropInfo_Cause = 52
// Route's next hop forwarding rule type is invalid (it's not a forwarding
// rule of the internal passthrough load balancer).
DropInfo_ROUTE_NEXT_HOP_FORWARDING_RULE_TYPE_INVALID DropInfo_Cause = 53
// Packet is sent from the Internet to the private IPv6 address.
DropInfo_NO_ROUTE_FROM_INTERNET_TO_PRIVATE_IPV6_ADDRESS DropInfo_Cause = 44
// The packet does not match a policy-based VPN tunnel local selector.
DropInfo_VPN_TUNNEL_LOCAL_SELECTOR_MISMATCH DropInfo_Cause = 45
// The packet does not match a policy-based VPN tunnel remote selector.
DropInfo_VPN_TUNNEL_REMOTE_SELECTOR_MISMATCH DropInfo_Cause = 46
// Packet with internal destination address sent to the internet gateway.
DropInfo_PRIVATE_TRAFFIC_TO_INTERNET DropInfo_Cause = 7
// Instance with only an internal IP address tries to access Google API and
// services, but private Google access is not enabled in the subnet.
DropInfo_PRIVATE_GOOGLE_ACCESS_DISALLOWED DropInfo_Cause = 8
// Source endpoint tries to access Google API and services through the VPN
// tunnel to another network, but Private Google Access needs to be enabled
// in the source endpoint network.
DropInfo_PRIVATE_GOOGLE_ACCESS_VIA_VPN_TUNNEL_UNSUPPORTED DropInfo_Cause = 47
// Instance with only an internal IP address tries to access external hosts,
// but Cloud NAT is not enabled in the subnet, unless special configurations
// on a VM allow this connection.
DropInfo_NO_EXTERNAL_ADDRESS DropInfo_Cause = 9
// Destination internal address cannot be resolved to a known target. If
// this is a shared VPC scenario, verify if the service project ID is
// provided as test input. Otherwise, verify if the IP address is being
// used in the project.
DropInfo_UNKNOWN_INTERNAL_ADDRESS DropInfo_Cause = 10
// Forwarding rule's protocol and ports do not match the packet header.
DropInfo_FORWARDING_RULE_MISMATCH DropInfo_Cause = 11
// Forwarding rule does not have backends configured.
DropInfo_FORWARDING_RULE_NO_INSTANCES DropInfo_Cause = 12
// Firewalls block the health check probes to the backends and cause
// the backends to be unavailable for traffic from the load balancer.
// For more details, see [Health check firewall
// rules](https://cloud.google.com/load-balancing/docs/health-checks#firewall_rules).
DropInfo_FIREWALL_BLOCKING_LOAD_BALANCER_BACKEND_HEALTH_CHECK DropInfo_Cause = 13
// Packet is sent from or to a Compute Engine instance that is not in a
// running state.
DropInfo_INSTANCE_NOT_RUNNING DropInfo_Cause = 14
// Packet sent from or to a GKE cluster that is not in running state.
DropInfo_GKE_CLUSTER_NOT_RUNNING DropInfo_Cause = 27
// Packet sent from or to a Cloud SQL instance that is not in running state.
DropInfo_CLOUD_SQL_INSTANCE_NOT_RUNNING DropInfo_Cause = 28
// The type of traffic is blocked and the user cannot configure a firewall
// rule to enable it. See [Always blocked
// traffic](https://cloud.google.com/vpc/docs/firewalls#blockedtraffic) for
// more details.
DropInfo_TRAFFIC_TYPE_BLOCKED DropInfo_Cause = 15
// Access to Google Kubernetes Engine cluster master's endpoint is not
// authorized. See [Access to the cluster
// endpoints](https://cloud.google.com/kubernetes-engine/docs/how-to/private-clusters#access_to_the_cluster_endpoints)
// for more details.
DropInfo_GKE_MASTER_UNAUTHORIZED_ACCESS DropInfo_Cause = 16
// Access to the Cloud SQL instance endpoint is not authorized.
// See [Authorizing with authorized
// networks](https://cloud.google.com/sql/docs/mysql/authorize-networks) for
// more details.
DropInfo_CLOUD_SQL_INSTANCE_UNAUTHORIZED_ACCESS DropInfo_Cause = 17
// Packet was dropped inside Google Kubernetes Engine Service.
DropInfo_DROPPED_INSIDE_GKE_SERVICE DropInfo_Cause = 18
// Packet was dropped inside Cloud SQL Service.
DropInfo_DROPPED_INSIDE_CLOUD_SQL_SERVICE DropInfo_Cause = 19
// Packet was dropped because there is no peering between the originating
// network and the Google Managed Services Network.
DropInfo_GOOGLE_MANAGED_SERVICE_NO_PEERING DropInfo_Cause = 20
// Packet was dropped because the Google-managed service uses Private
// Service Connect (PSC), but the PSC endpoint is not found in the project.
DropInfo_GOOGLE_MANAGED_SERVICE_NO_PSC_ENDPOINT DropInfo_Cause = 38
// Packet was dropped because the GKE cluster uses Private Service Connect
// (PSC), but the PSC endpoint is not found in the project.
DropInfo_GKE_PSC_ENDPOINT_MISSING DropInfo_Cause = 36
// Packet was dropped because the Cloud SQL instance has neither a private
// nor a public IP address.
DropInfo_CLOUD_SQL_INSTANCE_NO_IP_ADDRESS DropInfo_Cause = 21
// Packet was dropped because a GKE cluster private endpoint is
// unreachable from a region different from the cluster's region.
DropInfo_GKE_CONTROL_PLANE_REGION_MISMATCH DropInfo_Cause = 30
// Packet sent from a public GKE cluster control plane to a private
// IP address.
DropInfo_PUBLIC_GKE_CONTROL_PLANE_TO_PRIVATE_DESTINATION DropInfo_Cause = 31
// Packet was dropped because there is no route from a GKE cluster
// control plane to a destination network.
DropInfo_GKE_CONTROL_PLANE_NO_ROUTE DropInfo_Cause = 32
// Packet sent from a Cloud SQL instance to an external IP address is not
// allowed. The Cloud SQL instance is not configured to send packets to
// external IP addresses.
DropInfo_CLOUD_SQL_INSTANCE_NOT_CONFIGURED_FOR_EXTERNAL_TRAFFIC DropInfo_Cause = 33
// Packet sent from a Cloud SQL instance with only a public IP address to a
// private IP address.
DropInfo_PUBLIC_CLOUD_SQL_INSTANCE_TO_PRIVATE_DESTINATION DropInfo_Cause = 34
// Packet was dropped because there is no route from a Cloud SQL
// instance to a destination network.
DropInfo_CLOUD_SQL_INSTANCE_NO_ROUTE DropInfo_Cause = 35
// Packet could be dropped because the Cloud Function is not in an active
// status.
DropInfo_CLOUD_FUNCTION_NOT_ACTIVE DropInfo_Cause = 22
// Packet could be dropped because no VPC connector is set.
DropInfo_VPC_CONNECTOR_NOT_SET DropInfo_Cause = 23
// Packet could be dropped because the VPC connector is not in a running
// state.
DropInfo_VPC_CONNECTOR_NOT_RUNNING DropInfo_Cause = 24
// Packet could be dropped because it was sent from a different region
// to a regional forwarding without global access.
DropInfo_FORWARDING_RULE_REGION_MISMATCH DropInfo_Cause = 25
// The Private Service Connect endpoint is in a project that is not approved
// to connect to the service.
DropInfo_PSC_CONNECTION_NOT_ACCEPTED DropInfo_Cause = 26
// The packet is sent to the Private Service Connect endpoint over the
// peering, but [it's not
// supported](https://cloud.google.com/vpc/docs/configure-private-service-connect-services#on-premises).
DropInfo_PSC_ENDPOINT_ACCESSED_FROM_PEERED_NETWORK DropInfo_Cause = 41
// The packet is sent to the Private Service Connect backend (network
// endpoint group), but the producer PSC forwarding rule does not have
// global access enabled.
DropInfo_PSC_NEG_PRODUCER_ENDPOINT_NO_GLOBAL_ACCESS DropInfo_Cause = 48
// The packet is sent to the Private Service Connect backend (network
// endpoint group), but the producer PSC forwarding rule has multiple ports
// specified.
DropInfo_PSC_NEG_PRODUCER_FORWARDING_RULE_MULTIPLE_PORTS DropInfo_Cause = 54
// The packet is sent to the Private Service Connect backend (network
// endpoint group) targeting a Cloud SQL service attachment, but this
// configuration is not supported.
DropInfo_CLOUD_SQL_PSC_NEG_UNSUPPORTED DropInfo_Cause = 58
// No NAT subnets are defined for the PSC service attachment.
DropInfo_NO_NAT_SUBNETS_FOR_PSC_SERVICE_ATTACHMENT DropInfo_Cause = 57
// The packet sent from the hybrid NEG proxy matches a non-dynamic route,
// but such a configuration is not supported.
DropInfo_HYBRID_NEG_NON_DYNAMIC_ROUTE_MATCHED DropInfo_Cause = 55
// The packet sent from the hybrid NEG proxy matches a dynamic route with a
// next hop in a different region, but such a configuration is not
// supported.
DropInfo_HYBRID_NEG_NON_LOCAL_DYNAMIC_ROUTE_MATCHED DropInfo_Cause = 56
// Packet sent from a Cloud Run revision that is not ready.
DropInfo_CLOUD_RUN_REVISION_NOT_READY DropInfo_Cause = 29
// Packet was dropped inside Private Service Connect service producer.
DropInfo_DROPPED_INSIDE_PSC_SERVICE_PRODUCER DropInfo_Cause = 37
// Packet sent to a load balancer, which requires a proxy-only subnet and
// the subnet is not found.
DropInfo_LOAD_BALANCER_HAS_NO_PROXY_SUBNET DropInfo_Cause = 39
// Packet sent to Cloud Nat without active NAT IPs.
DropInfo_CLOUD_NAT_NO_ADDRESSES DropInfo_Cause = 40
// Packet is stuck in a routing loop.
DropInfo_ROUTING_LOOP DropInfo_Cause = 59
)
func (DropInfo_Cause) Descriptor
func (DropInfo_Cause) Descriptor() protoreflect.EnumDescriptor
func (DropInfo_Cause) Enum
func (x DropInfo_Cause) Enum() *DropInfo_Cause
func (DropInfo_Cause) EnumDescriptor
func (DropInfo_Cause) EnumDescriptor() ([]byte, []int)
Deprecated: Use DropInfo_Cause.Descriptor instead.
func (DropInfo_Cause) Number
func (x DropInfo_Cause) Number() protoreflect.EnumNumber
func (DropInfo_Cause) String
func (x DropInfo_Cause) String() string
func (DropInfo_Cause) Type
func (DropInfo_Cause) Type() protoreflect.EnumType
Endpoint
type Endpoint struct {
IpAddress string `protobuf:"bytes,1,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"`
Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
Instance string `protobuf:"bytes,3,opt,name=instance,proto3" json:"instance,omitempty"`
ForwardingRule string `protobuf:"bytes,13,opt,name=forwarding_rule,json=forwardingRule,proto3" json:"forwarding_rule,omitempty"`
ForwardingRuleTarget *Endpoint_ForwardingRuleTarget "" /* 200 byte string literal not displayed */
LoadBalancerId *string `protobuf:"bytes,15,opt,name=load_balancer_id,json=loadBalancerId,proto3,oneof" json:"load_balancer_id,omitempty"`
LoadBalancerType *LoadBalancerType "" /* 175 byte string literal not displayed */
GkeMasterCluster string `protobuf:"bytes,7,opt,name=gke_master_cluster,json=gkeMasterCluster,proto3" json:"gke_master_cluster,omitempty"`
CloudSqlInstance string `protobuf:"bytes,8,opt,name=cloud_sql_instance,json=cloudSqlInstance,proto3" json:"cloud_sql_instance,omitempty"`
CloudFunction *Endpoint_CloudFunctionEndpoint `protobuf:"bytes,10,opt,name=cloud_function,json=cloudFunction,proto3" json:"cloud_function,omitempty"`
AppEngineVersion *Endpoint_AppEngineVersionEndpoint `protobuf:"bytes,11,opt,name=app_engine_version,json=appEngineVersion,proto3" json:"app_engine_version,omitempty"`
CloudRunRevision *Endpoint_CloudRunRevisionEndpoint `protobuf:"bytes,12,opt,name=cloud_run_revision,json=cloudRunRevision,proto3" json:"cloud_run_revision,omitempty"`
Network string `protobuf:"bytes,4,opt,name=network,proto3" json:"network,omitempty"`
NetworkType Endpoint_NetworkType "" /* 155 byte string literal not displayed */
ProjectId string `protobuf:"bytes,6,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
}
Source or destination of the Connectivity Test.
func (*Endpoint) Descriptor
Deprecated: Use Endpoint.ProtoReflect.Descriptor instead.
func (*Endpoint) GetAppEngineVersion
func (x *Endpoint) GetAppEngineVersion() *Endpoint_AppEngineVersionEndpoint
func (*Endpoint) GetCloudFunction
func (x *Endpoint) GetCloudFunction() *Endpoint_CloudFunctionEndpoint
func (*Endpoint) GetCloudRunRevision
func (x *Endpoint) GetCloudRunRevision() *Endpoint_CloudRunRevisionEndpoint
func (*Endpoint) GetCloudSqlInstance
func (*Endpoint) GetForwardingRule
func (*Endpoint) GetForwardingRuleTarget
func (x *Endpoint) GetForwardingRuleTarget() Endpoint_ForwardingRuleTarget
func (*Endpoint) GetGkeMasterCluster
func (*Endpoint) GetInstance
func (*Endpoint) GetIpAddress
func (*Endpoint) GetLoadBalancerId
func (*Endpoint) GetLoadBalancerType
func (x *Endpoint) GetLoadBalancerType() LoadBalancerType
func (*Endpoint) GetNetwork
func (*Endpoint) GetNetworkType
func (x *Endpoint) GetNetworkType() Endpoint_NetworkType
func (*Endpoint) GetPort
func (*Endpoint) GetProjectId
func (*Endpoint) ProtoMessage
func (*Endpoint) ProtoMessage()
func (*Endpoint) ProtoReflect
func (x *Endpoint) ProtoReflect() protoreflect.Message
func (*Endpoint) Reset
func (x *Endpoint) Reset()
func (*Endpoint) String
EndpointInfo
type EndpointInfo struct {
// Source IP address.
SourceIp string `protobuf:"bytes,1,opt,name=source_ip,json=sourceIp,proto3" json:"source_ip,omitempty"`
// Destination IP address.
DestinationIp string `protobuf:"bytes,2,opt,name=destination_ip,json=destinationIp,proto3" json:"destination_ip,omitempty"`
// IP protocol in string format, for example: "TCP", "UDP", "ICMP".
Protocol string `protobuf:"bytes,3,opt,name=protocol,proto3" json:"protocol,omitempty"`
// Source port. Only valid when protocol is TCP or UDP.
SourcePort int32 `protobuf:"varint,4,opt,name=source_port,json=sourcePort,proto3" json:"source_port,omitempty"`
// Destination port. Only valid when protocol is TCP or UDP.
DestinationPort int32 `protobuf:"varint,5,opt,name=destination_port,json=destinationPort,proto3" json:"destination_port,omitempty"`
// URI of the network where this packet originates from.
SourceNetworkUri string `protobuf:"bytes,6,opt,name=source_network_uri,json=sourceNetworkUri,proto3" json:"source_network_uri,omitempty"`
// URI of the network where this packet is sent to.
DestinationNetworkUri string `protobuf:"bytes,7,opt,name=destination_network_uri,json=destinationNetworkUri,proto3" json:"destination_network_uri,omitempty"`
// URI of the source telemetry agent this packet originates from.
SourceAgentUri string `protobuf:"bytes,8,opt,name=source_agent_uri,json=sourceAgentUri,proto3" json:"source_agent_uri,omitempty"`
// contains filtered or unexported fields
}
For display only. The specification of the endpoints for the test. EndpointInfo is derived from source and destination Endpoint and validated by the backend data plane model.
func (*EndpointInfo) Descriptor
func (*EndpointInfo) Descriptor() ([]byte, []int)
Deprecated: Use EndpointInfo.ProtoReflect.Descriptor instead.
func (*EndpointInfo) GetDestinationIp
func (x *EndpointInfo) GetDestinationIp() string
func (*EndpointInfo) GetDestinationNetworkUri
func (x *EndpointInfo) GetDestinationNetworkUri() string
func (*EndpointInfo) GetDestinationPort
func (x *EndpointInfo) GetDestinationPort() int32
func (*EndpointInfo) GetProtocol
func (x *EndpointInfo) GetProtocol() string
func (*EndpointInfo) GetSourceAgentUri
func (x *EndpointInfo) GetSourceAgentUri() string
func (*EndpointInfo) GetSourceIp
func (x *EndpointInfo) GetSourceIp() string
func (*EndpointInfo) GetSourceNetworkUri
func (x *EndpointInfo) GetSourceNetworkUri() string
func (*EndpointInfo) GetSourcePort
func (x *EndpointInfo) GetSourcePort() int32
func (*EndpointInfo) ProtoMessage
func (*EndpointInfo) ProtoMessage()
func (*EndpointInfo) ProtoReflect
func (x *EndpointInfo) ProtoReflect() protoreflect.Message
func (*EndpointInfo) Reset
func (x *EndpointInfo) Reset()
func (*EndpointInfo) String
func (x *EndpointInfo) String() string
Endpoint_AppEngineVersionEndpoint
type Endpoint_AppEngineVersionEndpoint struct {
// An [App Engine](https://cloud.google.com/appengine) [service
// version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions)
// name.
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
// contains filtered or unexported fields
}
Wrapper for the App Engine service version attributes.
func (*Endpoint_AppEngineVersionEndpoint) Descriptor
func (*Endpoint_AppEngineVersionEndpoint) Descriptor() ([]byte, []int)
Deprecated: Use Endpoint_AppEngineVersionEndpoint.ProtoReflect.Descriptor instead.
func (*Endpoint_AppEngineVersionEndpoint) GetUri
func (x *Endpoint_AppEngineVersionEndpoint) GetUri() string
func (*Endpoint_AppEngineVersionEndpoint) ProtoMessage
func (*Endpoint_AppEngineVersionEndpoint) ProtoMessage()
func (*Endpoint_AppEngineVersionEndpoint) ProtoReflect
func (x *Endpoint_AppEngineVersionEndpoint) ProtoReflect() protoreflect.Message
func (*Endpoint_AppEngineVersionEndpoint) Reset
func (x *Endpoint_AppEngineVersionEndpoint) Reset()
func (*Endpoint_AppEngineVersionEndpoint) String
func (x *Endpoint_AppEngineVersionEndpoint) String() string
Endpoint_CloudFunctionEndpoint
type Endpoint_CloudFunctionEndpoint struct {
// A [Cloud Function](https://cloud.google.com/functions) name.
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
// contains filtered or unexported fields
}
Wrapper for Cloud Function attributes.
func (*Endpoint_CloudFunctionEndpoint) Descriptor
func (*Endpoint_CloudFunctionEndpoint) Descriptor() ([]byte, []int)
Deprecated: Use Endpoint_CloudFunctionEndpoint.ProtoReflect.Descriptor instead.
func (*Endpoint_CloudFunctionEndpoint) GetUri
func (x *Endpoint_CloudFunctionEndpoint) GetUri() string
func (*Endpoint_CloudFunctionEndpoint) ProtoMessage
func (*Endpoint_CloudFunctionEndpoint) ProtoMessage()
func (*Endpoint_CloudFunctionEndpoint) ProtoReflect
func (x *Endpoint_CloudFunctionEndpoint) ProtoReflect() protoreflect.Message
func (*Endpoint_CloudFunctionEndpoint) Reset
func (x *Endpoint_CloudFunctionEndpoint) Reset()
func (*Endpoint_CloudFunctionEndpoint) String
func (x *Endpoint_CloudFunctionEndpoint) String() string
Endpoint_CloudRunRevisionEndpoint
type Endpoint_CloudRunRevisionEndpoint struct {
// A [Cloud Run](https://cloud.google.com/run)
// [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get)
// URI. The format is:
// projects/{project}/locations/{location}/revisions/{revision}
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
// contains filtered or unexported fields
}
Wrapper for Cloud Run revision attributes.
func (*Endpoint_CloudRunRevisionEndpoint) Descriptor
func (*Endpoint_CloudRunRevisionEndpoint) Descriptor() ([]byte, []int)
Deprecated: Use Endpoint_CloudRunRevisionEndpoint.ProtoReflect.Descriptor instead.
func (*Endpoint_CloudRunRevisionEndpoint) GetUri
func (x *Endpoint_CloudRunRevisionEndpoint) GetUri() string
func (*Endpoint_CloudRunRevisionEndpoint) ProtoMessage
func (*Endpoint_CloudRunRevisionEndpoint) ProtoMessage()
func (*Endpoint_CloudRunRevisionEndpoint) ProtoReflect
func (x *Endpoint_CloudRunRevisionEndpoint) ProtoReflect() protoreflect.Message
func (*Endpoint_CloudRunRevisionEndpoint) Reset
func (x *Endpoint_CloudRunRevisionEndpoint) Reset()
func (*Endpoint_CloudRunRevisionEndpoint) String
func (x *Endpoint_CloudRunRevisionEndpoint) String() string
Endpoint_ForwardingRuleTarget
type Endpoint_ForwardingRuleTarget int32
Type of the target of a forwarding rule.
Endpoint_FORWARDING_RULE_TARGET_UNSPECIFIED, Endpoint_INSTANCE, Endpoint_LOAD_BALANCER, Endpoint_VPN_GATEWAY, Endpoint_PSC
const (
// Forwarding rule target is unknown.
Endpoint_FORWARDING_RULE_TARGET_UNSPECIFIED Endpoint_ForwardingRuleTarget = 0
// Compute Engine instance for protocol forwarding.
Endpoint_INSTANCE Endpoint_ForwardingRuleTarget = 1
// Load Balancer. The specific type can be found from [load_balancer_type]
// [google.cloud.networkmanagement.v1.Endpoint.load_balancer_type].
Endpoint_LOAD_BALANCER Endpoint_ForwardingRuleTarget = 2
// Classic Cloud VPN Gateway.
Endpoint_VPN_GATEWAY Endpoint_ForwardingRuleTarget = 3
// Forwarding Rule is a Private Service Connect endpoint.
Endpoint_PSC Endpoint_ForwardingRuleTarget = 4
)
func (Endpoint_ForwardingRuleTarget) Descriptor
func (Endpoint_ForwardingRuleTarget) Descriptor() protoreflect.EnumDescriptor
func (Endpoint_ForwardingRuleTarget) Enum
func (x Endpoint_ForwardingRuleTarget) Enum() *Endpoint_ForwardingRuleTarget
func (Endpoint_ForwardingRuleTarget) EnumDescriptor
func (Endpoint_ForwardingRuleTarget) EnumDescriptor() ([]byte, []int)
Deprecated: Use Endpoint_ForwardingRuleTarget.Descriptor instead.
func (Endpoint_ForwardingRuleTarget) Number
func (x Endpoint_ForwardingRuleTarget) Number() protoreflect.EnumNumber
func (Endpoint_ForwardingRuleTarget) String
func (x Endpoint_ForwardingRuleTarget) String() string
func (Endpoint_ForwardingRuleTarget) Type
func (Endpoint_ForwardingRuleTarget) Type() protoreflect.EnumType
Endpoint_NetworkType
type Endpoint_NetworkType int32
The type definition of an endpoint's network. Use one of the following choices:
Endpoint_NETWORK_TYPE_UNSPECIFIED, Endpoint_GCP_NETWORK, Endpoint_NON_GCP_NETWORK
const (
// Default type if unspecified.
Endpoint_NETWORK_TYPE_UNSPECIFIED Endpoint_NetworkType = 0
// A network hosted within Google Cloud.
// To receive more detailed output, specify the URI for the source or
// destination network.
Endpoint_GCP_NETWORK Endpoint_NetworkType = 1
// A network hosted outside of Google Cloud.
// This can be an on-premises network, or a network hosted by another cloud
// provider.
Endpoint_NON_GCP_NETWORK Endpoint_NetworkType = 2
)
func (Endpoint_NetworkType) Descriptor
func (Endpoint_NetworkType) Descriptor() protoreflect.EnumDescriptor
func (Endpoint_NetworkType) Enum
func (x Endpoint_NetworkType) Enum() *Endpoint_NetworkType
func (Endpoint_NetworkType) EnumDescriptor
func (Endpoint_NetworkType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Endpoint_NetworkType.Descriptor instead.
func (Endpoint_NetworkType) Number
func (x Endpoint_NetworkType) Number() protoreflect.EnumNumber
func (Endpoint_NetworkType) String
func (x Endpoint_NetworkType) String() string
func (Endpoint_NetworkType) Type
func (Endpoint_NetworkType) Type() protoreflect.EnumType
FirewallInfo
type FirewallInfo struct {
DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
Direction string `protobuf:"bytes,3,opt,name=direction,proto3" json:"direction,omitempty"`
Action string `protobuf:"bytes,4,opt,name=action,proto3" json:"action,omitempty"`
Priority int32 `protobuf:"varint,5,opt,name=priority,proto3" json:"priority,omitempty"`
NetworkUri string `protobuf:"bytes,6,opt,name=network_uri,json=networkUri,proto3" json:"network_uri,omitempty"`
TargetTags []string `protobuf:"bytes,7,rep,name=target_tags,json=targetTags,proto3" json:"target_tags,omitempty"`
TargetServiceAccounts []string `protobuf:"bytes,8,rep,name=target_service_accounts,json=targetServiceAccounts,proto3" json:"target_service_accounts,omitempty"`
Policy string `protobuf:"bytes,9,opt,name=policy,proto3" json:"policy,omitempty"`
FirewallRuleType FirewallInfo_FirewallRuleType "" /* 182 byte string literal not displayed */
}
For display only. Metadata associated with a VPC firewall rule, an implied VPC firewall rule, or a hierarchical firewall policy rule.
func (*FirewallInfo) Descriptor
func (*FirewallInfo) Descriptor() ([]byte, []int)
Deprecated: Use FirewallInfo.ProtoReflect.Descriptor instead.
func (*FirewallInfo) GetAction
func (x *FirewallInfo) GetAction() string
func (*FirewallInfo) GetDirection
func (x *FirewallInfo) GetDirection() string
func (*FirewallInfo) GetDisplayName
func (x *FirewallInfo) GetDisplayName() string
func (*FirewallInfo) GetFirewallRuleType
func (x *FirewallInfo) GetFirewallRuleType() FirewallInfo_FirewallRuleType
func (*FirewallInfo) GetNetworkUri
func (x *FirewallInfo) GetNetworkUri() string
func (*FirewallInfo) GetPolicy
func (x *FirewallInfo) GetPolicy() string
func (*FirewallInfo) GetPriority
func (x *FirewallInfo) GetPriority() int32
func (*FirewallInfo) GetTargetServiceAccounts
func (x *FirewallInfo) GetTargetServiceAccounts() []string
func (*FirewallInfo) GetTargetTags
func (x *FirewallInfo) GetTargetTags() []string
func (*FirewallInfo) GetUri
func (x *FirewallInfo) GetUri() string
func (*FirewallInfo) ProtoMessage
func (*FirewallInfo) ProtoMessage()
func (*FirewallInfo) ProtoReflect
func (x *FirewallInfo) ProtoReflect() protoreflect.Message
func (*FirewallInfo) Reset
func (x *FirewallInfo) Reset()
func (*FirewallInfo) String
func (x *FirewallInfo) String() string
FirewallInfo_FirewallRuleType
type FirewallInfo_FirewallRuleType int32
The firewall rule's type.
FirewallInfo_FIREWALL_RULE_TYPE_UNSPECIFIED, FirewallInfo_HIERARCHICAL_FIREWALL_POLICY_RULE, FirewallInfo_VPC_FIREWALL_RULE, FirewallInfo_IMPLIED_VPC_FIREWALL_RULE, FirewallInfo_SERVERLESS_VPC_ACCESS_MANAGED_FIREWALL_RULE, FirewallInfo_NETWORK_FIREWALL_POLICY_RULE, FirewallInfo_NETWORK_REGIONAL_FIREWALL_POLICY_RULE, FirewallInfo_UNSUPPORTED_FIREWALL_POLICY_RULE, FirewallInfo_TRACKING_STATE
const (
// Unspecified type.
FirewallInfo_FIREWALL_RULE_TYPE_UNSPECIFIED FirewallInfo_FirewallRuleType = 0
// Hierarchical firewall policy rule. For details, see
// [Hierarchical firewall policies
// overview](https://cloud.google.com/vpc/docs/firewall-policies).
FirewallInfo_HIERARCHICAL_FIREWALL_POLICY_RULE FirewallInfo_FirewallRuleType = 1
// VPC firewall rule. For details, see
// [VPC firewall rules
// overview](https://cloud.google.com/vpc/docs/firewalls).
FirewallInfo_VPC_FIREWALL_RULE FirewallInfo_FirewallRuleType = 2
// Implied VPC firewall rule. For details, see
// [Implied
// rules](https://cloud.google.com/vpc/docs/firewalls#default_firewall_rules).
FirewallInfo_IMPLIED_VPC_FIREWALL_RULE FirewallInfo_FirewallRuleType = 3
// Implicit firewall rules that are managed by serverless VPC access to
// allow ingress access. They are not visible in the Google Cloud console.
// For details, see [VPC connector's implicit
// rules](https://cloud.google.com/functions/docs/networking/connecting-vpc#restrict-access).
FirewallInfo_SERVERLESS_VPC_ACCESS_MANAGED_FIREWALL_RULE FirewallInfo_FirewallRuleType = 4
// Global network firewall policy rule.
// For details, see [Network firewall
// policies](https://cloud.google.com/vpc/docs/network-firewall-policies).
FirewallInfo_NETWORK_FIREWALL_POLICY_RULE FirewallInfo_FirewallRuleType = 5
// Regional network firewall policy rule.
// For details, see [Regional network firewall
// policies](https://cloud.google.com/firewall/docs/regional-firewall-policies).
FirewallInfo_NETWORK_REGIONAL_FIREWALL_POLICY_RULE FirewallInfo_FirewallRuleType = 6
// Firewall policy rule containing attributes not yet supported in
// Connectivity tests. Firewall analysis is skipped if such a rule can
// potentially be matched. Please see the [list of unsupported
// configurations](https://cloud.google.com/network-intelligence-center/docs/connectivity-tests/concepts/overview#unsupported-configs).
FirewallInfo_UNSUPPORTED_FIREWALL_POLICY_RULE FirewallInfo_FirewallRuleType = 100
// Tracking state for response traffic created when request traffic goes
// through allow firewall rule.
// For details, see [firewall rules
// specifications](https://cloud.google.com/firewall/docs/firewalls#specifications)
FirewallInfo_TRACKING_STATE FirewallInfo_FirewallRuleType = 101
)
func (FirewallInfo_FirewallRuleType) Descriptor
func (FirewallInfo_FirewallRuleType) Descriptor() protoreflect.EnumDescriptor
func (FirewallInfo_FirewallRuleType) Enum
func (x FirewallInfo_FirewallRuleType) Enum() *FirewallInfo_FirewallRuleType
func (FirewallInfo_FirewallRuleType) EnumDescriptor
func (FirewallInfo_FirewallRuleType) EnumDescriptor() ([]byte, []int)
Deprecated: Use FirewallInfo_FirewallRuleType.Descriptor instead.
func (FirewallInfo_FirewallRuleType) Number
func (x FirewallInfo_FirewallRuleType) Number() protoreflect.EnumNumber
func (FirewallInfo_FirewallRuleType) String
func (x FirewallInfo_FirewallRuleType) String() string
func (FirewallInfo_FirewallRuleType) Type
func (FirewallInfo_FirewallRuleType) Type() protoreflect.EnumType
ForwardInfo
type ForwardInfo struct {
// Target type where this packet is forwarded to.
Target ForwardInfo_Target `protobuf:"varint,1,opt,name=target,proto3,enum=google.cloud.networkmanagement.v1.ForwardInfo_Target" json:"target,omitempty"`
// URI of the resource that the packet is forwarded to.
ResourceUri string `protobuf:"bytes,2,opt,name=resource_uri,json=resourceUri,proto3" json:"resource_uri,omitempty"`
// IP address of the target (if applicable).
IpAddress string `protobuf:"bytes,3,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"`
// contains filtered or unexported fields
}
Details of the final state "forward" and associated resource.
func (*ForwardInfo) Descriptor
func (*ForwardInfo) Descriptor() ([]byte, []int)
Deprecated: Use ForwardInfo.ProtoReflect.Descriptor instead.
func (*ForwardInfo) GetIpAddress
func (x *ForwardInfo) GetIpAddress() string
func (*ForwardInfo) GetResourceUri
func (x *ForwardInfo) GetResourceUri() string
func (*ForwardInfo) GetTarget
func (x *ForwardInfo) GetTarget() ForwardInfo_Target
func (*ForwardInfo) ProtoMessage
func (*ForwardInfo) ProtoMessage()
func (*ForwardInfo) ProtoReflect
func (x *ForwardInfo) ProtoReflect() protoreflect.Message
func (*ForwardInfo) Reset
func (x *ForwardInfo) Reset()
func (*ForwardInfo) String
func (x *ForwardInfo) String() string
ForwardInfo_Target
type ForwardInfo_Target int32
Forward target types.
ForwardInfo_TARGET_UNSPECIFIED, ForwardInfo_PEERING_VPC, ForwardInfo_VPN_GATEWAY, ForwardInfo_INTERCONNECT, ForwardInfo_GKE_MASTER, ForwardInfo_IMPORTED_CUSTOM_ROUTE_NEXT_HOP, ForwardInfo_CLOUD_SQL_INSTANCE, ForwardInfo_ANOTHER_PROJECT, ForwardInfo_NCC_HUB, ForwardInfo_ROUTER_APPLIANCE
const (
// Target not specified.
ForwardInfo_TARGET_UNSPECIFIED ForwardInfo_Target = 0
// Forwarded to a VPC peering network.
ForwardInfo_PEERING_VPC ForwardInfo_Target = 1
// Forwarded to a Cloud VPN gateway.
ForwardInfo_VPN_GATEWAY ForwardInfo_Target = 2
// Forwarded to a Cloud Interconnect connection.
ForwardInfo_INTERCONNECT ForwardInfo_Target = 3
// Forwarded to a Google Kubernetes Engine Container cluster master.
//
// Deprecated: Marked as deprecated in google/cloud/networkmanagement/v1/trace.proto.
ForwardInfo_GKE_MASTER ForwardInfo_Target = 4
// Forwarded to the next hop of a custom route imported from a peering VPC.
ForwardInfo_IMPORTED_CUSTOM_ROUTE_NEXT_HOP ForwardInfo_Target = 5
// Forwarded to a Cloud SQL instance.
//
// Deprecated: Marked as deprecated in google/cloud/networkmanagement/v1/trace.proto.
ForwardInfo_CLOUD_SQL_INSTANCE ForwardInfo_Target = 6
// Forwarded to a VPC network in another project.
ForwardInfo_ANOTHER_PROJECT ForwardInfo_Target = 7
// Forwarded to an NCC Hub.
ForwardInfo_NCC_HUB ForwardInfo_Target = 8
// Forwarded to a router appliance.
ForwardInfo_ROUTER_APPLIANCE ForwardInfo_Target = 9
)
func (ForwardInfo_Target) Descriptor
func (ForwardInfo_Target) Descriptor() protoreflect.EnumDescriptor
func (ForwardInfo_Target) Enum
func (x ForwardInfo_Target) Enum() *ForwardInfo_Target
func (ForwardInfo_Target) EnumDescriptor
func (ForwardInfo_Target) EnumDescriptor() ([]byte, []int)
Deprecated: Use ForwardInfo_Target.Descriptor instead.
func (ForwardInfo_Target) Number
func (x ForwardInfo_Target) Number() protoreflect.EnumNumber
func (ForwardInfo_Target) String
func (x ForwardInfo_Target) String() string
func (ForwardInfo_Target) Type
func (ForwardInfo_Target) Type() protoreflect.EnumType
ForwardingRuleInfo
type ForwardingRuleInfo struct {
// Name of a Compute Engine forwarding rule.
DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// URI of a Compute Engine forwarding rule.
Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
// Protocol defined in the forwarding rule that matches the test.
MatchedProtocol string `protobuf:"bytes,3,opt,name=matched_protocol,json=matchedProtocol,proto3" json:"matched_protocol,omitempty"`
// Port range defined in the forwarding rule that matches the test.
MatchedPortRange string `protobuf:"bytes,6,opt,name=matched_port_range,json=matchedPortRange,proto3" json:"matched_port_range,omitempty"`
// VIP of the forwarding rule.
Vip string `protobuf:"bytes,4,opt,name=vip,proto3" json:"vip,omitempty"`
// Target type of the forwarding rule.
Target string `protobuf:"bytes,5,opt,name=target,proto3" json:"target,omitempty"`
// Network URI. Only valid for Internal Load Balancer.
NetworkUri string `protobuf:"bytes,7,opt,name=network_uri,json=networkUri,proto3" json:"network_uri,omitempty"`
// contains filtered or unexported fields
}
For display only. Metadata associated with a Compute Engine forwarding rule.
func (*ForwardingRuleInfo) Descriptor
func (*ForwardingRuleInfo) Descriptor() ([]byte, []int)
Deprecated: Use ForwardingRuleInfo.ProtoReflect.Descriptor instead.
func (*ForwardingRuleInfo) GetDisplayName
func (x *ForwardingRuleInfo) GetDisplayName() string
func (*ForwardingRuleInfo) GetMatchedPortRange
func (x *ForwardingRuleInfo) GetMatchedPortRange() string
func (*ForwardingRuleInfo) GetMatchedProtocol
func (x *ForwardingRuleInfo) GetMatchedProtocol() string
func (*ForwardingRuleInfo) GetNetworkUri
func (x *ForwardingRuleInfo) GetNetworkUri() string
func (*ForwardingRuleInfo) GetTarget
func (x *ForwardingRuleInfo) GetTarget() string
func (*ForwardingRuleInfo) GetUri
func (x *ForwardingRuleInfo) GetUri() string
func (*ForwardingRuleInfo) GetVip
func (x *ForwardingRuleInfo) GetVip() string
func (*ForwardingRuleInfo) ProtoMessage
func (*ForwardingRuleInfo) ProtoMessage()
func (*ForwardingRuleInfo) ProtoReflect
func (x *ForwardingRuleInfo) ProtoReflect() protoreflect.Message
func (*ForwardingRuleInfo) Reset
func (x *ForwardingRuleInfo) Reset()
func (*ForwardingRuleInfo) String
func (x *ForwardingRuleInfo) String() string
GKEMasterInfo
type GKEMasterInfo struct {
// URI of a GKE cluster.
ClusterUri string `protobuf:"bytes,2,opt,name=cluster_uri,json=clusterUri,proto3" json:"cluster_uri,omitempty"`
// URI of a GKE cluster network.
ClusterNetworkUri string `protobuf:"bytes,4,opt,name=cluster_network_uri,json=clusterNetworkUri,proto3" json:"cluster_network_uri,omitempty"`
// Internal IP address of a GKE cluster master.
InternalIp string `protobuf:"bytes,5,opt,name=internal_ip,json=internalIp,proto3" json:"internal_ip,omitempty"`
// External IP address of a GKE cluster master.
ExternalIp string `protobuf:"bytes,6,opt,name=external_ip,json=externalIp,proto3" json:"external_ip,omitempty"`
// contains filtered or unexported fields
}
For display only. Metadata associated with a Google Kubernetes Engine (GKE) cluster master.
func (*GKEMasterInfo) Descriptor
func (*GKEMasterInfo) Descriptor() ([]byte, []int)
Deprecated: Use GKEMasterInfo.ProtoReflect.Descriptor instead.
func (*GKEMasterInfo) GetClusterNetworkUri
func (x *GKEMasterInfo) GetClusterNetworkUri() string
func (*GKEMasterInfo) GetClusterUri
func (x *GKEMasterInfo) GetClusterUri() string
func (*GKEMasterInfo) GetExternalIp
func (x *GKEMasterInfo) GetExternalIp() string
func (*GKEMasterInfo) GetInternalIp
func (x *GKEMasterInfo) GetInternalIp() string
func (*GKEMasterInfo) ProtoMessage
func (*GKEMasterInfo) ProtoMessage()
func (*GKEMasterInfo) ProtoReflect
func (x *GKEMasterInfo) ProtoReflect() protoreflect.Message
func (*GKEMasterInfo) Reset
func (x *GKEMasterInfo) Reset()
func (*GKEMasterInfo) String
func (x *GKEMasterInfo) String() string
GetConnectivityTestRequest
type GetConnectivityTestRequest struct {
// Required. `ConnectivityTest` resource name using the form:
//
// `projects/{project_id}/locations/global/connectivityTests/{test_id}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request for the GetConnectivityTest
method.
func (*GetConnectivityTestRequest) Descriptor
func (*GetConnectivityTestRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetConnectivityTestRequest.ProtoReflect.Descriptor instead.
func (*GetConnectivityTestRequest) GetName
func (x *GetConnectivityTestRequest) GetName() string
func (*GetConnectivityTestRequest) ProtoMessage
func (*GetConnectivityTestRequest) ProtoMessage()
func (*GetConnectivityTestRequest) ProtoReflect
func (x *GetConnectivityTestRequest) ProtoReflect() protoreflect.Message
func (*GetConnectivityTestRequest) Reset
func (x *GetConnectivityTestRequest) Reset()
func (*GetConnectivityTestRequest) String
func (x *GetConnectivityTestRequest) String() string
GoogleServiceInfo
type GoogleServiceInfo struct {
SourceIp string `protobuf:"bytes,1,opt,name=source_ip,json=sourceIp,proto3" json:"source_ip,omitempty"`
GoogleServiceType GoogleServiceInfo_GoogleServiceType "" /* 190 byte string literal not displayed */
}
For display only. Details of a Google Service sending packets to a VPC network. Although the source IP might be a publicly routable address, some Google Services use special routes within Google production infrastructure to reach Compute Engine Instances. https://cloud.google.com/vpc/docs/routes#special_return_paths
func (*GoogleServiceInfo) Descriptor
func (*GoogleServiceInfo) Descriptor() ([]byte, []int)
Deprecated: Use GoogleServiceInfo.ProtoReflect.Descriptor instead.
func (*GoogleServiceInfo) GetGoogleServiceType
func (x *GoogleServiceInfo) GetGoogleServiceType() GoogleServiceInfo_GoogleServiceType
func (*GoogleServiceInfo) GetSourceIp
func (x *GoogleServiceInfo) GetSourceIp() string
func (*GoogleServiceInfo) ProtoMessage
func (*GoogleServiceInfo) ProtoMessage()
func (*GoogleServiceInfo) ProtoReflect
func (x *GoogleServiceInfo) ProtoReflect() protoreflect.Message
func (*GoogleServiceInfo) Reset
func (x *GoogleServiceInfo) Reset()
func (*GoogleServiceInfo) String
func (x *GoogleServiceInfo) String() string
GoogleServiceInfo_GoogleServiceType
type GoogleServiceInfo_GoogleServiceType int32
Recognized type of a Google Service.
GoogleServiceInfo_GOOGLE_SERVICE_TYPE_UNSPECIFIED, GoogleServiceInfo_IAP, GoogleServiceInfo_GFE_PROXY_OR_HEALTH_CHECK_PROBER, GoogleServiceInfo_CLOUD_DNS, GoogleServiceInfo_GOOGLE_API, GoogleServiceInfo_GOOGLE_API_PSC, GoogleServiceInfo_GOOGLE_API_VPC_SC
const (
// Unspecified Google Service.
GoogleServiceInfo_GOOGLE_SERVICE_TYPE_UNSPECIFIED GoogleServiceInfo_GoogleServiceType = 0
// Identity aware proxy.
// https://cloud.google.com/iap/docs/using-tcp-forwarding
GoogleServiceInfo_IAP GoogleServiceInfo_GoogleServiceType = 1
// One of two services sharing IP ranges:
// * Load Balancer proxy
// * Centralized Health Check prober
// https://cloud.google.com/load-balancing/docs/firewall-rules
GoogleServiceInfo_GFE_PROXY_OR_HEALTH_CHECK_PROBER GoogleServiceInfo_GoogleServiceType = 2
// Connectivity from Cloud DNS to forwarding targets or alternate name
// servers that use private routing.
// https://cloud.google.com/dns/docs/zones/forwarding-zones#firewall-rules
// https://cloud.google.com/dns/docs/policies#firewall-rules
GoogleServiceInfo_CLOUD_DNS GoogleServiceInfo_GoogleServiceType = 3
// private.googleapis.com and restricted.googleapis.com
GoogleServiceInfo_GOOGLE_API GoogleServiceInfo_GoogleServiceType = 4
// Google API via Private Service Connect.
// https://cloud.google.com/vpc/docs/configure-private-service-connect-apis
GoogleServiceInfo_GOOGLE_API_PSC GoogleServiceInfo_GoogleServiceType = 5
// Google API via VPC Service Controls.
// https://cloud.google.com/vpc/docs/configure-private-service-connect-apis
GoogleServiceInfo_GOOGLE_API_VPC_SC GoogleServiceInfo_GoogleServiceType = 6
)
func (GoogleServiceInfo_GoogleServiceType) Descriptor
func (GoogleServiceInfo_GoogleServiceType) Descriptor() protoreflect.EnumDescriptor
func (GoogleServiceInfo_GoogleServiceType) Enum
func (x GoogleServiceInfo_GoogleServiceType) Enum() *GoogleServiceInfo_GoogleServiceType
func (GoogleServiceInfo_GoogleServiceType) EnumDescriptor
func (GoogleServiceInfo_GoogleServiceType) EnumDescriptor() ([]byte, []int)
Deprecated: Use GoogleServiceInfo_GoogleServiceType.Descriptor instead.
func (GoogleServiceInfo_GoogleServiceType) Number
func (x GoogleServiceInfo_GoogleServiceType) Number() protoreflect.EnumNumber
func (GoogleServiceInfo_GoogleServiceType) String
func (x GoogleServiceInfo_GoogleServiceType) String() string
func (GoogleServiceInfo_GoogleServiceType) Type
func (GoogleServiceInfo_GoogleServiceType) Type() protoreflect.EnumType
InstanceInfo
type InstanceInfo struct {
// Name of a Compute Engine instance.
DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// URI of a Compute Engine instance.
Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
// Name of the network interface of a Compute Engine instance.
Interface string `protobuf:"bytes,3,opt,name=interface,proto3" json:"interface,omitempty"`
// URI of a Compute Engine network.
NetworkUri string `protobuf:"bytes,4,opt,name=network_uri,json=networkUri,proto3" json:"network_uri,omitempty"`
// Internal IP address of the network interface.
InternalIp string `protobuf:"bytes,5,opt,name=internal_ip,json=internalIp,proto3" json:"internal_ip,omitempty"`
// External IP address of the network interface.
ExternalIp string `protobuf:"bytes,6,opt,name=external_ip,json=externalIp,proto3" json:"external_ip,omitempty"`
// Network tags configured on the instance.
NetworkTags []string `protobuf:"bytes,7,rep,name=network_tags,json=networkTags,proto3" json:"network_tags,omitempty"`
// Service account authorized for the instance.
//
// Deprecated: Marked as deprecated in google/cloud/networkmanagement/v1/trace.proto.
ServiceAccount string `protobuf:"bytes,8,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
// contains filtered or unexported fields
}
For display only. Metadata associated with a Compute Engine instance.
func (*InstanceInfo) Descriptor
func (*InstanceInfo) Descriptor() ([]byte, []int)
Deprecated: Use InstanceInfo.ProtoReflect.Descriptor instead.
func (*InstanceInfo) GetDisplayName
func (x *InstanceInfo) GetDisplayName() string
func (*InstanceInfo) GetExternalIp
func (x *InstanceInfo) GetExternalIp() string
func (*InstanceInfo) GetInterface
func (x *InstanceInfo) GetInterface() string
func (*InstanceInfo) GetInternalIp
func (x *InstanceInfo) GetInternalIp() string
func (*InstanceInfo) GetNetworkTags
func (x *InstanceInfo) GetNetworkTags() []string
func (*InstanceInfo) GetNetworkUri
func (x *InstanceInfo) GetNetworkUri() string
func (*InstanceInfo) GetServiceAccount
func (x *InstanceInfo) GetServiceAccount() string
Deprecated: Marked as deprecated in google/cloud/networkmanagement/v1/trace.proto.
func (*InstanceInfo) GetUri
func (x *InstanceInfo) GetUri() string
func (*InstanceInfo) ProtoMessage
func (*InstanceInfo) ProtoMessage()
func (*InstanceInfo) ProtoReflect
func (x *InstanceInfo) ProtoReflect() protoreflect.Message
func (*InstanceInfo) Reset
func (x *InstanceInfo) Reset()
func (*InstanceInfo) String
func (x *InstanceInfo) String() string
LatencyDistribution
type LatencyDistribution struct {
// Representative latency percentiles.
LatencyPercentiles []*LatencyPercentile `protobuf:"bytes,1,rep,name=latency_percentiles,json=latencyPercentiles,proto3" json:"latency_percentiles,omitempty"`
// contains filtered or unexported fields
}
Describes measured latency distribution.
func (*LatencyDistribution) Descriptor
func (*LatencyDistribution) Descriptor() ([]byte, []int)
Deprecated: Use LatencyDistribution.ProtoReflect.Descriptor instead.
func (*LatencyDistribution) GetLatencyPercentiles
func (x *LatencyDistribution) GetLatencyPercentiles() []*LatencyPercentile
func (*LatencyDistribution) ProtoMessage
func (*LatencyDistribution) ProtoMessage()
func (*LatencyDistribution) ProtoReflect
func (x *LatencyDistribution) ProtoReflect() protoreflect.Message
func (*LatencyDistribution) Reset
func (x *LatencyDistribution) Reset()
func (*LatencyDistribution) String
func (x *LatencyDistribution) String() string
LatencyPercentile
type LatencyPercentile struct {
// Percentage of samples this data point applies to.
Percent int32 `protobuf:"varint,1,opt,name=percent,proto3" json:"percent,omitempty"`
// percent-th percentile of latency observed, in microseconds.
// Fraction of percent/100 of samples have latency lower or
// equal to the value of this field.
LatencyMicros int64 `protobuf:"varint,2,opt,name=latency_micros,json=latencyMicros,proto3" json:"latency_micros,omitempty"`
// contains filtered or unexported fields
}
Latency percentile rank and value.
func (*LatencyPercentile) Descriptor
func (*LatencyPercentile) Descriptor() ([]byte, []int)
Deprecated: Use LatencyPercentile.ProtoReflect.Descriptor instead.
func (*LatencyPercentile) GetLatencyMicros
func (x *LatencyPercentile) GetLatencyMicros() int64
func (*LatencyPercentile) GetPercent
func (x *LatencyPercentile) GetPercent() int32
func (*LatencyPercentile) ProtoMessage
func (*LatencyPercentile) ProtoMessage()
func (*LatencyPercentile) ProtoReflect
func (x *LatencyPercentile) ProtoReflect() protoreflect.Message
func (*LatencyPercentile) Reset
func (x *LatencyPercentile) Reset()
func (*LatencyPercentile) String
func (x *LatencyPercentile) String() string
ListConnectivityTestsRequest
type ListConnectivityTestsRequest struct {
// Required. The parent resource of the Connectivity Tests:
//
// `projects/{project_id}/locations/global`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Number of `ConnectivityTests` to return.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Page token from an earlier query, as returned in `next_page_token`.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Lists the `ConnectivityTests` that match the filter expression. A filter
// expression filters the resources listed in the response. The expression
// must be of the form `
Request for the ListConnectivityTests
method.
func (*ListConnectivityTestsRequest) Descriptor
func (*ListConnectivityTestsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListConnectivityTestsRequest.ProtoReflect.Descriptor instead.
func (*ListConnectivityTestsRequest) GetFilter
func (x *ListConnectivityTestsRequest) GetFilter() string
func (*ListConnectivityTestsRequest) GetOrderBy
func (x *ListConnectivityTestsRequest) GetOrderBy() string
func (*ListConnectivityTestsRequest) GetPageSize
func (x *ListConnectivityTestsRequest) GetPageSize() int32
func (*ListConnectivityTestsRequest) GetPageToken
func (x *ListConnectivityTestsRequest) GetPageToken() string
func (*ListConnectivityTestsRequest) GetParent
func (x *ListConnectivityTestsRequest) GetParent() string
func (*ListConnectivityTestsRequest) ProtoMessage
func (*ListConnectivityTestsRequest) ProtoMessage()
func (*ListConnectivityTestsRequest) ProtoReflect
func (x *ListConnectivityTestsRequest) ProtoReflect() protoreflect.Message
func (*ListConnectivityTestsRequest) Reset
func (x *ListConnectivityTestsRequest) Reset()
func (*ListConnectivityTestsRequest) String
func (x *ListConnectivityTestsRequest) String() string
ListConnectivityTestsResponse
type ListConnectivityTestsResponse struct {
// List of Connectivity Tests.
Resources []*ConnectivityTest `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"`
// Page token to fetch the next set of Connectivity Tests.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached (when querying all locations with `-`).
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}
Response for the ListConnectivityTests
method.
func (*ListConnectivityTestsResponse) Descriptor
func (*ListConnectivityTestsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListConnectivityTestsResponse.ProtoReflect.Descriptor instead.
func (*ListConnectivityTestsResponse) GetNextPageToken
func (x *ListConnectivityTestsResponse) GetNextPageToken() string
func (*ListConnectivityTestsResponse) GetResources
func (x *ListConnectivityTestsResponse) GetResources() []*ConnectivityTest
func (*ListConnectivityTestsResponse) GetUnreachable
func (x *ListConnectivityTestsResponse) GetUnreachable() []string
func (*ListConnectivityTestsResponse) ProtoMessage
func (*ListConnectivityTestsResponse) ProtoMessage()
func (*ListConnectivityTestsResponse) ProtoReflect
func (x *ListConnectivityTestsResponse) ProtoReflect() protoreflect.Message
func (*ListConnectivityTestsResponse) Reset
func (x *ListConnectivityTestsResponse) Reset()
func (*ListConnectivityTestsResponse) String
func (x *ListConnectivityTestsResponse) String() string
LoadBalancerBackend
type LoadBalancerBackend struct {
DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
HealthCheckFirewallState LoadBalancerBackend_HealthCheckFirewallState "" /* 222 byte string literal not displayed */
HealthCheckAllowingFirewallRules []string "" /* 163 byte string literal not displayed */
HealthCheckBlockingFirewallRules []string "" /* 163 byte string literal not displayed */
}
For display only. Metadata associated with a specific load balancer backend.
func (*LoadBalancerBackend) Descriptor
func (*LoadBalancerBackend) Descriptor() ([]byte, []int)
Deprecated: Use LoadBalancerBackend.ProtoReflect.Descriptor instead.
func (*LoadBalancerBackend) GetDisplayName
func (x *LoadBalancerBackend) GetDisplayName() string
func (*LoadBalancerBackend) GetHealthCheckAllowingFirewallRules
func (x *LoadBalancerBackend) GetHealthCheckAllowingFirewallRules() []string
func (*LoadBalancerBackend) GetHealthCheckBlockingFirewallRules
func (x *LoadBalancerBackend) GetHealthCheckBlockingFirewallRules() []string
func (*LoadBalancerBackend) GetHealthCheckFirewallState
func (x *LoadBalancerBackend) GetHealthCheckFirewallState() LoadBalancerBackend_HealthCheckFirewallState
func (*LoadBalancerBackend) GetUri
func (x *LoadBalancerBackend) GetUri() string
func (*LoadBalancerBackend) ProtoMessage
func (*LoadBalancerBackend) ProtoMessage()
func (*LoadBalancerBackend) ProtoReflect
func (x *LoadBalancerBackend) ProtoReflect() protoreflect.Message
func (*LoadBalancerBackend) Reset
func (x *LoadBalancerBackend) Reset()
func (*LoadBalancerBackend) String
func (x *LoadBalancerBackend) String() string
LoadBalancerBackendInfo
type LoadBalancerBackendInfo struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
InstanceUri string `protobuf:"bytes,2,opt,name=instance_uri,json=instanceUri,proto3" json:"instance_uri,omitempty"`
BackendServiceUri string `protobuf:"bytes,3,opt,name=backend_service_uri,json=backendServiceUri,proto3" json:"backend_service_uri,omitempty"`
InstanceGroupUri string `protobuf:"bytes,4,opt,name=instance_group_uri,json=instanceGroupUri,proto3" json:"instance_group_uri,omitempty"`
NetworkEndpointGroupUri string "" /* 134 byte string literal not displayed */
BackendBucketUri string `protobuf:"bytes,8,opt,name=backend_bucket_uri,json=backendBucketUri,proto3" json:"backend_bucket_uri,omitempty"`
PscServiceAttachmentUri string "" /* 134 byte string literal not displayed */
PscGoogleApiTarget string `protobuf:"bytes,10,opt,name=psc_google_api_target,json=pscGoogleApiTarget,proto3" json:"psc_google_api_target,omitempty"`
HealthCheckUri string `protobuf:"bytes,6,opt,name=health_check_uri,json=healthCheckUri,proto3" json:"health_check_uri,omitempty"`
HealthCheckFirewallsConfigState LoadBalancerBackendInfo_HealthCheckFirewallsConfigState "" /* 256 byte string literal not displayed */
}
For display only. Metadata associated with the load balancer backend.
func (*LoadBalancerBackendInfo) Descriptor
func (*LoadBalancerBackendInfo) Descriptor() ([]byte, []int)
Deprecated: Use LoadBalancerBackendInfo.ProtoReflect.Descriptor instead.
func (*LoadBalancerBackendInfo) GetBackendBucketUri
func (x *LoadBalancerBackendInfo) GetBackendBucketUri() string
func (*LoadBalancerBackendInfo) GetBackendServiceUri
func (x *LoadBalancerBackendInfo) GetBackendServiceUri() string
func (*LoadBalancerBackendInfo) GetHealthCheckFirewallsConfigState
func (x *LoadBalancerBackendInfo) GetHealthCheckFirewallsConfigState() LoadBalancerBackendInfo_HealthCheckFirewallsConfigState
func (*LoadBalancerBackendInfo) GetHealthCheckUri
func (x *LoadBalancerBackendInfo) GetHealthCheckUri() string
func (*LoadBalancerBackendInfo) GetInstanceGroupUri
func (x *LoadBalancerBackendInfo) GetInstanceGroupUri() string
func (*LoadBalancerBackendInfo) GetInstanceUri
func (x *LoadBalancerBackendInfo) GetInstanceUri() string
func (*LoadBalancerBackendInfo) GetName
func (x *LoadBalancerBackendInfo) GetName() string
func (*LoadBalancerBackendInfo) GetNetworkEndpointGroupUri
func (x *LoadBalancerBackendInfo) GetNetworkEndpointGroupUri() string
func (*LoadBalancerBackendInfo) GetPscGoogleApiTarget
func (x *LoadBalancerBackendInfo) GetPscGoogleApiTarget() string
func (*LoadBalancerBackendInfo) GetPscServiceAttachmentUri
func (x *LoadBalancerBackendInfo) GetPscServiceAttachmentUri() string
func (*LoadBalancerBackendInfo) ProtoMessage
func (*LoadBalancerBackendInfo) ProtoMessage()
func (*LoadBalancerBackendInfo) ProtoReflect
func (x *LoadBalancerBackendInfo) ProtoReflect() protoreflect.Message
func (*LoadBalancerBackendInfo) Reset
func (x *LoadBalancerBackendInfo) Reset()
func (*LoadBalancerBackendInfo) String
func (x *LoadBalancerBackendInfo) String() string
LoadBalancerBackendInfo_HealthCheckFirewallsConfigState
type LoadBalancerBackendInfo_HealthCheckFirewallsConfigState int32
Health check firewalls configuration state enum.
LoadBalancerBackendInfo_HEALTH_CHECK_FIREWALLS_CONFIG_STATE_UNSPECIFIED, LoadBalancerBackendInfo_FIREWALLS_CONFIGURED, LoadBalancerBackendInfo_FIREWALLS_PARTIALLY_CONFIGURED, LoadBalancerBackendInfo_FIREWALLS_NOT_CONFIGURED, LoadBalancerBackendInfo_FIREWALLS_UNSUPPORTED
const (
// Configuration state unspecified. It usually means that the backend has
// no health check attached, or there was an unexpected configuration error
// preventing Connectivity tests from verifying health check configuration.
LoadBalancerBackendInfo_HEALTH_CHECK_FIREWALLS_CONFIG_STATE_UNSPECIFIED LoadBalancerBackendInfo_HealthCheckFirewallsConfigState = 0
// Firewall rules (policies) allowing health check traffic from all required
// IP ranges to the backend are configured.
LoadBalancerBackendInfo_FIREWALLS_CONFIGURED LoadBalancerBackendInfo_HealthCheckFirewallsConfigState = 1
// Firewall rules (policies) allow health check traffic only from a part of
// required IP ranges.
LoadBalancerBackendInfo_FIREWALLS_PARTIALLY_CONFIGURED LoadBalancerBackendInfo_HealthCheckFirewallsConfigState = 2
// Firewall rules (policies) deny health check traffic from all required
// IP ranges to the backend.
LoadBalancerBackendInfo_FIREWALLS_NOT_CONFIGURED LoadBalancerBackendInfo_HealthCheckFirewallsConfigState = 3
// The network contains firewall rules of unsupported types, so Connectivity
// tests were not able to verify health check configuration status. Please
// refer to the documentation for the list of unsupported configurations:
// https://cloud.google.com/network-intelligence-center/docs/connectivity-tests/concepts/overview#unsupported-configs
LoadBalancerBackendInfo_FIREWALLS_UNSUPPORTED LoadBalancerBackendInfo_HealthCheckFirewallsConfigState = 4
)
func (LoadBalancerBackendInfo_HealthCheckFirewallsConfigState) Descriptor
func (LoadBalancerBackendInfo_HealthCheckFirewallsConfigState) Descriptor() protoreflect.EnumDescriptor
func (LoadBalancerBackendInfo_HealthCheckFirewallsConfigState) Enum
func (x LoadBalancerBackendInfo_HealthCheckFirewallsConfigState) Enum() *LoadBalancerBackendInfo_HealthCheckFirewallsConfigState
func (LoadBalancerBackendInfo_HealthCheckFirewallsConfigState) EnumDescriptor
func (LoadBalancerBackendInfo_HealthCheckFirewallsConfigState) EnumDescriptor() ([]byte, []int)
Deprecated: Use LoadBalancerBackendInfo_HealthCheckFirewallsConfigState.Descriptor instead.
func (LoadBalancerBackendInfo_HealthCheckFirewallsConfigState) Number
func (x LoadBalancerBackendInfo_HealthCheckFirewallsConfigState) Number() protoreflect.EnumNumber
func (LoadBalancerBackendInfo_HealthCheckFirewallsConfigState) String
func (x LoadBalancerBackendInfo_HealthCheckFirewallsConfigState) String() string
func (LoadBalancerBackendInfo_HealthCheckFirewallsConfigState) Type
LoadBalancerBackend_HealthCheckFirewallState
type LoadBalancerBackend_HealthCheckFirewallState int32
State of a health check firewall configuration:
LoadBalancerBackend_HEALTH_CHECK_FIREWALL_STATE_UNSPECIFIED, LoadBalancerBackend_CONFIGURED, LoadBalancerBackend_MISCONFIGURED
const (
// State is unspecified. Default state if not populated.
LoadBalancerBackend_HEALTH_CHECK_FIREWALL_STATE_UNSPECIFIED LoadBalancerBackend_HealthCheckFirewallState = 0
// There are configured firewall rules to allow health check probes to the
// backend.
LoadBalancerBackend_CONFIGURED LoadBalancerBackend_HealthCheckFirewallState = 1
// There are firewall rules configured to allow partial health check ranges
// or block all health check ranges.
// If a health check probe is sent from denied IP ranges,
// the health check to the backend will fail. Then, the backend will be
// marked unhealthy and will not receive traffic sent to the load balancer.
LoadBalancerBackend_MISCONFIGURED LoadBalancerBackend_HealthCheckFirewallState = 2
)
func (LoadBalancerBackend_HealthCheckFirewallState) Descriptor
func (LoadBalancerBackend_HealthCheckFirewallState) Descriptor() protoreflect.EnumDescriptor
func (LoadBalancerBackend_HealthCheckFirewallState) Enum
func (x LoadBalancerBackend_HealthCheckFirewallState) Enum() *LoadBalancerBackend_HealthCheckFirewallState
func (LoadBalancerBackend_HealthCheckFirewallState) EnumDescriptor
func (LoadBalancerBackend_HealthCheckFirewallState) EnumDescriptor() ([]byte, []int)
Deprecated: Use LoadBalancerBackend_HealthCheckFirewallState.Descriptor instead.
func (LoadBalancerBackend_HealthCheckFirewallState) Number
func (x LoadBalancerBackend_HealthCheckFirewallState) Number() protoreflect.EnumNumber
func (LoadBalancerBackend_HealthCheckFirewallState) String
func (x LoadBalancerBackend_HealthCheckFirewallState) String() string
func (LoadBalancerBackend_HealthCheckFirewallState) Type
func (LoadBalancerBackend_HealthCheckFirewallState) Type() protoreflect.EnumType
LoadBalancerInfo
type LoadBalancerInfo struct {
LoadBalancerType LoadBalancerInfo_LoadBalancerType "" /* 185 byte string literal not displayed */
HealthCheckUri string `protobuf:"bytes,2,opt,name=health_check_uri,json=healthCheckUri,proto3" json:"health_check_uri,omitempty"`
Backends []*LoadBalancerBackend `protobuf:"bytes,3,rep,name=backends,proto3" json:"backends,omitempty"`
BackendType LoadBalancerInfo_BackendType "" /* 163 byte string literal not displayed */
BackendUri string `protobuf:"bytes,5,opt,name=backend_uri,json=backendUri,proto3" json:"backend_uri,omitempty"`
}
For display only. Metadata associated with a load balancer.
func (*LoadBalancerInfo) Descriptor
func (*LoadBalancerInfo) Descriptor() ([]byte, []int)
Deprecated: Use LoadBalancerInfo.ProtoReflect.Descriptor instead.
func (*LoadBalancerInfo) GetBackendType
func (x *LoadBalancerInfo) GetBackendType() LoadBalancerInfo_BackendType
func (*LoadBalancerInfo) GetBackendUri
func (x *LoadBalancerInfo) GetBackendUri() string
func (*LoadBalancerInfo) GetBackends
func (x *LoadBalancerInfo) GetBackends() []*LoadBalancerBackend
func (*LoadBalancerInfo) GetHealthCheckUri
func (x *LoadBalancerInfo) GetHealthCheckUri() string
Deprecated: Marked as deprecated in google/cloud/networkmanagement/v1/trace.proto.
func (*LoadBalancerInfo) GetLoadBalancerType
func (x *LoadBalancerInfo) GetLoadBalancerType() LoadBalancerInfo_LoadBalancerType
func (*LoadBalancerInfo) ProtoMessage
func (*LoadBalancerInfo) ProtoMessage()
func (*LoadBalancerInfo) ProtoReflect
func (x *LoadBalancerInfo) ProtoReflect() protoreflect.Message
func (*LoadBalancerInfo) Reset
func (x *LoadBalancerInfo) Reset()
func (*LoadBalancerInfo) String
func (x *LoadBalancerInfo) String() string
LoadBalancerInfo_BackendType
type LoadBalancerInfo_BackendType int32
The type definition for a load balancer backend configuration:
LoadBalancerInfo_BACKEND_TYPE_UNSPECIFIED, LoadBalancerInfo_BACKEND_SERVICE, LoadBalancerInfo_TARGET_POOL, LoadBalancerInfo_TARGET_INSTANCE
const (
// Type is unspecified.
LoadBalancerInfo_BACKEND_TYPE_UNSPECIFIED LoadBalancerInfo_BackendType = 0
// Backend Service as the load balancer's backend.
LoadBalancerInfo_BACKEND_SERVICE LoadBalancerInfo_BackendType = 1
// Target Pool as the load balancer's backend.
LoadBalancerInfo_TARGET_POOL LoadBalancerInfo_BackendType = 2
// Target Instance as the load balancer's backend.
LoadBalancerInfo_TARGET_INSTANCE LoadBalancerInfo_BackendType = 3
)
func (LoadBalancerInfo_BackendType) Descriptor
func (LoadBalancerInfo_BackendType) Descriptor() protoreflect.EnumDescriptor
func (LoadBalancerInfo_BackendType) Enum
func (x LoadBalancerInfo_BackendType) Enum() *LoadBalancerInfo_BackendType
func (LoadBalancerInfo_BackendType) EnumDescriptor
func (LoadBalancerInfo_BackendType) EnumDescriptor() ([]byte, []int)
Deprecated: Use LoadBalancerInfo_BackendType.Descriptor instead.
func (LoadBalancerInfo_BackendType) Number
func (x LoadBalancerInfo_BackendType) Number() protoreflect.EnumNumber
func (LoadBalancerInfo_BackendType) String
func (x LoadBalancerInfo_BackendType) String() string
func (LoadBalancerInfo_BackendType) Type
func (LoadBalancerInfo_BackendType) Type() protoreflect.EnumType
LoadBalancerInfo_LoadBalancerType
type LoadBalancerInfo_LoadBalancerType int32
The type definition for a load balancer:
LoadBalancerInfo_LOAD_BALANCER_TYPE_UNSPECIFIED, LoadBalancerInfo_INTERNAL_TCP_UDP, LoadBalancerInfo_NETWORK_TCP_UDP, LoadBalancerInfo_HTTP_PROXY, LoadBalancerInfo_TCP_PROXY, LoadBalancerInfo_SSL_PROXY
const (
// Type is unspecified.
LoadBalancerInfo_LOAD_BALANCER_TYPE_UNSPECIFIED LoadBalancerInfo_LoadBalancerType = 0
// Internal TCP/UDP load balancer.
LoadBalancerInfo_INTERNAL_TCP_UDP LoadBalancerInfo_LoadBalancerType = 1
// Network TCP/UDP load balancer.
LoadBalancerInfo_NETWORK_TCP_UDP LoadBalancerInfo_LoadBalancerType = 2
// HTTP(S) proxy load balancer.
LoadBalancerInfo_HTTP_PROXY LoadBalancerInfo_LoadBalancerType = 3
// TCP proxy load balancer.
LoadBalancerInfo_TCP_PROXY LoadBalancerInfo_LoadBalancerType = 4
// SSL proxy load balancer.
LoadBalancerInfo_SSL_PROXY LoadBalancerInfo_LoadBalancerType = 5
)
func (LoadBalancerInfo_LoadBalancerType) Descriptor
func (LoadBalancerInfo_LoadBalancerType) Descriptor() protoreflect.EnumDescriptor
func (LoadBalancerInfo_LoadBalancerType) Enum
func (x LoadBalancerInfo_LoadBalancerType) Enum() *LoadBalancerInfo_LoadBalancerType
func (LoadBalancerInfo_LoadBalancerType) EnumDescriptor
func (LoadBalancerInfo_LoadBalancerType) EnumDescriptor() ([]byte, []int)
Deprecated: Use LoadBalancerInfo_LoadBalancerType.Descriptor instead.
func (LoadBalancerInfo_LoadBalancerType) Number
func (x LoadBalancerInfo_LoadBalancerType) Number() protoreflect.EnumNumber
func (LoadBalancerInfo_LoadBalancerType) String
func (x LoadBalancerInfo_LoadBalancerType) String() string
func (LoadBalancerInfo_LoadBalancerType) Type
func (LoadBalancerInfo_LoadBalancerType) Type() protoreflect.EnumType
LoadBalancerType
type LoadBalancerType int32
Type of a load balancer. For more information, see Summary of Google Cloud load balancers.
LoadBalancerType_LOAD_BALANCER_TYPE_UNSPECIFIED, LoadBalancerType_HTTPS_ADVANCED_LOAD_BALANCER, LoadBalancerType_HTTPS_LOAD_BALANCER, LoadBalancerType_REGIONAL_HTTPS_LOAD_BALANCER, LoadBalancerType_INTERNAL_HTTPS_LOAD_BALANCER, LoadBalancerType_SSL_PROXY_LOAD_BALANCER, LoadBalancerType_TCP_PROXY_LOAD_BALANCER, LoadBalancerType_INTERNAL_TCP_PROXY_LOAD_BALANCER, LoadBalancerType_NETWORK_LOAD_BALANCER, LoadBalancerType_LEGACY_NETWORK_LOAD_BALANCER, LoadBalancerType_TCP_UDP_INTERNAL_LOAD_BALANCER
const (
// Forwarding rule points to a different target than a load balancer or a
// load balancer type is unknown.
LoadBalancerType_LOAD_BALANCER_TYPE_UNSPECIFIED LoadBalancerType = 0
// Global external HTTP(S) load balancer.
LoadBalancerType_HTTPS_ADVANCED_LOAD_BALANCER LoadBalancerType = 1
// Global external HTTP(S) load balancer (classic)
LoadBalancerType_HTTPS_LOAD_BALANCER LoadBalancerType = 2
// Regional external HTTP(S) load balancer.
LoadBalancerType_REGIONAL_HTTPS_LOAD_BALANCER LoadBalancerType = 3
// Internal HTTP(S) load balancer.
LoadBalancerType_INTERNAL_HTTPS_LOAD_BALANCER LoadBalancerType = 4
// External SSL proxy load balancer.
LoadBalancerType_SSL_PROXY_LOAD_BALANCER LoadBalancerType = 5
// External TCP proxy load balancer.
LoadBalancerType_TCP_PROXY_LOAD_BALANCER LoadBalancerType = 6
// Internal regional TCP proxy load balancer.
LoadBalancerType_INTERNAL_TCP_PROXY_LOAD_BALANCER LoadBalancerType = 7
// External TCP/UDP Network load balancer.
LoadBalancerType_NETWORK_LOAD_BALANCER LoadBalancerType = 8
// Target-pool based external TCP/UDP Network load balancer.
LoadBalancerType_LEGACY_NETWORK_LOAD_BALANCER LoadBalancerType = 9
// Internal TCP/UDP load balancer.
LoadBalancerType_TCP_UDP_INTERNAL_LOAD_BALANCER LoadBalancerType = 10
)
func (LoadBalancerType) Descriptor
func (LoadBalancerType) Descriptor() protoreflect.EnumDescriptor
func (LoadBalancerType) Enum
func (x LoadBalancerType) Enum() *LoadBalancerType
func (LoadBalancerType) EnumDescriptor
func (LoadBalancerType) EnumDescriptor() ([]byte, []int)
Deprecated: Use LoadBalancerType.Descriptor instead.
func (LoadBalancerType) Number
func (x LoadBalancerType) Number() protoreflect.EnumNumber
func (LoadBalancerType) String
func (x LoadBalancerType) String() string
func (LoadBalancerType) Type
func (LoadBalancerType) Type() protoreflect.EnumType
NatInfo
type NatInfo struct {
// Type of NAT.
Type NatInfo_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.networkmanagement.v1.NatInfo_Type" json:"type,omitempty"`
// IP protocol in string format, for example: "TCP", "UDP", "ICMP".
Protocol string `protobuf:"bytes,2,opt,name=protocol,proto3" json:"protocol,omitempty"`
// URI of the network where NAT translation takes place.
NetworkUri string `protobuf:"bytes,3,opt,name=network_uri,json=networkUri,proto3" json:"network_uri,omitempty"`
// Source IP address before NAT translation.
OldSourceIp string `protobuf:"bytes,4,opt,name=old_source_ip,json=oldSourceIp,proto3" json:"old_source_ip,omitempty"`
// Source IP address after NAT translation.
NewSourceIp string `protobuf:"bytes,5,opt,name=new_source_ip,json=newSourceIp,proto3" json:"new_source_ip,omitempty"`
// Destination IP address before NAT translation.
OldDestinationIp string `protobuf:"bytes,6,opt,name=old_destination_ip,json=oldDestinationIp,proto3" json:"old_destination_ip,omitempty"`
// Destination IP address after NAT translation.
NewDestinationIp string `protobuf:"bytes,7,opt,name=new_destination_ip,json=newDestinationIp,proto3" json:"new_destination_ip,omitempty"`
// Source port before NAT translation. Only valid when protocol is TCP or UDP.
OldSourcePort int32 `protobuf:"varint,8,opt,name=old_source_port,json=oldSourcePort,proto3" json:"old_source_port,omitempty"`
// Source port after NAT translation. Only valid when protocol is TCP or UDP.
NewSourcePort int32 `protobuf:"varint,9,opt,name=new_source_port,json=newSourcePort,proto3" json:"new_source_port,omitempty"`
// Destination port before NAT translation. Only valid when protocol is TCP or
// UDP.
OldDestinationPort int32 `protobuf:"varint,10,opt,name=old_destination_port,json=oldDestinationPort,proto3" json:"old_destination_port,omitempty"`
// Destination port after NAT translation. Only valid when protocol is TCP or
// UDP.
NewDestinationPort int32 `protobuf:"varint,11,opt,name=new_destination_port,json=newDestinationPort,proto3" json:"new_destination_port,omitempty"`
// Uri of the Cloud Router. Only valid when type is CLOUD_NAT.
RouterUri string `protobuf:"bytes,12,opt,name=router_uri,json=routerUri,proto3" json:"router_uri,omitempty"`
// The name of Cloud NAT Gateway. Only valid when type is CLOUD_NAT.
NatGatewayName string `protobuf:"bytes,13,opt,name=nat_gateway_name,json=natGatewayName,proto3" json:"nat_gateway_name,omitempty"`
// contains filtered or unexported fields
}
For display only. Metadata associated with NAT.
func (*NatInfo) Descriptor
Deprecated: Use NatInfo.ProtoReflect.Descriptor instead.
func (*NatInfo) GetNatGatewayName
func (*NatInfo) GetNetworkUri
func (*NatInfo) GetNewDestinationIp
func (*NatInfo) GetNewDestinationPort
func (*NatInfo) GetNewSourceIp
func (*NatInfo) GetNewSourcePort
func (*NatInfo) GetOldDestinationIp
func (*NatInfo) GetOldDestinationPort
func (*NatInfo) GetOldSourceIp
func (*NatInfo) GetOldSourcePort
func (*NatInfo) GetProtocol
func (*NatInfo) GetRouterUri
func (*NatInfo) GetType
func (x *NatInfo) GetType() NatInfo_Type
func (*NatInfo) ProtoMessage
func (*NatInfo) ProtoMessage()
func (*NatInfo) ProtoReflect
func (x *NatInfo) ProtoReflect() protoreflect.Message
func (*NatInfo) Reset
func (x *NatInfo) Reset()
func (*NatInfo) String
NatInfo_Type
type NatInfo_Type int32
Types of NAT.
NatInfo_TYPE_UNSPECIFIED, NatInfo_INTERNAL_TO_EXTERNAL, NatInfo_EXTERNAL_TO_INTERNAL, NatInfo_CLOUD_NAT, NatInfo_PRIVATE_SERVICE_CONNECT
const (
// Type is unspecified.
NatInfo_TYPE_UNSPECIFIED NatInfo_Type = 0
// From Compute Engine instance's internal address to external address.
NatInfo_INTERNAL_TO_EXTERNAL NatInfo_Type = 1
// From Compute Engine instance's external address to internal address.
NatInfo_EXTERNAL_TO_INTERNAL NatInfo_Type = 2
// Cloud NAT Gateway.
NatInfo_CLOUD_NAT NatInfo_Type = 3
// Private service connect NAT.
NatInfo_PRIVATE_SERVICE_CONNECT NatInfo_Type = 4
)
func (NatInfo_Type) Descriptor
func (NatInfo_Type) Descriptor() protoreflect.EnumDescriptor
func (NatInfo_Type) Enum
func (x NatInfo_Type) Enum() *NatInfo_Type
func (NatInfo_Type) EnumDescriptor
func (NatInfo_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use NatInfo_Type.Descriptor instead.
func (NatInfo_Type) Number
func (x NatInfo_Type) Number() protoreflect.EnumNumber
func (NatInfo_Type) String
func (x NatInfo_Type) String() string
func (NatInfo_Type) Type
func (NatInfo_Type) Type() protoreflect.EnumType
NetworkInfo
type NetworkInfo struct {
// Name of a Compute Engine network.
DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// URI of a Compute Engine network.
Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
// The IP range that matches the test.
MatchedIpRange string `protobuf:"bytes,4,opt,name=matched_ip_range,json=matchedIpRange,proto3" json:"matched_ip_range,omitempty"`
// contains filtered or unexported fields
}
For display only. Metadata associated with a Compute Engine network.
func (*NetworkInfo) Descriptor
func (*NetworkInfo) Descriptor() ([]byte, []int)
Deprecated: Use NetworkInfo.ProtoReflect.Descriptor instead.
func (*NetworkInfo) GetDisplayName
func (x *NetworkInfo) GetDisplayName() string
func (*NetworkInfo) GetMatchedIpRange
func (x *NetworkInfo) GetMatchedIpRange() string
func (*NetworkInfo) GetUri
func (x *NetworkInfo) GetUri() string
func (*NetworkInfo) ProtoMessage
func (*NetworkInfo) ProtoMessage()
func (*NetworkInfo) ProtoReflect
func (x *NetworkInfo) ProtoReflect() protoreflect.Message
func (*NetworkInfo) Reset
func (x *NetworkInfo) Reset()
func (*NetworkInfo) String
func (x *NetworkInfo) String() string
OperationMetadata
type OperationMetadata struct {
// The time the operation was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// The time the operation finished running.
EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// Target of the operation - for example
// projects/project-1/locations/global/connectivityTests/test-1
Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
// Name of the verb executed by the operation.
Verb string `protobuf:"bytes,4,opt,name=verb,proto3" json:"verb,omitempty"`
// Human-readable status of the operation, if any.
StatusDetail string `protobuf:"bytes,5,opt,name=status_detail,json=statusDetail,proto3" json:"status_detail,omitempty"`
// Specifies if cancellation was requested for the operation.
CancelRequested bool `protobuf:"varint,6,opt,name=cancel_requested,json=cancelRequested,proto3" json:"cancel_requested,omitempty"`
// API version.
ApiVersion string `protobuf:"bytes,7,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
// contains filtered or unexported fields
}
Metadata describing an [Operation][google.longrunning.Operation]
func (*OperationMetadata) Descriptor
func (*OperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.
func (*OperationMetadata) GetApiVersion
func (x *OperationMetadata) GetApiVersion() string
func (*OperationMetadata) GetCancelRequested
func (x *OperationMetadata) GetCancelRequested() bool
func (*OperationMetadata) GetCreateTime
func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestamp
func (*OperationMetadata) GetEndTime
func (x *OperationMetadata) GetEndTime() *timestamppb.Timestamp
func (*OperationMetadata) GetStatusDetail
func (x *OperationMetadata) GetStatusDetail() string
func (*OperationMetadata) GetTarget
func (x *OperationMetadata) GetTarget() string
func (*OperationMetadata) GetVerb
func (x *OperationMetadata) GetVerb() string
func (*OperationMetadata) ProtoMessage
func (*OperationMetadata) ProtoMessage()
func (*OperationMetadata) ProtoReflect
func (x *OperationMetadata) ProtoReflect() protoreflect.Message
func (*OperationMetadata) Reset
func (x *OperationMetadata) Reset()
func (*OperationMetadata) String
func (x *OperationMetadata) String() string
ProbingDetails
type ProbingDetails struct {
Result ProbingDetails_ProbingResult "" /* 134 byte string literal not displayed */
VerifyTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=verify_time,json=verifyTime,proto3" json:"verify_time,omitempty"`
Error *status.Status `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
AbortCause ProbingDetails_ProbingAbortCause "" /* 164 byte string literal not displayed */
SentProbeCount int32 `protobuf:"varint,5,opt,name=sent_probe_count,json=sentProbeCount,proto3" json:"sent_probe_count,omitempty"`
SuccessfulProbeCount int32 `protobuf:"varint,6,opt,name=successful_probe_count,json=successfulProbeCount,proto3" json:"successful_probe_count,omitempty"`
EndpointInfo *EndpointInfo `protobuf:"bytes,7,opt,name=endpoint_info,json=endpointInfo,proto3" json:"endpoint_info,omitempty"`
ProbingLatency *LatencyDistribution `protobuf:"bytes,8,opt,name=probing_latency,json=probingLatency,proto3" json:"probing_latency,omitempty"`
DestinationEgressLocation *ProbingDetails_EdgeLocation "" /* 138 byte string literal not displayed */
}
Results of active probing from the last run of the test.
func (*ProbingDetails) Descriptor
func (*ProbingDetails) Descriptor() ([]byte, []int)
Deprecated: Use ProbingDetails.ProtoReflect.Descriptor instead.
func (*ProbingDetails) GetAbortCause
func (x *ProbingDetails) GetAbortCause() ProbingDetails_ProbingAbortCause
func (*ProbingDetails) GetDestinationEgressLocation
func (x *ProbingDetails) GetDestinationEgressLocation() *ProbingDetails_EdgeLocation
func (*ProbingDetails) GetEndpointInfo
func (x *ProbingDetails) GetEndpointInfo() *EndpointInfo
func (*ProbingDetails) GetError
func (x *ProbingDetails) GetError() *status.Status
func (*ProbingDetails) GetProbingLatency
func (x *ProbingDetails) GetProbingLatency() *LatencyDistribution
func (*ProbingDetails) GetResult
func (x *ProbingDetails) GetResult() ProbingDetails_ProbingResult
func (*ProbingDetails) GetSentProbeCount
func (x *ProbingDetails) GetSentProbeCount() int32
func (*ProbingDetails) GetSuccessfulProbeCount
func (x *ProbingDetails) GetSuccessfulProbeCount() int32
func (*ProbingDetails) GetVerifyTime
func (x *ProbingDetails) GetVerifyTime() *timestamppb.Timestamp
func (*ProbingDetails) ProtoMessage
func (*ProbingDetails) ProtoMessage()
func (*ProbingDetails) ProtoReflect
func (x *ProbingDetails) ProtoReflect() protoreflect.Message
func (*ProbingDetails) Reset
func (x *ProbingDetails) Reset()
func (*ProbingDetails) String
func (x *ProbingDetails) String() string
ProbingDetails_EdgeLocation
type ProbingDetails_EdgeLocation struct {
// Name of the metropolitan area.
MetropolitanArea string `protobuf:"bytes,1,opt,name=metropolitan_area,json=metropolitanArea,proto3" json:"metropolitan_area,omitempty"`
// contains filtered or unexported fields
}
Representation of a network edge location as per https://cloud.google.com/vpc/docs/edge-locations.
func (*ProbingDetails_EdgeLocation) Descriptor
func (*ProbingDetails_EdgeLocation) Descriptor() ([]byte, []int)
Deprecated: Use ProbingDetails_EdgeLocation.ProtoReflect.Descriptor instead.
func (*ProbingDetails_EdgeLocation) GetMetropolitanArea
func (x *ProbingDetails_EdgeLocation) GetMetropolitanArea() string
func (*ProbingDetails_EdgeLocation) ProtoMessage
func (*ProbingDetails_EdgeLocation) ProtoMessage()
func (*ProbingDetails_EdgeLocation) ProtoReflect
func (x *ProbingDetails_EdgeLocation) ProtoReflect() protoreflect.Message
func (*ProbingDetails_EdgeLocation) Reset
func (x *ProbingDetails_EdgeLocation) Reset()
func (*ProbingDetails_EdgeLocation) String
func (x *ProbingDetails_EdgeLocation) String() string
ProbingDetails_ProbingAbortCause
type ProbingDetails_ProbingAbortCause int32
Abort cause types.
ProbingDetails_PROBING_ABORT_CAUSE_UNSPECIFIED, ProbingDetails_PERMISSION_DENIED, ProbingDetails_NO_SOURCE_LOCATION
const (
// No reason was specified.
ProbingDetails_PROBING_ABORT_CAUSE_UNSPECIFIED ProbingDetails_ProbingAbortCause = 0
// The user lacks permission to access some of the
// network resources required to run the test.
ProbingDetails_PERMISSION_DENIED ProbingDetails_ProbingAbortCause = 1
// No valid source endpoint could be derived from the request.
ProbingDetails_NO_SOURCE_LOCATION ProbingDetails_ProbingAbortCause = 2
)
func (ProbingDetails_ProbingAbortCause) Descriptor
func (ProbingDetails_ProbingAbortCause) Descriptor() protoreflect.EnumDescriptor
func (ProbingDetails_ProbingAbortCause) Enum
func (x ProbingDetails_ProbingAbortCause) Enum() *ProbingDetails_ProbingAbortCause
func (ProbingDetails_ProbingAbortCause) EnumDescriptor
func (ProbingDetails_ProbingAbortCause) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProbingDetails_ProbingAbortCause.Descriptor instead.
func (ProbingDetails_ProbingAbortCause) Number
func (x ProbingDetails_ProbingAbortCause) Number() protoreflect.EnumNumber
func (ProbingDetails_ProbingAbortCause) String
func (x ProbingDetails_ProbingAbortCause) String() string
func (ProbingDetails_ProbingAbortCause) Type
func (ProbingDetails_ProbingAbortCause) Type() protoreflect.EnumType
ProbingDetails_ProbingResult
type ProbingDetails_ProbingResult int32
Overall probing result of the test.
ProbingDetails_PROBING_RESULT_UNSPECIFIED, ProbingDetails_REACHABLE, ProbingDetails_UNREACHABLE, ProbingDetails_REACHABILITY_INCONSISTENT, ProbingDetails_UNDETERMINED
const (
// No result was specified.
ProbingDetails_PROBING_RESULT_UNSPECIFIED ProbingDetails_ProbingResult = 0
// At least 95% of packets reached the destination.
ProbingDetails_REACHABLE ProbingDetails_ProbingResult = 1
// No packets reached the destination.
ProbingDetails_UNREACHABLE ProbingDetails_ProbingResult = 2
// Less than 95% of packets reached the destination.
ProbingDetails_REACHABILITY_INCONSISTENT ProbingDetails_ProbingResult = 3
// Reachability could not be determined. Possible reasons are:
// - The user lacks permission to access some of the network resources
// required to run the test.
// - No valid source endpoint could be derived from the request.
// - An internal error occurred.
ProbingDetails_UNDETERMINED ProbingDetails_ProbingResult = 4
)
func (ProbingDetails_ProbingResult) Descriptor
func (ProbingDetails_ProbingResult) Descriptor() protoreflect.EnumDescriptor
func (ProbingDetails_ProbingResult) Enum
func (x ProbingDetails_ProbingResult) Enum() *ProbingDetails_ProbingResult
func (ProbingDetails_ProbingResult) EnumDescriptor
func (ProbingDetails_ProbingResult) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProbingDetails_ProbingResult.Descriptor instead.
func (ProbingDetails_ProbingResult) Number
func (x ProbingDetails_ProbingResult) Number() protoreflect.EnumNumber
func (ProbingDetails_ProbingResult) String
func (x ProbingDetails_ProbingResult) String() string
func (ProbingDetails_ProbingResult) Type
func (ProbingDetails_ProbingResult) Type() protoreflect.EnumType
ProxyConnectionInfo
type ProxyConnectionInfo struct {
// IP protocol in string format, for example: "TCP", "UDP", "ICMP".
Protocol string `protobuf:"bytes,1,opt,name=protocol,proto3" json:"protocol,omitempty"`
// Source IP address of an original connection.
OldSourceIp string `protobuf:"bytes,2,opt,name=old_source_ip,json=oldSourceIp,proto3" json:"old_source_ip,omitempty"`
// Source IP address of a new connection.
NewSourceIp string `protobuf:"bytes,3,opt,name=new_source_ip,json=newSourceIp,proto3" json:"new_source_ip,omitempty"`
// Destination IP address of an original connection
OldDestinationIp string `protobuf:"bytes,4,opt,name=old_destination_ip,json=oldDestinationIp,proto3" json:"old_destination_ip,omitempty"`
// Destination IP address of a new connection.
NewDestinationIp string `protobuf:"bytes,5,opt,name=new_destination_ip,json=newDestinationIp,proto3" json:"new_destination_ip,omitempty"`
// Source port of an original connection. Only valid when protocol is TCP or
// UDP.
OldSourcePort int32 `protobuf:"varint,6,opt,name=old_source_port,json=oldSourcePort,proto3" json:"old_source_port,omitempty"`
// Source port of a new connection. Only valid when protocol is TCP or UDP.
NewSourcePort int32 `protobuf:"varint,7,opt,name=new_source_port,json=newSourcePort,proto3" json:"new_source_port,omitempty"`
// Destination port of an original connection. Only valid when protocol is TCP
// or UDP.
OldDestinationPort int32 `protobuf:"varint,8,opt,name=old_destination_port,json=oldDestinationPort,proto3" json:"old_destination_port,omitempty"`
// Destination port of a new connection. Only valid when protocol is TCP or
// UDP.
NewDestinationPort int32 `protobuf:"varint,9,opt,name=new_destination_port,json=newDestinationPort,proto3" json:"new_destination_port,omitempty"`
// Uri of proxy subnet.
SubnetUri string `protobuf:"bytes,10,opt,name=subnet_uri,json=subnetUri,proto3" json:"subnet_uri,omitempty"`
// URI of the network where connection is proxied.
NetworkUri string `protobuf:"bytes,11,opt,name=network_uri,json=networkUri,proto3" json:"network_uri,omitempty"`
// contains filtered or unexported fields
}
For display only. Metadata associated with ProxyConnection.
func (*ProxyConnectionInfo) Descriptor
func (*ProxyConnectionInfo) Descriptor() ([]byte, []int)
Deprecated: Use ProxyConnectionInfo.ProtoReflect.Descriptor instead.
func (*ProxyConnectionInfo) GetNetworkUri
func (x *ProxyConnectionInfo) GetNetworkUri() string
func (*ProxyConnectionInfo) GetNewDestinationIp
func (x *ProxyConnectionInfo) GetNewDestinationIp() string
func (*ProxyConnectionInfo) GetNewDestinationPort
func (x *ProxyConnectionInfo) GetNewDestinationPort() int32
func (*ProxyConnectionInfo) GetNewSourceIp
func (x *ProxyConnectionInfo) GetNewSourceIp() string
func (*ProxyConnectionInfo) GetNewSourcePort
func (x *ProxyConnectionInfo) GetNewSourcePort() int32
func (*ProxyConnectionInfo) GetOldDestinationIp
func (x *ProxyConnectionInfo) GetOldDestinationIp() string
func (*ProxyConnectionInfo) GetOldDestinationPort
func (x *ProxyConnectionInfo) GetOldDestinationPort() int32
func (*ProxyConnectionInfo) GetOldSourceIp
func (x *ProxyConnectionInfo) GetOldSourceIp() string
func (*ProxyConnectionInfo) GetOldSourcePort
func (x *ProxyConnectionInfo) GetOldSourcePort() int32
func (*ProxyConnectionInfo) GetProtocol
func (x *ProxyConnectionInfo) GetProtocol() string
func (*ProxyConnectionInfo) GetSubnetUri
func (x *ProxyConnectionInfo) GetSubnetUri() string
func (*ProxyConnectionInfo) ProtoMessage
func (*ProxyConnectionInfo) ProtoMessage()
func (*ProxyConnectionInfo) ProtoReflect
func (x *ProxyConnectionInfo) ProtoReflect() protoreflect.Message
func (*ProxyConnectionInfo) Reset
func (x *ProxyConnectionInfo) Reset()
func (*ProxyConnectionInfo) String
func (x *ProxyConnectionInfo) String() string
ReachabilityDetails
type ReachabilityDetails struct {
Result ReachabilityDetails_Result "" /* 132 byte string literal not displayed */
VerifyTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=verify_time,json=verifyTime,proto3" json:"verify_time,omitempty"`
Error *status.Status `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
Traces []*Trace `protobuf:"bytes,5,rep,name=traces,proto3" json:"traces,omitempty"`
}
Results of the configuration analysis from the last run of the test.
func (*ReachabilityDetails) Descriptor
func (*ReachabilityDetails) Descriptor() ([]byte, []int)
Deprecated: Use ReachabilityDetails.ProtoReflect.Descriptor instead.
func (*ReachabilityDetails) GetError
func (x *ReachabilityDetails) GetError() *status.Status
func (*ReachabilityDetails) GetResult
func (x *ReachabilityDetails) GetResult() ReachabilityDetails_Result
func (*ReachabilityDetails) GetTraces
func (x *ReachabilityDetails) GetTraces() []*Trace
func (*ReachabilityDetails) GetVerifyTime
func (x *ReachabilityDetails) GetVerifyTime() *timestamppb.Timestamp
func (*ReachabilityDetails) ProtoMessage
func (*ReachabilityDetails) ProtoMessage()
func (*ReachabilityDetails) ProtoReflect
func (x *ReachabilityDetails) ProtoReflect() protoreflect.Message
func (*ReachabilityDetails) Reset
func (x *ReachabilityDetails) Reset()
func (*ReachabilityDetails) String
func (x *ReachabilityDetails) String() string
ReachabilityDetails_Result
type ReachabilityDetails_Result int32
The overall result of the test's configuration analysis.
ReachabilityDetails_RESULT_UNSPECIFIED, ReachabilityDetails_REACHABLE, ReachabilityDetails_UNREACHABLE, ReachabilityDetails_AMBIGUOUS, ReachabilityDetails_UNDETERMINED
const (
// No result was specified.
ReachabilityDetails_RESULT_UNSPECIFIED ReachabilityDetails_Result = 0
// Possible scenarios are:
//
// - The configuration analysis determined that a packet originating from
// the source is expected to reach the destination.
// - The analysis didn't complete because the user lacks permission for
// some of the resources in the trace. However, at the time the user's
// permission became insufficient, the trace had been successful so far.
ReachabilityDetails_REACHABLE ReachabilityDetails_Result = 1
// A packet originating from the source is expected to be dropped before
// reaching the destination.
ReachabilityDetails_UNREACHABLE ReachabilityDetails_Result = 2
// The source and destination endpoints do not uniquely identify
// the test location in the network, and the reachability result contains
// multiple traces. For some traces, a packet could be delivered, and for
// others, it would not be. This result is also assigned to
// configuration analysis of return path if on its own it should be
// REACHABLE, but configuration analysis of forward path is AMBIGUOUS.
ReachabilityDetails_AMBIGUOUS ReachabilityDetails_Result = 4
// The configuration analysis did not complete. Possible reasons are:
//
// - A permissions error occurred--for example, the user might not have
// read permission for all of the resources named in the test.
// - An internal error occurred.
// - The analyzer received an invalid or unsupported argument or was unable
// to identify a known endpoint.
ReachabilityDetails_UNDETERMINED ReachabilityDetails_Result = 5
)
func (ReachabilityDetails_Result) Descriptor
func (ReachabilityDetails_Result) Descriptor() protoreflect.EnumDescriptor
func (ReachabilityDetails_Result) Enum
func (x ReachabilityDetails_Result) Enum() *ReachabilityDetails_Result
func (ReachabilityDetails_Result) EnumDescriptor
func (ReachabilityDetails_Result) EnumDescriptor() ([]byte, []int)
Deprecated: Use ReachabilityDetails_Result.Descriptor instead.
func (ReachabilityDetails_Result) Number
func (x ReachabilityDetails_Result) Number() protoreflect.EnumNumber
func (ReachabilityDetails_Result) String
func (x ReachabilityDetails_Result) String() string
func (ReachabilityDetails_Result) Type
func (ReachabilityDetails_Result) Type() protoreflect.EnumType
ReachabilityServiceClient
type ReachabilityServiceClient interface {
// Lists all Connectivity Tests owned by a project.
ListConnectivityTests(ctx context.Context, in *ListConnectivityTestsRequest, opts ...grpc.CallOption) (*ListConnectivityTestsResponse, error)
// Gets the details of a specific Connectivity Test.
GetConnectivityTest(ctx context.Context, in *GetConnectivityTestRequest, opts ...grpc.CallOption) (*ConnectivityTest, error)
// Creates a new Connectivity Test.
// After you create a test, the reachability analysis is performed as part
// of the long running operation, which completes when the analysis completes.
//
// If the endpoint specifications in `ConnectivityTest` are invalid
// (for example, containing non-existent resources in the network, or you
// don't have read permissions to the network configurations of listed
// projects), then the reachability result returns a value of `UNKNOWN`.
//
// If the endpoint specifications in `ConnectivityTest` are
// incomplete, the reachability result returns a value of
// AMBIGUOUS
. For more information,
// see the Connectivity Test documentation.
CreateConnectivityTest(ctx context.Context, in *CreateConnectivityTestRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates the configuration of an existing `ConnectivityTest`.
// After you update a test, the reachability analysis is performed as part
// of the long running operation, which completes when the analysis completes.
// The Reachability state in the test resource is updated with the new result.
//
// If the endpoint specifications in `ConnectivityTest` are invalid
// (for example, they contain non-existent resources in the network, or the
// user does not have read permissions to the network configurations of
// listed projects), then the reachability result returns a value of
// UNKNOWN
.
//
// If the endpoint specifications in `ConnectivityTest` are incomplete, the
// reachability result returns a value of `AMBIGUOUS`. See the documentation
// in `ConnectivityTest` for for more details.
UpdateConnectivityTest(ctx context.Context, in *UpdateConnectivityTestRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Rerun an existing `ConnectivityTest`.
// After the user triggers the rerun, the reachability analysis is performed
// as part of the long running operation, which completes when the analysis
// completes.
//
// Even though the test configuration remains the same, the reachability
// result may change due to underlying network configuration changes.
//
// If the endpoint specifications in `ConnectivityTest` become invalid (for
// example, specified resources are deleted in the network, or you lost
// read permissions to the network configurations of listed projects), then
// the reachability result returns a value of `UNKNOWN`.
RerunConnectivityTest(ctx context.Context, in *RerunConnectivityTestRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a specific `ConnectivityTest`.
DeleteConnectivityTest(ctx context.Context, in *DeleteConnectivityTestRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
}
ReachabilityServiceClient is the client API for ReachabilityService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewReachabilityServiceClient
func NewReachabilityServiceClient(cc grpc.ClientConnInterface) ReachabilityServiceClient
ReachabilityServiceServer
type ReachabilityServiceServer interface {
// Lists all Connectivity Tests owned by a project.
ListConnectivityTests(context.Context, *ListConnectivityTestsRequest) (*ListConnectivityTestsResponse, error)
// Gets the details of a specific Connectivity Test.
GetConnectivityTest(context.Context, *GetConnectivityTestRequest) (*ConnectivityTest, error)
// Creates a new Connectivity Test.
// After you create a test, the reachability analysis is performed as part
// of the long running operation, which completes when the analysis completes.
//
// If the endpoint specifications in `ConnectivityTest` are invalid
// (for example, containing non-existent resources in the network, or you
// don't have read permissions to the network configurations of listed
// projects), then the reachability result returns a value of `UNKNOWN`.
//
// If the endpoint specifications in `ConnectivityTest` are
// incomplete, the reachability result returns a value of
// AMBIGUOUS
. For more information,
// see the Connectivity Test documentation.
CreateConnectivityTest(context.Context, *CreateConnectivityTestRequest) (*longrunningpb.Operation, error)
// Updates the configuration of an existing `ConnectivityTest`.
// After you update a test, the reachability analysis is performed as part
// of the long running operation, which completes when the analysis completes.
// The Reachability state in the test resource is updated with the new result.
//
// If the endpoint specifications in `ConnectivityTest` are invalid
// (for example, they contain non-existent resources in the network, or the
// user does not have read permissions to the network configurations of
// listed projects), then the reachability result returns a value of
// UNKNOWN
.
//
// If the endpoint specifications in `ConnectivityTest` are incomplete, the
// reachability result returns a value of `AMBIGUOUS`. See the documentation
// in `ConnectivityTest` for for more details.
UpdateConnectivityTest(context.Context, *UpdateConnectivityTestRequest) (*longrunningpb.Operation, error)
// Rerun an existing `ConnectivityTest`.
// After the user triggers the rerun, the reachability analysis is performed
// as part of the long running operation, which completes when the analysis
// completes.
//
// Even though the test configuration remains the same, the reachability
// result may change due to underlying network configuration changes.
//
// If the endpoint specifications in `ConnectivityTest` become invalid (for
// example, specified resources are deleted in the network, or you lost
// read permissions to the network configurations of listed projects), then
// the reachability result returns a value of `UNKNOWN`.
RerunConnectivityTest(context.Context, *RerunConnectivityTestRequest) (*longrunningpb.Operation, error)
// Deletes a specific `ConnectivityTest`.
DeleteConnectivityTest(context.Context, *DeleteConnectivityTestRequest) (*longrunningpb.Operation, error)
}
ReachabilityServiceServer is the server API for ReachabilityService service.
RerunConnectivityTestRequest
type RerunConnectivityTestRequest struct {
// Required. Connectivity Test resource name using the form:
//
// `projects/{project_id}/locations/global/connectivityTests/{test_id}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request for the RerunConnectivityTest
method.
func (*RerunConnectivityTestRequest) Descriptor
func (*RerunConnectivityTestRequest) Descriptor() ([]byte, []int)
Deprecated: Use RerunConnectivityTestRequest.ProtoReflect.Descriptor instead.
func (*RerunConnectivityTestRequest) GetName
func (x *RerunConnectivityTestRequest) GetName() string
func (*RerunConnectivityTestRequest) ProtoMessage
func (*RerunConnectivityTestRequest) ProtoMessage()
func (*RerunConnectivityTestRequest) ProtoReflect
func (x *RerunConnectivityTestRequest) ProtoReflect() protoreflect.Message
func (*RerunConnectivityTestRequest) Reset
func (x *RerunConnectivityTestRequest) Reset()
func (*RerunConnectivityTestRequest) String
func (x *RerunConnectivityTestRequest) String() string
RouteInfo
type RouteInfo struct {
RouteType RouteInfo_RouteType "" /* 148 byte string literal not displayed */
NextHopType RouteInfo_NextHopType "" /* 158 byte string literal not displayed */
RouteScope RouteInfo_RouteScope "" /* 153 byte string literal not displayed */
DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
DestIpRange string `protobuf:"bytes,3,opt,name=dest_ip_range,json=destIpRange,proto3" json:"dest_ip_range,omitempty"`
NextHop string `protobuf:"bytes,4,opt,name=next_hop,json=nextHop,proto3" json:"next_hop,omitempty"`
NetworkUri string `protobuf:"bytes,5,opt,name=network_uri,json=networkUri,proto3" json:"network_uri,omitempty"`
Priority int32 `protobuf:"varint,6,opt,name=priority,proto3" json:"priority,omitempty"`
InstanceTags []string `protobuf:"bytes,7,rep,name=instance_tags,json=instanceTags,proto3" json:"instance_tags,omitempty"`
SrcIpRange string `protobuf:"bytes,10,opt,name=src_ip_range,json=srcIpRange,proto3" json:"src_ip_range,omitempty"`
DestPortRanges []string `protobuf:"bytes,11,rep,name=dest_port_ranges,json=destPortRanges,proto3" json:"dest_port_ranges,omitempty"`
SrcPortRanges []string `protobuf:"bytes,12,rep,name=src_port_ranges,json=srcPortRanges,proto3" json:"src_port_ranges,omitempty"`
Protocols []string `protobuf:"bytes,13,rep,name=protocols,proto3" json:"protocols,omitempty"`
NccHubUri *string `protobuf:"bytes,15,opt,name=ncc_hub_uri,json=nccHubUri,proto3,oneof" json:"ncc_hub_uri,omitempty"`
NccSpokeUri *string `protobuf:"bytes,16,opt,name=ncc_spoke_uri,json=nccSpokeUri,proto3,oneof" json:"ncc_spoke_uri,omitempty"`
}
For display only. Metadata associated with a Compute Engine route.
func (*RouteInfo) Descriptor
Deprecated: Use RouteInfo.ProtoReflect.Descriptor instead.
func (*RouteInfo) GetDestIpRange
func (*RouteInfo) GetDestPortRanges
func (*RouteInfo) GetDisplayName
func (*RouteInfo) GetInstanceTags
func (*RouteInfo) GetNccHubUri
func (*RouteInfo) GetNccSpokeUri
func (*RouteInfo) GetNetworkUri
func (*RouteInfo) GetNextHop
func (*RouteInfo) GetNextHopType
func (x *RouteInfo) GetNextHopType() RouteInfo_NextHopType
func (*RouteInfo) GetPriority
func (*RouteInfo) GetProtocols
func (*RouteInfo) GetRouteScope
func (x *RouteInfo) GetRouteScope() RouteInfo_RouteScope
func (*RouteInfo) GetRouteType
func (x *RouteInfo) GetRouteType() RouteInfo_RouteType
func (*RouteInfo) GetSrcIpRange
func (*RouteInfo) GetSrcPortRanges
func (*RouteInfo) GetUri
func (*RouteInfo) ProtoMessage
func (*RouteInfo) ProtoMessage()
func (*RouteInfo) ProtoReflect
func (x *RouteInfo) ProtoReflect() protoreflect.Message
func (*RouteInfo) Reset
func (x *RouteInfo) Reset()
func (*RouteInfo) String
RouteInfo_NextHopType
type RouteInfo_NextHopType int32
Type of next hop:
RouteInfo_NEXT_HOP_TYPE_UNSPECIFIED, RouteInfo_NEXT_HOP_IP, RouteInfo_NEXT_HOP_INSTANCE, RouteInfo_NEXT_HOP_NETWORK, RouteInfo_NEXT_HOP_PEERING, RouteInfo_NEXT_HOP_INTERCONNECT, RouteInfo_NEXT_HOP_VPN_TUNNEL, RouteInfo_NEXT_HOP_VPN_GATEWAY, RouteInfo_NEXT_HOP_INTERNET_GATEWAY, RouteInfo_NEXT_HOP_BLACKHOLE, RouteInfo_NEXT_HOP_ILB, RouteInfo_NEXT_HOP_ROUTER_APPLIANCE, RouteInfo_NEXT_HOP_NCC_HUB
const (
// Unspecified type. Default value.
RouteInfo_NEXT_HOP_TYPE_UNSPECIFIED RouteInfo_NextHopType = 0
// Next hop is an IP address.
RouteInfo_NEXT_HOP_IP RouteInfo_NextHopType = 1
// Next hop is a Compute Engine instance.
RouteInfo_NEXT_HOP_INSTANCE RouteInfo_NextHopType = 2
// Next hop is a VPC network gateway.
RouteInfo_NEXT_HOP_NETWORK RouteInfo_NextHopType = 3
// Next hop is a peering VPC.
RouteInfo_NEXT_HOP_PEERING RouteInfo_NextHopType = 4
// Next hop is an interconnect.
RouteInfo_NEXT_HOP_INTERCONNECT RouteInfo_NextHopType = 5
// Next hop is a VPN tunnel.
RouteInfo_NEXT_HOP_VPN_TUNNEL RouteInfo_NextHopType = 6
// Next hop is a VPN gateway. This scenario only happens when tracing
// connectivity from an on-premises network to Google Cloud through a VPN.
// The analysis simulates a packet departing from the on-premises network
// through a VPN tunnel and arriving at a Cloud VPN gateway.
RouteInfo_NEXT_HOP_VPN_GATEWAY RouteInfo_NextHopType = 7
// Next hop is an internet gateway.
RouteInfo_NEXT_HOP_INTERNET_GATEWAY RouteInfo_NextHopType = 8
// Next hop is blackhole; that is, the next hop either does not exist or is
// not running.
RouteInfo_NEXT_HOP_BLACKHOLE RouteInfo_NextHopType = 9
// Next hop is the forwarding rule of an Internal Load Balancer.
RouteInfo_NEXT_HOP_ILB RouteInfo_NextHopType = 10
// Next hop is a
// [router appliance
// instance](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/ra-overview).
RouteInfo_NEXT_HOP_ROUTER_APPLIANCE RouteInfo_NextHopType = 11
// Next hop is an NCC hub.
RouteInfo_NEXT_HOP_NCC_HUB RouteInfo_NextHopType = 12
)
func (RouteInfo_NextHopType) Descriptor
func (RouteInfo_NextHopType) Descriptor() protoreflect.EnumDescriptor
func (RouteInfo_NextHopType) Enum
func (x RouteInfo_NextHopType) Enum() *RouteInfo_NextHopType
func (RouteInfo_NextHopType) EnumDescriptor
func (RouteInfo_NextHopType) EnumDescriptor() ([]byte, []int)
Deprecated: Use RouteInfo_NextHopType.Descriptor instead.
func (RouteInfo_NextHopType) Number
func (x RouteInfo_NextHopType) Number() protoreflect.EnumNumber
func (RouteInfo_NextHopType) String
func (x RouteInfo_NextHopType) String() string
func (RouteInfo_NextHopType) Type
func (RouteInfo_NextHopType) Type() protoreflect.EnumType
RouteInfo_RouteScope
type RouteInfo_RouteScope int32
Indicates where routes are applicable.
RouteInfo_ROUTE_SCOPE_UNSPECIFIED, RouteInfo_NETWORK, RouteInfo_NCC_HUB
const (
// Unspecified scope. Default value.
RouteInfo_ROUTE_SCOPE_UNSPECIFIED RouteInfo_RouteScope = 0
// Route is applicable to packets in Network.
RouteInfo_NETWORK RouteInfo_RouteScope = 1
// Route is applicable to packets using NCC Hub's routing table.
RouteInfo_NCC_HUB RouteInfo_RouteScope = 2
)
func (RouteInfo_RouteScope) Descriptor
func (RouteInfo_RouteScope) Descriptor() protoreflect.EnumDescriptor
func (RouteInfo_RouteScope) Enum
func (x RouteInfo_RouteScope) Enum() *RouteInfo_RouteScope
func (RouteInfo_RouteScope) EnumDescriptor
func (RouteInfo_RouteScope) EnumDescriptor() ([]byte, []int)
Deprecated: Use RouteInfo_RouteScope.Descriptor instead.
func (RouteInfo_RouteScope) Number
func (x RouteInfo_RouteScope) Number() protoreflect.EnumNumber
func (RouteInfo_RouteScope) String
func (x RouteInfo_RouteScope) String() string
func (RouteInfo_RouteScope) Type
func (RouteInfo_RouteScope) Type() protoreflect.EnumType
RouteInfo_RouteType
type RouteInfo_RouteType int32
Type of route:
RouteInfo_ROUTE_TYPE_UNSPECIFIED, RouteInfo_SUBNET, RouteInfo_STATIC, RouteInfo_DYNAMIC, RouteInfo_PEERING_SUBNET, RouteInfo_PEERING_STATIC, RouteInfo_PEERING_DYNAMIC, RouteInfo_POLICY_BASED
const (
// Unspecified type. Default value.
RouteInfo_ROUTE_TYPE_UNSPECIFIED RouteInfo_RouteType = 0
// Route is a subnet route automatically created by the system.
RouteInfo_SUBNET RouteInfo_RouteType = 1
// Static route created by the user, including the default route to the
// internet.
RouteInfo_STATIC RouteInfo_RouteType = 2
// Dynamic route exchanged between BGP peers.
RouteInfo_DYNAMIC RouteInfo_RouteType = 3
// A subnet route received from peering network.
RouteInfo_PEERING_SUBNET RouteInfo_RouteType = 4
// A static route received from peering network.
RouteInfo_PEERING_STATIC RouteInfo_RouteType = 5
// A dynamic route received from peering network.
RouteInfo_PEERING_DYNAMIC RouteInfo_RouteType = 6
// Policy based route.
RouteInfo_POLICY_BASED RouteInfo_RouteType = 7
)
func (RouteInfo_RouteType) Descriptor
func (RouteInfo_RouteType) Descriptor() protoreflect.EnumDescriptor
func (RouteInfo_RouteType) Enum
func (x RouteInfo_RouteType) Enum() *RouteInfo_RouteType
func (RouteInfo_RouteType) EnumDescriptor
func (RouteInfo_RouteType) EnumDescriptor() ([]byte, []int)
Deprecated: Use RouteInfo_RouteType.Descriptor instead.
func (RouteInfo_RouteType) Number
func (x RouteInfo_RouteType) Number() protoreflect.EnumNumber
func (RouteInfo_RouteType) String
func (x RouteInfo_RouteType) String() string
func (RouteInfo_RouteType) Type
func (RouteInfo_RouteType) Type() protoreflect.EnumType
Step
type Step struct {
// A description of the step. Usually this is a summary of the state.
Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
// Each step is in one of the pre-defined states.
State Step_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.cloud.networkmanagement.v1.Step_State" json:"state,omitempty"`
// This is a step that leads to the final state Drop.
CausesDrop bool `protobuf:"varint,3,opt,name=causes_drop,json=causesDrop,proto3" json:"causes_drop,omitempty"`
// Project ID that contains the configuration this step is validating.
ProjectId string `protobuf:"bytes,4,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
// Configuration or metadata associated with each step.
// The configuration is filtered based on viewer's permission. If a viewer
// has no permission to view the configuration in this step, for non-final
// states a special state is populated (VIEWER_PERMISSION_MISSING), and for
// final state the configuration is cleared.
//
// Types that are assignable to StepInfo:
//
// *Step_Instance
// *Step_Firewall
// *Step_Route
// *Step_Endpoint
// *Step_GoogleService
// *Step_ForwardingRule
// *Step_VpnGateway
// *Step_VpnTunnel
// *Step_VpcConnector
// *Step_Deliver
// *Step_Forward
// *Step_Abort
// *Step_Drop
// *Step_LoadBalancer
// *Step_Network
// *Step_GkeMaster
// *Step_CloudSqlInstance
// *Step_CloudFunction
// *Step_AppEngineVersion
// *Step_CloudRunRevision
// *Step_Nat
// *Step_ProxyConnection
// *Step_LoadBalancerBackendInfo
// *Step_StorageBucket
StepInfo isStep_StepInfo `protobuf_oneof:"step_info"`
// contains filtered or unexported fields
}
A simulated forwarding path is composed of multiple steps. Each step has a well-defined state and an associated configuration.
func (*Step) Descriptor
Deprecated: Use Step.ProtoReflect.Descriptor instead.
func (*Step) GetAbort
func (*Step) GetAppEngineVersion
func (x *Step) GetAppEngineVersion() *AppEngineVersionInfo
func (*Step) GetCausesDrop
func (*Step) GetCloudFunction
func (x *Step) GetCloudFunction() *CloudFunctionInfo
func (*Step) GetCloudRunRevision
func (x *Step) GetCloudRunRevision() *CloudRunRevisionInfo
func (*Step) GetCloudSqlInstance
func (x *Step) GetCloudSqlInstance() *CloudSQLInstanceInfo
func (*Step) GetDeliver
func (x *Step) GetDeliver() *DeliverInfo
func (*Step) GetDescription
func (*Step) GetDrop
func (*Step) GetEndpoint
func (x *Step) GetEndpoint() *EndpointInfo
func (*Step) GetFirewall
func (x *Step) GetFirewall() *FirewallInfo
func (*Step) GetForward
func (x *Step) GetForward() *ForwardInfo
func (*Step) GetForwardingRule
func (x *Step) GetForwardingRule() *ForwardingRuleInfo
func (*Step) GetGkeMaster
func (x *Step) GetGkeMaster() *GKEMasterInfo
func (*Step) GetGoogleService
func (x *Step) GetGoogleService() *GoogleServiceInfo
func (*Step) GetInstance
func (x *Step) GetInstance() *InstanceInfo
func (*Step) GetLoadBalancer
func (x *Step) GetLoadBalancer() *LoadBalancerInfo
Deprecated: Marked as deprecated in google/cloud/networkmanagement/v1/trace.proto.
func (*Step) GetLoadBalancerBackendInfo
func (x *Step) GetLoadBalancerBackendInfo() *LoadBalancerBackendInfo
func (*Step) GetNat
func (*Step) GetNetwork
func (x *Step) GetNetwork() *NetworkInfo
func (*Step) GetProjectId
func (*Step) GetProxyConnection
func (x *Step) GetProxyConnection() *ProxyConnectionInfo
func (*Step) GetRoute
func (*Step) GetState
func (x *Step) GetState() Step_State
func (*Step) GetStepInfo
func (m *Step) GetStepInfo() isStep_StepInfo
func (*Step) GetStorageBucket
func (x *Step) GetStorageBucket() *StorageBucketInfo
func (*Step) GetVpcConnector
func (x *Step) GetVpcConnector() *VpcConnectorInfo
func (*Step) GetVpnGateway
func (x *Step) GetVpnGateway() *VpnGatewayInfo
func (*Step) GetVpnTunnel
func (x *Step) GetVpnTunnel() *VpnTunnelInfo
func (*Step) ProtoMessage
func (*Step) ProtoMessage()
func (*Step) ProtoReflect
func (x *Step) ProtoReflect() protoreflect.Message
func (*Step) Reset
func (x *Step) Reset()
func (*Step) String
Step_Abort
type Step_Abort struct {
// Display information of the final state "abort" and reason.
Abort *AbortInfo `protobuf:"bytes,14,opt,name=abort,proto3,oneof"`
}
Step_AppEngineVersion
type Step_AppEngineVersion struct {
// Display information of an App Engine service version.
AppEngineVersion *AppEngineVersionInfo `protobuf:"bytes,22,opt,name=app_engine_version,json=appEngineVersion,proto3,oneof"`
}
Step_CloudFunction
type Step_CloudFunction struct {
// Display information of a Cloud Function.
CloudFunction *CloudFunctionInfo `protobuf:"bytes,20,opt,name=cloud_function,json=cloudFunction,proto3,oneof"`
}
Step_CloudRunRevision
type Step_CloudRunRevision struct {
// Display information of a Cloud Run revision.
CloudRunRevision *CloudRunRevisionInfo `protobuf:"bytes,23,opt,name=cloud_run_revision,json=cloudRunRevision,proto3,oneof"`
}
Step_CloudSqlInstance
type Step_CloudSqlInstance struct {
// Display information of a Cloud SQL instance.
CloudSqlInstance *CloudSQLInstanceInfo `protobuf:"bytes,19,opt,name=cloud_sql_instance,json=cloudSqlInstance,proto3,oneof"`
}
Step_Deliver
type Step_Deliver struct {
// Display information of the final state "deliver" and reason.
Deliver *DeliverInfo `protobuf:"bytes,12,opt,name=deliver,proto3,oneof"`
}
Step_Drop
type Step_Drop struct {
// Display information of the final state "drop" and reason.
Drop *DropInfo `protobuf:"bytes,15,opt,name=drop,proto3,oneof"`
}
Step_Endpoint
type Step_Endpoint struct {
// Display information of the source and destination under analysis.
// The endpoint information in an intermediate state may differ with the
// initial input, as it might be modified by state like NAT,
// or Connection Proxy.
Endpoint *EndpointInfo `protobuf:"bytes,8,opt,name=endpoint,proto3,oneof"`
}
Step_Firewall
type Step_Firewall struct {
// Display information of a Compute Engine firewall rule.
Firewall *FirewallInfo `protobuf:"bytes,6,opt,name=firewall,proto3,oneof"`
}
Step_Forward
type Step_Forward struct {
// Display information of the final state "forward" and reason.
Forward *ForwardInfo `protobuf:"bytes,13,opt,name=forward,proto3,oneof"`
}
Step_ForwardingRule
type Step_ForwardingRule struct {
// Display information of a Compute Engine forwarding rule.
ForwardingRule *ForwardingRuleInfo `protobuf:"bytes,9,opt,name=forwarding_rule,json=forwardingRule,proto3,oneof"`
}
Step_GkeMaster
type Step_GkeMaster struct {
// Display information of a Google Kubernetes Engine cluster master.
GkeMaster *GKEMasterInfo `protobuf:"bytes,18,opt,name=gke_master,json=gkeMaster,proto3,oneof"`
}
Step_GoogleService
type Step_GoogleService struct {
// Display information of a Google service
GoogleService *GoogleServiceInfo `protobuf:"bytes,24,opt,name=google_service,json=googleService,proto3,oneof"`
}
Step_Instance
type Step_Instance struct {
// Display information of a Compute Engine instance.
Instance *InstanceInfo `protobuf:"bytes,5,opt,name=instance,proto3,oneof"`
}
Step_LoadBalancer
type Step_LoadBalancer struct {
// Display information of the load balancers. Deprecated in favor of the
// `load_balancer_backend_info` field, not used in new tests.
//
// Deprecated: Marked as deprecated in google/cloud/networkmanagement/v1/trace.proto.
LoadBalancer *LoadBalancerInfo `protobuf:"bytes,16,opt,name=load_balancer,json=loadBalancer,proto3,oneof"`
}
Step_LoadBalancerBackendInfo
type Step_LoadBalancerBackendInfo struct {
// Display information of a specific load balancer backend.
LoadBalancerBackendInfo *LoadBalancerBackendInfo `protobuf:"bytes,27,opt,name=load_balancer_backend_info,json=loadBalancerBackendInfo,proto3,oneof"`
}
Step_Nat
type Step_Nat struct {
// Display information of a NAT.
Nat *NatInfo `protobuf:"bytes,25,opt,name=nat,proto3,oneof"`
}
Step_Network
type Step_Network struct {
// Display information of a Google Cloud network.
Network *NetworkInfo `protobuf:"bytes,17,opt,name=network,proto3,oneof"`
}
Step_ProxyConnection
type Step_ProxyConnection struct {
// Display information of a ProxyConnection.
ProxyConnection *ProxyConnectionInfo `protobuf:"bytes,26,opt,name=proxy_connection,json=proxyConnection,proto3,oneof"`
}
Step_Route
type Step_Route struct {
// Display information of a Compute Engine route.
Route *RouteInfo `protobuf:"bytes,7,opt,name=route,proto3,oneof"`
}
Step_State
type Step_State int32
Type of states that are defined in the network state machine. Each step in the packet trace is in a specific state.
Step_STATE_UNSPECIFIED, Step_START_FROM_INSTANCE, Step_START_FROM_INTERNET, Step_START_FROM_GOOGLE_SERVICE, Step_START_FROM_PRIVATE_NETWORK, Step_START_FROM_GKE_MASTER, Step_START_FROM_CLOUD_SQL_INSTANCE, Step_START_FROM_CLOUD_FUNCTION, Step_START_FROM_APP_ENGINE_VERSION, Step_START_FROM_CLOUD_RUN_REVISION, Step_START_FROM_STORAGE_BUCKET, Step_START_FROM_PSC_PUBLISHED_SERVICE, Step_APPLY_INGRESS_FIREWALL_RULE, Step_APPLY_EGRESS_FIREWALL_RULE, Step_APPLY_ROUTE, Step_APPLY_FORWARDING_RULE, Step_ANALYZE_LOAD_BALANCER_BACKEND, Step_SPOOFING_APPROVED, Step_ARRIVE_AT_INSTANCE, Step_ARRIVE_AT_INTERNAL_LOAD_BALANCER, Step_ARRIVE_AT_EXTERNAL_LOAD_BALANCER, Step_ARRIVE_AT_VPN_GATEWAY, Step_ARRIVE_AT_VPN_TUNNEL, Step_ARRIVE_AT_VPC_CONNECTOR, Step_NAT, Step_PROXY_CONNECTION, Step_DELIVER, Step_DROP, Step_FORWARD, Step_ABORT, Step_VIEWER_PERMISSION_MISSING
const (
// Unspecified state.
Step_STATE_UNSPECIFIED Step_State = 0
// Initial state: packet originating from a Compute Engine instance.
// An InstanceInfo is populated with starting instance information.
Step_START_FROM_INSTANCE Step_State = 1
// Initial state: packet originating from the internet.
// The endpoint information is populated.
Step_START_FROM_INTERNET Step_State = 2
// Initial state: packet originating from a Google service.
// The google_service information is populated.
Step_START_FROM_GOOGLE_SERVICE Step_State = 27
// Initial state: packet originating from a VPC or on-premises network
// with internal source IP.
// If the source is a VPC network visible to the user, a NetworkInfo
// is populated with details of the network.
Step_START_FROM_PRIVATE_NETWORK Step_State = 3
// Initial state: packet originating from a Google Kubernetes Engine cluster
// master. A GKEMasterInfo is populated with starting instance information.
Step_START_FROM_GKE_MASTER Step_State = 21
// Initial state: packet originating from a Cloud SQL instance.
// A CloudSQLInstanceInfo is populated with starting instance information.
Step_START_FROM_CLOUD_SQL_INSTANCE Step_State = 22
// Initial state: packet originating from a Cloud Function.
// A CloudFunctionInfo is populated with starting function information.
Step_START_FROM_CLOUD_FUNCTION Step_State = 23
// Initial state: packet originating from an App Engine service version.
// An AppEngineVersionInfo is populated with starting version information.
Step_START_FROM_APP_ENGINE_VERSION Step_State = 25
// Initial state: packet originating from a Cloud Run revision.
// A CloudRunRevisionInfo is populated with starting revision information.
Step_START_FROM_CLOUD_RUN_REVISION Step_State = 26
// Initial state: packet originating from a Storage Bucket. Used only for
// return traces.
// The storage_bucket information is populated.
Step_START_FROM_STORAGE_BUCKET Step_State = 29
// Initial state: packet originating from a published service that uses
// Private Service Connect. Used only for return traces.
Step_START_FROM_PSC_PUBLISHED_SERVICE Step_State = 30
// Config checking state: verify ingress firewall rule.
Step_APPLY_INGRESS_FIREWALL_RULE Step_State = 4
// Config checking state: verify egress firewall rule.
Step_APPLY_EGRESS_FIREWALL_RULE Step_State = 5
// Config checking state: verify route.
Step_APPLY_ROUTE Step_State = 6
// Config checking state: match forwarding rule.
Step_APPLY_FORWARDING_RULE Step_State = 7
// Config checking state: verify load balancer backend configuration.
Step_ANALYZE_LOAD_BALANCER_BACKEND Step_State = 28
// Config checking state: packet sent or received under foreign IP
// address and allowed.
Step_SPOOFING_APPROVED Step_State = 8
// Forwarding state: arriving at a Compute Engine instance.
Step_ARRIVE_AT_INSTANCE Step_State = 9
// Forwarding state: arriving at a Compute Engine internal load balancer.
//
// Deprecated: Marked as deprecated in google/cloud/networkmanagement/v1/trace.proto.
Step_ARRIVE_AT_INTERNAL_LOAD_BALANCER Step_State = 10
// Forwarding state: arriving at a Compute Engine external load balancer.
//
// Deprecated: Marked as deprecated in google/cloud/networkmanagement/v1/trace.proto.
Step_ARRIVE_AT_EXTERNAL_LOAD_BALANCER Step_State = 11
// Forwarding state: arriving at a Cloud VPN gateway.
Step_ARRIVE_AT_VPN_GATEWAY Step_State = 12
// Forwarding state: arriving at a Cloud VPN tunnel.
Step_ARRIVE_AT_VPN_TUNNEL Step_State = 13
// Forwarding state: arriving at a VPC connector.
Step_ARRIVE_AT_VPC_CONNECTOR Step_State = 24
// Transition state: packet header translated.
Step_NAT Step_State = 14
// Transition state: original connection is terminated and a new proxied
// connection is initiated.
Step_PROXY_CONNECTION Step_State = 15
// Final state: packet could be delivered.
Step_DELIVER Step_State = 16
// Final state: packet could be dropped.
Step_DROP Step_State = 17
// Final state: packet could be forwarded to a network with an unknown
// configuration.
Step_FORWARD Step_State = 18
// Final state: analysis is aborted.
Step_ABORT Step_State = 19
// Special state: viewer of the test result does not have permission to
// see the configuration in this step.
Step_VIEWER_PERMISSION_MISSING Step_State = 20
)
func (Step_State) Descriptor
func (Step_State) Descriptor() protoreflect.EnumDescriptor
func (Step_State) Enum
func (x Step_State) Enum() *Step_State
func (Step_State) EnumDescriptor
func (Step_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Step_State.Descriptor instead.
func (Step_State) Number
func (x Step_State) Number() protoreflect.EnumNumber
func (Step_State) String
func (x Step_State) String() string
func (Step_State) Type
func (Step_State) Type() protoreflect.EnumType
Step_StorageBucket
type Step_StorageBucket struct {
// Display information of a Storage Bucket. Used only for return traces.
StorageBucket *StorageBucketInfo `protobuf:"bytes,28,opt,name=storage_bucket,json=storageBucket,proto3,oneof"`
}
Step_VpcConnector
type Step_VpcConnector struct {
// Display information of a VPC connector.
VpcConnector *VpcConnectorInfo `protobuf:"bytes,21,opt,name=vpc_connector,json=vpcConnector,proto3,oneof"`
}
Step_VpnGateway
type Step_VpnGateway struct {
// Display information of a Compute Engine VPN gateway.
VpnGateway *VpnGatewayInfo `protobuf:"bytes,10,opt,name=vpn_gateway,json=vpnGateway,proto3,oneof"`
}
Step_VpnTunnel
type Step_VpnTunnel struct {
// Display information of a Compute Engine VPN tunnel.
VpnTunnel *VpnTunnelInfo `protobuf:"bytes,11,opt,name=vpn_tunnel,json=vpnTunnel,proto3,oneof"`
}
StorageBucketInfo
type StorageBucketInfo struct {
// Cloud Storage Bucket name.
Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
// contains filtered or unexported fields
}
For display only. Metadata associated with Storage Bucket.
func (*StorageBucketInfo) Descriptor
func (*StorageBucketInfo) Descriptor() ([]byte, []int)
Deprecated: Use StorageBucketInfo.ProtoReflect.Descriptor instead.
func (*StorageBucketInfo) GetBucket
func (x *StorageBucketInfo) GetBucket() string
func (*StorageBucketInfo) ProtoMessage
func (*StorageBucketInfo) ProtoMessage()
func (*StorageBucketInfo) ProtoReflect
func (x *StorageBucketInfo) ProtoReflect() protoreflect.Message
func (*StorageBucketInfo) Reset
func (x *StorageBucketInfo) Reset()
func (*StorageBucketInfo) String
func (x *StorageBucketInfo) String() string
Trace
type Trace struct {
// Derived from the source and destination endpoints definition specified by
// user request, and validated by the data plane model.
// If there are multiple traces starting from different source locations, then
// the endpoint_info may be different between traces.
EndpointInfo *EndpointInfo `protobuf:"bytes,1,opt,name=endpoint_info,json=endpointInfo,proto3" json:"endpoint_info,omitempty"`
// A trace of a test contains multiple steps from the initial state to the
// final state (delivered, dropped, forwarded, or aborted).
//
// The steps are ordered by the processing sequence within the simulated
// network state machine. It is critical to preserve the order of the steps
// and avoid reordering or sorting them.
Steps []*Step `protobuf:"bytes,2,rep,name=steps,proto3" json:"steps,omitempty"`
// ID of trace. For forward traces, this ID is unique for each trace. For
// return traces, it matches ID of associated forward trace. A single forward
// trace can be associated with none, one or more than one return trace.
ForwardTraceId int32 `protobuf:"varint,4,opt,name=forward_trace_id,json=forwardTraceId,proto3" json:"forward_trace_id,omitempty"`
// contains filtered or unexported fields
}
Trace represents one simulated packet forwarding path.
- Each trace contains multiple ordered steps.
- Each step is in a particular state with associated configuration.
- State is categorized as final or non-final states.
- Each final state has a reason associated.
- Each trace must end with a final state (the last step).
|---------------------Trace----------------------|
Step1(State) Step2(State) --- StepN(State(final))
func (*Trace) Descriptor
Deprecated: Use Trace.ProtoReflect.Descriptor instead.
func (*Trace) GetEndpointInfo
func (x *Trace) GetEndpointInfo() *EndpointInfo
func (*Trace) GetForwardTraceId
func (*Trace) GetSteps
func (*Trace) ProtoMessage
func (*Trace) ProtoMessage()
func (*Trace) ProtoReflect
func (x *Trace) ProtoReflect() protoreflect.Message
func (*Trace) Reset
func (x *Trace) Reset()
func (*Trace) String
UnimplementedReachabilityServiceServer
type UnimplementedReachabilityServiceServer struct {
}
UnimplementedReachabilityServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedReachabilityServiceServer) CreateConnectivityTest
func (*UnimplementedReachabilityServiceServer) CreateConnectivityTest(context.Context, *CreateConnectivityTestRequest) (*longrunningpb.Operation, error)
func (*UnimplementedReachabilityServiceServer) DeleteConnectivityTest
func (*UnimplementedReachabilityServiceServer) DeleteConnectivityTest(context.Context, *DeleteConnectivityTestRequest) (*longrunningpb.Operation, error)
func (*UnimplementedReachabilityServiceServer) GetConnectivityTest
func (*UnimplementedReachabilityServiceServer) GetConnectivityTest(context.Context, *GetConnectivityTestRequest) (*ConnectivityTest, error)
func (*UnimplementedReachabilityServiceServer) ListConnectivityTests
func (*UnimplementedReachabilityServiceServer) ListConnectivityTests(context.Context, *ListConnectivityTestsRequest) (*ListConnectivityTestsResponse, error)
func (*UnimplementedReachabilityServiceServer) RerunConnectivityTest
func (*UnimplementedReachabilityServiceServer) RerunConnectivityTest(context.Context, *RerunConnectivityTestRequest) (*longrunningpb.Operation, error)
func (*UnimplementedReachabilityServiceServer) UpdateConnectivityTest
func (*UnimplementedReachabilityServiceServer) UpdateConnectivityTest(context.Context, *UpdateConnectivityTestRequest) (*longrunningpb.Operation, error)
UpdateConnectivityTestRequest
type UpdateConnectivityTestRequest struct {
// Required. Mask of fields to update. At least one path must be supplied in
// this field.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. Only fields specified in update_mask are updated.
Resource *ConnectivityTest `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"`
// contains filtered or unexported fields
}
Request for the UpdateConnectivityTest
method.
func (*UpdateConnectivityTestRequest) Descriptor
func (*UpdateConnectivityTestRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateConnectivityTestRequest.ProtoReflect.Descriptor instead.
func (*UpdateConnectivityTestRequest) GetResource
func (x *UpdateConnectivityTestRequest) GetResource() *ConnectivityTest
func (*UpdateConnectivityTestRequest) GetUpdateMask
func (x *UpdateConnectivityTestRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateConnectivityTestRequest) ProtoMessage
func (*UpdateConnectivityTestRequest) ProtoMessage()
func (*UpdateConnectivityTestRequest) ProtoReflect
func (x *UpdateConnectivityTestRequest) ProtoReflect() protoreflect.Message
func (*UpdateConnectivityTestRequest) Reset
func (x *UpdateConnectivityTestRequest) Reset()
func (*UpdateConnectivityTestRequest) String
func (x *UpdateConnectivityTestRequest) String() string
VpcConnectorInfo
type VpcConnectorInfo struct {
// Name of a VPC connector.
DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// URI of a VPC connector.
Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
// Location in which the VPC connector is deployed.
Location string `protobuf:"bytes,3,opt,name=location,proto3" json:"location,omitempty"`
// contains filtered or unexported fields
}
For display only. Metadata associated with a VPC connector.
func (*VpcConnectorInfo) Descriptor
func (*VpcConnectorInfo) Descriptor() ([]byte, []int)
Deprecated: Use VpcConnectorInfo.ProtoReflect.Descriptor instead.
func (*VpcConnectorInfo) GetDisplayName
func (x *VpcConnectorInfo) GetDisplayName() string
func (*VpcConnectorInfo) GetLocation
func (x *VpcConnectorInfo) GetLocation() string
func (*VpcConnectorInfo) GetUri
func (x *VpcConnectorInfo) GetUri() string
func (*VpcConnectorInfo) ProtoMessage
func (*VpcConnectorInfo) ProtoMessage()
func (*VpcConnectorInfo) ProtoReflect
func (x *VpcConnectorInfo) ProtoReflect() protoreflect.Message
func (*VpcConnectorInfo) Reset
func (x *VpcConnectorInfo) Reset()
func (*VpcConnectorInfo) String
func (x *VpcConnectorInfo) String() string
VpnGatewayInfo
type VpnGatewayInfo struct {
// Name of a VPN gateway.
DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// URI of a VPN gateway.
Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
// URI of a Compute Engine network where the VPN gateway is configured.
NetworkUri string `protobuf:"bytes,3,opt,name=network_uri,json=networkUri,proto3" json:"network_uri,omitempty"`
// IP address of the VPN gateway.
IpAddress string `protobuf:"bytes,4,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"`
// A VPN tunnel that is associated with this VPN gateway.
// There may be multiple VPN tunnels configured on a VPN gateway, and only
// the one relevant to the test is displayed.
VpnTunnelUri string `protobuf:"bytes,5,opt,name=vpn_tunnel_uri,json=vpnTunnelUri,proto3" json:"vpn_tunnel_uri,omitempty"`
// Name of a Google Cloud region where this VPN gateway is configured.
Region string `protobuf:"bytes,6,opt,name=region,proto3" json:"region,omitempty"`
// contains filtered or unexported fields
}
For display only. Metadata associated with a Compute Engine VPN gateway.
func (*VpnGatewayInfo) Descriptor
func (*VpnGatewayInfo) Descriptor() ([]byte, []int)
Deprecated: Use VpnGatewayInfo.ProtoReflect.Descriptor instead.
func (*VpnGatewayInfo) GetDisplayName
func (x *VpnGatewayInfo) GetDisplayName() string
func (*VpnGatewayInfo) GetIpAddress
func (x *VpnGatewayInfo) GetIpAddress() string
func (*VpnGatewayInfo) GetNetworkUri
func (x *VpnGatewayInfo) GetNetworkUri() string
func (*VpnGatewayInfo) GetRegion
func (x *VpnGatewayInfo) GetRegion() string
func (*VpnGatewayInfo) GetUri
func (x *VpnGatewayInfo) GetUri() string
func (*VpnGatewayInfo) GetVpnTunnelUri
func (x *VpnGatewayInfo) GetVpnTunnelUri() string
func (*VpnGatewayInfo) ProtoMessage
func (*VpnGatewayInfo) ProtoMessage()
func (*VpnGatewayInfo) ProtoReflect
func (x *VpnGatewayInfo) ProtoReflect() protoreflect.Message
func (*VpnGatewayInfo) Reset
func (x *VpnGatewayInfo) Reset()
func (*VpnGatewayInfo) String
func (x *VpnGatewayInfo) String() string
VpnTunnelInfo
type VpnTunnelInfo struct {
DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
SourceGateway string `protobuf:"bytes,3,opt,name=source_gateway,json=sourceGateway,proto3" json:"source_gateway,omitempty"`
RemoteGateway string `protobuf:"bytes,4,opt,name=remote_gateway,json=remoteGateway,proto3" json:"remote_gateway,omitempty"`
RemoteGatewayIp string `protobuf:"bytes,5,opt,name=remote_gateway_ip,json=remoteGatewayIp,proto3" json:"remote_gateway_ip,omitempty"`
SourceGatewayIp string `protobuf:"bytes,6,opt,name=source_gateway_ip,json=sourceGatewayIp,proto3" json:"source_gateway_ip,omitempty"`
NetworkUri string `protobuf:"bytes,7,opt,name=network_uri,json=networkUri,proto3" json:"network_uri,omitempty"`
Region string `protobuf:"bytes,8,opt,name=region,proto3" json:"region,omitempty"`
RoutingType VpnTunnelInfo_RoutingType "" /* 160 byte string literal not displayed */
}
For display only. Metadata associated with a Compute Engine VPN tunnel.
func (*VpnTunnelInfo) Descriptor
func (*VpnTunnelInfo) Descriptor() ([]byte, []int)
Deprecated: Use VpnTunnelInfo.ProtoReflect.Descriptor instead.
func (*VpnTunnelInfo) GetDisplayName
func (x *VpnTunnelInfo) GetDisplayName() string
func (*VpnTunnelInfo) GetNetworkUri
func (x *VpnTunnelInfo) GetNetworkUri() string
func (*VpnTunnelInfo) GetRegion
func (x *VpnTunnelInfo) GetRegion() string
func (*VpnTunnelInfo) GetRemoteGateway
func (x *VpnTunnelInfo) GetRemoteGateway() string
func (*VpnTunnelInfo) GetRemoteGatewayIp
func (x *VpnTunnelInfo) GetRemoteGatewayIp() string
func (*VpnTunnelInfo) GetRoutingType
func (x *VpnTunnelInfo) GetRoutingType() VpnTunnelInfo_RoutingType
func (*VpnTunnelInfo) GetSourceGateway
func (x *VpnTunnelInfo) GetSourceGateway() string
func (*VpnTunnelInfo) GetSourceGatewayIp
func (x *VpnTunnelInfo) GetSourceGatewayIp() string
func (*VpnTunnelInfo) GetUri
func (x *VpnTunnelInfo) GetUri() string
func (*VpnTunnelInfo) ProtoMessage
func (*VpnTunnelInfo) ProtoMessage()
func (*VpnTunnelInfo) ProtoReflect
func (x *VpnTunnelInfo) ProtoReflect() protoreflect.Message
func (*VpnTunnelInfo) Reset
func (x *VpnTunnelInfo) Reset()
func (*VpnTunnelInfo) String
func (x *VpnTunnelInfo) String() string
VpnTunnelInfo_RoutingType
type VpnTunnelInfo_RoutingType int32
Types of VPN routing policy. For details, refer to Networks and Tunnel routing.
VpnTunnelInfo_ROUTING_TYPE_UNSPECIFIED, VpnTunnelInfo_ROUTE_BASED, VpnTunnelInfo_POLICY_BASED, VpnTunnelInfo_DYNAMIC
const (
// Unspecified type. Default value.
VpnTunnelInfo_ROUTING_TYPE_UNSPECIFIED VpnTunnelInfo_RoutingType = 0
// Route based VPN.
VpnTunnelInfo_ROUTE_BASED VpnTunnelInfo_RoutingType = 1
// Policy based routing.
VpnTunnelInfo_POLICY_BASED VpnTunnelInfo_RoutingType = 2
// Dynamic (BGP) routing.
VpnTunnelInfo_DYNAMIC VpnTunnelInfo_RoutingType = 3
)
func (VpnTunnelInfo_RoutingType) Descriptor
func (VpnTunnelInfo_RoutingType) Descriptor() protoreflect.EnumDescriptor
func (VpnTunnelInfo_RoutingType) Enum
func (x VpnTunnelInfo_RoutingType) Enum() *VpnTunnelInfo_RoutingType
func (VpnTunnelInfo_RoutingType) EnumDescriptor
func (VpnTunnelInfo_RoutingType) EnumDescriptor() ([]byte, []int)
Deprecated: Use VpnTunnelInfo_RoutingType.Descriptor instead.
func (VpnTunnelInfo_RoutingType) Number
func (x VpnTunnelInfo_RoutingType) Number() protoreflect.EnumNumber
func (VpnTunnelInfo_RoutingType) String
func (x VpnTunnelInfo_RoutingType) String() string
func (VpnTunnelInfo_RoutingType) Type
func (VpnTunnelInfo_RoutingType) Type() protoreflect.EnumType