Page Summary
-
Lists line rotations, which represent different configurations of a line in a network.
-
Allows filtering by network and line using the
parentpath parameter. -
Supports pagination with
pageSizeandpageTokenfor retrieving large result sets. -
Returns a list of LineRotation objects and a token for accessing the next page, if available.
Lists the LineRotations.
HTTP request
GET https://middlemileoptimization.googleapis.com/v1/{parent=networks/*/lines/*}/rotations
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
parent |
Required. The parent, which owns this collection of line rotations. Format: "networks/{network}/lines/{line}" |
Query parameters
| Parameters | |
|---|---|
page |
Optional. The maximum number of line rotations to return. The service may return fewer than this value. If unspecified, at most 50 LineRotations will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. |
page |
Optional. A page token, received from a previous When paginating, all other parameters provided to |
Request body
The request body must be empty.
Response body
The response message for rotations.list method.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"lineRotations": [
{
object ( |
| Fields | |
|---|---|
line |
The line rotations from the specified network and line. |
next |
A token, which can be sent as |