Reference documentation and code samples for the Google Cloud Vmware Engine V1 Client class PeeringRoute.
Exchanged network peering route.
Generated from protobuf message google.cloud.vmwareengine.v1.PeeringRoute
Namespace
Google \ Cloud \ VmwareEngine \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ dest_range
string
Output only. Destination range of the peering route in CIDR notation.
↳ type
int
Output only. Type of the route in the peer VPC network.
↳ next_hop_region
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
int|string
Output only. The priority of the peering route.
↳ imported
bool
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.
↳ direction
int
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.
getDestRange
Output only. Destination range of the peering route in CIDR notation.
string
setDestRange
Output only. Destination range of the peering route in CIDR notation.
var
string
$this
getType
Output only. Type of the route in the peer VPC network.
int
setType
Output only. Type of the route in the peer VPC network.
var
int
$this
getNextHopRegion
Output only. Region containing the next hop of the peering route. This field only applies to dynamic routes in the peer VPC network.
string
setNextHopRegion
Output only. Region containing the next hop of the peering route. This field only applies to dynamic routes in the peer VPC network.
var
string
$this
getPriority
Output only. The priority of the peering route.
int|string
setPriority
Output only. The priority of the peering route.
var
int|string
$this
getImported
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.
bool
setImported
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.
var
bool
$this
getDirection
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.
int
setDirection
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.
var
int
$this