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
-
#advertised_route_next_hop_uri ⇒ ::String
For advertised routes, the URI of their next hop, i.e.
-
#advertised_route_source_router_uri ⇒ ::String
For advertised dynamic routes, the URI of the Cloud Router that advertised the corresponding IP prefix.
-
#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.
-
#region ⇒ ::String
Region of the route (if applicable).
-
#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 (if applicable).
Instance Attribute Details
#advertised_route_next_hop_uri ⇒ ::String
Returns For advertised routes, the URI of their next hop, i.e. the URI of the hybrid endpoint (VPN tunnel, Interconnect attachment, NCC router appliance) the advertised prefix is advertised through, or URI of the source peered network.
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 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 |
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 508 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 # Advertised route. Synthetic route which is used to transition from the # StartFromPrivateNetwork state in Connectivity tests. ADVERTISED = 101 end # Type of next hop: module NextHopType # Unspecified type. Default value. NEXT_HOP_TYPE_UNSPECIFIED = 0 # Next hop is an IP address. NEXT_HOP_IP = 1 # Next hop is a Compute Engine instance. NEXT_HOP_INSTANCE = 2 # Next hop is a VPC network gateway. NEXT_HOP_NETWORK = 3 # Next hop is a peering VPC. 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 |
#advertised_route_source_router_uri ⇒ ::String
Returns For advertised dynamic routes, the URI of the Cloud Router that advertised the corresponding IP prefix.
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 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 |
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 508 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 # Advertised route. Synthetic route which is used to transition from the # StartFromPrivateNetwork state in Connectivity tests. ADVERTISED = 101 end # Type of next hop: module NextHopType # Unspecified type. Default value. NEXT_HOP_TYPE_UNSPECIFIED = 0 # Next hop is an IP address. NEXT_HOP_IP = 1 # Next hop is a Compute Engine instance. NEXT_HOP_INSTANCE = 2 # Next hop is a VPC network gateway. NEXT_HOP_NETWORK = 3 # Next hop is a peering VPC. 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_ip_range ⇒ ::String
Returns Destination IP range of the route.
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 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 |
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 508 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 # Advertised route. Synthetic route which is used to transition from the # StartFromPrivateNetwork state in Connectivity tests. ADVERTISED = 101 end # Type of next hop: module NextHopType # Unspecified type. Default value. NEXT_HOP_TYPE_UNSPECIFIED = 0 # Next hop is an IP address. NEXT_HOP_IP = 1 # Next hop is a Compute Engine instance. NEXT_HOP_INSTANCE = 2 # Next hop is a VPC network gateway. NEXT_HOP_NETWORK = 3 # Next hop is a peering VPC. 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.
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 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 |
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 508 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 # Advertised route. Synthetic route which is used to transition from the # StartFromPrivateNetwork state in Connectivity tests. ADVERTISED = 101 end # Type of next hop: module NextHopType # Unspecified type. Default value. NEXT_HOP_TYPE_UNSPECIFIED = 0 # Next hop is an IP address. NEXT_HOP_IP = 1 # Next hop is a Compute Engine instance. NEXT_HOP_INSTANCE = 2 # Next hop is a VPC network gateway. NEXT_HOP_NETWORK = 3 # Next hop is a peering VPC. 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.
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 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 |
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 508 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 # Advertised route. Synthetic route which is used to transition from the # StartFromPrivateNetwork state in Connectivity tests. ADVERTISED = 101 end # Type of next hop: module NextHopType # Unspecified type. Default value. NEXT_HOP_TYPE_UNSPECIFIED = 0 # Next hop is an IP address. NEXT_HOP_IP = 1 # Next hop is a Compute Engine instance. NEXT_HOP_INSTANCE = 2 # Next hop is a VPC network gateway. NEXT_HOP_NETWORK = 3 # Next hop is a peering VPC. 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.
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 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 |
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 508 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 # Advertised route. Synthetic route which is used to transition from the # StartFromPrivateNetwork state in Connectivity tests. ADVERTISED = 101 end # Type of next hop: module NextHopType # Unspecified type. Default value. NEXT_HOP_TYPE_UNSPECIFIED = 0 # Next hop is an IP address. NEXT_HOP_IP = 1 # Next hop is a Compute Engine instance. NEXT_HOP_INSTANCE = 2 # Next hop is a VPC network gateway. NEXT_HOP_NETWORK = 3 # Next hop is a peering VPC. 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.
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 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 |
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 508 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 # Advertised route. Synthetic route which is used to transition from the # StartFromPrivateNetwork state in Connectivity tests. ADVERTISED = 101 end # Type of next hop: module NextHopType # Unspecified type. Default value. NEXT_HOP_TYPE_UNSPECIFIED = 0 # Next hop is an IP address. NEXT_HOP_IP = 1 # Next hop is a Compute Engine instance. NEXT_HOP_INSTANCE = 2 # Next hop is a VPC network gateway. NEXT_HOP_NETWORK = 3 # Next hop is a peering VPC. 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.
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 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 |
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 508 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 # Advertised route. Synthetic route which is used to transition from the # StartFromPrivateNetwork state in Connectivity tests. ADVERTISED = 101 end # Type of next hop: module NextHopType # Unspecified type. Default value. NEXT_HOP_TYPE_UNSPECIFIED = 0 # Next hop is an IP address. NEXT_HOP_IP = 1 # Next hop is a Compute Engine instance. NEXT_HOP_INSTANCE = 2 # Next hop is a VPC network gateway. NEXT_HOP_NETWORK = 3 # Next hop is a peering VPC. 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.
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 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 |
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 508 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 # Advertised route. Synthetic route which is used to transition from the # StartFromPrivateNetwork state in Connectivity tests. ADVERTISED = 101 end # Type of next hop: module NextHopType # Unspecified type. Default value. NEXT_HOP_TYPE_UNSPECIFIED = 0 # Next hop is an IP address. NEXT_HOP_IP = 1 # Next hop is a Compute Engine instance. NEXT_HOP_INSTANCE = 2 # Next hop is a VPC network gateway. NEXT_HOP_NETWORK = 3 # Next hop is a peering VPC. 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.
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 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 |
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 508 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 # Advertised route. Synthetic route which is used to transition from the # StartFromPrivateNetwork state in Connectivity tests. ADVERTISED = 101 end # Type of next hop: module NextHopType # Unspecified type. Default value. NEXT_HOP_TYPE_UNSPECIFIED = 0 # Next hop is an IP address. NEXT_HOP_IP = 1 # Next hop is a Compute Engine instance. NEXT_HOP_INSTANCE = 2 # Next hop is a VPC network gateway. NEXT_HOP_NETWORK = 3 # Next hop is a peering VPC. 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.
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 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 |
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 508 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 # Advertised route. Synthetic route which is used to transition from the # StartFromPrivateNetwork state in Connectivity tests. ADVERTISED = 101 end # Type of next hop: module NextHopType # Unspecified type. Default value. NEXT_HOP_TYPE_UNSPECIFIED = 0 # Next hop is an IP address. NEXT_HOP_IP = 1 # Next hop is a Compute Engine instance. NEXT_HOP_INSTANCE = 2 # Next hop is a VPC network gateway. NEXT_HOP_NETWORK = 3 # Next hop is a peering VPC. 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.
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 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 |
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 508 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 # Advertised route. Synthetic route which is used to transition from the # StartFromPrivateNetwork state in Connectivity tests. ADVERTISED = 101 end # Type of next hop: module NextHopType # Unspecified type. Default value. NEXT_HOP_TYPE_UNSPECIFIED = 0 # Next hop is an IP address. NEXT_HOP_IP = 1 # Next hop is a Compute Engine instance. NEXT_HOP_INSTANCE = 2 # Next hop is a VPC network gateway. NEXT_HOP_NETWORK = 3 # Next hop is a peering VPC. 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.
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 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 |
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 508 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 # Advertised route. Synthetic route which is used to transition from the # StartFromPrivateNetwork state in Connectivity tests. ADVERTISED = 101 end # Type of next hop: module NextHopType # Unspecified type. Default value. NEXT_HOP_TYPE_UNSPECIFIED = 0 # Next hop is an IP address. NEXT_HOP_IP = 1 # Next hop is a Compute Engine instance. NEXT_HOP_INSTANCE = 2 # Next hop is a VPC network gateway. NEXT_HOP_NETWORK = 3 # Next hop is a peering VPC. 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 |
#region ⇒ ::String
Returns Region of the route (if applicable).
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 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 |
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 508 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 # Advertised route. Synthetic route which is used to transition from the # StartFromPrivateNetwork state in Connectivity tests. ADVERTISED = 101 end # Type of next hop: module NextHopType # Unspecified type. Default value. NEXT_HOP_TYPE_UNSPECIFIED = 0 # Next hop is an IP address. NEXT_HOP_IP = 1 # Next hop is a Compute Engine instance. NEXT_HOP_INSTANCE = 2 # Next hop is a VPC network gateway. NEXT_HOP_NETWORK = 3 # Next hop is a peering VPC. 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.
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 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 |
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 508 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 # Advertised route. Synthetic route which is used to transition from the # StartFromPrivateNetwork state in Connectivity tests. ADVERTISED = 101 end # Type of next hop: module NextHopType # Unspecified type. Default value. NEXT_HOP_TYPE_UNSPECIFIED = 0 # Next hop is an IP address. NEXT_HOP_IP = 1 # Next hop is a Compute Engine instance. NEXT_HOP_INSTANCE = 2 # Next hop is a VPC network gateway. NEXT_HOP_NETWORK = 3 # Next hop is a peering VPC. 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.
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 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 |
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 508 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 # Advertised route. Synthetic route which is used to transition from the # StartFromPrivateNetwork state in Connectivity tests. ADVERTISED = 101 end # Type of next hop: module NextHopType # Unspecified type. Default value. NEXT_HOP_TYPE_UNSPECIFIED = 0 # Next hop is an IP address. NEXT_HOP_IP = 1 # Next hop is a Compute Engine instance. NEXT_HOP_INSTANCE = 2 # Next hop is a VPC network gateway. NEXT_HOP_NETWORK = 3 # Next hop is a peering VPC. 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.
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 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 |
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 508 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 # Advertised route. Synthetic route which is used to transition from the # StartFromPrivateNetwork state in Connectivity tests. ADVERTISED = 101 end # Type of next hop: module NextHopType # Unspecified type. Default value. NEXT_HOP_TYPE_UNSPECIFIED = 0 # Next hop is an IP address. NEXT_HOP_IP = 1 # Next hop is a Compute Engine instance. NEXT_HOP_INSTANCE = 2 # Next hop is a VPC network gateway. NEXT_HOP_NETWORK = 3 # Next hop is a peering VPC. 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.
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 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 |
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 508 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 # Advertised route. Synthetic route which is used to transition from the # StartFromPrivateNetwork state in Connectivity tests. ADVERTISED = 101 end # Type of next hop: module NextHopType # Unspecified type. Default value. NEXT_HOP_TYPE_UNSPECIFIED = 0 # Next hop is an IP address. NEXT_HOP_IP = 1 # Next hop is a Compute Engine instance. NEXT_HOP_INSTANCE = 2 # Next hop is a VPC network gateway. NEXT_HOP_NETWORK = 3 # Next hop is a peering VPC. 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 (if applicable).
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 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 |
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 508 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 # Advertised route. Synthetic route which is used to transition from the # StartFromPrivateNetwork state in Connectivity tests. ADVERTISED = 101 end # Type of next hop: module NextHopType # Unspecified type. Default value. NEXT_HOP_TYPE_UNSPECIFIED = 0 # Next hop is an IP address. NEXT_HOP_IP = 1 # Next hop is a Compute Engine instance. NEXT_HOP_INSTANCE = 2 # Next hop is a VPC network gateway. NEXT_HOP_NETWORK = 3 # Next hop is a peering VPC. 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 |