REST Resource: networks.line
Stay organized with collections
Save and categorize content based on your preferences.
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.
|
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 2024-08-06 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 2024-08-06 UTC."],[[["A Line represents a route operated at a specific frequency, connecting a series of hubs."],["Lines are defined by a unique name and an ordered list of hub identifiers (`hubIds`)."],["You can create new Lines using the `create` method, but the name cannot be changed once set."]]],["A Line, representing an operated route at a specific frequency, is defined by a unique `name` (identifier) and a required ordered list of `hubIds`. The `name` cannot be updated. The `hubIds` list specifies the order of hubs where vehicles stop. A Line can be created using the provided `create` method. Its JSON representation uses the `name` as a string and the `hubIds` as an array of strings.\n"]]