Reference documentation and code samples for the Compute V1 Client class RouterStatus.
Generated from protobuf message google.cloud.compute.v1.RouterStatus
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ best_routes |
array<Google\Cloud\Compute\V1\Route>
Best routes for this router's network. |
↳ best_routes_for_router |
array<Google\Cloud\Compute\V1\Route>
Best routes learned by this router. |
↳ bgp_peer_status |
array<Google\Cloud\Compute\V1\RouterStatusBgpPeerStatus>
|
↳ nat_status |
array<Google\Cloud\Compute\V1\RouterStatusNatStatus>
|
↳ network |
string
URI of the network to which this router belongs. |
getBestRoutes
Best routes for this router's network.
Generated from protobuf field repeated .google.cloud.compute.v1.Route best_routes = 395826693;
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setBestRoutes
Best routes for this router's network.
Generated from protobuf field repeated .google.cloud.compute.v1.Route best_routes = 395826693;
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\Compute\V1\Route>
|
Returns | |
---|---|
Type | Description |
$this |
getBestRoutesForRouter
Best routes learned by this router.
Generated from protobuf field repeated .google.cloud.compute.v1.Route best_routes_for_router = 119389689;
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setBestRoutesForRouter
Best routes learned by this router.
Generated from protobuf field repeated .google.cloud.compute.v1.Route best_routes_for_router = 119389689;
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\Compute\V1\Route>
|
Returns | |
---|---|
Type | Description |
$this |
getBgpPeerStatus
Generated from protobuf field repeated .google.cloud.compute.v1.RouterStatusBgpPeerStatus bgp_peer_status = 218459131;
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setBgpPeerStatus
Generated from protobuf field repeated .google.cloud.compute.v1.RouterStatusBgpPeerStatus bgp_peer_status = 218459131;
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\Compute\V1\RouterStatusBgpPeerStatus>
|
Returns | |
---|---|
Type | Description |
$this |
getNatStatus
Generated from protobuf field repeated .google.cloud.compute.v1.RouterStatusNatStatus nat_status = 63098064;
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setNatStatus
Generated from protobuf field repeated .google.cloud.compute.v1.RouterStatusNatStatus nat_status = 63098064;
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\Compute\V1\RouterStatusNatStatus>
|
Returns | |
---|---|
Type | Description |
$this |
getNetwork
URI of the network to which this router belongs.
Generated from protobuf field optional string network = 232872494;
Returns | |
---|---|
Type | Description |
string |
hasNetwork
clearNetwork
setNetwork
URI of the network to which this router belongs.
Generated from protobuf field optional string network = 232872494;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |