Class: Google::Cloud::NetworkManagement::V1::ForwardInfo
- Inherits:
-
Object
- Object
- Google::Cloud::NetworkManagement::V1::ForwardInfo
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/networkmanagement/v1/trace.rb
Overview
Details of the final state "forward" and associated resource.
Defined Under Namespace
Modules: Target
Instance Attribute Summary collapse
-
#ip_address ⇒ ::String
IP address of the target (if applicable).
-
#resource_uri ⇒ ::String
URI of the resource that the packet is forwarded to.
-
#target ⇒ ::Google::Cloud::NetworkManagement::V1::ForwardInfo::Target
Target type where this packet is forwarded to.
Instance Attribute Details
#ip_address ⇒ ::String
Returns IP address of the target (if applicable).
909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 |
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 909 class ForwardInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Forward target types. module Target # Target not specified. TARGET_UNSPECIFIED = 0 # Forwarded to a VPC peering network. PEERING_VPC = 1 # Forwarded to a Cloud VPN gateway. VPN_GATEWAY = 2 # Forwarded to a Cloud Interconnect connection. INTERCONNECT = 3 # Forwarded to a Google Kubernetes Engine Container cluster master. GKE_MASTER = 4 # Forwarded to the next hop of a custom route imported from a peering VPC. IMPORTED_CUSTOM_ROUTE_NEXT_HOP = 5 # Forwarded to a Cloud SQL instance. CLOUD_SQL_INSTANCE = 6 # Forwarded to a VPC network in another project. ANOTHER_PROJECT = 7 # Forwarded to an NCC Hub. NCC_HUB = 8 # Forwarded to a router appliance. ROUTER_APPLIANCE = 9 end end |
#resource_uri ⇒ ::String
Returns URI of the resource that the packet is forwarded to.
909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 |
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 909 class ForwardInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Forward target types. module Target # Target not specified. TARGET_UNSPECIFIED = 0 # Forwarded to a VPC peering network. PEERING_VPC = 1 # Forwarded to a Cloud VPN gateway. VPN_GATEWAY = 2 # Forwarded to a Cloud Interconnect connection. INTERCONNECT = 3 # Forwarded to a Google Kubernetes Engine Container cluster master. GKE_MASTER = 4 # Forwarded to the next hop of a custom route imported from a peering VPC. IMPORTED_CUSTOM_ROUTE_NEXT_HOP = 5 # Forwarded to a Cloud SQL instance. CLOUD_SQL_INSTANCE = 6 # Forwarded to a VPC network in another project. ANOTHER_PROJECT = 7 # Forwarded to an NCC Hub. NCC_HUB = 8 # Forwarded to a router appliance. ROUTER_APPLIANCE = 9 end end |
#target ⇒ ::Google::Cloud::NetworkManagement::V1::ForwardInfo::Target
Returns Target type where this packet is forwarded to.
909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 |
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 909 class ForwardInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Forward target types. module Target # Target not specified. TARGET_UNSPECIFIED = 0 # Forwarded to a VPC peering network. PEERING_VPC = 1 # Forwarded to a Cloud VPN gateway. VPN_GATEWAY = 2 # Forwarded to a Cloud Interconnect connection. INTERCONNECT = 3 # Forwarded to a Google Kubernetes Engine Container cluster master. GKE_MASTER = 4 # Forwarded to the next hop of a custom route imported from a peering VPC. IMPORTED_CUSTOM_ROUTE_NEXT_HOP = 5 # Forwarded to a Cloud SQL instance. CLOUD_SQL_INSTANCE = 6 # Forwarded to a VPC network in another project. ANOTHER_PROJECT = 7 # Forwarded to an NCC Hub. NCC_HUB = 8 # Forwarded to a router appliance. ROUTER_APPLIANCE = 9 end end |