Network Management V1 API - Class Google::Cloud::NetworkManagement::V1::RouteInfo (v1.1.0)

Reference documentation and code samples for the Network Management V1 API class Google::Cloud::NetworkManagement::V1::RouteInfo.

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#advertised_route_next_hop_uri

def advertised_route_next_hop_uri() -> ::String
Returns
  • (::String) — For advertised routes, the URI of their next hop, i.e. the URI of the hybrid endpoint (VPN tunnel, Interconnect attachment, NCC router appliance) the advertised prefix is advertised through, or URI of the source peered network.

#advertised_route_next_hop_uri=

def advertised_route_next_hop_uri=(value) -> ::String
Parameter
  • value (::String) — For advertised routes, the URI of their next hop, i.e. the URI of the hybrid endpoint (VPN tunnel, Interconnect attachment, NCC router appliance) the advertised prefix is advertised through, or URI of the source peered network.
Returns
  • (::String) — For advertised routes, the URI of their next hop, i.e. the URI of the hybrid endpoint (VPN tunnel, Interconnect attachment, NCC router appliance) the advertised prefix is advertised through, or URI of the source peered network.

#advertised_route_source_router_uri

def advertised_route_source_router_uri() -> ::String
Returns
  • (::String) — For advertised dynamic routes, the URI of the Cloud Router that advertised the corresponding IP prefix.

#advertised_route_source_router_uri=

def advertised_route_source_router_uri=(value) -> ::String
Parameter
  • value (::String) — For advertised dynamic routes, the URI of the Cloud Router that advertised the corresponding IP prefix.
Returns
  • (::String) — For advertised dynamic routes, the URI of the Cloud Router that advertised the corresponding IP prefix.

#dest_ip_range

def dest_ip_range() -> ::String
Returns
  • (::String) — Destination IP range of the route.

#dest_ip_range=

def dest_ip_range=(value) -> ::String
Parameter
  • value (::String) — Destination IP range of the route.
Returns
  • (::String) — Destination IP range of the route.

#dest_port_ranges

def dest_port_ranges() -> ::Array<::String>
Returns
  • (::Array<::String>) — Destination port ranges of the route. Policy based routes only.

#dest_port_ranges=

def dest_port_ranges=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Destination port ranges of the route. Policy based routes only.
Returns
  • (::Array<::String>) — Destination port ranges of the route. Policy based routes only.

#display_name

def display_name() -> ::String
Returns
  • (::String) — Name of a route.

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::String) — Name of a route.
Returns
  • (::String) — Name of a route.

#instance_tags

def instance_tags() -> ::Array<::String>
Returns
  • (::Array<::String>) — Instance tags of the route.

#instance_tags=

def instance_tags=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Instance tags of the route.
Returns
  • (::Array<::String>) — Instance tags of the route.

#ncc_hub_uri

def ncc_hub_uri() -> ::String
Returns
  • (::String) — URI of a NCC Hub. NCC_HUB routes only.

#ncc_hub_uri=

def ncc_hub_uri=(value) -> ::String
Parameter
  • value (::String) — URI of a NCC Hub. NCC_HUB routes only.
Returns
  • (::String) — URI of a NCC Hub. NCC_HUB routes only.

#ncc_spoke_uri

def ncc_spoke_uri() -> ::String
Returns
  • (::String) — URI of a NCC Spoke. NCC_HUB routes only.

#ncc_spoke_uri=

def ncc_spoke_uri=(value) -> ::String
Parameter
  • value (::String) — URI of a NCC Spoke. NCC_HUB routes only.
Returns
  • (::String) — URI of a NCC Spoke. NCC_HUB routes only.

#network_uri

def network_uri() -> ::String
Returns
  • (::String) — URI of a Compute Engine network. NETWORK routes only.

#network_uri=

def network_uri=(value) -> ::String
Parameter
  • value (::String) — URI of a Compute Engine network. NETWORK routes only.
Returns
  • (::String) — URI of a Compute Engine network. NETWORK routes only.

#next_hop

def next_hop() -> ::String
Returns
  • (::String) — Next hop of the route.

#next_hop=

def next_hop=(value) -> ::String
Parameter
  • value (::String) — Next hop of the route.
Returns
  • (::String) — Next hop of the route.

#next_hop_type

def next_hop_type() -> ::Google::Cloud::NetworkManagement::V1::RouteInfo::NextHopType

#next_hop_type=

def next_hop_type=(value) -> ::Google::Cloud::NetworkManagement::V1::RouteInfo::NextHopType
Parameter

#priority

def priority() -> ::Integer
Returns
  • (::Integer) — Priority of the route.

#priority=

def priority=(value) -> ::Integer
Parameter
  • value (::Integer) — Priority of the route.
Returns
  • (::Integer) — Priority of the route.

#protocols

def protocols() -> ::Array<::String>
Returns
  • (::Array<::String>) — Protocols of the route. Policy based routes only.

#protocols=

def protocols=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Protocols of the route. Policy based routes only.
Returns
  • (::Array<::String>) — Protocols of the route. Policy based routes only.

#region

def region() -> ::String
Returns
  • (::String) — Region of the route (if applicable).

#region=

def region=(value) -> ::String
Parameter
  • value (::String) — Region of the route (if applicable).
Returns
  • (::String) — Region of the route (if applicable).

#route_scope

def route_scope() -> ::Google::Cloud::NetworkManagement::V1::RouteInfo::RouteScope
Returns

#route_scope=

def route_scope=(value) -> ::Google::Cloud::NetworkManagement::V1::RouteInfo::RouteScope
Parameter
Returns

#route_type

def route_type() -> ::Google::Cloud::NetworkManagement::V1::RouteInfo::RouteType

#route_type=

def route_type=(value) -> ::Google::Cloud::NetworkManagement::V1::RouteInfo::RouteType

#src_ip_range

def src_ip_range() -> ::String
Returns
  • (::String) — Source IP address range of the route. Policy based routes only.

#src_ip_range=

def src_ip_range=(value) -> ::String
Parameter
  • value (::String) — Source IP address range of the route. Policy based routes only.
Returns
  • (::String) — Source IP address range of the route. Policy based routes only.

#src_port_ranges

def src_port_ranges() -> ::Array<::String>
Returns
  • (::Array<::String>) — Source port ranges of the route. Policy based routes only.

#src_port_ranges=

def src_port_ranges=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Source port ranges of the route. Policy based routes only.
Returns
  • (::Array<::String>) — Source port ranges of the route. Policy based routes only.

#uri

def uri() -> ::String
Returns
  • (::String) — URI of a route (if applicable).

#uri=

def uri=(value) -> ::String
Parameter
  • value (::String) — URI of a route (if applicable).
Returns
  • (::String) — URI of a route (if applicable).