Class: Google::Cloud::NetworkManagement::V1::RouteInfo
- Inherits:
-
Object
- Object
- Google::Cloud::NetworkManagement::V1::RouteInfo
- 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
-
#dest_ip_range ⇒ ::String
Destination IP range of the route.
-
#dest_port_ranges ⇒ ::Array<::String>
Destination port ranges of the route.
-
#display_name ⇒ ::String
Name of a route.
-
#instance_tags ⇒ ::Array<::String>
Instance tags of the route.
-
#ncc_hub_uri ⇒ ::String
URI of a NCC Hub.
-
#ncc_spoke_uri ⇒ ::String
URI of a NCC Spoke.
-
#network_uri ⇒ ::String
URI of a Compute Engine network.
-
#next_hop ⇒ ::String
Next hop of the route.
-
#next_hop_type ⇒ ::Google::Cloud::NetworkManagement::V1::RouteInfo::NextHopType
Type of next hop.
-
#priority ⇒ ::Integer
Priority of the route.
-
#protocols ⇒ ::Array<::String>
Protocols of the route.
-
#route_scope ⇒ ::Google::Cloud::NetworkManagement::V1::RouteInfo::RouteScope
Indicates where route is applicable.
-
#route_type ⇒ ::Google::Cloud::NetworkManagement::V1::RouteInfo::RouteType
Type of route.
-
#src_ip_range ⇒ ::String
Source IP address range of the route.
-
#src_port_ranges ⇒ ::Array<::String>
Source port ranges of the route.
-
#uri ⇒ ::String
URI of a route.
Instance Attribute Details
#dest_ip_range ⇒ ::String
Returns Destination IP range of the route.
417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 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 |
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 417 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.
417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 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 |
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 417 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.
417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 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 |
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 417 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.
417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 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 |
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 417 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.
417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 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 |
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 417 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.
417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 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 |
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 417 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.
417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 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 |
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 417 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.
417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 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 |
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 417 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.
417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 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 |
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 417 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.
417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 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 |
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 417 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.
417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 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 |
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 417 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.
417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 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 |
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 417 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.
417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 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 |
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 417 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.
417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 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 |
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 417 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.
417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 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 |
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 417 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.
417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 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 |
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 417 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 |