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

#display_name

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

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::String) — Name of a Compute Engine route.
Returns
  • (::String) — Name of a Compute Engine 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.

#network_uri

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

#network_uri=

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

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

#route_type

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

#route_type=

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

#uri

def uri() -> ::String
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.

#uri=

def uri=(value) -> ::String
Parameter
  • value (::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.
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.