Class: Google::Cloud::NetworkManagement::V1::RouteInfo

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

Overview

For display only. Metadata associated with a Compute Engine route.

Defined Under Namespace

Modules: NextHopType, RouteScope, RouteType

Instance Attribute Summary collapse

Instance Attribute Details

#advertised_route_next_hop_uri::String

Deprecated.

This field is deprecated and may be removed in the next major version update.

Returns 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.

Returns:

  • (::String)

    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.



737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 737

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

  # Type of route:
  module RouteType
    # Unspecified type. Default value.
    ROUTE_TYPE_UNSPECIFIED = 0

    # Route is a subnet route automatically created by the system.
    SUBNET = 1

    # Static route created by the user, including the default route to the
    # internet.
    STATIC = 2

    # Dynamic route exchanged between BGP peers.
    DYNAMIC = 3

    # A subnet route received from peering network or NCC Hub.
    PEERING_SUBNET = 4

    # A static route received from peering network.
    PEERING_STATIC = 5

    # A dynamic route received from peering network or NCC Hub.
    PEERING_DYNAMIC = 6

    # Policy based route.
    POLICY_BASED = 7

    # Advertised route. Synthetic route which is used to transition from the
    # StartFromPrivateNetwork state in Connectivity tests.
    ADVERTISED = 101
  end

  # Type of next hop:
  module NextHopType
    # Unspecified type. Default value.
    NEXT_HOP_TYPE_UNSPECIFIED = 0

    # Next hop is an IP address.
    NEXT_HOP_IP = 1

    # Next hop is a Compute Engine instance.
    NEXT_HOP_INSTANCE = 2

    # Next hop is a VPC network gateway.
    NEXT_HOP_NETWORK = 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.
    NEXT_HOP_PEERING = 4

    # Next hop is an interconnect.
    NEXT_HOP_INTERCONNECT = 5

    # Next hop is a VPN tunnel.
    NEXT_HOP_VPN_TUNNEL = 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.
    NEXT_HOP_VPN_GATEWAY = 7

    # Next hop is an internet gateway.
    NEXT_HOP_INTERNET_GATEWAY = 8

    # Next hop is blackhole; that is, the next hop either does not exist or is
    # unusable.
    NEXT_HOP_BLACKHOLE = 9

    # Next hop is the forwarding rule of an Internal Load Balancer.
    NEXT_HOP_ILB = 10

    # Next hop is a
    # [router appliance
    # instance](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/ra-overview).
    NEXT_HOP_ROUTER_APPLIANCE = 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.
    NEXT_HOP_NCC_HUB = 12

    # Next hop is Secure Web Proxy Gateway.
    SECURE_WEB_PROXY_GATEWAY = 13
  end

  # Indicates where routes are applicable.
  module RouteScope
    # Unspecified scope. Default value.
    ROUTE_SCOPE_UNSPECIFIED = 0

    # Route is applicable to packets in Network.
    NETWORK = 1

    # Route is applicable to packets using NCC Hub's routing table.
    NCC_HUB = 2
  end
end

#advertised_route_source_router_uri::String

Returns For ADVERTISED dynamic routes, the URI of the Cloud Router that advertised the corresponding IP prefix.

Returns:

  • (::String)

    For ADVERTISED dynamic routes, the URI of the Cloud Router that advertised the corresponding IP prefix.



737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 737

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

  # Type of route:
  module RouteType
    # Unspecified type. Default value.
    ROUTE_TYPE_UNSPECIFIED = 0

    # Route is a subnet route automatically created by the system.
    SUBNET = 1

    # Static route created by the user, including the default route to the
    # internet.
    STATIC = 2

    # Dynamic route exchanged between BGP peers.
    DYNAMIC = 3

    # A subnet route received from peering network or NCC Hub.
    PEERING_SUBNET = 4

    # A static route received from peering network.
    PEERING_STATIC = 5

    # A dynamic route received from peering network or NCC Hub.
    PEERING_DYNAMIC = 6

    # Policy based route.
    POLICY_BASED = 7

    # Advertised route. Synthetic route which is used to transition from the
    # StartFromPrivateNetwork state in Connectivity tests.
    ADVERTISED = 101
  end

  # Type of next hop:
  module NextHopType
    # Unspecified type. Default value.
    NEXT_HOP_TYPE_UNSPECIFIED = 0

    # Next hop is an IP address.
    NEXT_HOP_IP = 1

    # Next hop is a Compute Engine instance.
    NEXT_HOP_INSTANCE = 2

    # Next hop is a VPC network gateway.
    NEXT_HOP_NETWORK = 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.
    NEXT_HOP_PEERING = 4

    # Next hop is an interconnect.
    NEXT_HOP_INTERCONNECT = 5

    # Next hop is a VPN tunnel.
    NEXT_HOP_VPN_TUNNEL = 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.
    NEXT_HOP_VPN_GATEWAY = 7

    # Next hop is an internet gateway.
    NEXT_HOP_INTERNET_GATEWAY = 8

    # Next hop is blackhole; that is, the next hop either does not exist or is
    # unusable.
    NEXT_HOP_BLACKHOLE = 9

    # Next hop is the forwarding rule of an Internal Load Balancer.
    NEXT_HOP_ILB = 10

    # Next hop is a
    # [router appliance
    # instance](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/ra-overview).
    NEXT_HOP_ROUTER_APPLIANCE = 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.
    NEXT_HOP_NCC_HUB = 12

    # Next hop is Secure Web Proxy Gateway.
    SECURE_WEB_PROXY_GATEWAY = 13
  end

  # Indicates where routes are applicable.
  module RouteScope
    # Unspecified scope. Default value.
    ROUTE_SCOPE_UNSPECIFIED = 0

    # Route is applicable to packets in Network.
    NETWORK = 1

    # Route is applicable to packets using NCC Hub's routing table.
    NCC_HUB = 2
  end
end

#dest_ip_range::String

Returns Destination IP range of the route.

Returns:

  • (::String)

    Destination IP range of the route.



737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 737

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

  # Type of route:
  module RouteType
    # Unspecified type. Default value.
    ROUTE_TYPE_UNSPECIFIED = 0

    # Route is a subnet route automatically created by the system.
    SUBNET = 1

    # Static route created by the user, including the default route to the
    # internet.
    STATIC = 2

    # Dynamic route exchanged between BGP peers.
    DYNAMIC = 3

    # A subnet route received from peering network or NCC Hub.
    PEERING_SUBNET = 4

    # A static route received from peering network.
    PEERING_STATIC = 5

    # A dynamic route received from peering network or NCC Hub.
    PEERING_DYNAMIC = 6

    # Policy based route.
    POLICY_BASED = 7

    # Advertised route. Synthetic route which is used to transition from the
    # StartFromPrivateNetwork state in Connectivity tests.
    ADVERTISED = 101
  end

  # Type of next hop:
  module NextHopType
    # Unspecified type. Default value.
    NEXT_HOP_TYPE_UNSPECIFIED = 0

    # Next hop is an IP address.
    NEXT_HOP_IP = 1

    # Next hop is a Compute Engine instance.
    NEXT_HOP_INSTANCE = 2

    # Next hop is a VPC network gateway.
    NEXT_HOP_NETWORK = 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.
    NEXT_HOP_PEERING = 4

    # Next hop is an interconnect.
    NEXT_HOP_INTERCONNECT = 5

    # Next hop is a VPN tunnel.
    NEXT_HOP_VPN_TUNNEL = 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.
    NEXT_HOP_VPN_GATEWAY = 7

    # Next hop is an internet gateway.
    NEXT_HOP_INTERNET_GATEWAY = 8

    # Next hop is blackhole; that is, the next hop either does not exist or is
    # unusable.
    NEXT_HOP_BLACKHOLE = 9

    # Next hop is the forwarding rule of an Internal Load Balancer.
    NEXT_HOP_ILB = 10

    # Next hop is a
    # [router appliance
    # instance](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/ra-overview).
    NEXT_HOP_ROUTER_APPLIANCE = 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.
    NEXT_HOP_NCC_HUB = 12

    # Next hop is Secure Web Proxy Gateway.
    SECURE_WEB_PROXY_GATEWAY = 13
  end

  # Indicates where routes are applicable.
  module RouteScope
    # Unspecified scope. Default value.
    ROUTE_SCOPE_UNSPECIFIED = 0

    # Route is applicable to packets in Network.
    NETWORK = 1

    # Route is applicable to packets using NCC Hub's routing table.
    NCC_HUB = 2
  end
end

#dest_port_ranges::Array<::String>

Returns Destination port ranges of the route. POLICY_BASED routes only.

Returns:

  • (::Array<::String>)

    Destination port ranges of the route. POLICY_BASED routes only.



737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 737

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

  # Type of route:
  module RouteType
    # Unspecified type. Default value.
    ROUTE_TYPE_UNSPECIFIED = 0

    # Route is a subnet route automatically created by the system.
    SUBNET = 1

    # Static route created by the user, including the default route to the
    # internet.
    STATIC = 2

    # Dynamic route exchanged between BGP peers.
    DYNAMIC = 3

    # A subnet route received from peering network or NCC Hub.
    PEERING_SUBNET = 4

    # A static route received from peering network.
    PEERING_STATIC = 5

    # A dynamic route received from peering network or NCC Hub.
    PEERING_DYNAMIC = 6

    # Policy based route.
    POLICY_BASED = 7

    # Advertised route. Synthetic route which is used to transition from the
    # StartFromPrivateNetwork state in Connectivity tests.
    ADVERTISED = 101
  end

  # Type of next hop:
  module NextHopType
    # Unspecified type. Default value.
    NEXT_HOP_TYPE_UNSPECIFIED = 0

    # Next hop is an IP address.
    NEXT_HOP_IP = 1

    # Next hop is a Compute Engine instance.
    NEXT_HOP_INSTANCE = 2

    # Next hop is a VPC network gateway.
    NEXT_HOP_NETWORK = 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.
    NEXT_HOP_PEERING = 4

    # Next hop is an interconnect.
    NEXT_HOP_INTERCONNECT = 5

    # Next hop is a VPN tunnel.
    NEXT_HOP_VPN_TUNNEL = 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.
    NEXT_HOP_VPN_GATEWAY = 7

    # Next hop is an internet gateway.
    NEXT_HOP_INTERNET_GATEWAY = 8

    # Next hop is blackhole; that is, the next hop either does not exist or is
    # unusable.
    NEXT_HOP_BLACKHOLE = 9

    # Next hop is the forwarding rule of an Internal Load Balancer.
    NEXT_HOP_ILB = 10

    # Next hop is a
    # [router appliance
    # instance](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/ra-overview).
    NEXT_HOP_ROUTER_APPLIANCE = 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.
    NEXT_HOP_NCC_HUB = 12

    # Next hop is Secure Web Proxy Gateway.
    SECURE_WEB_PROXY_GATEWAY = 13
  end

  # Indicates where routes are applicable.
  module RouteScope
    # Unspecified scope. Default value.
    ROUTE_SCOPE_UNSPECIFIED = 0

    # Route is applicable to packets in Network.
    NETWORK = 1

    # Route is applicable to packets using NCC Hub's routing table.
    NCC_HUB = 2
  end
end

#display_name::String

Returns Name of a route.

Returns:

  • (::String)

    Name of a route.



737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 737

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

  # Type of route:
  module RouteType
    # Unspecified type. Default value.
    ROUTE_TYPE_UNSPECIFIED = 0

    # Route is a subnet route automatically created by the system.
    SUBNET = 1

    # Static route created by the user, including the default route to the
    # internet.
    STATIC = 2

    # Dynamic route exchanged between BGP peers.
    DYNAMIC = 3

    # A subnet route received from peering network or NCC Hub.
    PEERING_SUBNET = 4

    # A static route received from peering network.
    PEERING_STATIC = 5

    # A dynamic route received from peering network or NCC Hub.
    PEERING_DYNAMIC = 6

    # Policy based route.
    POLICY_BASED = 7

    # Advertised route. Synthetic route which is used to transition from the
    # StartFromPrivateNetwork state in Connectivity tests.
    ADVERTISED = 101
  end

  # Type of next hop:
  module NextHopType
    # Unspecified type. Default value.
    NEXT_HOP_TYPE_UNSPECIFIED = 0

    # Next hop is an IP address.
    NEXT_HOP_IP = 1

    # Next hop is a Compute Engine instance.
    NEXT_HOP_INSTANCE = 2

    # Next hop is a VPC network gateway.
    NEXT_HOP_NETWORK = 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.
    NEXT_HOP_PEERING = 4

    # Next hop is an interconnect.
    NEXT_HOP_INTERCONNECT = 5

    # Next hop is a VPN tunnel.
    NEXT_HOP_VPN_TUNNEL = 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.
    NEXT_HOP_VPN_GATEWAY = 7

    # Next hop is an internet gateway.
    NEXT_HOP_INTERNET_GATEWAY = 8

    # Next hop is blackhole; that is, the next hop either does not exist or is
    # unusable.
    NEXT_HOP_BLACKHOLE = 9

    # Next hop is the forwarding rule of an Internal Load Balancer.
    NEXT_HOP_ILB = 10

    # Next hop is a
    # [router appliance
    # instance](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/ra-overview).
    NEXT_HOP_ROUTER_APPLIANCE = 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.
    NEXT_HOP_NCC_HUB = 12

    # Next hop is Secure Web Proxy Gateway.
    SECURE_WEB_PROXY_GATEWAY = 13
  end

  # Indicates where routes are applicable.
  module RouteScope
    # Unspecified scope. Default value.
    ROUTE_SCOPE_UNSPECIFIED = 0

    # Route is applicable to packets in Network.
    NETWORK = 1

    # Route is applicable to packets using NCC Hub's routing table.
    NCC_HUB = 2
  end
end

#instance_tags::Array<::String>

Returns Instance tags of the route.

Returns:

  • (::Array<::String>)

    Instance tags of the route.



737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 737

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

  # Type of route:
  module RouteType
    # Unspecified type. Default value.
    ROUTE_TYPE_UNSPECIFIED = 0

    # Route is a subnet route automatically created by the system.
    SUBNET = 1

    # Static route created by the user, including the default route to the
    # internet.
    STATIC = 2

    # Dynamic route exchanged between BGP peers.
    DYNAMIC = 3

    # A subnet route received from peering network or NCC Hub.
    PEERING_SUBNET = 4

    # A static route received from peering network.
    PEERING_STATIC = 5

    # A dynamic route received from peering network or NCC Hub.
    PEERING_DYNAMIC = 6

    # Policy based route.
    POLICY_BASED = 7

    # Advertised route. Synthetic route which is used to transition from the
    # StartFromPrivateNetwork state in Connectivity tests.
    ADVERTISED = 101
  end

  # Type of next hop:
  module NextHopType
    # Unspecified type. Default value.
    NEXT_HOP_TYPE_UNSPECIFIED = 0

    # Next hop is an IP address.
    NEXT_HOP_IP = 1

    # Next hop is a Compute Engine instance.
    NEXT_HOP_INSTANCE = 2

    # Next hop is a VPC network gateway.
    NEXT_HOP_NETWORK = 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.
    NEXT_HOP_PEERING = 4

    # Next hop is an interconnect.
    NEXT_HOP_INTERCONNECT = 5

    # Next hop is a VPN tunnel.
    NEXT_HOP_VPN_TUNNEL = 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.
    NEXT_HOP_VPN_GATEWAY = 7

    # Next hop is an internet gateway.
    NEXT_HOP_INTERNET_GATEWAY = 8

    # Next hop is blackhole; that is, the next hop either does not exist or is
    # unusable.
    NEXT_HOP_BLACKHOLE = 9

    # Next hop is the forwarding rule of an Internal Load Balancer.
    NEXT_HOP_ILB = 10

    # Next hop is a
    # [router appliance
    # instance](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/ra-overview).
    NEXT_HOP_ROUTER_APPLIANCE = 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.
    NEXT_HOP_NCC_HUB = 12

    # Next hop is Secure Web Proxy Gateway.
    SECURE_WEB_PROXY_GATEWAY = 13
  end

  # Indicates where routes are applicable.
  module RouteScope
    # Unspecified scope. Default value.
    ROUTE_SCOPE_UNSPECIFIED = 0

    # Route is applicable to packets in Network.
    NETWORK = 1

    # Route is applicable to packets using NCC Hub's routing table.
    NCC_HUB = 2
  end
