Reference documentation and code samples for the Google Cloud Network Connectivity V1 Client class ListRoutesResponse.
Response for HubService.ListRoutes method.
Generated from protobuf message google.cloud.networkconnectivity.v1.ListRoutesResponse
Namespace
Google \ Cloud \ NetworkConnectivity \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ routes |
array<Route>
The requested routes. |
↳ next_page_token |
string
The token for the next page of the response. To see more results, use this value as the page_token for your next request. If this value is empty, there are no more results. |
↳ unreachable |
array
RouteTables that could not be reached. |
getRoutes
The requested routes.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setRoutes
The requested routes.
Parameter | |
---|---|
Name | Description |
var |
array<Route>
|
Returns | |
---|---|
Type | Description |
$this |
getNextPageToken
The token for the next page of the response. To see more results, use this value as the page_token for your next request. If this value is empty, there are no more results.
Returns | |
---|---|
Type | Description |
string |
setNextPageToken
The token for the next page of the response. To see more results, use this value as the page_token for your next request. If this value is empty, there are no more results.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getUnreachable
RouteTables that could not be reached.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setUnreachable
RouteTables that could not be reached.
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |