Class: Google::Cloud::NetworkManagement::V1::DropInfo

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/networkmanagement/v1/trace.rb

Overview

Details of the final state "drop" and associated resource.

Defined Under Namespace

Modules: Cause

Instance Attribute Summary collapse

Instance Attribute Details

#cause::Google::Cloud::NetworkManagement::V1::DropInfo::Cause

Returns Cause that the packet is dropped.

Returns:



981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 981

class DropInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Drop cause types:
  module Cause
    # Cause is unspecified.
    CAUSE_UNSPECIFIED = 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.
    UNKNOWN_EXTERNAL_ADDRESS = 1

    # A Compute Engine instance can only send or receive a packet with a
    # foreign IP address if ip_forward is enabled.
    FOREIGN_IP_DISALLOWED = 2

    # Dropped due to a firewall rule, unless allowed due to connection
    # tracking.
    FIREWALL_RULE = 3

    # Dropped due to no routes.
    NO_ROUTE = 4

    # Dropped due to invalid route. Route's next hop is a blackhole.
    ROUTE_BLACKHOLE = 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 addresss to Network3.
    ROUTE_WRONG_NETWORK = 6

    # Packet with internal destination address sent to the internet gateway.
    PRIVATE_TRAFFIC_TO_INTERNET = 7

    # Instance with only an internal IP address tries to access Google API and
    # services, but private Google access is not enabled.
    PRIVATE_GOOGLE_ACCESS_DISALLOWED = 8

    # 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.
    NO_EXTERNAL_ADDRESS = 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.
    UNKNOWN_INTERNAL_ADDRESS = 10

    # Forwarding rule's protocol and ports do not match the packet header.
    FORWARDING_RULE_MISMATCH = 11

    # Packet could be dropped because it was sent from a different region
    # to a regional forwarding without global access.
    FORWARDING_RULE_REGION_MISMATCH = 25

    # Forwarding rule does not have backends configured.
    FORWARDING_RULE_NO_INSTANCES = 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).
    FIREWALL_BLOCKING_LOAD_BALANCER_BACKEND_HEALTH_CHECK = 13

    # Packet is sent from or to a Compute Engine instance that is not in a
    # running state.
    INSTANCE_NOT_RUNNING = 14

    # Packet sent from or to a GKE cluster that is not in running state.
    GKE_CLUSTER_NOT_RUNNING = 27

    # Packet sent from or to a Cloud SQL instance that is not in running state.
    CLOUD_SQL_INSTANCE_NOT_RUNNING = 28

    # The type of traffic is blocked and the user cannot configure a firewall
    # rule to enable it. See [Always blocked
    # traffic](https://cloud.google.com/vpc/docs/firewalls#blockedtraffic) for
    # more details.
    TRAFFIC_TYPE_BLOCKED = 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.
    GKE_MASTER_UNAUTHORIZED_ACCESS = 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.
    CLOUD_SQL_INSTANCE_UNAUTHORIZED_ACCESS = 17

    # Packet was dropped inside Google Kubernetes Engine Service.
    DROPPED_INSIDE_GKE_SERVICE = 18

    # Packet was dropped inside Cloud SQL Service.
    DROPPED_INSIDE_CLOUD_SQL_SERVICE = 19

    # Packet was dropped because there is no peering between the originating
    # network and the Google Managed Services Network.
    GOOGLE_MANAGED_SERVICE_NO_PEERING = 20

    # Packet was dropped because the Google-managed service uses Private
    # Service Connect (PSC), but the PSC endpoint is not found in the project.
    GOOGLE_MANAGED_SERVICE_NO_PSC_ENDPOINT = 38

    # Packet was dropped because the GKE cluster uses Private Service Connect
    # (PSC), but the PSC endpoint is not found in the project.
    GKE_PSC_ENDPOINT_MISSING = 36

    # Packet was dropped because the Cloud SQL instance has neither a private
    # nor a public IP address.
    CLOUD_SQL_INSTANCE_NO_IP_ADDRESS = 21

    # Packet was dropped because a GKE cluster private endpoint is
    # unreachable from a region different from the cluster's region.
    GKE_CONTROL_PLANE_REGION_MISMATCH = 30

    # Packet sent from a public GKE cluster control plane to a private
    # IP address.
    PUBLIC_GKE_CONTROL_PLANE_TO_PRIVATE_DESTINATION = 31

    # Packet was dropped because there is no route from a GKE cluster
    # control plane to a destination network.
    GKE_CONTROL_PLANE_NO_ROUTE = 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.
    CLOUD_SQL_INSTANCE_NOT_CONFIGURED_FOR_EXTERNAL_TRAFFIC = 33

    # Packet sent from a Cloud SQL instance with only a public IP address to a
    # private IP address.
    PUBLIC_CLOUD_SQL_INSTANCE_TO_PRIVATE_DESTINATION = 34

    # Packet was dropped because there is no route from a Cloud SQL
    # instance to a destination network.
    CLOUD_SQL_INSTANCE_NO_ROUTE = 35

    # Packet could be dropped because the Cloud Function is not in an active
    # status.
    CLOUD_FUNCTION_NOT_ACTIVE = 22

    # Packet could be dropped because no VPC connector is set.
    VPC_CONNECTOR_NOT_SET = 23

    # Packet could be dropped because the VPC connector is not in a running
    # state.
    VPC_CONNECTOR_NOT_RUNNING = 24

    # The Private Service Connect endpoint is in a project that is not approved
    # to connect to the service.
    PSC_CONNECTION_NOT_ACCEPTED = 26

    # Packet sent from a Cloud Run revision that is not ready.
    CLOUD_RUN_REVISION_NOT_READY = 29

    # Packet was dropped inside Private Service Connect service producer.
    DROPPED_INSIDE_PSC_SERVICE_PRODUCER = 37

    # Packet sent to a load balancer, which requires a proxy-only subnet and
    # the subnet is not found.
    LOAD_BALANCER_HAS_NO_PROXY_SUBNET = 39
  end
end

#resource_uri::String

Returns URI of the resource that caused the drop.

Returns:

  • (::String)

    URI of the resource that caused the drop.



981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 981

class DropInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Drop cause types:
  module Cause
    # Cause is unspecified.
    CAUSE_UNSPECIFIED = 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.
    UNKNOWN_EXTERNAL_ADDRESS = 1

    # A Compute Engine instance can only send or receive a packet with a
    # foreign IP address if ip_forward is enabled.
    FOREIGN_IP_DISALLOWED = 2

    # Dropped due to a firewall rule, unless allowed due to connection
    # tracking.
    FIREWALL_RULE = 3

    # Dropped due to no routes.
    NO_ROUTE = 4

    # Dropped due to invalid route. Route's next hop is a blackhole.
    ROUTE_BLACKHOLE = 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 addresss to Network3.
    ROUTE_WRONG_NETWORK = 6

    # Packet with internal destination address sent to the internet gateway.
    PRIVATE_TRAFFIC_TO_INTERNET = 7

    # Instance with only an internal IP address tries to access Google API and
    # services, but private Google access is not enabled.
    PRIVATE_GOOGLE_ACCESS_DISALLOWED = 8

    # 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.
    NO_EXTERNAL_ADDRESS = 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.
    UNKNOWN_INTERNAL_ADDRESS = 10

    # Forwarding rule's protocol and ports do not match the packet header.
    FORWARDING_RULE_MISMATCH = 11

    # Packet could be dropped because it was sent from a different region
    # to a regional forwarding without global access.
    FORWARDING_RULE_REGION_MISMATCH = 25

    # Forwarding rule does not have backends configured.
    FORWARDING_RULE_NO_INSTANCES = 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).
    FIREWALL_BLOCKING_LOAD_BALANCER_BACKEND_HEALTH_CHECK = 13

    # Packet is sent from or to a Compute Engine instance that is not in a
    # running state.
    INSTANCE_NOT_RUNNING = 14

    # Packet sent from or to a GKE cluster that is not in running state.
    GKE_CLUSTER_NOT_RUNNING = 27

    # Packet sent from or to a Cloud SQL instance that is not in running state.
    CLOUD_SQL_INSTANCE_NOT_RUNNING = 28

    # The type of traffic is blocked and the user cannot configure a firewall
    # rule to enable it. See [Always blocked
    # traffic](https://cloud.google.com/vpc/docs/firewalls#blockedtraffic) for
    # more details.
    TRAFFIC_TYPE_BLOCKED = 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.
    GKE_MASTER_UNAUTHORIZED_ACCESS = 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.
    CLOUD_SQL_INSTANCE_UNAUTHORIZED_ACCESS = 17

    # Packet was dropped inside Google Kubernetes Engine Service.
    DROPPED_INSIDE_GKE_SERVICE = 18

    # Packet was dropped inside Cloud SQL Service.
    DROPPED_INSIDE_CLOUD_SQL_SERVICE = 19

    # Packet was dropped because there is no peering between the originating
    # network and the Google Managed Services Network.
    GOOGLE_MANAGED_SERVICE_NO_PEERING = 20

    # Packet was dropped because the Google-managed service uses Private
    # Service Connect (PSC), but the PSC endpoint is not found in the project.
    GOOGLE_MANAGED_SERVICE_NO_PSC_ENDPOINT = 38

    # Packet was dropped because the GKE cluster uses Private Service Connect
    # (PSC), but the PSC endpoint is not found in the project.
    GKE_PSC_ENDPOINT_MISSING = 36

    # Packet was dropped because the Cloud SQL instance has neither a private
    # nor a public IP address.
    CLOUD_SQL_INSTANCE_NO_IP_ADDRESS = 21

    # Packet was dropped because a GKE cluster private endpoint is
    # unreachable from a region different from the cluster's region.
    GKE_CONTROL_PLANE_REGION_MISMATCH = 30

    # Packet sent from a public GKE cluster control plane to a private
    # IP address.
    PUBLIC_GKE_CONTROL_PLANE_TO_PRIVATE_DESTINATION = 31

    # Packet was dropped because there is no route from a GKE cluster
    # control plane to a destination network.
    GKE_CONTROL_PLANE_NO_ROUTE = 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.
    CLOUD_SQL_INSTANCE_NOT_CONFIGURED_FOR_EXTERNAL_TRAFFIC = 33

    # Packet sent from a Cloud SQL instance with only a public IP address to a
    # private IP address.
    PUBLIC_CLOUD_SQL_INSTANCE_TO_PRIVATE_DESTINATION = 34

    # Packet was dropped because there is no route from a Cloud SQL
    # instance to a destination network.
    CLOUD_SQL_INSTANCE_NO_ROUTE = 35

    # Packet could be dropped because the Cloud Function is not in an active
    # status.
    CLOUD_FUNCTION_NOT_ACTIVE = 22

    # Packet could be dropped because no VPC connector is set.
    VPC_CONNECTOR_NOT_SET = 23

    # Packet could be dropped because the VPC connector is not in a running
    # state.
    VPC_CONNECTOR_NOT_RUNNING = 24

    # The Private Service Connect endpoint is in a project that is not approved
    # to connect to the service.
    PSC_CONNECTION_NOT_ACCEPTED = 26

    # Packet sent from a Cloud Run revision that is not ready.
    CLOUD_RUN_REVISION_NOT_READY = 29

    # Packet was dropped inside Private Service Connect service producer.
    DROPPED_INSIDE_PSC_SERVICE_PRODUCER = 37

    # Packet sent to a load balancer, which requires a proxy-only subnet and
    # the subnet is not found.
    LOAD_BALANCER_HAS_NO_PROXY_SUBNET = 39
  end
end