end

#ncc_hub_route_uri::String

Returns 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.

Returns:

  • (::String)

    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.



737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 737

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

  # Type of route:
  module RouteType
    # Unspecified type. Default value.
    ROUTE_TYPE_UNSPECIFIED = 0

    # Route is a subnet route automatically created by the system.
    SUBNET = 1

    # Static route created by the user, including the default route to the
    # internet.
    STATIC = 2

    # Dynamic route exchanged between BGP peers.
    DYNAMIC = 3

    # A subnet route received from peering network or NCC Hub.
    PEERING_SUBNET = 4

    # A static route received from peering network.
    PEERING_STATIC = 5

    # A dynamic route received from peering network or NCC Hub.
    PEERING_DYNAMIC = 6

    # Policy based route.
    POLICY_BASED = 7

    # Advertised route. Synthetic route which is used to transition from the
    # StartFromPrivateNetwork state in Connectivity tests.
    ADVERTISED = 101
  end

  # Type of next hop:
  module NextHopType
    # Unspecified type. Default value.
    NEXT_HOP_TYPE_UNSPECIFIED = 0

    # Next hop is an IP address.
    NEXT_HOP_IP = 1

    # Next hop is a Compute Engine instance.
    NEXT_HOP_INSTANCE = 2

    # Next hop is a VPC network gateway.
    NEXT_HOP_NETWORK = 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.
    NEXT_HOP_PEERING = 4

    # Next hop is an interconnect.
    NEXT_HOP_INTERCONNECT = 5

    # Next hop is a VPN tunnel.
    NEXT_HOP_VPN_TUNNEL = 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.
    NEXT_HOP_VPN_GATEWAY = 7

    # Next hop is an internet gateway.
    NEXT_HOP_INTERNET_GATEWAY = 8

    # Next hop is blackhole; that is, the next hop either does not exist or is
    # unusable.
    NEXT_HOP_BLACKHOLE = 9

    # Next hop is the forwarding rule of an Internal Load Balancer.
    NEXT_HOP_ILB = 10

    # Next hop is a
    # [router appliance
    # instance](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/ra-overview).
    NEXT_HOP_ROUTER_APPLIANCE = 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.
    NEXT_HOP_NCC_HUB = 12

    # Next hop is Secure Web Proxy Gateway.
    SECURE_WEB_PROXY_GATEWAY = 13
  end

  # Indicates where routes are applicable.
  module RouteScope
    # Unspecified scope. Default value.
    ROUTE_SCOPE_UNSPECIFIED = 0

    # Route is applicable to packets in Network.
    NETWORK = 1

    # Route is applicable to packets using NCC Hub's routing table.
    NCC_HUB = 2
  end
end

#ncc_hub_uri::String

Returns URI of the NCC Hub the route is advertised by. PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub only.

Returns:

  • (::String)

    URI of the NCC Hub the route is advertised by. PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub only.



737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 737

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

  # Type of route:
  module RouteType
    # Unspecified type. Default value.
    ROUTE_TYPE_UNSPECIFIED = 0

    # Route is a subnet route automatically created by the system.
    SUBNET = 1

    # Static route created by the user, including the default route to the
    # internet.
    STATIC = 2

    # Dynamic route exchanged between BGP peers.
    DYNAMIC = 3

    # A subnet route received from peering network or NCC Hub.
    PEERING_SUBNET = 4

    # A static route received from peering network.
    PEERING_STATIC = 5

    # A dynamic route received from peering network or NCC Hub.
    PEERING_DYNAMIC = 6

    # Policy based route.
    POLICY_BASED = 7

    # Advertised route. Synthetic route which is used to transition from the
    # StartFromPrivateNetwork state in Connectivity tests.
    ADVERTISED = 101
  end

  # Type of next hop:
  module NextHopType
    # Unspecified type. Default value.
    NEXT_HOP_TYPE_UNSPECIFIED = 0

    # Next hop is an IP address.
    NEXT_HOP_IP = 1

    # Next hop is a Compute Engine instance.
    NEXT_HOP_INSTANCE = 2

    # Next hop is a VPC network gateway.
    NEXT_HOP_NETWORK = 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.
    NEXT_HOP_PEERING = 4

    # Next hop is an interconnect.
    NEXT_HOP_INTERCONNECT = 5

    # Next hop is a VPN tunnel.
    NEXT_HOP_VPN_TUNNEL = 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.
    NEXT_HOP_VPN_GATEWAY = 7

    # Next hop is an internet gateway.
    NEXT_HOP_INTERNET_GATEWAY = 8

    # Next hop is blackhole; that is, the next hop either does not exist or is
    # unusable.
    NEXT_HOP_BLACKHOLE = 9

    # Next hop is the forwarding rule of an Internal Load Balancer.
    NEXT_HOP_ILB = 10

    # Next hop is a
    # [router appliance
    # instance](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/ra-overview).
    NEXT_HOP_ROUTER_APPLIANCE = 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.
    NEXT_HOP_NCC_HUB = 12

    # Next hop is Secure Web Proxy Gateway.
    SECURE_WEB_PROXY_GATEWAY = 13
  end

  # Indicates where routes are applicable.
  module RouteScope
    # Unspecified scope. Default value.
    ROUTE_SCOPE_UNSPECIFIED = 0

    # Route is applicable to packets in Network.
    NETWORK = 1

    # Route is applicable to packets using NCC Hub's routing table.
    NCC_HUB = 2
  end
end

#ncc_spoke_uri::String

Returns URI of the destination NCC Spoke. PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub only.

Returns:

  • (::String)

    URI of the destination NCC Spoke. PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub only.



737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 737

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

  # Type of route:
  module RouteType
    # Unspecified type. Default value.
    ROUTE_TYPE_UNSPECIFIED = 0

    # Route is a subnet route automatically created by the system.
    SUBNET = 1

    # Static route created by the user, including the default route to the
    # internet.
    STATIC = 2

    # Dynamic route exchanged between BGP peers.
    DYNAMIC = 3

    # A subnet route received from peering network or NCC Hub.
    PEERING_SUBNET = 4

    # A static route received from peering network.
    PEERING_STATIC = 5

    # A dynamic route received from peering network or NCC Hub.
    PEERING_DYNAMIC = 6

    # Policy based route.
    POLICY_BASED = 7

    # Advertised route. Synthetic route which is used to transition from the
    # StartFromPrivateNetwork state in Connectivity tests.
    ADVERTISED = 101
  end

  # Type of next hop:
  module NextHopType
    # Unspecified type. Default value.
    NEXT_HOP_TYPE_UNSPECIFIED = 0

    # Next hop is an IP address.
    NEXT_HOP_IP = 1

    # Next hop is a Compute Engine instance.
    NEXT_HOP_INSTANCE = 2

    # Next hop is a VPC network gateway.
    NEXT_HOP_NETWORK = 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.
    NEXT_HOP_PEERING = 4

    # Next hop is an interconnect.
    NEXT_HOP_INTERCONNECT = 5

    # Next hop is a VPN tunnel.
    NEXT_HOP_VPN_TUNNEL = 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.
    NEXT_HOP_VPN_GATEWAY = 7

    # Next hop is an internet gateway.
    NEXT_HOP_INTERNET_GATEWAY = 8

    # Next hop is blackhole; that is, the next hop either does not exist or is
    # unusable.
    NEXT_HOP_BLACKHOLE = 9

    # Next hop is the forwarding rule of an Internal Load Balancer.
    NEXT_HOP_ILB = 10

    # Next hop is a
    # [router appliance
    # instance](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/ra-overview).
    NEXT_HOP_ROUTER_APPLIANCE = 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.
    NEXT_HOP_NCC_HUB = 12

    # Next hop is Secure Web Proxy Gateway.
    SECURE_WEB_PROXY_GATEWAY = 13
  end

  # Indicates where routes are applicable.
  module RouteScope
    # Unspecified scope. Default value.
    ROUTE_SCOPE_UNSPECIFIED = 0

    # Route is applicable to packets in Network.
    NETWORK = 1

    # Route is applicable to packets using NCC Hub's routing table.
    NCC_HUB = 2
  end
end

#network_uri::String

Returns URI of a VPC network where route is located.

Returns:

  • (::String)

    URI of a VPC network where route is located.



737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 737

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

  # Type of route:
  module RouteType
    # Unspecified type. Default value.
    ROUTE_TYPE_UNSPECIFIED = 0

    # Route is a subnet route automatically created by the system.
    SUBNET = 1

    # Static route created by the user, including the default route to the
    # internet.
    STATIC = 2

    # Dynamic route exchanged between BGP peers.
    DYNAMIC = 3

    # A subnet route received from peering network or NCC Hub.
    PEERING_SUBNET = 4

    # A static route received from peering network.
    PEERING_STATIC = 5

    # A dynamic route received from peering network or NCC Hub.
    PEERING_DYNAMIC = 6

    # Policy based route.
    POLICY_BASED = 7

    # Advertised route. Synthetic route which is used to transition from the
    # StartFromPrivateNetwork state in Connectivity tests.
    ADVERTISED = 101
  end

  # Type of next hop:
  module NextHopType
    # Unspecified type. Default value.
    NEXT_HOP_TYPE_UNSPECIFIED = 0

    # Next hop is an IP address.
    NEXT_HOP_IP = 1

    # Next hop is a Compute Engine instance.
    NEXT_HOP_INSTANCE = 2

    # Next hop is a VPC network gateway.
    NEXT_HOP_NETWORK = 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.
    NEXT_HOP_PEERING = 4

    # Next hop is an interconnect.
    NEXT_HOP_INTERCONNECT = 5

    # Next hop is a VPN tunnel.
    NEXT_HOP_VPN_TUNNEL = 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.
    NEXT_HOP_VPN_GATEWAY = 7

    # Next hop is an internet gateway.
    NEXT_HOP_INTERNET_GATEWAY = 8

    # Next hop is blackhole; that is, the next hop either does not exist or is
    # unusable.
    NEXT_HOP_BLACKHOLE = 9

    # Next hop is the forwarding rule of an Internal Load Balancer.
    NEXT_HOP_ILB = 10

    # Next hop is a
    # [router appliance
    # instance](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/ra-overview).
    NEXT_HOP_ROUTER_APPLIANCE = 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.
    NEXT_HOP_NCC_HUB = 12

    # Next hop is Secure Web Proxy Gateway.
    SECURE_WEB_PROXY_GATEWAY = 13
  end

  # Indicates where routes are applicable.
  module RouteScope
    # Unspecified scope. Default value.
    ROUTE_SCOPE_UNSPECIFIED = 0

    # Route is applicable to packets in Network.
    NETWORK = 1

    # Route is applicable to packets using NCC Hub's routing table.
    NCC_HUB = 2
  end
end

#next_hop::String

Deprecated.

This field is deprecated and may be removed in the next major version update.

Returns 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.

Returns:

  • (::String)

    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.



737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 737

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

  # Type of route:
  module RouteType
    # Unspecified type. Default value.
    ROUTE_TYPE_UNSPECIFIED = 0

    # Route is a subnet route automatically created by the system.
    SUBNET = 1

    # Static route created by the user, including the default route to the
    # internet.
    STATIC = 2

    # Dynamic route exchanged between BGP peers.
    DYNAMIC = 3

    # A subnet route received from peering network or NCC Hub.
    PEERING_SUBNET = 4

    # A static route received from peering network.
    PEERING_STATIC = 5

    # A dynamic route received from peering network or NCC Hub.
    PEERING_DYNAMIC = 6

    # Policy based route.
    POLICY_BASED = 7

    # Advertised route. Synthetic route which is used to transition from the
    # StartFromPrivateNetwork state in Connectivity tests.
    ADVERTISED = 101
  end

  # Type of next hop:
  module NextHopType
    # Unspecified type. Default value.
    NEXT_HOP_TYPE_UNSPECIFIED = 0

    # Next hop is an IP address.
    NEXT_HOP_IP = 1

    # Next hop is a Compute Engine instance.
    NEXT_HOP_INSTANCE = 2

    # Next hop is a VPC network gateway.
    NEXT_HOP_NETWORK = 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.
    NEXT_HOP_PEERING = 4

    # Next hop is an interconnect.
    NEXT_HOP_INTERCONNECT = 5

    # Next hop is a VPN tunnel.
    NEXT_HOP_VPN_TUNNEL = 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.
    NEXT_HOP_VPN_GATEWAY = 7

    # Next hop is an internet gateway.
    NEXT_HOP_INTERNET_GATEWAY = 8

    # Next hop is blackhole; that is, the next hop either does not exist or is
    # unusable.
    NEXT_HOP_BLACKHOLE = 9

    # Next hop is the forwarding rule of an Internal Load Balancer.
    NEXT_HOP_ILB = 10

    # Next hop is a
    # [router appliance
    # instance](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/ra-overview).
    NEXT_HOP_ROUTER_APPLIANCE = 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.
    NEXT_HOP_NCC_HUB = 12

    # Next hop is Secure Web Proxy Gateway.
    SECURE_WEB_PROXY_GATEWAY = 13
  end

  # Indicates where routes are applicable.
  module RouteScope
    # Unspecified scope. Default value.
    ROUTE_SCOPE_UNSPECIFIED = 0

    # Route is applicable to packets in Network.
    NETWORK = 1

    # Route is applicable to packets using NCC Hub's routing table.
    NCC_HUB = 2
  end
end

#next_hop_network_uri::String

Returns URI of a VPC network where the next hop resource is located.

Returns:

  • (::String)

    URI of a VPC network where the next hop resource is located.



737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 737

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

  # Type of route:
  module RouteType
    # Unspecified type. Default value.
    ROUTE_TYPE_UNSPECIFIED = 0

    # Route is a subnet route automatically created by the system.
    SUBNET = 1

    # Static route created by the user, including the default route to the
    # internet.
    STATIC = 2

    # Dynamic route exchanged between BGP peers.
    DYNAMIC = 3

    # A subnet route received from peering network or NCC Hub.
    PEERING_SUBNET = 4

    # A static route received from peering network.
    PEERING_STATIC = 5

    # A dynamic route received from peering network or NCC Hub.
    PEERING_DYNAMIC = 6

    # Policy based route.
    POLICY_BASED = 7

    # Advertised route. Synthetic route which is used to transition from the
    # StartFromPrivateNetwork state in Connectivity tests.
    ADVERTISED = 101
  end

  # Type of next hop:
  module NextHopType
    # Unspecified type. Default value.
    NEXT_HOP_TYPE_UNSPECIFIED = 0

    # Next hop is an IP address.
    NEXT_HOP_IP = 1

    # Next hop is a Compute Engine instance.
    NEXT_HOP_INSTANCE = 2

    # Next hop is a VPC network gateway.
    NEXT_HOP_NETWORK = 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.
    NEXT_HOP_PEERING = 4

    # Next hop is an interconnect.
    NEXT_HOP_INTERCONNECT = 5

    # Next hop is a VPN tunnel.
    NEXT_HOP_VPN_TUNNEL = 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.
    NEXT_HOP_VPN_GATEWAY = 7

    # Next hop is an internet gateway.
    NEXT_HOP_INTERNET_GATEWAY = 8

    # Next hop is blackhole; that is, the next hop either does not exist or is
    # unusable.
    NEXT_HOP_BLACKHOLE = 9

    # Next hop is the forwarding rule of an Internal Load Balancer.
    NEXT_HOP_ILB = 10

    # Next hop is a
    # [router appliance
    # instance](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/ra-overview).
    NEXT_HOP_ROUTER_APPLIANCE = 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.
    NEXT_HOP_NCC_HUB = 12

    # Next hop is Secure Web Proxy Gateway.
    SECURE_WEB_PROXY_GATEWAY = 13
  end

  # Indicates where routes are applicable.
  module RouteScope
    # Unspecified scope. Default value.
    ROUTE_SCOPE_UNSPECIFIED = 0

    # Route is applicable to packets in Network.
    NETWORK = 1

    # Route is applicable to packets using NCC Hub's routing table.
    NCC_HUB = 2
  end
end

#next_hop_type::Google::Cloud::NetworkManagement::V1::RouteInfo::NextHopType

Returns Type of next hop.



737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 737

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

  # Type of route:
  module RouteType
    # Unspecified type. Default value.
    ROUTE_TYPE_UNSPECIFIED = 0

    # Route is a subnet route automatically created by the system.
    SUBNET = 1

    # Static route created by the user, including the default route to the
    # internet.
    STATIC = 2

    # Dynamic route exchanged between BGP peers.
    DYNAMIC = 3

    # A subnet route received from peering network or NCC Hub.
    PEERING_SUBNET = 4

    # A static route received from peering network.
    PEERING_STATIC = 5

    # A dynamic route received from peering network or NCC Hub.
    PEERING_DYNAMIC = 6

    # Policy based route.
    POLICY_BASED = 7

    # Advertised route. Synthetic route which is used to transition from the
    # StartFromPrivateNetwork state in Connectivity tests.
    ADVERTISED = 101
  end

  # Type of next hop:
  module NextHopType
    # Unspecified type. Default value.
    NEXT_HOP_TYPE_UNSPECIFIED = 0

    # Next hop is an IP address.
    NEXT_HOP_IP = 1

    # Next hop is a Compute Engine instance.
    NEXT_HOP_INSTANCE = 2

    # Next hop is a VPC network gateway.
    NEXT_HOP_NETWORK = 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.
    NEXT_HOP_PEERING = 4

    # Next hop is an interconnect.
    NEXT_HOP_INTERCONNECT = 5

    # Next hop is a VPN tunnel.
    NEXT_HOP_VPN_TUNNEL = 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.
    NEXT_HOP_VPN_GATEWAY = 7

    # Next hop is an internet gateway.
    NEXT_HOP_INTERNET_GATEWAY = 8

    # Next hop is blackhole; that is, the next hop either does not exist or is
    # unusable.
    NEXT_HOP_BLACKHOLE = 9

    # Next hop is the forwarding rule of an Internal Load Balancer.
    NEXT_HOP_ILB = 10

    # Next hop is a
    # [router appliance
    # instance](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/ra-overview).
    NEXT_HOP_ROUTER_APPLIANCE = 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.
    NEXT_HOP_NCC_HUB = 12

    # Next hop is Secure Web Proxy Gateway.
    SECURE_WEB_PROXY_GATEWAY = 13
  end

  # Indicates where routes are applicable.
  module RouteScope
    # Unspecified scope. Default value.
    ROUTE_SCOPE_UNSPECIFIED = 0

    # Route is applicable to packets in Network.
    NETWORK = 1

    # Route is applicable to packets using NCC Hub's routing table.
    NCC_HUB = 2
  end
end

#next_hop_uri::String

Returns URI of the next hop resource.

Returns:

  • (::String)

    URI of the next hop resource.



737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 737

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

  # Type of route:
  module RouteType
    # Unspecified type. Default value.
    ROUTE_TYPE_UNSPECIFIED = 0

    # Route is a subnet route automatically created by the system.
    SUBNET = 1

    # Static route created by the user, including the default route to the
    # internet.
    STATIC = 2

    # Dynamic route exchanged between BGP peers.
    DYNAMIC = 3

    # A subnet route received from peering network or NCC Hub.
    PEERING_SUBNET = 4

    # A static route received from peering network.
    PEERING_STATIC = 5

    # A dynamic route received from peering network or NCC Hub.
    PEERING_DYNAMIC = 6

    # Policy based route.
    POLICY_BASED = 7

    # Advertised route. Synthetic route which is used to transition from the
    # StartFromPrivateNetwork state in Connectivity tests.
    ADVERTISED = 101
  end

  # Type of next hop:
  module NextHopType
    # Unspecified type. Default value.
    NEXT_HOP_TYPE_UNSPECIFIED = 0

    # Next hop is an IP address.
    NEXT_HOP_IP = 1

    # Next hop is a Compute Engine instance.
    NEXT_HOP_INSTANCE = 2

    # Next hop is a VPC network gateway.
    NEXT_HOP_NETWORK = 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.
    NEXT_HOP_PEERING = 4

    # Next hop is an interconnect.
    NEXT_HOP_INTERCONNECT = 5

    # Next hop is a VPN tunnel.
    NEXT_HOP_VPN_TUNNEL = 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.
    NEXT_HOP_VPN_GATEWAY = 7

    # Next hop is an internet gateway.
    NEXT_HOP_INTERNET_GATEWAY = 8

    # Next hop is blackhole; that is, the next hop either does not exist or is
    # unusable.
    NEXT_HOP_BLACKHOLE = 9

    # Next hop is the forwarding rule of an Internal Load Balancer.
    NEXT_HOP_ILB = 10

    # Next hop is a
    # [router appliance
    # instance](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/ra-overview).
    NEXT_HOP_ROUTER_APPLIANCE = 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.
    NEXT_HOP_NCC_HUB = 12

    # Next hop is Secure Web Proxy Gateway.
    SECURE_WEB_PROXY_GATEWAY = 13
  end

  # Indicates where routes are applicable.
  module RouteScope
    # Unspecified scope. Default value.
    ROUTE_SCOPE_UNSPECIFIED = 0

    # Route is applicable to packets in Network.
    NETWORK = 1

    # Route is applicable to packets using NCC Hub's routing table.
    NCC_HUB = 2
  end
end

#originating_route_display_name::String

Returns For PEERING_SUBNET, PEERING_STATIC and PEERING_DYNAMIC routes, the name of the originating SUBNET/STATIC/DYNAMIC route.

Returns:

  • (::String)

    For PEERING_SUBNET, PEERING_STATIC and PEERING_DYNAMIC routes, the name of the originating SUBNET/STATIC/DYNAMIC route.



737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 737

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

  # Type of route:
  module RouteType
    # Unspecified type. Default value.
    ROUTE_TYPE_UNSPECIFIED = 0

    # Route is a subnet route automatically created by the system.
    SUBNET = 1

    # Static route created by the user, including the default route to the
    # internet.
    STATIC = 2

    # Dynamic route exchanged between BGP peers.
    DYNAMIC = 3

    # A subnet route received from peering network or NCC Hub.
    PEERING_SUBNET = 4

    # A static route received from peering network.
    PEERING_STATIC = 5

    # A dynamic route received from peering network or NCC Hub.
    PEERING_DYNAMIC = 6

    # Policy based route.
    POLICY_BASED = 7

    # Advertised route. Synthetic route which is used to transition from the
    # StartFromPrivateNetwork state in Connectivity tests.
    ADVERTISED = 101
  end

  # Type of next hop:
  module NextHopType
    # Unspecified type. Default value.
    NEXT_HOP_TYPE_UNSPECIFIED = 0

    # Next hop is an IP address.
    NEXT_HOP_IP = 1

    # Next hop is a Compute Engine instance.
    NEXT_HOP_INSTANCE = 2

    # Next hop is a VPC network gateway.
    NEXT_HOP_NETWORK = 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.
    NEXT_HOP_PEERING = 4

    # Next hop is an interconnect.
    NEXT_HOP_INTERCONNECT = 5

    # Next hop is a VPN tunnel.
    NEXT_HOP_VPN_TUNNEL = 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.
    NEXT_HOP_VPN_GATEWAY = 7

    # Next hop is an internet gateway.
    NEXT_HOP_INTERNET_GATEWAY = 8

    # Next hop is blackhole; that is, the next hop either does not exist or is
    # unusable.
    NEXT_HOP_BLACKHOLE = 9

    # Next hop is the forwarding rule of an Internal Load Balancer.
    NEXT_HOP_ILB = 10

    # Next hop is a
    # [router appliance
    # instance](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/ra-overview).
    NEXT_HOP_ROUTER_APPLIANCE = 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.
    NEXT_HOP_NCC_HUB = 12

    # Next hop is Secure Web Proxy Gateway.
    SECURE_WEB_PROXY_GATEWAY = 13
  end

  # Indicates where routes are applicable.
  module RouteScope
    # Unspecified scope. Default value.
    ROUTE_SCOPE_UNSPECIFIED = 0

    # Route is applicable to packets in Network.
    NETWORK = 1

    # Route is applicable to packets using NCC Hub's routing table.
    NCC_HUB = 2
  end
end

#originating_route_uri::String

Returns For PEERING_SUBNET and PEERING_STATIC routes, the URI of the originating SUBNET/STATIC route.

Returns:

  • (::String)

    For PEERING_SUBNET and PEERING_STATIC routes, the URI of the originating SUBNET/STATIC route.



737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 737

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

  # Type of route:
  module RouteType
    # Unspecified type. Default value.
    ROUTE_TYPE_UNSPECIFIED = 0

    # Route is a subnet route automatically created by the system.
    SUBNET = 1

    # Static route created by the user, including the default route to the
    # internet.
    STATIC = 2

    # Dynamic route exchanged between BGP peers.
    DYNAMIC = 3

    # A subnet route received from peering network or NCC Hub.
    PEERING_SUBNET = 4

    # A static route received from peering network.
    PEERING_STATIC = 5

    # A dynamic route received from peering network or NCC Hub.
    PEERING_DYNAMIC = 6

    # Policy based route.
    POLICY_BASED = 7

    # Advertised route. Synthetic route which is used to transition from the
    # StartFromPrivateNetwork state in Connectivity tests.
    ADVERTISED = 101
  end

  # Type of next hop:
  module NextHopType
    # Unspecified type. Default value.
    NEXT_HOP_TYPE_UNSPECIFIED = 0

    # Next hop is an IP address.
    NEXT_HOP_IP = 1

    # Next hop is a Compute Engine instance.
    NEXT_HOP_INSTANCE = 2

    # Next hop is a VPC network gateway.
    NEXT_HOP_NETWORK = 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.
    NEXT_HOP_PEERING = 4

    # Next hop is an interconnect.
    NEXT_HOP_INTERCONNECT = 5

    # Next hop is a VPN tunnel.
    NEXT_HOP_VPN_TUNNEL = 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.
    NEXT_HOP_VPN_GATEWAY = 7

    # Next hop is an internet gateway.
    NEXT_HOP_INTERNET_GATEWAY = 8

    # Next hop is blackhole; that is, the next hop either does not exist or is
    # unusable.
    NEXT_HOP_BLACKHOLE = 9

    # Next hop is the forwarding rule of an Internal Load Balancer.
    NEXT_HOP_ILB = 10

    # Next hop is a
    # [router appliance
    # instance](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/ra-overview).
    NEXT_HOP_ROUTER_APPLIANCE = 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.
    NEXT_HOP_NCC_HUB = 12

    # Next hop is Secure Web Proxy Gateway.
    SECURE_WEB_PROXY_GATEWAY = 13
  end

  # Indicates where routes are applicable.
  module RouteScope
    # Unspecified scope. Default value.
    ROUTE_SCOPE_UNSPECIFIED = 0

    # Route is applicable to packets in Network.
    NETWORK = 1

    # Route is applicable to packets using NCC Hub's routing table.
    NCC_HUB = 2
  end
end

#priority::Integer

Returns Priority of the route.

Returns:

  • (::Integer)

    Priority of the route.



737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 737

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

  # Type of route:
  module RouteType
    # Unspecified type. Default value.
    ROUTE_TYPE_UNSPECIFIED = 0

    # Route is a subnet route automatically created by the system.
    SUBNET = 1

    # Static route created by the user, including the default route to the
    # internet.
    STATIC = 2

    # Dynamic route exchanged between BGP peers.
    DYNAMIC = 3

    # A subnet route received from peering network or NCC Hub.
    PEERING_SUBNET = 4

    # A static route received from peering network.
    PEERING_STATIC = 5

    # A dynamic route received from peering network or NCC Hub.
    PEERING_DYNAMIC = 6

    # Policy based route.
    POLICY_BASED = 7

    # Advertised route. Synthetic route which is used to transition from the
    # StartFromPrivateNetwork state in Connectivity tests.
    ADVERTISED = 101
  end

  # Type of next hop:
  module NextHopType
    # Unspecified type. Default value.
    NEXT_HOP_TYPE_UNSPECIFIED = 0

    # Next hop is an IP address.
    NEXT_HOP_IP = 1

    # Next hop is a Compute Engine instance.
    NEXT_HOP_INSTANCE = 2

    # Next hop is a VPC network gateway.
    NEXT_HOP_NETWORK = 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.
    NEXT_HOP_PEERING = 4

    # Next hop is an interconnect.
    NEXT_HOP_INTERCONNECT = 5

    # Next hop is a VPN tunnel.
    NEXT_HOP_VPN_TUNNEL = 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.
    NEXT_HOP_VPN_GATEWAY = 7

    # Next hop is an internet gateway.
    NEXT_HOP_INTERNET_GATEWAY = 8

    # Next hop is blackhole; that is, the next hop either does not exist or is
    # unusable.
    NEXT_HOP_BLACKHOLE = 9

    # Next hop is the forwarding rule of an Internal Load Balancer.
    NEXT_HOP_ILB = 10

    # Next hop is a
    # [router appliance
    # instance](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/ra-overview).
    NEXT_HOP_ROUTER_APPLIANCE = 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.
    NEXT_HOP_NCC_HUB = 12

    # Next hop is Secure Web Proxy Gateway.
    SECURE_WEB_PROXY_GATEWAY = 13
  end

  # Indicates where routes are applicable.
  module RouteScope
    # Unspecified scope. Default value.
    ROUTE_SCOPE_UNSPECIFIED = 0

    # Route is applicable to packets in Network.
    NETWORK = 1

    # Route is applicable to packets using NCC Hub's routing table.
    NCC_HUB = 2
  end
end

#protocols::Array<::String>

Returns Protocols of the route. POLICY_BASED routes only.

Returns:

  • (::Array<::String>)

    Protocols of the route. POLICY_BASED routes only.



737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 737

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

  # Type of route:
  module RouteType
    # Unspecified type. Default value.
    ROUTE_TYPE_UNSPECIFIED = 0

    # Route is a subnet route automatically created by the system.
    SUBNET = 1

    # Static route created by the user, including the default route to the
    # internet.
    STATIC = 2

    # Dynamic route exchanged between BGP peers.
    DYNAMIC = 3

    # A subnet route received from peering network or NCC Hub.
    PEERING_SUBNET = 4

    # A static route received from peering network.
    PEERING_STATIC = 5

    # A dynamic route received from peering network or NCC Hub.
    PEERING_DYNAMIC = 6

    # Policy based route.
    POLICY_BASED = 7

    # Advertised route. Synthetic route which is used to transition from the
    # StartFromPrivateNetwork state in Connectivity tests.
    ADVERTISED = 101
  end

  # Type of next hop:
  module NextHopType
    # Unspecified type. Default value.
    NEXT_HOP_TYPE_UNSPECIFIED = 0

    # Next hop is an IP address.
    NEXT_HOP_IP = 1

    # Next hop is a Compute Engine instance.
    NEXT_HOP_INSTANCE = 2

    # Next hop is a VPC network gateway.
    NEXT_HOP_NETWORK = 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.
    NEXT_HOP_PEERING = 4

    # Next hop is an interconnect.
    NEXT_HOP_INTERCONNECT = 5

    # Next hop is a VPN tunnel.
    NEXT_HOP_VPN_TUNNEL = 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.
    NEXT_HOP_VPN_GATEWAY = 7

    # Next hop is an internet gateway.
    NEXT_HOP_INTERNET_GATEWAY = 8

    # Next hop is blackhole; that is, the next hop either does not exist or is
    # unusable.
    NEXT_HOP_BLACKHOLE = 9

    # Next hop is the forwarding rule of an Internal Load Balancer.
    NEXT_HOP_ILB = 10

    # Next hop is a
    # [router appliance
    # instance](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/ra-overview).
    NEXT_HOP_ROUTER_APPLIANCE = 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.
    NEXT_HOP_NCC_HUB = 12

    # Next hop is Secure Web Proxy Gateway.
    SECURE_WEB_PROXY_GATEWAY = 13
  end

  # Indicates where routes are applicable.
  module RouteScope
    # Unspecified scope. Default value.
    ROUTE_SCOPE_UNSPECIFIED = 0

    # Route is applicable to packets in Network.
    NETWORK = 1

    # Route is applicable to packets using NCC Hub's routing table.
    NCC_HUB = 2
  end
end

#region::String

Returns 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. If set to "all" for POLICY_BASED route, the route applies to VLAN attachments of Cloud Interconnect in all regions.

Returns:

  • (::String)

    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. If set to "all" for POLICY_BASED route, the route applies to VLAN attachments of Cloud Interconnect in all regions.



737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 737

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

  # Type of route:
  module RouteType
    # Unspecified type. Default value.
    ROUTE_TYPE_UNSPECIFIED = 0

    # Route is a subnet route automatically created by the system.
    SUBNET = 1

    # Static route created by the user, including the default route to the
    # internet.
    STATIC = 2

    # Dynamic route exchanged between BGP peers.
    DYNAMIC = 3

    # A subnet route received from peering network or NCC Hub.
    PEERING_SUBNET = 4

    # A static route received from peering network.
    PEERING_STATIC = 5

    # A dynamic route received from peering network or NCC Hub.
    PEERING_DYNAMIC = 6

    # Policy based route.
    POLICY_BASED = 7

    # Advertised route. Synthetic route which is used to transition from the
    # StartFromPrivateNetwork state in Connectivity tests.
    ADVERTISED = 101
  end

  # Type of next hop:
  module NextHopType
    # Unspecified type. Default value.
    NEXT_HOP_TYPE_UNSPECIFIED = 0

    # Next hop is an IP address.
    NEXT_HOP_IP = 1

    # Next hop is a Compute Engine instance.
    NEXT_HOP_INSTANCE = 2

    # Next hop is a VPC network gateway.
    NEXT_HOP_NETWORK = 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.
    NEXT_HOP_PEERING = 4

    # Next hop is an interconnect.
    NEXT_HOP_INTERCONNECT = 5

    # Next hop is a VPN tunnel.
    NEXT_HOP_VPN_TUNNEL = 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.
    NEXT_HOP_VPN_GATEWAY = 7

    # Next hop is an internet gateway.
    NEXT_HOP_INTERNET_GATEWAY = 8

    # Next hop is blackhole; that is, the next hop either does not exist or is
    # unusable.
    NEXT_HOP_BLACKHOLE = 9

    # Next hop is the forwarding rule of an Internal Load Balancer.
    NEXT_HOP_ILB = 10

    # Next hop is a
    # [router appliance
    # instance](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/ra-overview).
    NEXT_HOP_ROUTER_APPLIANCE = 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.
    NEXT_HOP_NCC_HUB = 12

    # Next hop is Secure Web Proxy Gateway.
    SECURE_WEB_PROXY_GATEWAY = 13
  end

  # Indicates where routes are applicable.
  module RouteScope
    # Unspecified scope. Default value.
    ROUTE_SCOPE_UNSPECIFIED = 0

    # Route is applicable to packets in Network.
    NETWORK = 1

    # Route is applicable to packets using NCC Hub's routing table.
    NCC_HUB = 2
  end
end

#route_scope::Google::Cloud::NetworkManagement::V1::RouteInfo::RouteScope

Deprecated.

This field is deprecated and may be removed in the next major version update.

Returns Indicates where route is applicable. Deprecated, routes with NCC_HUB scope are not included in the trace in new tests.

Returns:



737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 737

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

  # Type of route:
  module RouteType
    # Unspecified type. Default value.
    ROUTE_TYPE_UNSPECIFIED = 0

    # Route is a subnet route automatically created by the system.
    SUBNET = 1

    # Static route created by the user, including the default route to the
    # internet.
    STATIC = 2

    # Dynamic route exchanged between BGP peers.
    DYNAMIC = 3

    # A subnet route received from peering network or NCC Hub.
    PEERING_SUBNET = 4

    # A static route received from peering network.
    PEERING_STATIC = 5

    # A dynamic route received from peering network or NCC Hub.
    PEERING_DYNAMIC = 6

    # Policy based route.
    POLICY_BASED = 7

    # Advertised route. Synthetic route which is used to transition from the
    # StartFromPrivateNetwork state in Connectivity tests.
    ADVERTISED = 101
  end

  # Type of next hop:
  module NextHopType
    # Unspecified type. Default value.
    NEXT_HOP_TYPE_UNSPECIFIED = 0

    # Next hop is an IP address.
    NEXT_HOP_IP = 1

    # Next hop is a Compute Engine instance.
    NEXT_HOP_INSTANCE = 2

    # Next hop is a VPC network gateway.
    NEXT_HOP_NETWORK = 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.
    NEXT_HOP_PEERING = 4

    # Next hop is an interconnect.
    NEXT_HOP_INTERCONNECT = 5

    # Next hop is a VPN tunnel.
    NEXT_HOP_VPN_TUNNEL = 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.
    NEXT_HOP_VPN_GATEWAY = 7

    # Next hop is an internet gateway.
    NEXT_HOP_INTERNET_GATEWAY = 8

    # Next hop is blackhole; that is, the next hop either does not exist or is
    # unusable.
    NEXT_HOP_BLACKHOLE = 9

    # Next hop is the forwarding rule of an Internal Load Balancer.
    NEXT_HOP_ILB = 10

    # Next hop is a
    # [router appliance
    # instance](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/ra-overview).
    NEXT_HOP_ROUTER_APPLIANCE = 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.
    NEXT_HOP_NCC_HUB = 12

    # Next hop is Secure Web Proxy Gateway.
    SECURE_WEB_PROXY_GATEWAY = 13
  end

  # Indicates where routes are applicable.
  module RouteScope
    # Unspecified scope. Default value.
    ROUTE_SCOPE_UNSPECIFIED = 0

    # Route is applicable to packets in Network.
    NETWORK = 1

    # Route is applicable to packets using NCC Hub's routing table.
    NCC_HUB = 2
  end
end

#route_type::Google::Cloud::NetworkManagement::V1::RouteInfo::RouteType

Returns Type of route.



737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 737

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

  # Type of route:
  module RouteType
    # Unspecified type. Default value.
    ROUTE_TYPE_UNSPECIFIED = 0

    # Route is a subnet route automatically created by the system.
    SUBNET = 1

    # Static route created by the user, including the default route to the
    # internet.
    STATIC = 2

    # Dynamic route exchanged between BGP peers.
    DYNAMIC = 3

    # A subnet route received from peering network or NCC Hub.
    PEERING_SUBNET = 4

    # A static route received from peering network.
    PEERING_STATIC = 5

    # A dynamic route received from peering network or NCC Hub.
    PEERING_DYNAMIC = 6

    # Policy based route.
    POLICY_BASED = 7

    # Advertised route. Synthetic route which is used to transition from the
    # StartFromPrivateNetwork state in Connectivity tests.
    ADVERTISED = 101
  end

  # Type of next hop:
  module NextHopType
    # Unspecified type. Default value.
    NEXT_HOP_TYPE_UNSPECIFIED = 0

    # Next hop is an IP address.
    NEXT_HOP_IP = 1

    # Next hop is a Compute Engine instance.
    NEXT_HOP_INSTANCE = 2

    # Next hop is a VPC network gateway.
    NEXT_HOP_NETWORK = 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.
    NEXT_HOP_PEERING = 4

    # Next hop is an interconnect.
    NEXT_HOP_INTERCONNECT = 5

    # Next hop is a VPN tunnel.
    NEXT_HOP_VPN_TUNNEL = 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.
    NEXT_HOP_VPN_GATEWAY = 7

    # Next hop is an internet gateway.
    NEXT_HOP_INTERNET_GATEWAY = 8

    # Next hop is blackhole; that is, the next hop either does not exist or is
    # unusable.
    NEXT_HOP_BLACKHOLE = 9

    # Next hop is the forwarding rule of an Internal Load Balancer.
    NEXT_HOP_ILB = 10

    # Next hop is a
    # [router appliance
    # instance](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/ra-overview).
    NEXT_HOP_ROUTER_APPLIANCE = 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.
    NEXT_HOP_NCC_HUB = 12

    # Next hop is Secure Web Proxy Gateway.
    SECURE_WEB_PROXY_GATEWAY = 13
  end

  # Indicates where routes are applicable.
  module RouteScope
    # Unspecified scope. Default value.
    ROUTE_SCOPE_UNSPECIFIED = 0

    # Route is applicable to packets in Network.
    NETWORK = 1

    # Route is applicable to packets using NCC Hub's routing table.
    NCC_HUB = 2
  end
end

#src_ip_range::String

Returns Source IP address range of the route. POLICY_BASED routes only.

