Reference documentation and code samples for the Google Cloud VMware Engine V1 API class Google::Cloud::VmwareEngine::V1::PeeringRoute.
Exchanged network peering route.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#dest_range
def dest_range() -> ::String
Returns
- (::String) — Output only. Destination range of the peering route in CIDR notation.
#direction
def direction() -> ::Google::Cloud::VmwareEngine::V1::PeeringRoute::Direction
Returns
-
(::Google::Cloud::VmwareEngine::V1::PeeringRoute::Direction) —
Output only. Direction of the routes exchanged with the peer network, from the VMware Engine network perspective:
- Routes of direction
INCOMING
are imported from the peer network. - Routes of direction
OUTGOING
are exported from the intranet VPC network of the VMware Engine network.
- Routes of direction
#imported
def imported() -> ::Boolean
Returns
-
(::Boolean) — Output only. True if the peering route has been imported from a peered
VPC network; false otherwise. The import happens if the field
NetworkPeering.importCustomRoutes
is true for this network,NetworkPeering.exportCustomRoutes
is true for the peer VPC network, and the import does not result in a route conflict.
#next_hop_region
def next_hop_region() -> ::String
Returns
- (::String) — Output only. Region containing the next hop of the peering route. This field only applies to dynamic routes in the peer VPC network.
#priority
def priority() -> ::Integer
Returns
- (::Integer) — Output only. The priority of the peering route.
#type
def type() -> ::Google::Cloud::VmwareEngine::V1::PeeringRoute::Type
Returns
- (::Google::Cloud::VmwareEngine::V1::PeeringRoute::Type) — Output only. Type of the route in the peer VPC network.