REST Resource: networks.line
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Zasób: wiersz
Linia obsługiwana z określoną częstotliwością.
| Zapis JSON |
{
"name": string,
"hubIds": [
string
]
} |
| Pola |
name |
string
Wymagane. Identyfikator. Tego ustawienia nie można później zmienić.
|
hubIds[] |
string
Wymagane. Lista koncentratorów, do których wzywa się ta linia, w kolejności, w jakiej się zatrzymują pojazdy.
|
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-08-23 UTC.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2024-08-23 UTC."],[],["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"]]