# REST Resource: networks.line

## Resource: Line

A line that is being operated at a given frequency.

| JSON representation |
|---|
| ``` { "name": string, "hubIds": [ string ] } ``` |

| Fields ||
|---|---|
| `name` | `string` Required. Identifier. Cannot be updated. |
| `hubIds[]` | `string` Required. List of hubs that this line calls at, in the order vehicles stop at them. |

| ## Methods ||
|---|---|
| ### `https://developers.google.com/optimization/middlemileoptimization/reference/rest/v1/networks.line/create` | Creates a Line. |