PathSegment
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Reprezentuje część ścieżki, która może zostać wysłana przez klienta interfejsu API na serwer API (np. zmiana stanu) lub przez serwer API do klienta korzystającego z interfejsu API (np. w celu kierowania wysyłki).
| Zapis JSON |
{
"sourceHub": string,
"destinationHub": string,
"line": string,
"lineRotation": string,
"vehicle": string
} |
| Pola |
sourceHub |
string
Wymagane. Źródło segmentu.
|
destinationHub |
string
Wymagane. Miejsce docelowe segmentu.
|
line |
string
Wymagane. Linia obserwowana w tym segmencie.
|
lineRotation |
string
Wymagane. Rotacja tego segmentu jest śledzona.
|
vehicle |
string
Wymagane. Pojazd, a następnie ten segment.
|
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-09-12 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-09-12 UTC."],[],["This content defines a path segment, detailing its structure and fields. It utilizes a JSON format with five required string fields: `sourceHub`, `destinationHub`, `line`, `lineRotation`, and `vehicle`. These fields respectively identify the segment's origin, destination, the route being taken, the direction of travel on that route, and the specific vehicle in use. This segment is exchanged between the API server and its customer to indicate movements or changes.\n"]]