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

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

Overview

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

Defined Under Namespace

Modules: NextHopType, RouteType

Instance Attribute Summary collapse

Instance Attribute Details

#dest_ip_range::String

Returns Destination IP range of the route.

Returns:

  • (::String)

    Destination IP range of the route.



344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 344

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
  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
  end
end

#display_name::String

Returns Name of a Compute Engine route.

Returns:

  • (::String)

    Name of a Compute Engine route.



344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 344

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
  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
  end
end

#instance_tags::Array<::String>

Returns Instance tags of the route.

Returns:

  • (::Array<::String>)

    Instance tags of the route.



344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 344

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
  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
  end
end

#network_uri::String

Returns URI of a Compute Engine network.

Returns:

  • (::String)

    URI of a Compute Engine network.



344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 344

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
  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
  end
end

#next_hop::String

Returns Next hop of the route.

Returns:

  • (::String)

    Next hop of the route.



344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 344

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
  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
  end
end

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

Returns Type of next hop.



344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 344

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
  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
  end
end

#priority::Integer

Returns Priority of the route.

Returns:

  • (::Integer)

    Priority of the route.



344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 344

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
  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
  end
end

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

Returns Type of route.



344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 344

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
  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
  end
end

#uri::String

Returns URI of a Compute Engine route. Dynamic route from cloud router does not have a URI. Advertised route from Google Cloud VPC to on-premises network also does not have a URI.

Returns:

  • (::String)

    URI of a Compute Engine route. Dynamic route from cloud router does not have a URI. Advertised route from Google Cloud VPC to on-premises network also does not have a URI.



344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 344

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
  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
  end
end