Network Management V1 API - Class Google::Cloud::NetworkManagement::V1::RouteInfo (v0.12.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

#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.

#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. 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.

#uri=

def uri=(value) -> ::String
Parameter
  • value (::String) — URI of a route. Dynamic, peering static and peering dynamic routes do not have an URI. Advertised route from Google Cloud VPC to on-premises network also does not have an URI.
Returns
  • (::String) — URI of a route. Dynamic, peering static and peering dynamic routes do not have an URI. Advertised route from Google Cloud VPC to on-premises network also does not have an URI.