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

#dest_ip_range::String

Returns Destination IP range of the route.

Returns:

  • (::String)

    Destination IP range of the route.



459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 459

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.
    PEERING_SUBNET = 4

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

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

    # Policy based route.
    POLICY_BASED = 7
  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.
    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
    # not running.
    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.
    NEXT_HOP_NCC_HUB = 12
  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.



459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 459

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.
    PEERING_SUBNET = 4

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

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

    # Policy based route.
    POLICY_BASED = 7
  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.
    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
    # not running.
    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.
    NEXT_HOP_NCC_HUB = 12
  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.



459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 459

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.
    PEERING_SUBNET = 4

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

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

    # Policy based route.
    POLICY_BASED = 7
  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.
    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
    # not running.
    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.
    NEXT_HOP_NCC_HUB = 12
  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.



459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 459

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.
    PEERING_SUBNET = 4

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

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

    # Policy based route.
    POLICY_BASED = 7
  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.
    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
    # not running.
    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.
    NEXT_HOP_NCC_HUB = 12
  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 a NCC Hub. NCC_HUB routes only.

Returns:

  • (::String)

    URI of a NCC Hub. NCC_HUB routes only.



459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 459

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.
    PEERING_SUBNET = 4

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

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

    # Policy based route.
    POLICY_BASED = 7
  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.
    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
    # not running.
    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.
    NEXT_HOP_NCC_HUB = 12
  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 a NCC Spoke. NCC_HUB routes only.

Returns:

  • (::String)

    URI of a NCC Spoke. NCC_HUB routes only.



459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 459

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.
    PEERING_SUBNET = 4

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

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

    # Policy based route.
    POLICY_BASED = 7
  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.
    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
    # not running.
    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.
    NEXT_HOP_NCC_HUB = 12
  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 Compute Engine network. NETWORK routes only.

Returns:

  • (::String)

    URI of a Compute Engine network. NETWORK routes only.



459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 459

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.
    PEERING_SUBNET = 4

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

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

    # Policy based route.
    POLICY_BASED = 7
  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.
    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
    # not running.
    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.
    NEXT_HOP_NCC_HUB = 12
  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

Returns Next hop of the route.

Returns:

  • (::String)

    Next hop of the route.



459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 459

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.
    PEERING_SUBNET = 4

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

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

    # Policy based route.
    POLICY_BASED = 7
  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.
    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
    # not running.
    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.
    NEXT_HOP_NCC_HUB = 12
  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.



459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 459

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.
    PEERING_SUBNET = 4

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

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

    # Policy based route.
    POLICY_BASED = 7
  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.
    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
    # not running.
    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.
    NEXT_HOP_NCC_HUB = 12
  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.



459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 459

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.
    PEERING_SUBNET = 4

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

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

    # Policy based route.
    POLICY_BASED = 7
  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.
    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
    # not running.
    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.
    NEXT_HOP_NCC_HUB = 12
  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.



459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 459

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.
    PEERING_SUBNET = 4

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

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

    # Policy based route.
    POLICY_BASED = 7
  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.
    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
    # not running.
    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.
    NEXT_HOP_NCC_HUB = 12
  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

Returns Indicates where route is applicable.

Returns:



459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 459

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.
    PEERING_SUBNET = 4

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

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

    # Policy based route.
    POLICY_BASED = 7
  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.
    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
    # not running.
    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.
    NEXT_HOP_NCC_HUB = 12
  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.



459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 459

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.
    PEERING_SUBNET = 4

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

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

    # Policy based route.
    POLICY_BASED = 7
  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.
    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
    # not running.
    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.
    NEXT_HOP_NCC_HUB = 12
  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.



459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 459

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.
    PEERING_SUBNET = 4

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

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

    # Policy based route.
    POLICY_BASED = 7
  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.
    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
    # not running.
    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.
    NEXT_HOP_NCC_HUB = 12
  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.



459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 459

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.
    PEERING_SUBNET = 4

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

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

    # Policy based route.
    POLICY_BASED = 7
  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.
    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
    # not running.
    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.
    NEXT_HOP_NCC_HUB = 12
  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. Dynamic, peering static and peering dynamic routes do not have an URI. Advertised route from Google Cloud VPC to on-premises network also does not have an URI.

Returns:

  • (::String)

    URI of a route. Dynamic, peering static and peering dynamic routes do not have an URI. Advertised route from Google Cloud VPC to on-premises network also does not have an URI.



459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 459

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.
    PEERING_SUBNET = 4

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

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

    # Policy based route.
    POLICY_BASED = 7
  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.
    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
    # not running.
    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.
    NEXT_HOP_NCC_HUB = 12
  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