Constants
ReachabilityService_ListConnectivityTests_FullMethodName, ReachabilityService_GetConnectivityTest_FullMethodName, ReachabilityService_CreateConnectivityTest_FullMethodName, ReachabilityService_UpdateConnectivityTest_FullMethodName, ReachabilityService_RerunConnectivityTest_FullMethodName, ReachabilityService_DeleteConnectivityTest_FullMethodName
const (
ReachabilityService_ListConnectivityTests_FullMethodName = "/google.cloud.networkmanagement.v1.ReachabilityService/ListConnectivityTests"
ReachabilityService_GetConnectivityTest_FullMethodName = "/google.cloud.networkmanagement.v1.ReachabilityService/GetConnectivityTest"
ReachabilityService_CreateConnectivityTest_FullMethodName = "/google.cloud.networkmanagement.v1.ReachabilityService/CreateConnectivityTest"
ReachabilityService_UpdateConnectivityTest_FullMethodName = "/google.cloud.networkmanagement.v1.ReachabilityService/UpdateConnectivityTest"
ReachabilityService_RerunConnectivityTest_FullMethodName = "/google.cloud.networkmanagement.v1.ReachabilityService/RerunConnectivityTest"
ReachabilityService_DeleteConnectivityTest_FullMethodName = "/google.cloud.networkmanagement.v1.ReachabilityService/DeleteConnectivityTest"
)
VpcFlowLogsService_ListVpcFlowLogsConfigs_FullMethodName, VpcFlowLogsService_GetVpcFlowLogsConfig_FullMethodName, VpcFlowLogsService_CreateVpcFlowLogsConfig_FullMethodName, VpcFlowLogsService_UpdateVpcFlowLogsConfig_FullMethodName, VpcFlowLogsService_DeleteVpcFlowLogsConfig_FullMethodName
const (
VpcFlowLogsService_ListVpcFlowLogsConfigs_FullMethodName = "/google.cloud.networkmanagement.v1.VpcFlowLogsService/ListVpcFlowLogsConfigs"
VpcFlowLogsService_GetVpcFlowLogsConfig_FullMethodName = "/google.cloud.networkmanagement.v1.VpcFlowLogsService/GetVpcFlowLogsConfig"
VpcFlowLogsService_CreateVpcFlowLogsConfig_FullMethodName = "/google.cloud.networkmanagement.v1.VpcFlowLogsService/CreateVpcFlowLogsConfig"
VpcFlowLogsService_UpdateVpcFlowLogsConfig_FullMethodName = "/google.cloud.networkmanagement.v1.VpcFlowLogsService/UpdateVpcFlowLogsConfig"
VpcFlowLogsService_DeleteVpcFlowLogsConfig_FullMethodName = "/google.cloud.networkmanagement.v1.VpcFlowLogsService/DeleteVpcFlowLogsConfig"
)
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",
32: "START_FROM_REDIS_INSTANCE",
33: "START_FROM_REDIS_CLUSTER",
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",
31: "START_FROM_SERVERLESS_NEG",
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",
35: "DIRECT_VPC_EGRESS_CONNECTION",
36: "SERVERLESS_EXTERNAL_CONNECTION",
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_REDIS_INSTANCE": 32,
"START_FROM_REDIS_CLUSTER": 33,
"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,
"START_FROM_SERVERLESS_NEG": 31,
"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,
"DIRECT_VPC_EGRESS_CONNECTION": 35,
"SERVERLESS_EXTERNAL_CONNECTION": 36,
"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",
102: "ANALYSIS_SKIPPED",
}
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,
"ANALYSIS_SKIPPED": 102,
}
)
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",
101: "ADVERTISED",
}
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,
"ADVERTISED": 101,
}
)
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",
7: "SERVERLESS_VPC_ACCESS",
}
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,
"SERVERLESS_VPC_ACCESS": 7,
}
)
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",
15: "GOOGLE_MANAGED_SERVICE",
16: "REDIS_INSTANCE",
17: "REDIS_CLUSTER",
}
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,
"GOOGLE_MANAGED_SERVICE": 15,
"REDIS_INSTANCE": 16,
"REDIS_CLUSTER": 17,
}
)
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",
32: "GOOGLE_MANAGED_SERVICE_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",
36: "PERMISSION_DENIED_NO_CLOUD_ROUTER_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",
34: "SOURCE_REDIS_CLUSTER_UNSUPPORTED",
35: "SOURCE_REDIS_INSTANCE_UNSUPPORTED",
21: "SOURCE_FORWARDING_RULE_UNSUPPORTED",
22: "NON_ROUTABLE_IP_ADDRESS",
30: "UNKNOWN_ISSUE_IN_GOOGLE_MANAGED_PROJECT",
31: "UNSUPPORTED_GOOGLE_MANAGED_PROJECT_CONFIG",
37: "NO_SERVERLESS_IP_RANGES",
}
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,
"GOOGLE_MANAGED_SERVICE_UNKNOWN_IP": 32,
"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,
"PERMISSION_DENIED_NO_CLOUD_ROUTER_CONFIGS": 36,
"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_REDIS_CLUSTER_UNSUPPORTED": 34,
"SOURCE_REDIS_INSTANCE_UNSUPPORTED": 35,
"SOURCE_FORWARDING_RULE_UNSUPPORTED": 21,
"NON_ROUTABLE_IP_ADDRESS": 22,
"UNKNOWN_ISSUE_IN_GOOGLE_MANAGED_PROJECT": 30,
"UNSUPPORTED_GOOGLE_MANAGED_PROJECT_CONFIG": 31,
"NO_SERVERLESS_IP_RANGES": 37,
}
)
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",
85: "INGRESS_FIREWALL_TAGS_UNSUPPORTED_BY_DIRECT_VPC_EGRESS",
14: "INSTANCE_NOT_RUNNING",
27: "GKE_CLUSTER_NOT_RUNNING",
28: "CLOUD_SQL_INSTANCE_NOT_RUNNING",
68: "REDIS_INSTANCE_NOT_RUNNING",
69: "REDIS_CLUSTER_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",
63: "CLOUD_SQL_CONNECTOR_REQUIRED",
22: "CLOUD_FUNCTION_NOT_ACTIVE",
23: "VPC_CONNECTOR_NOT_SET",
24: "VPC_CONNECTOR_NOT_RUNNING",
60: "VPC_CONNECTOR_SERVERLESS_TRAFFIC_BLOCKED",
61: "VPC_CONNECTOR_HEALTH_CHECK_TRAFFIC_BLOCKED",
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",
64: "PSC_TRANSITIVITY_NOT_PROPAGATED",
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",
62: "DROPPED_INSIDE_GOOGLE_MANAGED_SERVICE",
65: "LOAD_BALANCER_BACKEND_INVALID_NETWORK",
66: "BACKEND_SERVICE_NAMED_PORT_NOT_DEFINED",
67: "DESTINATION_IS_PRIVATE_NAT_IP_RANGE",
70: "DROPPED_INSIDE_REDIS_INSTANCE_SERVICE",
71: "REDIS_INSTANCE_UNSUPPORTED_PORT",
72: "REDIS_INSTANCE_CONNECTING_FROM_PUPI_ADDRESS",
73: "REDIS_INSTANCE_NO_ROUTE_TO_DESTINATION_NETWORK",
74: "REDIS_INSTANCE_NO_EXTERNAL_IP",
78: "REDIS_INSTANCE_UNSUPPORTED_PROTOCOL",
75: "DROPPED_INSIDE_REDIS_CLUSTER_SERVICE",
76: "REDIS_CLUSTER_UNSUPPORTED_PORT",
77: "REDIS_CLUSTER_NO_EXTERNAL_IP",
79: "REDIS_CLUSTER_UNSUPPORTED_PROTOCOL",
80: "NO_ADVERTISED_ROUTE_TO_GCP_DESTINATION",
81: "NO_TRAFFIC_SELECTOR_TO_GCP_DESTINATION",
82: "NO_KNOWN_ROUTE_FROM_PEERED_NETWORK_TO_DESTINATION",
83: "PRIVATE_NAT_TO_PSC_ENDPOINT_UNSUPPORTED",
86: "PSC_PORT_MAPPING_PORT_MISMATCH",
87: "PSC_PORT_MAPPING_WITHOUT_PSC_CONNECTION_UNSUPPORTED",
88: "UNSUPPORTED_ROUTE_MATCHED_FOR_NAT64_DESTINATION",
}
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,
"INGRESS_FIREWALL_TAGS_UNSUPPORTED_BY_DIRECT_VPC_EGRESS": 85,
"INSTANCE_NOT_RUNNING": 14,
"GKE_CLUSTER_NOT_RUNNING": 27,
"CLOUD_SQL_INSTANCE_NOT_RUNNING": 28,
"REDIS_INSTANCE_NOT_RUNNING": 68,
"REDIS_CLUSTER_NOT_RUNNING": 69,
"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_SQL_CONNECTOR_REQUIRED": 63,
"CLOUD_FUNCTION_NOT_ACTIVE": 22,
"VPC_CONNECTOR_NOT_SET": 23,
"VPC_CONNECTOR_NOT_RUNNING": 24,
"VPC_CONNECTOR_SERVERLESS_TRAFFIC_BLOCKED": 60,
"VPC_CONNECTOR_HEALTH_CHECK_TRAFFIC_BLOCKED": 61,
"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,
"PSC_TRANSITIVITY_NOT_PROPAGATED": 64,
"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,
"DROPPED_INSIDE_GOOGLE_MANAGED_SERVICE": 62,
"LOAD_BALANCER_BACKEND_INVALID_NETWORK": 65,
"BACKEND_SERVICE_NAMED_PORT_NOT_DEFINED": 66,
"DESTINATION_IS_PRIVATE_NAT_IP_RANGE": 67,
"DROPPED_INSIDE_REDIS_INSTANCE_SERVICE": 70,
"REDIS_INSTANCE_UNSUPPORTED_PORT": 71,
"REDIS_INSTANCE_CONNECTING_FROM_PUPI_ADDRESS": 72,
"REDIS_INSTANCE_NO_ROUTE_TO_DESTINATION_NETWORK": 73,
"REDIS_INSTANCE_NO_EXTERNAL_IP": 74,
"REDIS_INSTANCE_UNSUPPORTED_PROTOCOL": 78,
"DROPPED_INSIDE_REDIS_CLUSTER_SERVICE": 75,
"REDIS_CLUSTER_UNSUPPORTED_PORT": 76,
"REDIS_CLUSTER_NO_EXTERNAL_IP": 77,
"REDIS_CLUSTER_UNSUPPORTED_PROTOCOL": 79,
"NO_ADVERTISED_ROUTE_TO_GCP_DESTINATION": 80,
"NO_TRAFFIC_SELECTOR_TO_GCP_DESTINATION": 81,
"NO_KNOWN_ROUTE_FROM_PEERED_NETWORK_TO_DESTINATION": 82,
"PRIVATE_NAT_TO_PSC_ENDPOINT_UNSUPPORTED": 83,
"PSC_PORT_MAPPING_PORT_MISMATCH": 86,
"PSC_PORT_MAPPING_WITHOUT_PSC_CONNECTION_UNSUPPORTED": 87,
"UNSUPPORTED_ROUTE_MATCHED_FOR_NAT64_DESTINATION": 88,
}
)
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.
VpcFlowLogsConfig_State_name, VpcFlowLogsConfig_State_value
var (
VpcFlowLogsConfig_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "ENABLED",
2: "DISABLED",
}
VpcFlowLogsConfig_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"ENABLED": 1,
"DISABLED": 2,
}
)
Enum value maps for VpcFlowLogsConfig_State.
VpcFlowLogsConfig_AggregationInterval_name, VpcFlowLogsConfig_AggregationInterval_value
var (
VpcFlowLogsConfig_AggregationInterval_name = map[int32]string{
0: "AGGREGATION_INTERVAL_UNSPECIFIED",
1: "INTERVAL_5_SEC",
2: "INTERVAL_30_SEC",
3: "INTERVAL_1_MIN",
4: "INTERVAL_5_MIN",
5: "INTERVAL_10_MIN",
6: "INTERVAL_15_MIN",
}
VpcFlowLogsConfig_AggregationInterval_value = map[string]int32{
"AGGREGATION_INTERVAL_UNSPECIFIED": 0,
"INTERVAL_5_SEC": 1,
"INTERVAL_30_SEC": 2,
"INTERVAL_1_MIN": 3,
"INTERVAL_5_MIN": 4,
"INTERVAL_10_MIN": 5,
"INTERVAL_15_MIN": 6,
}
)
Enum value maps for VpcFlowLogsConfig_AggregationInterval.
VpcFlowLogsConfig_Metadata_name, VpcFlowLogsConfig_Metadata_value
var (
VpcFlowLogsConfig_Metadata_name = map[int32]string{
0: "METADATA_UNSPECIFIED",
1: "INCLUDE_ALL_METADATA",
2: "EXCLUDE_ALL_METADATA",
3: "CUSTOM_METADATA",
}
VpcFlowLogsConfig_Metadata_value = map[string]int32{
"METADATA_UNSPECIFIED": 0,
"INCLUDE_ALL_METADATA": 1,
"EXCLUDE_ALL_METADATA": 2,
"CUSTOM_METADATA": 3,
}
)
Enum value maps for VpcFlowLogsConfig_Metadata.
VpcFlowLogsConfig_TargetResourceState_name, VpcFlowLogsConfig_TargetResourceState_value
var (
VpcFlowLogsConfig_TargetResourceState_name = map[int32]string{
0: "TARGET_RESOURCE_STATE_UNSPECIFIED",
1: "TARGET_RESOURCE_EXISTS",
2: "TARGET_RESOURCE_DOES_NOT_EXIST",
}
VpcFlowLogsConfig_TargetResourceState_value = map[string]int32{
"TARGET_RESOURCE_STATE_UNSPECIFIED": 0,
"TARGET_RESOURCE_EXISTS": 1,
"TARGET_RESOURCE_DOES_NOT_EXIST": 2,
}
)
Enum value maps for VpcFlowLogsConfig_TargetResourceState.
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
File_google_cloud_networkmanagement_v1_vpc_flow_logs_config_proto
var File_google_cloud_networkmanagement_v1_vpc_flow_logs_config_proto protoreflect.FileDescriptor
File_google_cloud_networkmanagement_v1_vpc_flow_logs_proto
var File_google_cloud_networkmanagement_v1_vpc_flow_logs_proto protoreflect.FileDescriptor
ReachabilityService_ServiceDesc
var ReachabilityService_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.networkmanagement.v1.ReachabilityService",
HandlerType: (*ReachabilityServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "ListConnectivityTests",
Handler: _ReachabilityService_ListConnectivityTests_Handler,
},
{
MethodName: "GetConnectivityTest",
Handler: _ReachabilityService_GetConnectivityTest_Handler,
},
{
MethodName: "CreateConnectivityTest",
Handler: _ReachabilityService_CreateConnectivityTest_Handler,
},
{
MethodName: "UpdateConnectivityTest",
Handler: _ReachabilityService_UpdateConnectivityTest_Handler,
},
{
MethodName: "RerunConnectivityTest",
Handler: _ReachabilityService_RerunConnectivityTest_Handler,
},
{
MethodName: "DeleteConnectivityTest",
Handler: _ReachabilityService_DeleteConnectivityTest_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/networkmanagement/v1/reachability.proto",
}
ReachabilityService_ServiceDesc is the grpc.ServiceDesc for ReachabilityService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
VpcFlowLogsService_ServiceDesc
var VpcFlowLogsService_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.networkmanagement.v1.VpcFlowLogsService",
HandlerType: (*VpcFlowLogsServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "ListVpcFlowLogsConfigs",
Handler: _VpcFlowLogsService_ListVpcFlowLogsConfigs_Handler,
},
{
MethodName: "GetVpcFlowLogsConfig",
Handler: _VpcFlowLogsService_GetVpcFlowLogsConfig_Handler,
},
{
MethodName: "CreateVpcFlowLogsConfig",
Handler: _VpcFlowLogsService_CreateVpcFlowLogsConfig_Handler,
},
{
MethodName: "UpdateVpcFlowLogsConfig",
Handler: _VpcFlowLogsService_UpdateVpcFlowLogsConfig_Handler,
},
{
MethodName: "DeleteVpcFlowLogsConfig",
Handler: _VpcFlowLogsService_DeleteVpcFlowLogsConfig_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/networkmanagement/v1/vpc_flow_logs.proto",
}
VpcFlowLogsService_ServiceDesc is the grpc.ServiceDesc for VpcFlowLogsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions
func RegisterReachabilityServiceServer
func RegisterReachabilityServiceServer(s grpc.ServiceRegistrar, srv ReachabilityServiceServer)
func RegisterVpcFlowLogsServiceServer
func RegisterVpcFlowLogsServiceServer(s grpc.ServiceRegistrar, srv VpcFlowLogsServiceServer)
AbortInfo
type AbortInfo struct {
// Causes that the analysis is aborted.
Cause AbortInfo_Cause `protobuf:"varint,1,opt,name=cause,proto3,enum=google.cloud.networkmanagement.v1.AbortInfo_Cause" json:"cause,omitempty"`
// URI of the resource that caused the abort.
ResourceUri string `protobuf:"bytes,2,opt,name=resource_uri,json=resourceUri,proto3" json:"resource_uri,omitempty"`
// IP address that caused the abort.
IpAddress string `protobuf:"bytes,4,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"`
// List of project IDs the user specified in the request but lacks access to.
// In this case, analysis is aborted with the PERMISSION_DENIED cause.
ProjectsMissingPermission []string `protobuf:"bytes,3,rep,name=projects_missing_permission,json=projectsMissingPermission,proto3" json:"projects_missing_permission,omitempty"`
// contains filtered or unexported fields
}
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_GOOGLE_MANAGED_SERVICE_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_PERMISSION_DENIED_NO_CLOUD_ROUTER_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_REDIS_CLUSTER_UNSUPPORTED, AbortInfo_SOURCE_REDIS_INSTANCE_UNSUPPORTED, AbortInfo_SOURCE_FORWARDING_RULE_UNSUPPORTED, AbortInfo_NON_ROUTABLE_IP_ADDRESS, AbortInfo_UNKNOWN_ISSUE_IN_GOOGLE_MANAGED_PROJECT, AbortInfo_UNSUPPORTED_GOOGLE_MANAGED_PROJECT_CONFIG, AbortInfo_NO_SERVERLESS_IP_RANGES
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 no endpoint with the packet's destination IP is found in
// the Google-managed project.
AbortInfo_GOOGLE_MANAGED_SERVICE_UNKNOWN_IP AbortInfo_Cause = 32
// 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 user lacks permission to access Cloud Router configs
// required to run the test.
AbortInfo_PERMISSION_DENIED_NO_CLOUD_ROUTER_CONFIGS AbortInfo_Cause = 36
// 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 Redis Cluster as a source are not supported.
AbortInfo_SOURCE_REDIS_CLUSTER_UNSUPPORTED AbortInfo_Cause = 34
// Aborted because tests with a Redis Instance as a source are not
// supported.
AbortInfo_SOURCE_REDIS_INSTANCE_UNSUPPORTED AbortInfo_Cause = 35
// 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
// Aborted because the source endpoint is a Cloud Run revision with direct
// VPC access enabled, but there are no reserved serverless IP ranges.
AbortInfo_NO_SERVERLESS_IP_RANGES AbortInfo_Cause = 37
)
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 {
// Identifier. Unique name of the resource using the form:
//
// `projects/{project_id}/locations/global/connectivityTests/{test_id}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The user-supplied description of the Connectivity Test.
// Maximum of 512 characters.
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
// Required. Source specification of the Connectivity Test.
//
// You can use a combination of source IP address, URI of a supported
// endpoint, project ID, or VPC network to identify the source location.
//
// Reachability analysis might proceed even if the source location is
// ambiguous. However, the test result might include endpoints or use a source
// that you don't intend to test.
Source *Endpoint `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"`
// Required. Destination specification of the Connectivity Test.
//
// You can use a combination of destination IP address, URI of a supported
// endpoint, project ID, or VPC network to identify the destination location.
//
// Reachability analysis proceeds even if the destination location is
// ambiguous. However, the test result might include endpoints or use a
// destination that you don't intend to test.
Destination *Endpoint `protobuf:"bytes,4,opt,name=destination,proto3" json:"destination,omitempty"`
// IP Protocol of the test. When not provided, "TCP" is assumed.
Protocol string `protobuf:"bytes,5,opt,name=protocol,proto3" json:"protocol,omitempty"`
// Other projects that may be relevant for reachability analysis.
// This is applicable to scenarios where a test can cross project boundaries.
RelatedProjects []string `protobuf:"bytes,6,rep,name=related_projects,json=relatedProjects,proto3" json:"related_projects,omitempty"`
// Output only. The display name of a Connectivity Test.
DisplayName string `protobuf:"bytes,7,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Resource labels to represent user-provided metadata.
Labels map[string]string `protobuf:"bytes,8,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Output only. The time the test was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The time the test's configuration was updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Output only. The reachability details of this test from the latest run.
// The details are updated when creating a new test, updating an
// existing test, or triggering a one-time rerun of an existing test.
ReachabilityDetails *ReachabilityDetails `protobuf:"bytes,12,opt,name=reachability_details,json=reachabilityDetails,proto3" json:"reachability_details,omitempty"`
// Output only. The probing details of this test from the latest run, present
// for applicable tests only. The details are updated when creating a new
// test, updating an existing test, or triggering a one-time rerun of an
// existing test.
ProbingDetails *ProbingDetails `protobuf:"bytes,14,opt,name=probing_details,json=probingDetails,proto3" json:"probing_details,omitempty"`
// Whether run analysis for the return path from destination to source.
// Default value is false.
RoundTrip bool `protobuf:"varint,15,opt,name=round_trip,json=roundTrip,proto3" json:"round_trip,omitempty"`
// Output only. The reachability details of this test from the latest run for
// the return path. The details are updated when creating a new test,
// updating an existing test, or triggering a one-time rerun of an existing
// test.
ReturnReachabilityDetails *ReachabilityDetails `protobuf:"bytes,16,opt,name=return_reachability_details,json=returnReachabilityDetails,proto3" json:"return_reachability_details,omitempty"`
// Whether the analysis should skip firewall checking. Default value is false.
BypassFirewallChecks bool `protobuf:"varint,17,opt,name=bypass_firewall_checks,json=bypassFirewallChecks,proto3" json:"bypass_firewall_checks,omitempty"`
// contains filtered or unexported fields
}
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) GetReturnReachabilityDetails
func (x *ConnectivityTest) GetReturnReachabilityDetails() *ReachabilityDetails
func (*ConnectivityTest) GetRoundTrip
func (x *ConnectivityTest) GetRoundTrip() bool
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
CreateVpcFlowLogsConfigRequest
type CreateVpcFlowLogsConfigRequest struct {
// Required. The parent resource of the VPC Flow Logs configuration to create:
//
// `projects/{project_id}/locations/global`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. ID of the `VpcFlowLogsConfig`.
VpcFlowLogsConfigId string `protobuf:"bytes,2,opt,name=vpc_flow_logs_config_id,json=vpcFlowLogsConfigId,proto3" json:"vpc_flow_logs_config_id,omitempty"`
// Required. A `VpcFlowLogsConfig` resource
VpcFlowLogsConfig *VpcFlowLogsConfig `protobuf:"bytes,3,opt,name=vpc_flow_logs_config,json=vpcFlowLogsConfig,proto3" json:"vpc_flow_logs_config,omitempty"`
// contains filtered or unexported fields
}
Request for the CreateVpcFlowLogsConfig
method.
func (*CreateVpcFlowLogsConfigRequest) Descriptor
func (*CreateVpcFlowLogsConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateVpcFlowLogsConfigRequest.ProtoReflect.Descriptor instead.
func (*CreateVpcFlowLogsConfigRequest) GetParent
func (x *CreateVpcFlowLogsConfigRequest) GetParent() string
func (*CreateVpcFlowLogsConfigRequest) GetVpcFlowLogsConfig
func (x *CreateVpcFlowLogsConfigRequest) GetVpcFlowLogsConfig() *VpcFlowLogsConfig
func (*CreateVpcFlowLogsConfigRequest) GetVpcFlowLogsConfigId
func (x *CreateVpcFlowLogsConfigRequest) GetVpcFlowLogsConfigId() string
func (*CreateVpcFlowLogsConfigRequest) ProtoMessage
func (*CreateVpcFlowLogsConfigRequest) ProtoMessage()
func (*CreateVpcFlowLogsConfigRequest) ProtoReflect
func (x *CreateVpcFlowLogsConfigRequest) ProtoReflect() protoreflect.Message
func (*CreateVpcFlowLogsConfigRequest) Reset
func (x *CreateVpcFlowLogsConfigRequest) Reset()
func (*CreateVpcFlowLogsConfigRequest) String
func (x *CreateVpcFlowLogsConfigRequest) 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
DeleteVpcFlowLogsConfigRequest
type DeleteVpcFlowLogsConfigRequest struct {
// Required. `VpcFlowLogsConfig` resource name using the form:
//
// `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request for the DeleteVpcFlowLogsConfig
method.
func (*DeleteVpcFlowLogsConfigRequest) Descriptor
func (*DeleteVpcFlowLogsConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteVpcFlowLogsConfigRequest.ProtoReflect.Descriptor instead.
func (*DeleteVpcFlowLogsConfigRequest) GetName
func (x *DeleteVpcFlowLogsConfigRequest) GetName() string
func (*DeleteVpcFlowLogsConfigRequest) ProtoMessage
func (*DeleteVpcFlowLogsConfigRequest) ProtoMessage()
func (*DeleteVpcFlowLogsConfigRequest) ProtoReflect
func (x *DeleteVpcFlowLogsConfigRequest) ProtoReflect() protoreflect.Message
func (*DeleteVpcFlowLogsConfigRequest) Reset
func (x *DeleteVpcFlowLogsConfigRequest) Reset()
func (*DeleteVpcFlowLogsConfigRequest) String
func (x *DeleteVpcFlowLogsConfigRequest) 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"`
// Name of the Cloud Storage Bucket the packet is delivered to (if
// applicable).
StorageBucket string `protobuf:"bytes,4,opt,name=storage_bucket,json=storageBucket,proto3" json:"storage_bucket,omitempty"`
// PSC Google API target the packet is delivered to (if applicable).
PscGoogleApiTarget string `protobuf:"bytes,5,opt,name=psc_google_api_target,json=pscGoogleApiTarget,proto3" json:"psc_google_api_target,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) GetPscGoogleApiTarget
func (x *DeliverInfo) GetPscGoogleApiTarget() string
func (*DeliverInfo) GetResourceUri
func (x *DeliverInfo) GetResourceUri() string
func (*DeliverInfo) GetStorageBucket
func (x *DeliverInfo) GetStorageBucket() 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, DeliverInfo_GOOGLE_MANAGED_SERVICE, DeliverInfo_REDIS_INSTANCE, DeliverInfo_REDIS_CLUSTER
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 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
// Target is a Google-managed service. Used only for return traces.
DeliverInfo_GOOGLE_MANAGED_SERVICE DeliverInfo_Target = 15
// Target is a Redis Instance.
DeliverInfo_REDIS_INSTANCE DeliverInfo_Target = 16
// Target is a Redis Cluster.
DeliverInfo_REDIS_CLUSTER DeliverInfo_Target = 17
)
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
DirectVpcEgressConnectionInfo
type DirectVpcEgressConnectionInfo struct {
// URI of direct access network.
NetworkUri string `protobuf:"bytes,1,opt,name=network_uri,json=networkUri,proto3" json:"network_uri,omitempty"`
// URI of direct access subnetwork.
SubnetworkUri string `protobuf:"bytes,2,opt,name=subnetwork_uri,json=subnetworkUri,proto3" json:"subnetwork_uri,omitempty"`
// Selected IP range.
SelectedIpRange string `protobuf:"bytes,3,opt,name=selected_ip_range,json=selectedIpRange,proto3" json:"selected_ip_range,omitempty"`
// Selected starting IP address, from the selected IP range.
SelectedIpAddress string `protobuf:"bytes,4,opt,name=selected_ip_address,json=selectedIpAddress,proto3" json:"selected_ip_address,omitempty"`
// Region in which the Direct VPC egress is deployed.
Region string `protobuf:"bytes,5,opt,name=region,proto3" json:"region,omitempty"`
// contains filtered or unexported fields
}
For display only. Metadata associated with a serverless direct VPC egress connection.
func (*DirectVpcEgressConnectionInfo) Descriptor
func (*DirectVpcEgressConnectionInfo) Descriptor() ([]byte, []int)
Deprecated: Use DirectVpcEgressConnectionInfo.ProtoReflect.Descriptor instead.
func (*DirectVpcEgressConnectionInfo) GetNetworkUri
func (x *DirectVpcEgressConnectionInfo) GetNetworkUri() string
func (*DirectVpcEgressConnectionInfo) GetRegion
func (x *DirectVpcEgressConnectionInfo) GetRegion() string
func (*DirectVpcEgressConnectionInfo) GetSelectedIpAddress
func (x *DirectVpcEgressConnectionInfo) GetSelectedIpAddress() string
func (*DirectVpcEgressConnectionInfo) GetSelectedIpRange
func (x *DirectVpcEgressConnectionInfo) GetSelectedIpRange() string
func (*DirectVpcEgressConnectionInfo) GetSubnetworkUri
func (x *DirectVpcEgressConnectionInfo) GetSubnetworkUri() string
func (*DirectVpcEgressConnectionInfo) ProtoMessage
func (*DirectVpcEgressConnectionInfo) ProtoMessage()
func (*DirectVpcEgressConnectionInfo) ProtoReflect
func (x *DirectVpcEgressConnectionInfo) ProtoReflect() protoreflect.Message
func (*DirectVpcEgressConnectionInfo) Reset
func (x *DirectVpcEgressConnectionInfo) Reset()
func (*DirectVpcEgressConnectionInfo) String
func (x *DirectVpcEgressConnectionInfo) String() string
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_INGRESS_FIREWALL_TAGS_UNSUPPORTED_BY_DIRECT_VPC_EGRESS, DropInfo_INSTANCE_NOT_RUNNING, DropInfo_GKE_CLUSTER_NOT_RUNNING, DropInfo_CLOUD_SQL_INSTANCE_NOT_RUNNING, DropInfo_REDIS_INSTANCE_NOT_RUNNING, DropInfo_REDIS_CLUSTER_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_SQL_CONNECTOR_REQUIRED, DropInfo_CLOUD_FUNCTION_NOT_ACTIVE, DropInfo_VPC_CONNECTOR_NOT_SET, DropInfo_VPC_CONNECTOR_NOT_RUNNING, DropInfo_VPC_CONNECTOR_SERVERLESS_TRAFFIC_BLOCKED, DropInfo_VPC_CONNECTOR_HEALTH_CHECK_TRAFFIC_BLOCKED, 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_PSC_TRANSITIVITY_NOT_PROPAGATED, 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, DropInfo_DROPPED_INSIDE_GOOGLE_MANAGED_SERVICE, DropInfo_LOAD_BALANCER_BACKEND_INVALID_NETWORK, DropInfo_BACKEND_SERVICE_NAMED_PORT_NOT_DEFINED, DropInfo_DESTINATION_IS_PRIVATE_NAT_IP_RANGE, DropInfo_DROPPED_INSIDE_REDIS_INSTANCE_SERVICE, DropInfo_REDIS_INSTANCE_UNSUPPORTED_PORT, DropInfo_REDIS_INSTANCE_CONNECTING_FROM_PUPI_ADDRESS, DropInfo_REDIS_INSTANCE_NO_ROUTE_TO_DESTINATION_NETWORK, DropInfo_REDIS_INSTANCE_NO_EXTERNAL_IP, DropInfo_REDIS_INSTANCE_UNSUPPORTED_PROTOCOL, DropInfo_DROPPED_INSIDE_REDIS_CLUSTER_SERVICE, DropInfo_REDIS_CLUSTER_UNSUPPORTED_PORT, DropInfo_REDIS_CLUSTER_NO_EXTERNAL_IP, DropInfo_REDIS_CLUSTER_UNSUPPORTED_PROTOCOL, DropInfo_NO_ADVERTISED_ROUTE_TO_GCP_DESTINATION, DropInfo_NO_TRAFFIC_SELECTOR_TO_GCP_DESTINATION, DropInfo_NO_KNOWN_ROUTE_FROM_PEERED_NETWORK_TO_DESTINATION, DropInfo_PRIVATE_NAT_TO_PSC_ENDPOINT_UNSUPPORTED, DropInfo_PSC_PORT_MAPPING_PORT_MISMATCH, DropInfo_PSC_PORT_MAPPING_WITHOUT_PSC_CONNECTION_UNSUPPORTED, DropInfo_UNSUPPORTED_ROUTE_MATCHED_FOR_NAT64_DESTINATION
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
// Matching ingress firewall rules by network tags for packets sent via
// serverless VPC direct egress is unsupported. Behavior is undefined.
// https://cloud.google.com/run/docs/configuring/vpc-direct-vpc#limitations
DropInfo_INGRESS_FIREWALL_TAGS_UNSUPPORTED_BY_DIRECT_VPC_EGRESS DropInfo_Cause = 85
// 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
// Packet sent from or to a Redis Instance that is not in running state.
DropInfo_REDIS_INSTANCE_NOT_RUNNING DropInfo_Cause = 68
// Packet sent from or to a Redis Cluster that is not in running state.
DropInfo_REDIS_CLUSTER_NOT_RUNNING DropInfo_Cause = 69
// 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 was dropped because the Cloud SQL instance requires all
// connections to use Cloud SQL connectors and to target the Cloud SQL proxy
// port (3307).
DropInfo_CLOUD_SQL_CONNECTOR_REQUIRED DropInfo_Cause = 63
// 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 the traffic from the serverless service
// to the VPC connector is not allowed.
DropInfo_VPC_CONNECTOR_SERVERLESS_TRAFFIC_BLOCKED DropInfo_Cause = 60
// Packet could be dropped because the health check traffic to the VPC
// connector is not allowed.
DropInfo_VPC_CONNECTOR_HEALTH_CHECK_TRAFFIC_BLOCKED DropInfo_Cause = 61
// 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
// PSC endpoint is accessed via NCC, but PSC transitivity configuration is
// not yet propagated.
DropInfo_PSC_TRANSITIVITY_NOT_PROPAGATED DropInfo_Cause = 64
// 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
// Packet is dropped inside a Google-managed service due to being delivered
// in return trace to an endpoint that doesn't match the endpoint the packet
// was sent from in forward trace. Used only for return traces.
DropInfo_DROPPED_INSIDE_GOOGLE_MANAGED_SERVICE DropInfo_Cause = 62
// Packet is dropped due to a load balancer backend instance not having a
// network interface in the network expected by the load balancer.
DropInfo_LOAD_BALANCER_BACKEND_INVALID_NETWORK DropInfo_Cause = 65
// Packet is dropped due to a backend service named port not being defined
// on the instance group level.
DropInfo_BACKEND_SERVICE_NAMED_PORT_NOT_DEFINED DropInfo_Cause = 66
// Packet is dropped due to a destination IP range being part of a Private
// NAT IP range.
DropInfo_DESTINATION_IS_PRIVATE_NAT_IP_RANGE DropInfo_Cause = 67
// Generic drop cause for a packet being dropped inside a Redis Instance
// service project.
DropInfo_DROPPED_INSIDE_REDIS_INSTANCE_SERVICE DropInfo_Cause = 70
// Packet is dropped due to an unsupported port being used to connect to a
// Redis Instance. Port 6379 should be used to connect to a Redis Instance.
DropInfo_REDIS_INSTANCE_UNSUPPORTED_PORT DropInfo_Cause = 71
// Packet is dropped due to connecting from PUPI address to a PSA based
// Redis Instance.
DropInfo_REDIS_INSTANCE_CONNECTING_FROM_PUPI_ADDRESS DropInfo_Cause = 72
// Packet is dropped due to no route to the destination network.
DropInfo_REDIS_INSTANCE_NO_ROUTE_TO_DESTINATION_NETWORK DropInfo_Cause = 73
// Redis Instance does not have an external IP address.
DropInfo_REDIS_INSTANCE_NO_EXTERNAL_IP DropInfo_Cause = 74
// Packet is dropped due to an unsupported protocol being used to connect to
// a Redis Instance. Only TCP connections are accepted by a Redis Instance.
DropInfo_REDIS_INSTANCE_UNSUPPORTED_PROTOCOL DropInfo_Cause = 78
// Generic drop cause for a packet being dropped inside a Redis Cluster
// service project.
DropInfo_DROPPED_INSIDE_REDIS_CLUSTER_SERVICE DropInfo_Cause = 75
// Packet is dropped due to an unsupported port being used to connect to a
// Redis Cluster. Ports 6379 and 11000 to 13047 should be used to connect to
// a Redis Cluster.
DropInfo_REDIS_CLUSTER_UNSUPPORTED_PORT DropInfo_Cause = 76
// Redis Cluster does not have an external IP address.
DropInfo_REDIS_CLUSTER_NO_EXTERNAL_IP DropInfo_Cause = 77
// Packet is dropped due to an unsupported protocol being used to connect to
// a Redis Cluster. Only TCP connections are accepted by a Redis Cluster.
DropInfo_REDIS_CLUSTER_UNSUPPORTED_PROTOCOL DropInfo_Cause = 79
// Packet from the non-GCP (on-prem) or unknown GCP network is dropped due
// to the destination IP address not belonging to any IP prefix advertised
// via BGP by the Cloud Router.
DropInfo_NO_ADVERTISED_ROUTE_TO_GCP_DESTINATION DropInfo_Cause = 80
// Packet from the non-GCP (on-prem) or unknown GCP network is dropped due
// to the destination IP address not belonging to any IP prefix included to
// the local traffic selector of the VPN tunnel.
DropInfo_NO_TRAFFIC_SELECTOR_TO_GCP_DESTINATION DropInfo_Cause = 81
// Packet from the unknown peered network is dropped due to no known route
// from the source network to the destination IP address.
DropInfo_NO_KNOWN_ROUTE_FROM_PEERED_NETWORK_TO_DESTINATION DropInfo_Cause = 82
// Sending packets processed by the Private NAT Gateways to the Private
// Service Connect endpoints is not supported.
DropInfo_PRIVATE_NAT_TO_PSC_ENDPOINT_UNSUPPORTED DropInfo_Cause = 83
// Packet is sent to the PSC port mapping service, but its destination port
// does not match any port mapping rules.
DropInfo_PSC_PORT_MAPPING_PORT_MISMATCH DropInfo_Cause = 86
// Sending packets directly to the PSC port mapping service without going
// through the PSC connection is not supported.
DropInfo_PSC_PORT_MAPPING_WITHOUT_PSC_CONNECTION_UNSUPPORTED DropInfo_Cause = 87
// Packet with destination IP address within the reserved NAT64 range is
// dropped due to matching a route of an unsupported type.
DropInfo_UNSUPPORTED_ROUTE_MATCHED_FOR_NAT64_DESTINATION DropInfo_Cause = 88
)
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 {
// The IP address of the endpoint, which can be an external or internal IP.
IpAddress string `protobuf:"bytes,1,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"`
// The IP protocol port of the endpoint.
// Only applicable when protocol is TCP or UDP.
Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
// A Compute Engine instance URI.
Instance string `protobuf:"bytes,3,opt,name=instance,proto3" json:"instance,omitempty"`
// A forwarding rule and its corresponding IP address represent the frontend
// configuration of a Google Cloud load balancer. Forwarding rules are also
// used for protocol forwarding, Private Service Connect and other network
// services to provide forwarding information in the control plane. Applicable
// only to destination endpoint. Format:
//
// `projects/{project}/global/forwardingRules/{id}` or
// `projects/{project}/regions/{region}/forwardingRules/{id}`
ForwardingRule string `protobuf:"bytes,13,opt,name=forwarding_rule,json=forwardingRule,proto3" json:"forwarding_rule,omitempty"`
// Output only. Specifies the type of the target of the forwarding rule.
ForwardingRuleTarget *Endpoint_ForwardingRuleTarget `protobuf:"varint,14,opt,name=forwarding_rule_target,json=forwardingRuleTarget,proto3,enum=google.cloud.networkmanagement.v1.Endpoint_ForwardingRuleTarget,oneof" json:"forwarding_rule_target,omitempty"`
// Output only. ID of the load balancer the forwarding rule points to. Empty
// for forwarding rules not related to load balancers.
LoadBalancerId *string `protobuf:"bytes,15,opt,name=load_balancer_id,json=loadBalancerId,proto3,oneof" json:"load_balancer_id,omitempty"`
// Output only. Type of the load balancer the forwarding rule points to.
LoadBalancerType *LoadBalancerType `protobuf:"varint,16,opt,name=load_balancer_type,json=loadBalancerType,proto3,enum=google.cloud.networkmanagement.v1.LoadBalancerType,oneof" json:"load_balancer_type,omitempty"`
// A cluster URI for [Google Kubernetes Engine cluster control
// plane](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
GkeMasterCluster string `protobuf:"bytes,7,opt,name=gke_master_cluster,json=gkeMasterCluster,proto3" json:"gke_master_cluster,omitempty"`
// DNS endpoint of [Google Kubernetes Engine cluster control
// plane](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
// Requires gke_master_cluster to be set, can't be used simultaneoulsly with
// ip_address or network. Applicable only to destination endpoint.
Fqdn string `protobuf:"bytes,19,opt,name=fqdn,proto3" json:"fqdn,omitempty"`
// A [Cloud SQL](https://cloud.google.com/sql) instance URI.
CloudSqlInstance string `protobuf:"bytes,8,opt,name=cloud_sql_instance,json=cloudSqlInstance,proto3" json:"cloud_sql_instance,omitempty"`
// A [Redis Instance](https://cloud.google.com/memorystore/docs/redis) URI.
// Applicable only to destination endpoint.
RedisInstance string `protobuf:"bytes,17,opt,name=redis_instance,json=redisInstance,proto3" json:"redis_instance,omitempty"`
// A [Redis Cluster](https://cloud.google.com/memorystore/docs/cluster) URI.
// Applicable only to destination endpoint.
RedisCluster string `protobuf:"bytes,18,opt,name=redis_cluster,json=redisCluster,proto3" json:"redis_cluster,omitempty"`
// A [Cloud Function](https://cloud.google.com/functions). Applicable only to
// source endpoint.
CloudFunction *Endpoint_CloudFunctionEndpoint `protobuf:"bytes,10,opt,name=cloud_function,json=cloudFunction,proto3" json:"cloud_function,omitempty"`
// An [App Engine](https://cloud.google.com/appengine) [service
// version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions).
// Applicable only to source endpoint.
AppEngineVersion *Endpoint_AppEngineVersionEndpoint `protobuf:"bytes,11,opt,name=app_engine_version,json=appEngineVersion,proto3" json:"app_engine_version,omitempty"`
// A [Cloud Run](https://cloud.google.com/run)
// [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get)
// Applicable only to source endpoint.
CloudRunRevision *Endpoint_CloudRunRevisionEndpoint `protobuf:"bytes,12,opt,name=cloud_run_revision,json=cloudRunRevision,proto3" json:"cloud_run_revision,omitempty"`
// A VPC network URI.
Network string `protobuf:"bytes,4,opt,name=network,proto3" json:"network,omitempty"`
// Type of the network where the endpoint is located.
// Applicable only to source endpoint, as destination network type can be
// inferred from the source.
NetworkType Endpoint_NetworkType `protobuf:"varint,5,opt,name=network_type,json=networkType,proto3,enum=google.cloud.networkmanagement.v1.Endpoint_NetworkType" json:"network_type,omitempty"`
// Project ID where the endpoint is located.
// The project ID can be derived from the URI if you provide a endpoint or
// network URI.
// The following are two cases where you may need to provide the project ID:
// 1. Only the IP address is specified, and the IP address is within a Google
// Cloud project.
// 2. When you are using Shared VPC and the IP address that you provide is
// from the service project. In this case, the network that the IP address
// resides in is defined in the host project.
ProjectId string `protobuf:"bytes,6,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
// contains filtered or unexported fields
}
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) GetFqdn
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) GetRedisCluster
func (*Endpoint) GetRedisInstance
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"`
// Output only. The URI of the Cloud Run service that the revision belongs
// to. The format is:
// `projects/{project}/locations/{location}/services/{service}`
ServiceUri string `protobuf:"bytes,2,opt,name=service_uri,json=serviceUri,proto3" json:"service_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) GetServiceUri
func (x *Endpoint_CloudRunRevisionEndpoint) GetServiceUri() string
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, an internet resource 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 {
// The display name of the firewall rule. This field might be empty for
// firewall policy rules.
DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// The URI of the firewall rule. This field is not applicable to implied
// VPC firewall rules.
Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
// Possible values: INGRESS, EGRESS
Direction string `protobuf:"bytes,3,opt,name=direction,proto3" json:"direction,omitempty"`
// Possible values: ALLOW, DENY, APPLY_SECURITY_PROFILE_GROUP
Action string `protobuf:"bytes,4,opt,name=action,proto3" json:"action,omitempty"`
// The priority of the firewall rule.
Priority int32 `protobuf:"varint,5,opt,name=priority,proto3" json:"priority,omitempty"`
// The URI of the VPC network that the firewall rule is associated with.
// This field is not applicable to hierarchical firewall policy rules.
NetworkUri string `protobuf:"bytes,6,opt,name=network_uri,json=networkUri,proto3" json:"network_uri,omitempty"`
// The target tags defined by the VPC firewall rule. This field is not
// applicable to firewall policy rules.
TargetTags []string `protobuf:"bytes,7,rep,name=target_tags,json=targetTags,proto3" json:"target_tags,omitempty"`
// The target service accounts specified by the firewall rule.
TargetServiceAccounts []string `protobuf:"bytes,8,rep,name=target_service_accounts,json=targetServiceAccounts,proto3" json:"target_service_accounts,omitempty"`
// The name of the firewall policy that this rule is associated with.
// This field is not applicable to VPC firewall rules and implied VPC firewall
// rules.
Policy string `protobuf:"bytes,9,opt,name=policy,proto3" json:"policy,omitempty"`
// The URI of the firewall policy that this rule is associated with.
// This field is not applicable to VPC firewall rules and implied VPC firewall
// rules.
PolicyUri string `protobuf:"bytes,11,opt,name=policy_uri,json=policyUri,proto3" json:"policy_uri,omitempty"`
// The firewall rule's type.
FirewallRuleType FirewallInfo_FirewallRuleType `protobuf:"varint,10,opt,name=firewall_rule_type,json=firewallRuleType,proto3,enum=google.cloud.networkmanagement.v1.FirewallInfo_FirewallRuleType" json:"firewall_rule_type,omitempty"`
// contains filtered or unexported fields
}
For display only. Metadata associated with a VPC firewall rule, an implied VPC firewall rule, or a 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) GetPolicyUri
func (x *FirewallInfo) GetPolicyUri() 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, FirewallInfo_ANALYSIS_SKIPPED
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
// Firewall analysis was skipped due to executing Connectivity Test in the
// BypassFirewallChecks mode
FirewallInfo_ANALYSIS_SKIPPED FirewallInfo_FirewallRuleType = 102
)
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 the forwarding rule.
DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// URI of the forwarding rule.
Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
// Protocol defined in the forwarding rule that matches the packet.
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 packet.
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.
NetworkUri string `protobuf:"bytes,7,opt,name=network_uri,json=networkUri,proto3" json:"network_uri,omitempty"`
// Region of the forwarding rule. Set only for regional forwarding rules.
Region string `protobuf:"bytes,8,opt,name=region,proto3" json:"region,omitempty"`
// Name of the load balancer the forwarding rule belongs to. Empty for
// forwarding rules not related to load balancers (like PSC forwarding rules).
LoadBalancerName string `protobuf:"bytes,9,opt,name=load_balancer_name,json=loadBalancerName,proto3" json:"load_balancer_name,omitempty"`
// URI of the PSC service attachment this forwarding rule targets (if
// applicable).
PscServiceAttachmentUri string `protobuf:"bytes,10,opt,name=psc_service_attachment_uri,json=pscServiceAttachmentUri,proto3" json:"psc_service_attachment_uri,omitempty"`
// PSC Google API target this forwarding rule targets (if applicable).
PscGoogleApiTarget string `protobuf:"bytes,11,opt,name=psc_google_api_target,json=pscGoogleApiTarget,proto3" json:"psc_google_api_target,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) GetLoadBalancerName
func (x *ForwardingRuleInfo) GetLoadBalancerName() 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) GetPscGoogleApiTarget
func (x *ForwardingRuleInfo) GetPscGoogleApiTarget() string
func (*ForwardingRuleInfo) GetPscServiceAttachmentUri
func (x *ForwardingRuleInfo) GetPscServiceAttachmentUri() string
func (*ForwardingRuleInfo) GetRegion
func (x *ForwardingRuleInfo) GetRegion() 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 control plane.
InternalIp string `protobuf:"bytes,5,opt,name=internal_ip,json=internalIp,proto3" json:"internal_ip,omitempty"`
// External IP address of a GKE cluster control plane.
ExternalIp string `protobuf:"bytes,6,opt,name=external_ip,json=externalIp,proto3" json:"external_ip,omitempty"`
// DNS endpoint of a GKE cluster control plane.
DnsEndpoint string `protobuf:"bytes,7,opt,name=dns_endpoint,json=dnsEndpoint,proto3" json:"dns_endpoint,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) GetDnsEndpoint
func (x *GKEMasterInfo) GetDnsEndpoint() 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
GetVpcFlowLogsConfigRequest
type GetVpcFlowLogsConfigRequest struct {
// Required. `VpcFlowLogsConfig` resource name using the form:
//
// `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request for the GetVpcFlowLogsConfig
method.
func (*GetVpcFlowLogsConfigRequest) Descriptor
func (*GetVpcFlowLogsConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetVpcFlowLogsConfigRequest.ProtoReflect.Descriptor instead.
func (*GetVpcFlowLogsConfigRequest) GetName
func (x *GetVpcFlowLogsConfigRequest) GetName() string
func (*GetVpcFlowLogsConfigRequest) ProtoMessage
func (*GetVpcFlowLogsConfigRequest) ProtoMessage()
func (*GetVpcFlowLogsConfigRequest) ProtoReflect
func (x *GetVpcFlowLogsConfigRequest) ProtoReflect() protoreflect.Message
func (*GetVpcFlowLogsConfigRequest) Reset
func (x *GetVpcFlowLogsConfigRequest) Reset()
func (*GetVpcFlowLogsConfigRequest) String
func (x *GetVpcFlowLogsConfigRequest) String() string
GoogleServiceInfo
type GoogleServiceInfo struct {
// Source IP address.
SourceIp string `protobuf:"bytes,1,opt,name=source_ip,json=sourceIp,proto3" json:"source_ip,omitempty"`
// Recognized type of a Google Service.
GoogleServiceType GoogleServiceInfo_GoogleServiceType `protobuf:"varint,2,opt,name=google_service_type,json=googleServiceType,proto3,enum=google.cloud.networkmanagement.v1.GoogleServiceInfo_GoogleServiceType" json:"google_service_type,omitempty"`
// contains filtered or unexported fields
}
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, GoogleServiceInfo_SERVERLESS_VPC_ACCESS
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
// Google API via Serverless VPC Access.
// https://cloud.google.com/vpc/docs/serverless-vpc-access
GoogleServiceInfo_SERVERLESS_VPC_ACCESS GoogleServiceInfo_GoogleServiceType = 7
)
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"`
// URI of the PSC network attachment the NIC is attached to (if relevant).
PscNetworkAttachmentUri string `protobuf:"bytes,9,opt,name=psc_network_attachment_uri,json=pscNetworkAttachmentUri,proto3" json:"psc_network_attachment_uri,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) GetPscNetworkAttachmentUri
func (x *InstanceInfo) GetPscNetworkAttachmentUri() 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
ListVpcFlowLogsConfigsRequest
type ListVpcFlowLogsConfigsRequest struct {
// Required. The parent resource of the VpcFlowLogsConfig:
//
// `projects/{project_id}/locations/global`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Number of `VpcFlowLogsConfigs` to return.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. 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"`
// Optional. Lists the `VpcFlowLogsConfigs` that match the filter expression.
// A filter expression must use the supported [CEL logic operators]
// (https://cloud.google.com/vpc/docs/about-flow-logs-records#supported_cel_logic_operators).
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. Field to use to sort the list.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}
Request for the ListVpcFlowLogsConfigs
method.
func (*ListVpcFlowLogsConfigsRequest) Descriptor
func (*ListVpcFlowLogsConfigsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListVpcFlowLogsConfigsRequest.ProtoReflect.Descriptor instead.
func (*ListVpcFlowLogsConfigsRequest) GetFilter
func (x *ListVpcFlowLogsConfigsRequest) GetFilter() string
func (*ListVpcFlowLogsConfigsRequest) GetOrderBy
func (x *ListVpcFlowLogsConfigsRequest) GetOrderBy() string
func (*ListVpcFlowLogsConfigsRequest) GetPageSize
func (x *ListVpcFlowLogsConfigsRequest) GetPageSize() int32
func (*ListVpcFlowLogsConfigsRequest) GetPageToken
func (x *ListVpcFlowLogsConfigsRequest) GetPageToken() string
func (*ListVpcFlowLogsConfigsRequest) GetParent
func (x *ListVpcFlowLogsConfigsRequest) GetParent() string
func (*ListVpcFlowLogsConfigsRequest) ProtoMessage
func (*ListVpcFlowLogsConfigsRequest) ProtoMessage()
func (*ListVpcFlowLogsConfigsRequest) ProtoReflect
func (x *ListVpcFlowLogsConfigsRequest) ProtoReflect() protoreflect.Message
func (*ListVpcFlowLogsConfigsRequest) Reset
func (x *ListVpcFlowLogsConfigsRequest) Reset()
func (*ListVpcFlowLogsConfigsRequest) String
func (x *ListVpcFlowLogsConfigsRequest) String() string
ListVpcFlowLogsConfigsResponse
type ListVpcFlowLogsConfigsResponse struct {
// List of VPC Flow Log configurations.
VpcFlowLogsConfigs []*VpcFlowLogsConfig `protobuf:"bytes,1,rep,name=vpc_flow_logs_configs,json=vpcFlowLogsConfigs,proto3" json:"vpc_flow_logs_configs,omitempty"`
// Page token to fetch the next set of configurations.
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 ListVpcFlowLogsConfigs
method.
func (*ListVpcFlowLogsConfigsResponse) Descriptor
func (*ListVpcFlowLogsConfigsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListVpcFlowLogsConfigsResponse.ProtoReflect.Descriptor instead.
func (*ListVpcFlowLogsConfigsResponse) GetNextPageToken
func (x *ListVpcFlowLogsConfigsResponse) GetNextPageToken() string
func (*ListVpcFlowLogsConfigsResponse) GetUnreachable
func (x *ListVpcFlowLogsConfigsResponse) GetUnreachable() []string
func (*ListVpcFlowLogsConfigsResponse) GetVpcFlowLogsConfigs
func (x *ListVpcFlowLogsConfigsResponse) GetVpcFlowLogsConfigs() []*VpcFlowLogsConfig
func (*ListVpcFlowLogsConfigsResponse) ProtoMessage
func (*ListVpcFlowLogsConfigsResponse) ProtoMessage()
func (*ListVpcFlowLogsConfigsResponse) ProtoReflect
func (x *ListVpcFlowLogsConfigsResponse) ProtoReflect() protoreflect.Message
func (*ListVpcFlowLogsConfigsResponse) Reset
func (x *ListVpcFlowLogsConfigsResponse) Reset()
func (*ListVpcFlowLogsConfigsResponse) String
func (x *ListVpcFlowLogsConfigsResponse) String() string
LoadBalancerBackend
type LoadBalancerBackend struct {
// Name of a Compute Engine instance or network endpoint.
DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// URI of a Compute Engine instance or network endpoint.
Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
// State of the health check firewall configuration.
HealthCheckFirewallState LoadBalancerBackend_HealthCheckFirewallState `protobuf:"varint,3,opt,name=health_check_firewall_state,json=healthCheckFirewallState,proto3,enum=google.cloud.networkmanagement.v1.LoadBalancerBackend_HealthCheckFirewallState" json:"health_check_firewall_state,omitempty"`
// A list of firewall rule URIs allowing probes from health check IP ranges.
HealthCheckAllowingFirewallRules []string `protobuf:"bytes,4,rep,name=health_check_allowing_firewall_rules,json=healthCheckAllowingFirewallRules,proto3" json:"health_check_allowing_firewall_rules,omitempty"`
// A list of firewall rule URIs blocking probes from health check IP ranges.
HealthCheckBlockingFirewallRules []string `protobuf:"bytes,5,rep,name=health_check_blocking_firewall_rules,json=healthCheckBlockingFirewallRules,proto3" json:"health_check_blocking_firewall_rules,omitempty"`
// contains filtered or unexported fields
}
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 {
// Display name of the backend. For example, it might be an instance name for
// the instance group backends, or an IP address and port for zonal network
// endpoint group backends.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// URI of the backend instance (if applicable). Populated for instance group
// backends, and zonal NEG backends.
InstanceUri string `protobuf:"bytes,2,opt,name=instance_uri,json=instanceUri,proto3" json:"instance_uri,omitempty"`
// URI of the backend service this backend belongs to (if applicable).
BackendServiceUri string `protobuf:"bytes,3,opt,name=backend_service_uri,json=backendServiceUri,proto3" json:"backend_service_uri,omitempty"`
// URI of the instance group this backend belongs to (if applicable).
InstanceGroupUri string `protobuf:"bytes,4,opt,name=instance_group_uri,json=instanceGroupUri,proto3" json:"instance_group_uri,omitempty"`
// URI of the network endpoint group this backend belongs to (if applicable).
NetworkEndpointGroupUri string `protobuf:"bytes,5,opt,name=network_endpoint_group_uri,json=networkEndpointGroupUri,proto3" json:"network_endpoint_group_uri,omitempty"`
// URI of the backend bucket this backend targets (if applicable).
BackendBucketUri string `protobuf:"bytes,8,opt,name=backend_bucket_uri,json=backendBucketUri,proto3" json:"backend_bucket_uri,omitempty"`
// URI of the PSC service attachment this PSC NEG backend targets (if
// applicable).
PscServiceAttachmentUri string `protobuf:"bytes,9,opt,name=psc_service_attachment_uri,json=pscServiceAttachmentUri,proto3" json:"psc_service_attachment_uri,omitempty"`
// PSC Google API target this PSC NEG backend targets (if applicable).
PscGoogleApiTarget string `protobuf:"bytes,10,opt,name=psc_google_api_target,json=pscGoogleApiTarget,proto3" json:"psc_google_api_target,omitempty"`
// URI of the health check attached to this backend (if applicable).
HealthCheckUri string `protobuf:"bytes,6,opt,name=health_check_uri,json=healthCheckUri,proto3" json:"health_check_uri,omitempty"`
// Output only. Health check firewalls configuration state for the backend.
// This is a result of the static firewall analysis (verifying that health
// check traffic from required IP ranges to the backend is allowed or not).
// The backend might still be unhealthy even if these firewalls are
// configured. Please refer to the documentation for more information:
// https://cloud.google.com/load-balancing/docs/firewall-rules
HealthCheckFirewallsConfigState LoadBalancerBackendInfo_HealthCheckFirewallsConfigState `protobuf:"varint,7,opt,name=health_check_firewalls_config_state,json=healthCheckFirewallsConfigState,proto3,enum=google.cloud.networkmanagement.v1.LoadBalancerBackendInfo_HealthCheckFirewallsConfigState" json:"health_check_firewalls_config_state,omitempty"`
// contains filtered or unexported fields
}
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 {
// Type of the load balancer.
LoadBalancerType LoadBalancerInfo_LoadBalancerType `protobuf:"varint,1,opt,name=load_balancer_type,json=loadBalancerType,proto3,enum=google.cloud.networkmanagement.v1.LoadBalancerInfo_LoadBalancerType" json:"load_balancer_type,omitempty"`
// URI of the health check for the load balancer. Deprecated and no longer
// populated as different load balancer backends might have different health
// checks.
//
// Deprecated: Marked as deprecated in google/cloud/networkmanagement/v1/trace.proto.
HealthCheckUri string `protobuf:"bytes,2,opt,name=health_check_uri,json=healthCheckUri,proto3" json:"health_check_uri,omitempty"`
// Information for the loadbalancer backends.
Backends []*LoadBalancerBackend `protobuf:"bytes,3,rep,name=backends,proto3" json:"backends,omitempty"`
// Type of load balancer's backend configuration.
BackendType LoadBalancerInfo_BackendType `protobuf:"varint,4,opt,name=backend_type,json=backendType,proto3,enum=google.cloud.networkmanagement.v1.LoadBalancerInfo_BackendType" json:"backend_type,omitempty"`
// Backend configuration URI.
BackendUri string `protobuf:"bytes,5,opt,name=backend_uri,json=backendUri,proto3" json:"backend_uri,omitempty"`
// contains filtered or unexported fields
}
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"`
// URI of the subnet matching the source IP address of the test.
MatchedSubnetUri string `protobuf:"bytes,5,opt,name=matched_subnet_uri,json=matchedSubnetUri,proto3" json:"matched_subnet_uri,omitempty"`
// The IP range of the subnet matching the source IP address of the test.
MatchedIpRange string `protobuf:"bytes,4,opt,name=matched_ip_range,json=matchedIpRange,proto3" json:"matched_ip_range,omitempty"`
// The region of the subnet matching the source IP address of the test.
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 network. Next ID: 7
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) GetMatchedSubnetUri
func (x *NetworkInfo) GetMatchedSubnetUri() string
func (*NetworkInfo) GetRegion
func (x *NetworkInfo) GetRegion() 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 {
// The overall result of active probing.
Result ProbingDetails_ProbingResult `protobuf:"varint,1,opt,name=result,proto3,enum=google.cloud.networkmanagement.v1.ProbingDetails_ProbingResult" json:"result,omitempty"`
// The time that reachability was assessed through active probing.
VerifyTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=verify_time,json=verifyTime,proto3" json:"verify_time,omitempty"`
// Details about an internal failure or the cancellation of active probing.
Error *status.Status `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
// The reason probing was aborted.
AbortCause ProbingDetails_ProbingAbortCause `protobuf:"varint,4,opt,name=abort_cause,json=abortCause,proto3,enum=google.cloud.networkmanagement.v1.ProbingDetails_ProbingAbortCause" json:"abort_cause,omitempty"`
// Number of probes sent.
SentProbeCount int32 `protobuf:"varint,5,opt,name=sent_probe_count,json=sentProbeCount,proto3" json:"sent_probe_count,omitempty"`
// Number of probes that reached the destination.
SuccessfulProbeCount int32 `protobuf:"varint,6,opt,name=successful_probe_count,json=successfulProbeCount,proto3" json:"successful_probe_count,omitempty"`
// The source and destination endpoints derived from the test input and used
// for active probing.
EndpointInfo *EndpointInfo `protobuf:"bytes,7,opt,name=endpoint_info,json=endpointInfo,proto3" json:"endpoint_info,omitempty"`
// Latency as measured by active probing in one direction:
// from the source to the destination endpoint.
ProbingLatency *LatencyDistribution `protobuf:"bytes,8,opt,name=probing_latency,json=probingLatency,proto3" json:"probing_latency,omitempty"`
// The EdgeLocation from which a packet destined for/originating from the
// internet will egress/ingress the Google network.
// This will only be populated for a connectivity test which has an internet
// destination/source address.
// The absence of this field *must not* be used as an indication that the
// destination/source is part of the Google network.
DestinationEgressLocation *ProbingDetails_EdgeLocation `protobuf:"bytes,9,opt,name=destination_egress_location,json=destinationEgressLocation,proto3" json:"destination_egress_location,omitempty"`
// contains filtered or unexported fields
}
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 {
// The overall result of the test's configuration analysis.
Result ReachabilityDetails_Result `protobuf:"varint,1,opt,name=result,proto3,enum=google.cloud.networkmanagement.v1.ReachabilityDetails_Result" json:"result,omitempty"`
// The time of the configuration analysis.
VerifyTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=verify_time,json=verifyTime,proto3" json:"verify_time,omitempty"`
// The details of a failure or a cancellation of reachability analysis.
Error *status.Status `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
// Result may contain a list of traces if a test has multiple possible
// paths in the network, such as when destination endpoint is a load balancer
// with multiple backends.
Traces []*Trace `protobuf:"bytes,5,rep,name=traces,proto3" json:"traces,omitempty"`
// contains filtered or unexported fields
}
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 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://pkg.go.dev/google.golang.org/grpc/?tab=doc#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 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. All implementations should embed UnimplementedReachabilityServiceServer for forward compatibility
RedisClusterInfo
type RedisClusterInfo struct {
// Name of a Redis Cluster.
DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// URI of a Redis Cluster in format
// "projects/{project_id}/locations/{location}/clusters/{cluster_id}"
Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
// URI of the network containing the Redis Cluster endpoints in format
// "projects/{project_id}/global/networks/{network_id}".
NetworkUri string `protobuf:"bytes,3,opt,name=network_uri,json=networkUri,proto3" json:"network_uri,omitempty"`
// Discovery endpoint IP address of a Redis Cluster.
DiscoveryEndpointIpAddress string `protobuf:"bytes,4,opt,name=discovery_endpoint_ip_address,json=discoveryEndpointIpAddress,proto3" json:"discovery_endpoint_ip_address,omitempty"`
// Secondary endpoint IP address of a Redis Cluster.
SecondaryEndpointIpAddress string `protobuf:"bytes,5,opt,name=secondary_endpoint_ip_address,json=secondaryEndpointIpAddress,proto3" json:"secondary_endpoint_ip_address,omitempty"`
// Name of the region in which the Redis Cluster is defined. For example,
// "us-central1".
Location string `protobuf:"bytes,6,opt,name=location,proto3" json:"location,omitempty"`
// contains filtered or unexported fields
}
For display only. Metadata associated with a Redis Cluster.
func (*RedisClusterInfo) Descriptor
func (*RedisClusterInfo) Descriptor() ([]byte, []int)
Deprecated: Use RedisClusterInfo.ProtoReflect.Descriptor instead.
func (*RedisClusterInfo) GetDiscoveryEndpointIpAddress
func (x *RedisClusterInfo) GetDiscoveryEndpointIpAddress() string
func (*RedisClusterInfo) GetDisplayName
func (x *RedisClusterInfo) GetDisplayName() string
func (*RedisClusterInfo) GetLocation
func (x *RedisClusterInfo) GetLocation() string
func (*RedisClusterInfo) GetNetworkUri
func (x *RedisClusterInfo) GetNetworkUri() string
func (*RedisClusterInfo) GetSecondaryEndpointIpAddress
func (x *RedisClusterInfo) GetSecondaryEndpointIpAddress() string
func (*RedisClusterInfo) GetUri
func (x *RedisClusterInfo) GetUri() string
func (*RedisClusterInfo) ProtoMessage
func (*RedisClusterInfo) ProtoMessage()
func (*RedisClusterInfo) ProtoReflect
func (x *RedisClusterInfo) ProtoReflect() protoreflect.Message
func (*RedisClusterInfo) Reset
func (x *RedisClusterInfo) Reset()
func (*RedisClusterInfo) String
func (x *RedisClusterInfo) String() string
RedisInstanceInfo
type RedisInstanceInfo struct {
// Name of a Cloud Redis Instance.
DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// URI of a Cloud Redis Instance.
Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
// URI of a Cloud Redis Instance network.
NetworkUri string `protobuf:"bytes,3,opt,name=network_uri,json=networkUri,proto3" json:"network_uri,omitempty"`
// Primary endpoint IP address of a Cloud Redis Instance.
PrimaryEndpointIp string `protobuf:"bytes,4,opt,name=primary_endpoint_ip,json=primaryEndpointIp,proto3" json:"primary_endpoint_ip,omitempty"`
// Read endpoint IP address of a Cloud Redis Instance (if applicable).
ReadEndpointIp string `protobuf:"bytes,5,opt,name=read_endpoint_ip,json=readEndpointIp,proto3" json:"read_endpoint_ip,omitempty"`
// Region in which the Cloud Redis Instance is defined.
Region string `protobuf:"bytes,6,opt,name=region,proto3" json:"region,omitempty"`
// contains filtered or unexported fields
}
For display only. Metadata associated with a Cloud Redis Instance.
func (*RedisInstanceInfo) Descriptor
func (*RedisInstanceInfo) Descriptor() ([]byte, []int)
Deprecated: Use RedisInstanceInfo.ProtoReflect.Descriptor instead.
func (*RedisInstanceInfo) GetDisplayName
func (x *RedisInstanceInfo) GetDisplayName() string
func (*RedisInstanceInfo) GetNetworkUri
func (x *RedisInstanceInfo) GetNetworkUri() string
func (*RedisInstanceInfo) GetPrimaryEndpointIp
func (x *RedisInstanceInfo) GetPrimaryEndpointIp() string
func (*RedisInstanceInfo) GetReadEndpointIp
func (x *RedisInstanceInfo) GetReadEndpointIp() string
func (*RedisInstanceInfo) GetRegion
func (x *RedisInstanceInfo) GetRegion() string
func (*RedisInstanceInfo) GetUri
func (x *RedisInstanceInfo) GetUri() string
func (*RedisInstanceInfo) ProtoMessage
func (*RedisInstanceInfo) ProtoMessage()
func (*RedisInstanceInfo) ProtoReflect
func (x *RedisInstanceInfo) ProtoReflect() protoreflect.Message
func (*RedisInstanceInfo) Reset
func (x *RedisInstanceInfo) Reset()
func (*RedisInstanceInfo) String
func (x *RedisInstanceInfo) String() string
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 {
// Type of route.
RouteType RouteInfo_RouteType `protobuf:"varint,8,opt,name=route_type,json=routeType,proto3,enum=google.cloud.networkmanagement.v1.RouteInfo_RouteType" json:"route_type,omitempty"`
// Type of next hop.
NextHopType RouteInfo_NextHopType `protobuf:"varint,9,opt,name=next_hop_type,json=nextHopType,proto3,enum=google.cloud.networkmanagement.v1.RouteInfo_NextHopType" json:"next_hop_type,omitempty"`
// Indicates where route is applicable. Deprecated, routes with NCC_HUB scope
// are not included in the trace in new tests.
//
// Deprecated: Marked as deprecated in google/cloud/networkmanagement/v1/trace.proto.
RouteScope RouteInfo_RouteScope `protobuf:"varint,14,opt,name=route_scope,json=routeScope,proto3,enum=google.cloud.networkmanagement.v1.RouteInfo_RouteScope" json:"route_scope,omitempty"`
// Name of a route.
DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// URI of a route. SUBNET, STATIC, PEERING_SUBNET (only for peering network)
// and POLICY_BASED routes only.
Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
// Region of the route. DYNAMIC, PEERING_DYNAMIC, POLICY_BASED and ADVERTISED
// routes only. If set for POLICY_BASED route, this is a region of VLAN
// attachments for Cloud Interconnect the route applies to.
Region string `protobuf:"bytes,19,opt,name=region,proto3" json:"region,omitempty"`
// Destination IP range of the route.
DestIpRange string `protobuf:"bytes,3,opt,name=dest_ip_range,json=destIpRange,proto3" json:"dest_ip_range,omitempty"`
// String type of the next hop of the route (for example, "VPN tunnel").
// Deprecated in favor of the next_hop_type and next_hop_uri fields, not used
// in new tests.
//
// Deprecated: Marked as deprecated in google/cloud/networkmanagement/v1/trace.proto.
NextHop string `protobuf:"bytes,4,opt,name=next_hop,json=nextHop,proto3" json:"next_hop,omitempty"`
// URI of a VPC network where route is located.
NetworkUri string `protobuf:"bytes,5,opt,name=network_uri,json=networkUri,proto3" json:"network_uri,omitempty"`
// Priority of the route.
Priority int32 `protobuf:"varint,6,opt,name=priority,proto3" json:"priority,omitempty"`
// Instance tags of the route.
InstanceTags []string `protobuf:"bytes,7,rep,name=instance_tags,json=instanceTags,proto3" json:"instance_tags,omitempty"`
// Source IP address range of the route. POLICY_BASED routes only.
SrcIpRange string `protobuf:"bytes,10,opt,name=src_ip_range,json=srcIpRange,proto3" json:"src_ip_range,omitempty"`
// Destination port ranges of the route. POLICY_BASED routes only.
DestPortRanges []string `protobuf:"bytes,11,rep,name=dest_port_ranges,json=destPortRanges,proto3" json:"dest_port_ranges,omitempty"`
// Source port ranges of the route. POLICY_BASED routes only.
SrcPortRanges []string `protobuf:"bytes,12,rep,name=src_port_ranges,json=srcPortRanges,proto3" json:"src_port_ranges,omitempty"`
// Protocols of the route. POLICY_BASED routes only.
Protocols []string `protobuf:"bytes,13,rep,name=protocols,proto3" json:"protocols,omitempty"`
// URI of the NCC Hub the route is advertised by. PEERING_SUBNET and
// PEERING_DYNAMIC routes that are advertised by NCC Hub only.
NccHubUri *string `protobuf:"bytes,15,opt,name=ncc_hub_uri,json=nccHubUri,proto3,oneof" json:"ncc_hub_uri,omitempty"`
// URI of the destination NCC Spoke. PEERING_SUBNET and PEERING_DYNAMIC routes
// that are advertised by NCC Hub only.
NccSpokeUri *string `protobuf:"bytes,16,opt,name=ncc_spoke_uri,json=nccSpokeUri,proto3,oneof" json:"ncc_spoke_uri,omitempty"`
// For ADVERTISED dynamic routes, the URI of the Cloud Router that advertised
// the corresponding IP prefix.
AdvertisedRouteSourceRouterUri *string `protobuf:"bytes,17,opt,name=advertised_route_source_router_uri,json=advertisedRouteSourceRouterUri,proto3,oneof" json:"advertised_route_source_router_uri,omitempty"`
// For ADVERTISED routes, the URI of their next hop, i.e. the URI of the
// hybrid endpoint (VPN tunnel, Interconnect attachment, NCC router appliance)
// the advertised prefix is advertised through, or URI of the source peered
// network. Deprecated in favor of the next_hop_uri field, not used in new
// tests.
//
// Deprecated: Marked as deprecated in google/cloud/networkmanagement/v1/trace.proto.
AdvertisedRouteNextHopUri *string `protobuf:"bytes,18,opt,name=advertised_route_next_hop_uri,json=advertisedRouteNextHopUri,proto3,oneof" json:"advertised_route_next_hop_uri,omitempty"`
// URI of the next hop resource.
NextHopUri string `protobuf:"bytes,20,opt,name=next_hop_uri,json=nextHopUri,proto3" json:"next_hop_uri,omitempty"`
// URI of a VPC network where the next hop resource is located.
NextHopNetworkUri string `protobuf:"bytes,21,opt,name=next_hop_network_uri,json=nextHopNetworkUri,proto3" json:"next_hop_network_uri,omitempty"`
// For PEERING_SUBNET and PEERING_STATIC routes, the URI of the originating
// SUBNET/STATIC route.
OriginatingRouteUri string `protobuf:"bytes,22,opt,name=originating_route_uri,json=originatingRouteUri,proto3" json:"originating_route_uri,omitempty"`
// For PEERING_SUBNET, PEERING_STATIC and PEERING_DYNAMIC routes, the name of
// the originating SUBNET/STATIC/DYNAMIC route.
OriginatingRouteDisplayName string `protobuf:"bytes,23,opt,name=originating_route_display_name,json=originatingRouteDisplayName,proto3" json:"originating_route_display_name,omitempty"`
// For PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC
// Hub, the URI of the corresponding route in NCC Hub's routing table.
NccHubRouteUri string `protobuf:"bytes,24,opt,name=ncc_hub_route_uri,json=nccHubRouteUri,proto3" json:"ncc_hub_route_uri,omitempty"`
// contains filtered or unexported fields
}
For display only. Metadata associated with a Compute Engine route.
func (*RouteInfo) Descriptor
Deprecated: Use RouteInfo.ProtoReflect.Descriptor instead.
func (*RouteInfo) GetAdvertisedRouteNextHopUri
Deprecated: Marked as deprecated in google/cloud/networkmanagement/v1/trace.proto.
func (*RouteInfo) GetAdvertisedRouteSourceRouterUri
func (*RouteInfo) GetDestIpRange
func (*RouteInfo) GetDestPortRanges
func (*RouteInfo) GetDisplayName
func (*RouteInfo) GetInstanceTags
func (*RouteInfo) GetNccHubRouteUri
func (*RouteInfo) GetNccHubUri
func (*RouteInfo) GetNccSpokeUri
func (*RouteInfo) GetNetworkUri
func (*RouteInfo) GetNextHop
Deprecated: Marked as deprecated in google/cloud/networkmanagement/v1/trace.proto.
func (*RouteInfo) GetNextHopNetworkUri
func (*RouteInfo) GetNextHopType
func (x *RouteInfo) GetNextHopType() RouteInfo_NextHopType
func (*RouteInfo) GetNextHopUri
func (*RouteInfo) GetOriginatingRouteDisplayName
func (*RouteInfo) GetOriginatingRouteUri
func (*RouteInfo) GetPriority
func (*RouteInfo) GetProtocols
func (*RouteInfo) GetRegion
func (*RouteInfo) GetRouteScope
func (x *RouteInfo) GetRouteScope() RouteInfo_RouteScope
Deprecated: Marked as deprecated in google/cloud/networkmanagement/v1/trace.proto.
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. This scenario only happens when the user
// doesn't have permissions to the project where the next hop resource is
// located.
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
// unusable.
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. This scenario only happens when the user doesn't
// have permissions to the project where the next hop resource is located.
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, RouteInfo_ADVERTISED
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 or NCC Hub.
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 or NCC Hub.
RouteInfo_PEERING_DYNAMIC RouteInfo_RouteType = 6
// Policy based route.
RouteInfo_POLICY_BASED RouteInfo_RouteType = 7
// Advertised route. Synthetic route which is used to transition from the
// StartFromPrivateNetwork state in Connectivity tests.
RouteInfo_ADVERTISED RouteInfo_RouteType = 101
)
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
ServerlessExternalConnectionInfo
type ServerlessExternalConnectionInfo struct {
// Selected starting IP address, from the Google dynamic address pool.
SelectedIpAddress string `protobuf:"bytes,1,opt,name=selected_ip_address,json=selectedIpAddress,proto3" json:"selected_ip_address,omitempty"`
// contains filtered or unexported fields
}
For display only. Metadata associated with a serverless public connection.
func (*ServerlessExternalConnectionInfo) Descriptor
func (*ServerlessExternalConnectionInfo) Descriptor() ([]byte, []int)
Deprecated: Use ServerlessExternalConnectionInfo.ProtoReflect.Descriptor instead.
func (*ServerlessExternalConnectionInfo) GetSelectedIpAddress
func (x *ServerlessExternalConnectionInfo) GetSelectedIpAddress() string
func (*ServerlessExternalConnectionInfo) ProtoMessage
func (*ServerlessExternalConnectionInfo) ProtoMessage()
func (*ServerlessExternalConnectionInfo) ProtoReflect
func (x *ServerlessExternalConnectionInfo) ProtoReflect() protoreflect.Message
func (*ServerlessExternalConnectionInfo) Reset
func (x *ServerlessExternalConnectionInfo) Reset()
func (*ServerlessExternalConnectionInfo) String
func (x *ServerlessExternalConnectionInfo) String() string
ServerlessNegInfo
type ServerlessNegInfo struct {
// URI of the serverless network endpoint group.
NegUri string `protobuf:"bytes,1,opt,name=neg_uri,json=negUri,proto3" json:"neg_uri,omitempty"`
// contains filtered or unexported fields
}
For display only. Metadata associated with the serverless network endpoint group backend.
func (*ServerlessNegInfo) Descriptor
func (*ServerlessNegInfo) Descriptor() ([]byte, []int)
Deprecated: Use ServerlessNegInfo.ProtoReflect.Descriptor instead.
func (*ServerlessNegInfo) GetNegUri
func (x *ServerlessNegInfo) GetNegUri() string
func (*ServerlessNegInfo) ProtoMessage
func (*ServerlessNegInfo) ProtoMessage()
func (*ServerlessNegInfo) ProtoReflect
func (x *ServerlessNegInfo) ProtoReflect() protoreflect.Message
func (*ServerlessNegInfo) Reset
func (x *ServerlessNegInfo) Reset()
func (*ServerlessNegInfo) String
func (x *ServerlessNegInfo) String() string
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_DirectVpcEgressConnection
// *Step_ServerlessExternalConnection
// *Step_Deliver
// *Step_Forward
// *Step_Abort
// *Step_Drop
// *Step_LoadBalancer
// *Step_Network
// *Step_GkeMaster
// *Step_CloudSqlInstance
// *Step_RedisInstance
// *Step_RedisCluster
// *Step_CloudFunction
// *Step_AppEngineVersion
// *Step_CloudRunRevision
// *Step_Nat
// *Step_ProxyConnection
// *Step_LoadBalancerBackendInfo
// *Step_StorageBucket
// *Step_ServerlessNeg
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) GetDirectVpcEgressConnection
func (x *Step) GetDirectVpcEgressConnection() *DirectVpcEgressConnectionInfo
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) GetRedisCluster
func (x *Step) GetRedisCluster() *RedisClusterInfo
func (*Step) GetRedisInstance
func (x *Step) GetRedisInstance() *RedisInstanceInfo
func (*Step) GetRoute
func (*Step) GetServerlessExternalConnection
func (x *Step) GetServerlessExternalConnection() *ServerlessExternalConnectionInfo
func (*Step) GetServerlessNeg
func (x *Step) GetServerlessNeg() *ServerlessNegInfo
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_DirectVpcEgressConnection
type Step_DirectVpcEgressConnection struct {
// Display information of a serverless direct VPC egress connection.
DirectVpcEgressConnection *DirectVpcEgressConnectionInfo `protobuf:"bytes,33,opt,name=direct_vpc_egress_connection,json=directVpcEgressConnection,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_RedisCluster
type Step_RedisCluster struct {
// Display information of a Redis Cluster.
RedisCluster *RedisClusterInfo `protobuf:"bytes,31,opt,name=redis_cluster,json=redisCluster,proto3,oneof"`
}
Step_RedisInstance
type Step_RedisInstance struct {
// Display information of a Redis Instance.
RedisInstance *RedisInstanceInfo `protobuf:"bytes,30,opt,name=redis_instance,json=redisInstance,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_ServerlessExternalConnection
type Step_ServerlessExternalConnection struct {
// Display information of a serverless public (external) connection.
ServerlessExternalConnection *ServerlessExternalConnectionInfo `protobuf:"bytes,34,opt,name=serverless_external_connection,json=serverlessExternalConnection,proto3,oneof"`
}
Step_ServerlessNeg
type Step_ServerlessNeg struct {
// Display information of a Serverless network endpoint group backend. Used
// only for return traces.
ServerlessNeg *ServerlessNegInfo `protobuf:"bytes,29,opt,name=serverless_neg,json=serverlessNeg,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_REDIS_INSTANCE, Step_START_FROM_REDIS_CLUSTER, 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_START_FROM_SERVERLESS_NEG, 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_DIRECT_VPC_EGRESS_CONNECTION, Step_SERVERLESS_EXTERNAL_CONNECTION, 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 Redis instance.
// A RedisInstanceInfo is populated with starting instance information.
Step_START_FROM_REDIS_INSTANCE Step_State = 32
// Initial state: packet originating from a Redis Cluster.
// A RedisClusterInfo is populated with starting Cluster information.
Step_START_FROM_REDIS_CLUSTER Step_State = 33
// 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
// Initial state: packet originating from a serverless network endpoint
// group backend. Used only for return traces.
// The serverless_neg information is populated.
Step_START_FROM_SERVERLESS_NEG Step_State = 31
// 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 in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
// used in new tests.
//
// 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 in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
// used in new tests.
//
// 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
// Forwarding state: for packets originating from a serverless endpoint
// forwarded through Direct VPC egress.
Step_DIRECT_VPC_EGRESS_CONNECTION Step_State = 35
// Forwarding state: for packets originating from a serverless endpoint
// forwarded through public (external) connectivity.
Step_SERVERLESS_EXTERNAL_CONNECTION Step_State = 36
// 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 should 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)
UnimplementedVpcFlowLogsServiceServer
type UnimplementedVpcFlowLogsServiceServer struct {
}
UnimplementedVpcFlowLogsServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedVpcFlowLogsServiceServer) CreateVpcFlowLogsConfig
func (UnimplementedVpcFlowLogsServiceServer) CreateVpcFlowLogsConfig(context.Context, *CreateVpcFlowLogsConfigRequest) (*longrunningpb.Operation, error)
func (UnimplementedVpcFlowLogsServiceServer) DeleteVpcFlowLogsConfig
func (UnimplementedVpcFlowLogsServiceServer) DeleteVpcFlowLogsConfig(context.Context, *DeleteVpcFlowLogsConfigRequest) (*longrunningpb.Operation, error)
func (UnimplementedVpcFlowLogsServiceServer) GetVpcFlowLogsConfig
func (UnimplementedVpcFlowLogsServiceServer) GetVpcFlowLogsConfig(context.Context, *GetVpcFlowLogsConfigRequest) (*VpcFlowLogsConfig, error)
func (UnimplementedVpcFlowLogsServiceServer) ListVpcFlowLogsConfigs
func (UnimplementedVpcFlowLogsServiceServer) ListVpcFlowLogsConfigs(context.Context, *ListVpcFlowLogsConfigsRequest) (*ListVpcFlowLogsConfigsResponse, error)
func (UnimplementedVpcFlowLogsServiceServer) UpdateVpcFlowLogsConfig
func (UnimplementedVpcFlowLogsServiceServer) UpdateVpcFlowLogsConfig(context.Context, *UpdateVpcFlowLogsConfigRequest) (*longrunningpb.Operation, error)
UnsafeReachabilityServiceServer
type UnsafeReachabilityServiceServer interface {
// contains filtered or unexported methods
}
UnsafeReachabilityServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ReachabilityServiceServer will result in compilation errors.
UnsafeVpcFlowLogsServiceServer
type UnsafeVpcFlowLogsServiceServer interface {
// contains filtered or unexported methods
}
UnsafeVpcFlowLogsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to VpcFlowLogsServiceServer will result in compilation errors.
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
UpdateVpcFlowLogsConfigRequest
type UpdateVpcFlowLogsConfigRequest 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.
VpcFlowLogsConfig *VpcFlowLogsConfig `protobuf:"bytes,2,opt,name=vpc_flow_logs_config,json=vpcFlowLogsConfig,proto3" json:"vpc_flow_logs_config,omitempty"`
// contains filtered or unexported fields
}
Request for the UpdateVpcFlowLogsConfig
method.
func (*UpdateVpcFlowLogsConfigRequest) Descriptor
func (*UpdateVpcFlowLogsConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateVpcFlowLogsConfigRequest.ProtoReflect.Descriptor instead.
func (*UpdateVpcFlowLogsConfigRequest) GetUpdateMask
func (x *UpdateVpcFlowLogsConfigRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateVpcFlowLogsConfigRequest) GetVpcFlowLogsConfig
func (x *UpdateVpcFlowLogsConfigRequest) GetVpcFlowLogsConfig() *VpcFlowLogsConfig
func (*UpdateVpcFlowLogsConfigRequest) ProtoMessage
func (*UpdateVpcFlowLogsConfigRequest) ProtoMessage()
func (*UpdateVpcFlowLogsConfigRequest) ProtoReflect
func (x *UpdateVpcFlowLogsConfigRequest) ProtoReflect() protoreflect.Message
func (*UpdateVpcFlowLogsConfigRequest) Reset
func (x *UpdateVpcFlowLogsConfigRequest) Reset()
func (*UpdateVpcFlowLogsConfigRequest) String
func (x *UpdateVpcFlowLogsConfigRequest) 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
VpcFlowLogsConfig
type VpcFlowLogsConfig struct {
// Identifier. Unique name of the configuration using the form:
//
// `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. The user-supplied description of the VPC Flow Logs configuration.
// Maximum of 512 characters.
Description *string `protobuf:"bytes,2,opt,name=description,proto3,oneof" json:"description,omitempty"`
// Optional. The state of the VPC Flow Log configuration. Default value is
// ENABLED. When creating a new configuration, it must be enabled.
State *VpcFlowLogsConfig_State `protobuf:"varint,3,opt,name=state,proto3,enum=google.cloud.networkmanagement.v1.VpcFlowLogsConfig_State,oneof" json:"state,omitempty"`
// Optional. The aggregation interval for the logs. Default value is
// INTERVAL_5_SEC.
AggregationInterval *VpcFlowLogsConfig_AggregationInterval `protobuf:"varint,4,opt,name=aggregation_interval,json=aggregationInterval,proto3,enum=google.cloud.networkmanagement.v1.VpcFlowLogsConfig_AggregationInterval,oneof" json:"aggregation_interval,omitempty"`
// Optional. The value of the field must be in (0, 1]. The sampling rate of
// VPC Flow Logs where 1.0 means all collected logs are reported. Setting the
// sampling rate to 0.0 is not allowed. If you want to disable VPC Flow Logs,
// use the state field instead. Default value is 1.0.
FlowSampling *float32 `protobuf:"fixed32,5,opt,name=flow_sampling,json=flowSampling,proto3,oneof" json:"flow_sampling,omitempty"`
// Optional. Configures whether all, none or a subset of metadata fields
// should be added to the reported VPC flow logs. Default value is
// INCLUDE_ALL_METADATA.
Metadata *VpcFlowLogsConfig_Metadata `protobuf:"varint,6,opt,name=metadata,proto3,enum=google.cloud.networkmanagement.v1.VpcFlowLogsConfig_Metadata,oneof" json:"metadata,omitempty"`
// Optional. Custom metadata fields to include in the reported VPC flow logs.
// Can only be specified if "metadata" was set to CUSTOM_METADATA.
MetadataFields []string `protobuf:"bytes,7,rep,name=metadata_fields,json=metadataFields,proto3" json:"metadata_fields,omitempty"`
// Optional. Export filter used to define which VPC Flow Logs should be
// logged.
FilterExpr *string `protobuf:"bytes,8,opt,name=filter_expr,json=filterExpr,proto3,oneof" json:"filter_expr,omitempty"`
// Output only. A diagnostic bit - describes the state of the configured
// target resource for diagnostic purposes.
TargetResourceState *VpcFlowLogsConfig_TargetResourceState `protobuf:"varint,12,opt,name=target_resource_state,json=targetResourceState,proto3,enum=google.cloud.networkmanagement.v1.VpcFlowLogsConfig_TargetResourceState,oneof" json:"target_resource_state,omitempty"`
// Reference to the resource of the config scope. That is, the scope from
// which traffic is logged. The target resource must belong to the same
// project as the configuration.
//
// Types that are assignable to TargetResource:
//
// *VpcFlowLogsConfig_InterconnectAttachment
// *VpcFlowLogsConfig_VpnTunnel
TargetResource isVpcFlowLogsConfig_TargetResource `protobuf_oneof:"target_resource"`
// Optional. Resource labels to represent user-provided metadata.
Labels map[string]string `protobuf:"bytes,11,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Output only. The time the config was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The time the config was updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// contains filtered or unexported fields
}
A configuration to generate VPC Flow Logs.
func (*VpcFlowLogsConfig) Descriptor
func (*VpcFlowLogsConfig) Descriptor() ([]byte, []int)
Deprecated: Use VpcFlowLogsConfig.ProtoReflect.Descriptor instead.
func (*VpcFlowLogsConfig) GetAggregationInterval
func (x *VpcFlowLogsConfig) GetAggregationInterval() VpcFlowLogsConfig_AggregationInterval
func (*VpcFlowLogsConfig) GetCreateTime
func (x *VpcFlowLogsConfig) GetCreateTime() *timestamppb.Timestamp
func (*VpcFlowLogsConfig) GetDescription
func (x *VpcFlowLogsConfig) GetDescription() string
func (*VpcFlowLogsConfig) GetFilterExpr
func (x *VpcFlowLogsConfig) GetFilterExpr() string
func (*VpcFlowLogsConfig) GetFlowSampling
func (x *VpcFlowLogsConfig) GetFlowSampling() float32
func (*VpcFlowLogsConfig) GetInterconnectAttachment
func (x *VpcFlowLogsConfig) GetInterconnectAttachment() string
func (*VpcFlowLogsConfig) GetLabels
func (x *VpcFlowLogsConfig) GetLabels() map[string]string
func (*VpcFlowLogsConfig) GetMetadata
func (x *VpcFlowLogsConfig) GetMetadata() VpcFlowLogsConfig_Metadata
func (*VpcFlowLogsConfig) GetMetadataFields
func (x *VpcFlowLogsConfig) GetMetadataFields() []string
func (*VpcFlowLogsConfig) GetName
func (x *VpcFlowLogsConfig) GetName() string
func (*VpcFlowLogsConfig) GetState
func (x *VpcFlowLogsConfig) GetState() VpcFlowLogsConfig_State
func (*VpcFlowLogsConfig) GetTargetResource
func (m *VpcFlowLogsConfig) GetTargetResource() isVpcFlowLogsConfig_TargetResource
func (*VpcFlowLogsConfig) GetTargetResourceState
func (x *VpcFlowLogsConfig) GetTargetResourceState() VpcFlowLogsConfig_TargetResourceState
func (*VpcFlowLogsConfig) GetUpdateTime
func (x *VpcFlowLogsConfig) GetUpdateTime() *timestamppb.Timestamp
func (*VpcFlowLogsConfig) GetVpnTunnel
func (x *VpcFlowLogsConfig) GetVpnTunnel() string
func (*VpcFlowLogsConfig) ProtoMessage
func (*VpcFlowLogsConfig) ProtoMessage()
func (*VpcFlowLogsConfig) ProtoReflect
func (x *VpcFlowLogsConfig) ProtoReflect() protoreflect.Message
func (*VpcFlowLogsConfig) Reset
func (x *VpcFlowLogsConfig) Reset()
func (*VpcFlowLogsConfig) String
func (x *VpcFlowLogsConfig) String() string
VpcFlowLogsConfig_AggregationInterval
type VpcFlowLogsConfig_AggregationInterval int32
Toggles the aggregation interval for collecting flow logs by 5-tuple.
VpcFlowLogsConfig_AGGREGATION_INTERVAL_UNSPECIFIED, VpcFlowLogsConfig_INTERVAL_5_SEC, VpcFlowLogsConfig_INTERVAL_30_SEC, VpcFlowLogsConfig_INTERVAL_1_MIN, VpcFlowLogsConfig_INTERVAL_5_MIN, VpcFlowLogsConfig_INTERVAL_10_MIN, VpcFlowLogsConfig_INTERVAL_15_MIN
const (
// If not specified, will default to INTERVAL_5_SEC.
VpcFlowLogsConfig_AGGREGATION_INTERVAL_UNSPECIFIED VpcFlowLogsConfig_AggregationInterval = 0
// Aggregate logs in 5s intervals.
VpcFlowLogsConfig_INTERVAL_5_SEC VpcFlowLogsConfig_AggregationInterval = 1
// Aggregate logs in 30s intervals.
VpcFlowLogsConfig_INTERVAL_30_SEC VpcFlowLogsConfig_AggregationInterval = 2
// Aggregate logs in 1m intervals.
VpcFlowLogsConfig_INTERVAL_1_MIN VpcFlowLogsConfig_AggregationInterval = 3
// Aggregate logs in 5m intervals.
VpcFlowLogsConfig_INTERVAL_5_MIN VpcFlowLogsConfig_AggregationInterval = 4
// Aggregate logs in 10m intervals.
VpcFlowLogsConfig_INTERVAL_10_MIN VpcFlowLogsConfig_AggregationInterval = 5
// Aggregate logs in 15m intervals.
VpcFlowLogsConfig_INTERVAL_15_MIN VpcFlowLogsConfig_AggregationInterval = 6
)
func (VpcFlowLogsConfig_AggregationInterval) Descriptor
func (VpcFlowLogsConfig_AggregationInterval) Descriptor() protoreflect.EnumDescriptor
func (VpcFlowLogsConfig_AggregationInterval) Enum
func (VpcFlowLogsConfig_AggregationInterval) EnumDescriptor
func (VpcFlowLogsConfig_AggregationInterval) EnumDescriptor() ([]byte, []int)
Deprecated: Use VpcFlowLogsConfig_AggregationInterval.Descriptor instead.
func (VpcFlowLogsConfig_AggregationInterval) Number
func (x VpcFlowLogsConfig_AggregationInterval) Number() protoreflect.EnumNumber
func (VpcFlowLogsConfig_AggregationInterval) String
func (x VpcFlowLogsConfig_AggregationInterval) String() string
func (VpcFlowLogsConfig_AggregationInterval) Type
func (VpcFlowLogsConfig_AggregationInterval) Type() protoreflect.EnumType
VpcFlowLogsConfig_InterconnectAttachment
type VpcFlowLogsConfig_InterconnectAttachment struct {
// Traffic will be logged from the Interconnect Attachment.
// Format:
// projects/{project_id}/regions/{region}/interconnectAttachments/{name}
InterconnectAttachment string `protobuf:"bytes,102,opt,name=interconnect_attachment,json=interconnectAttachment,proto3,oneof"`
}
VpcFlowLogsConfig_Metadata
type VpcFlowLogsConfig_Metadata int32
Configures which log fields would be included.
VpcFlowLogsConfig_METADATA_UNSPECIFIED, VpcFlowLogsConfig_INCLUDE_ALL_METADATA, VpcFlowLogsConfig_EXCLUDE_ALL_METADATA, VpcFlowLogsConfig_CUSTOM_METADATA
const (
// If not specified, will default to INCLUDE_ALL_METADATA.
VpcFlowLogsConfig_METADATA_UNSPECIFIED VpcFlowLogsConfig_Metadata = 0
// Include all metadata fields.
VpcFlowLogsConfig_INCLUDE_ALL_METADATA VpcFlowLogsConfig_Metadata = 1
// Exclude all metadata fields.
VpcFlowLogsConfig_EXCLUDE_ALL_METADATA VpcFlowLogsConfig_Metadata = 2
// Include only custom fields (specified in metadata_fields).
VpcFlowLogsConfig_CUSTOM_METADATA VpcFlowLogsConfig_Metadata = 3
)
func (VpcFlowLogsConfig_Metadata) Descriptor
func (VpcFlowLogsConfig_Metadata) Descriptor() protoreflect.EnumDescriptor
func (VpcFlowLogsConfig_Metadata) Enum
func (x VpcFlowLogsConfig_Metadata) Enum() *VpcFlowLogsConfig_Metadata
func (VpcFlowLogsConfig_Metadata) EnumDescriptor
func (VpcFlowLogsConfig_Metadata) EnumDescriptor() ([]byte, []int)
Deprecated: Use VpcFlowLogsConfig_Metadata.Descriptor instead.
func (VpcFlowLogsConfig_Metadata) Number
func (x VpcFlowLogsConfig_Metadata) Number() protoreflect.EnumNumber
func (VpcFlowLogsConfig_Metadata) String
func (x VpcFlowLogsConfig_Metadata) String() string
func (VpcFlowLogsConfig_Metadata) Type
func (VpcFlowLogsConfig_Metadata) Type() protoreflect.EnumType
VpcFlowLogsConfig_State
type VpcFlowLogsConfig_State int32
Determines whether this configuration will be generating logs. Setting state=DISABLED will pause the log generation for this config.
VpcFlowLogsConfig_STATE_UNSPECIFIED, VpcFlowLogsConfig_ENABLED, VpcFlowLogsConfig_DISABLED
const (
// If not specified, will default to ENABLED.
VpcFlowLogsConfig_STATE_UNSPECIFIED VpcFlowLogsConfig_State = 0
// When ENABLED, this configuration will generate logs.
VpcFlowLogsConfig_ENABLED VpcFlowLogsConfig_State = 1
// When DISABLED, this configuration will not generate logs.
VpcFlowLogsConfig_DISABLED VpcFlowLogsConfig_State = 2
)
func (VpcFlowLogsConfig_State) Descriptor
func (VpcFlowLogsConfig_State) Descriptor() protoreflect.EnumDescriptor
func (VpcFlowLogsConfig_State) Enum
func (x VpcFlowLogsConfig_State) Enum() *VpcFlowLogsConfig_State
func (VpcFlowLogsConfig_State) EnumDescriptor
func (VpcFlowLogsConfig_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use VpcFlowLogsConfig_State.Descriptor instead.
func (VpcFlowLogsConfig_State) Number
func (x VpcFlowLogsConfig_State) Number() protoreflect.EnumNumber
func (VpcFlowLogsConfig_State) String
func (x VpcFlowLogsConfig_State) String() string
func (VpcFlowLogsConfig_State) Type
func (VpcFlowLogsConfig_State) Type() protoreflect.EnumType
VpcFlowLogsConfig_TargetResourceState
type VpcFlowLogsConfig_TargetResourceState int32
Optional states of the target resource that are used as part of the diagnostic bit.
VpcFlowLogsConfig_TARGET_RESOURCE_STATE_UNSPECIFIED, VpcFlowLogsConfig_TARGET_RESOURCE_EXISTS, VpcFlowLogsConfig_TARGET_RESOURCE_DOES_NOT_EXIST
const (
// Unspecified target resource state.
VpcFlowLogsConfig_TARGET_RESOURCE_STATE_UNSPECIFIED VpcFlowLogsConfig_TargetResourceState = 0
// Indicates that the target resource exists.
VpcFlowLogsConfig_TARGET_RESOURCE_EXISTS VpcFlowLogsConfig_TargetResourceState = 1
// Indicates that the target resource does not exist.
VpcFlowLogsConfig_TARGET_RESOURCE_DOES_NOT_EXIST VpcFlowLogsConfig_TargetResourceState = 2
)
func (VpcFlowLogsConfig_TargetResourceState) Descriptor
func (VpcFlowLogsConfig_TargetResourceState) Descriptor() protoreflect.EnumDescriptor
func (VpcFlowLogsConfig_TargetResourceState) Enum
func (VpcFlowLogsConfig_TargetResourceState) EnumDescriptor
func (VpcFlowLogsConfig_TargetResourceState) EnumDescriptor() ([]byte, []int)
Deprecated: Use VpcFlowLogsConfig_TargetResourceState.Descriptor instead.
func (VpcFlowLogsConfig_TargetResourceState) Number
func (x VpcFlowLogsConfig_TargetResourceState) Number() protoreflect.EnumNumber
func (VpcFlowLogsConfig_TargetResourceState) String
func (x VpcFlowLogsConfig_TargetResourceState) String() string
func (VpcFlowLogsConfig_TargetResourceState) Type
func (VpcFlowLogsConfig_TargetResourceState) Type() protoreflect.EnumType
VpcFlowLogsConfig_VpnTunnel
type VpcFlowLogsConfig_VpnTunnel struct {
// Traffic will be logged from the VPN Tunnel.
// Format: projects/{project_id}/regions/{region}/vpnTunnels/{name}
VpnTunnel string `protobuf:"bytes,103,opt,name=vpn_tunnel,json=vpnTunnel,proto3,oneof"`
}
VpcFlowLogsServiceClient
type VpcFlowLogsServiceClient interface {
// Lists all `VpcFlowLogsConfigs` in a given project.
ListVpcFlowLogsConfigs(ctx context.Context, in *ListVpcFlowLogsConfigsRequest, opts ...grpc.CallOption) (*ListVpcFlowLogsConfigsResponse, error)
// Gets the details of a specific `VpcFlowLogsConfig`.
GetVpcFlowLogsConfig(ctx context.Context, in *GetVpcFlowLogsConfigRequest, opts ...grpc.CallOption) (*VpcFlowLogsConfig, error)
// Creates a new `VpcFlowLogsConfig`.
// If a configuration with the exact same settings already exists (even if the
// ID is different), the creation fails.
// Notes:
//
// 1. Creating a configuration with state=DISABLED will fail
// 2. The following fields are not considered as `settings` for the purpose
// of the check mentioned above, therefore - creating another configuration
// with the same fields but different values for the following fields will
// fail as well:
// * name
// * create_time
// * update_time
// * labels
// * description
CreateVpcFlowLogsConfig(ctx context.Context, in *CreateVpcFlowLogsConfigRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates an existing `VpcFlowLogsConfig`.
// If a configuration with the exact same settings already exists (even if the
// ID is different), the creation fails.
// Notes:
//
// 1. Updating a configuration with state=DISABLED will fail.
// 2. The following fields are not considered as `settings` for the purpose
// of the check mentioned above, therefore - updating another configuration
// with the same fields but different values for the following fields will
// fail as well:
// * name
// * create_time
// * update_time
// * labels
// * description
UpdateVpcFlowLogsConfig(ctx context.Context, in *UpdateVpcFlowLogsConfigRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a specific `VpcFlowLogsConfig`.
DeleteVpcFlowLogsConfig(ctx context.Context, in *DeleteVpcFlowLogsConfigRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
}
VpcFlowLogsServiceClient is the client API for VpcFlowLogsService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewVpcFlowLogsServiceClient
func NewVpcFlowLogsServiceClient(cc grpc.ClientConnInterface) VpcFlowLogsServiceClient
VpcFlowLogsServiceServer
type VpcFlowLogsServiceServer interface {
// Lists all `VpcFlowLogsConfigs` in a given project.
ListVpcFlowLogsConfigs(context.Context, *ListVpcFlowLogsConfigsRequest) (*ListVpcFlowLogsConfigsResponse, error)
// Gets the details of a specific `VpcFlowLogsConfig`.
GetVpcFlowLogsConfig(context.Context, *GetVpcFlowLogsConfigRequest) (*VpcFlowLogsConfig, error)
// Creates a new `VpcFlowLogsConfig`.
// If a configuration with the exact same settings already exists (even if the
// ID is different), the creation fails.
// Notes:
//
// 1. Creating a configuration with state=DISABLED will fail
// 2. The following fields are not considered as `settings` for the purpose
// of the check mentioned above, therefore - creating another configuration
// with the same fields but different values for the following fields will
// fail as well:
// * name
// * create_time
// * update_time
// * labels
// * description
CreateVpcFlowLogsConfig(context.Context, *CreateVpcFlowLogsConfigRequest) (*longrunningpb.Operation, error)
// Updates an existing `VpcFlowLogsConfig`.
// If a configuration with the exact same settings already exists (even if the
// ID is different), the creation fails.
// Notes:
//
// 1. Updating a configuration with state=DISABLED will fail.
// 2. The following fields are not considered as `settings` for the purpose
// of the check mentioned above, therefore - updating another configuration
// with the same fields but different values for the following fields will
// fail as well:
// * name
// * create_time
// * update_time
// * labels
// * description
UpdateVpcFlowLogsConfig(context.Context, *UpdateVpcFlowLogsConfigRequest) (*longrunningpb.Operation, error)
// Deletes a specific `VpcFlowLogsConfig`.
DeleteVpcFlowLogsConfig(context.Context, *DeleteVpcFlowLogsConfigRequest) (*longrunningpb.Operation, error)
}
VpcFlowLogsServiceServer is the server API for VpcFlowLogsService service. All implementations should embed UnimplementedVpcFlowLogsServiceServer for forward compatibility
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 {
// Name of a VPN tunnel.
DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// URI of a VPN tunnel.
Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
// URI of the VPN gateway at local end of the tunnel.
SourceGateway string `protobuf:"bytes,3,opt,name=source_gateway,json=sourceGateway,proto3" json:"source_gateway,omitempty"`
// URI of a VPN gateway at remote end of the tunnel.
RemoteGateway string `protobuf:"bytes,4,opt,name=remote_gateway,json=remoteGateway,proto3" json:"remote_gateway,omitempty"`
// Remote VPN gateway's IP address.
RemoteGatewayIp string `protobuf:"bytes,5,opt,name=remote_gateway_ip,json=remoteGatewayIp,proto3" json:"remote_gateway_ip,omitempty"`
// Local VPN gateway's IP address.
SourceGatewayIp string `protobuf:"bytes,6,opt,name=source_gateway_ip,json=sourceGatewayIp,proto3" json:"source_gateway_ip,omitempty"`
// URI of a Compute Engine network where the VPN tunnel is configured.
NetworkUri string `protobuf:"bytes,7,opt,name=network_uri,json=networkUri,proto3" json:"network_uri,omitempty"`
// Name of a Google Cloud region where this VPN tunnel is configured.
Region string `protobuf:"bytes,8,opt,name=region,proto3" json:"region,omitempty"`
// Type of the routing policy.
RoutingType VpnTunnelInfo_RoutingType `protobuf:"varint,9,opt,name=routing_type,json=routingType,proto3,enum=google.cloud.networkmanagement.v1.VpnTunnelInfo_RoutingType" json:"routing_type,omitempty"`
// contains filtered or unexported fields
}
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