Returns:

  • (::String)

    Source IP address range of the route. POLICY_BASED routes only.



737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 737

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

  # Type of route:
  module RouteType
    # Unspecified type. Default value.
    ROUTE_TYPE_UNSPECIFIED = 0

    # Route is a subnet route automatically created by the system.
    SUBNET = 1

    # Static route created by the user, including the default route to the
    # internet.
    STATIC = 2

    # Dynamic route exchanged between BGP peers.
    DYNAMIC = 3

    # A subnet route received from peering network or NCC Hub.
    PEERING_SUBNET = 4

    # A static route received from peering network.
    PEERING_STATIC = 5

    # A dynamic route received from peering network or NCC Hub.
    PEERING_DYNAMIC = 6

    # Policy based route.
    POLICY_BASED = 7

    # Advertised route. Synthetic route which is used to transition from the
    # StartFromPrivateNetwork state in Connectivity tests.
    ADVERTISED = 101
  end

  # Type of next hop:
  module NextHopType
    # Unspecified type. Default value.
    NEXT_HOP_TYPE_UNSPECIFIED = 0

    # Next hop is an IP address.
    NEXT_HOP_IP = 1

    # Next hop is a Compute Engine instance.
    NEXT_HOP_INSTANCE = 2

    # Next hop is a VPC network gateway.
    NEXT_HOP_NETWORK = 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.
    NEXT_HOP_PEERING = 4

    # Next hop is an interconnect.
    NEXT_HOP_INTERCONNECT = 5

    # Next hop is a VPN tunnel.
    NEXT_HOP_VPN_TUNNEL = 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.
    NEXT_HOP_VPN_GATEWAY = 7

    # Next hop is an internet gateway.
    NEXT_HOP_INTERNET_GATEWAY = 8

    # Next hop is blackhole; that is, the next hop either does not exist or is
    # unusable.
    NEXT_HOP_BLACKHOLE = 9

    # Next hop is the forwarding rule of an Internal Load Balancer.
    NEXT_HOP_ILB = 10

    # Next hop is a
    # [router appliance
    # instance](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/ra-overview).
    NEXT_HOP_ROUTER_APPLIANCE = 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.
    NEXT_HOP_NCC_HUB = 12

    # Next hop is Secure Web Proxy Gateway.
    SECURE_WEB_PROXY_GATEWAY = 13
  end

  # Indicates where routes are applicable.
  module RouteScope
    # Unspecified scope. Default value.
    ROUTE_SCOPE_UNSPECIFIED = 0

    # Route is applicable to packets in Network.
    NETWORK = 1

    # Route is applicable to packets using NCC Hub's routing table.
    NCC_HUB = 2
  end
end

#src_port_ranges::Array<::String>

Returns Source port ranges of the route. POLICY_BASED routes only.

Returns:

  • (::Array<::String>)

    Source port ranges of the route. POLICY_BASED routes only.



737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 737

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

  # Type of route:
  module RouteType
    # Unspecified type. Default value.
    ROUTE_TYPE_UNSPECIFIED = 0

    # Route is a subnet route automatically created by the system.
    SUBNET = 1

    # Static route created by the user, including the default route to the
    # internet.
    STATIC = 2

    # Dynamic route exchanged between BGP peers.
    DYNAMIC = 3

    # A subnet route received from peering network or NCC Hub.
    PEERING_SUBNET = 4

    # A static route received from peering network.
    PEERING_STATIC = 5

    # A dynamic route received from peering network or NCC Hub.
    PEERING_DYNAMIC = 6

    # Policy based route.
    POLICY_BASED = 7

    # Advertised route. Synthetic route which is used to transition from the
    # StartFromPrivateNetwork state in Connectivity tests.
    ADVERTISED = 101
  end

  # Type of next hop:
  module NextHopType
    # Unspecified type. Default value.
    NEXT_HOP_TYPE_UNSPECIFIED = 0

    # Next hop is an IP address.
    NEXT_HOP_IP = 1

    # Next hop is a Compute Engine instance.
    NEXT_HOP_INSTANCE = 2

    # Next hop is a VPC network gateway.
    NEXT_HOP_NETWORK = 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.
    NEXT_HOP_PEERING = 4

    # Next hop is an interconnect.
    NEXT_HOP_INTERCONNECT = 5

    # Next hop is a VPN tunnel.
    NEXT_HOP_VPN_TUNNEL = 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.
    NEXT_HOP_VPN_GATEWAY = 7

    # Next hop is an internet gateway.
    NEXT_HOP_INTERNET_GATEWAY = 8

    # Next hop is blackhole; that is, the next hop either does not exist or is
    # unusable.
    NEXT_HOP_BLACKHOLE = 9

    # Next hop is the forwarding rule of an Internal Load Balancer.
    NEXT_HOP_ILB = 10

    # Next hop is a
    # [router appliance
    # instance](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/ra-overview).
    NEXT_HOP_ROUTER_APPLIANCE = 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.
    NEXT_HOP_NCC_HUB = 12

    # Next hop is Secure Web Proxy Gateway.
    SECURE_WEB_PROXY_GATEWAY = 13
  end

  # Indicates where routes are applicable.
  module RouteScope
    # Unspecified scope. Default value.
    ROUTE_SCOPE_UNSPECIFIED = 0

    # Route is applicable to packets in Network.
    NETWORK = 1

    # Route is applicable to packets using NCC Hub's routing table.
    NCC_HUB = 2
  end
end

#uri::String

Returns URI of a route. SUBNET, STATIC, PEERING_SUBNET (only for peering network) and POLICY_BASED routes only.

Returns:

  • (::String)

    URI of a route. SUBNET, STATIC, PEERING_SUBNET (only for peering network) and POLICY_BASED routes only.



737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 737

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

  # Type of route:
  module RouteType
    # Unspecified type. Default value.
    ROUTE_TYPE_UNSPECIFIED = 0

    # Route is a subnet route automatically created by the system.
    SUBNET = 1

    # Static route created by the user, including the default route to the
    # internet.
    STATIC = 2

    # Dynamic route exchanged between BGP peers.
    DYNAMIC = 3

    # A subnet route received from peering network or NCC Hub.
    PEERING_SUBNET = 4

    # A static route received from peering network.
    PEERING_STATIC = 5

    # A dynamic route received from peering network or NCC Hub.
    PEERING_DYNAMIC = 6

    # Policy based route.
    POLICY_BASED = 7

    # Advertised route. Synthetic route which is used to transition from the
    # StartFromPrivateNetwork state in Connectivity tests.
    ADVERTISED = 101
  end

  # Type of next hop:
  module NextHopType
    # Unspecified type. Default value.
    NEXT_HOP_TYPE_UNSPECIFIED = 0

    # Next hop is an IP address.
    NEXT_HOP_IP = 1

    # Next hop is a Compute Engine instance.
    NEXT_HOP_INSTANCE = 2

    # Next hop is a VPC network gateway.
    NEXT_HOP_NETWORK = 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.
    NEXT_HOP_PEERING = 4

    # Next hop is an interconnect.
    NEXT_HOP_INTERCONNECT = 5

    # Next hop is a VPN tunnel.
    NEXT_HOP_VPN_TUNNEL = 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.
    NEXT_HOP_VPN_GATEWAY = 7

    # Next hop is an internet gateway.
    NEXT_HOP_INTERNET_GATEWAY = 8

    # Next hop is blackhole; that is, the next hop either does not exist or is
    # unusable.
    NEXT_HOP_BLACKHOLE = 9

    # Next hop is the forwarding rule of an Internal Load Balancer.
    NEXT_HOP_ILB = 10

    # Next hop is a
    # [router appliance
    # instance](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/ra-overview).
    NEXT_HOP_ROUTER_APPLIANCE = 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.
    NEXT_HOP_NCC_HUB = 12

    # Next hop is Secure Web Proxy Gateway.
    SECURE_WEB_PROXY_GATEWAY = 13
  end

  # Indicates where routes are applicable.
  module RouteScope
    # Unspecified scope. Default value.
    ROUTE_SCOPE_UNSPECIFIED = 0

    # Route is applicable to packets in Network.
    NETWORK = 1

    # Route is applicable to packets using NCC Hub's routing table.
    NCC_HUB = 2
  end
end