Depot Schema
Model
Depot
Depot =
object
The depot data. All depots in the API will have this format.
Example
{
"id": "depots/zeOCJaJCzZhpKVCVAC9o",
"name": "Depot 1",
}
Properties
| Property | Type | Description |
|---|---|---|
|
This depot's unique identifier in the API. | ||
|
|
This depot's name. | |
|
|
Defaults given to routes originating from this depot. |
Identifier
DepotId
DepotId =
`depots/${string}`
A depot id is a string that is unique for a depot. It is used to identify the depot in the API.
Example
"depot/0xBYy4MYt4piMCSQEsts"
Type Aliases
DepotRouteOverrides
DepotRouteOverrides =
object
Properties
| Property | Type | Description |
|---|---|---|
|
|
The default start time given to routes originating from this depot. | |
|
The location of the depot, this will be used as the default start address for routes originating from this depot. | ||
|
|
For non-round-trip routes, the end address will be used for the end stop. Optional. Default | |
|
|
The default end time given to routes originating from this depot. Default | |
|
|
Estimated time at the stop. Default | |
|
|
Maximum number of stops per driver. Note: Premium only feature. Default | |
|
|
Default vehicle type. Note: Premium only feature. Default | |
|
|
Default side of road. Note: Premium only feature. Default | |
|
|
Return to start address at end of route. Default |
DepotAddress
DepotAddress =
object
Properties
| Property | Type | Description |
|---|---|---|
|
|
The full address of the stop. | |
|
|
First line of the address. Default | |
|
|
Second line of the address. Default | |
|
|
Latitude coordinate of the stop location in decimal degrees. Default | |
|
|
Longitude coordinate of the stop location in decimal degrees. Default | |
|
|
The identifier of the Place corresponding to this stop on Google Places. Default | |
|
|
The country code of the address. |
RoadSideOption
RoadSideOption =
"any"|"left_only"|"right_only"