Method: networks.list
Stay organized with collections
Save and categorize content based on your preferences.
HTTP request
GET https://middlemileoptimization.googleapis.com/v1/networks
The URL uses gRPC Transcoding syntax.
Query parameters
Parameters |
pageSize |
integer
Optional. The maximum number of networks to return. The service may return fewer than this value. If unspecified, at most 50 networks will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
|
pageToken |
string
Optional. A page token, received from a previous networks.list call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to networks.list must match the call that provided the page token.
|
Request body
The request body must be empty.
Response body
The response message for networks.list
method.
If successful, the response body contains data with the following structure:
JSON representation |
{
"networks": [
{
object (Network )
}
],
"nextPageToken": string
} |
Fields |
networks[] |
object (Network )
The list of networks.
|
nextPageToken |
string
A token, which can be sent as pageToken to retrieve the next page. If this field is omitted, there are no subsequent pages.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-14 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-14 UTC."],[[["\u003cp\u003eLists existing Middle Mile Optimization networks.\u003c/p\u003e\n"],["\u003cp\u003eAllows for pagination to retrieve large sets of networks.\u003c/p\u003e\n"],["\u003cp\u003eThe maximum number of networks returned in a single request is 1000.\u003c/p\u003e\n"],["\u003cp\u003eEach network is represented by a \u003ccode\u003eNetwork\u003c/code\u003e object containing its details.\u003c/p\u003e\n"]]],["The core action is listing networks via an HTTP GET request to `https://middlemileoptimization.googleapis.com/v1/networks`. The request can include optional query parameters: `pageSize` (to limit results, up to 1000) and `pageToken` (for pagination). The request body must be empty. A successful response contains a list of network objects in a `\"networks\"` field, and an optional `\"nextPageToken\"` for retrieving further pages.\n"],null,[]]