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.
Parameters | |
---|---|
Name | Description |
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 |
↳ direction |
int
Output only. Direction of the routes exchanged with the peer network, from the VMware Engine network perspective: * Routes of direction |
getDestRange
Output only. Destination range of the peering route in CIDR notation.
Returns | |
---|---|
Type | Description |
string |
setDestRange
Output only. Destination range of the peering route in CIDR notation.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getType
Output only. Type of the route in the peer VPC network.
Returns | |
---|---|
Type | Description |
int |
setType
Output only. Type of the route in the peer VPC network.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$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.
Returns | |
---|---|
Type | Description |
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.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getPriority
Output only. The priority of the peering route.
Returns | |
---|---|
Type | Description |
int|string |
setPriority
Output only. The priority of the peering route.
Parameter | |
---|---|
Name | Description |
var |
int|string
|
Returns | |
---|---|
Type | Description |
$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.
Returns | |
---|---|
Type | Description |
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.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$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.
Returns | |
---|---|
Type | Description |
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.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |