Operatingarea#
Note
Viewing documentation for the current version v1beta1.
The required Protobuf definitions can be downloaded here:
OperatingAreaService#
This service provides methods to query the MOIA operating areas.
ListOperatingAreas#
rpc
ListOperatingAreas(ListOperatingAreasRequest) returns (ListOperatingAreasResponse)
List all operating areas.
GetOperatingArea#
rpc
GetOperatingArea(GetOperatingAreaRequest) returns (GetOperatingAreaResponse)
Get a specific operating area by its ID.
UpdateOperatingArea#
rpc
UpdateOperatingArea(UpdateOperatingAreaRequest) returns (UpdateOperatingAreaResponse)
Update an existing operating area.
Messages#
GetOperatingAreaRequest#
Request message for GetOperatingArea.
Field |
Type |
Description |
|---|---|---|
|
string |
Unique identifier for the operating area as UUIDv4. |
GetOperatingAreaResponse#
Response message for GetOperatingArea.
Field |
Type |
Description |
|---|---|---|
|
The requested operating area. |
ListOperatingAreasRequest#
Request message for ListOperatingAreas.
Field |
Type |
Description |
|---|---|---|
|
optional int32 |
The maximum number of operating areas to return (default 50). |
|
optional string |
A page token, received from a previous |
ListOperatingAreasResponse#
Response message for ListOperatingAreas.
Field |
Type |
Description |
|---|---|---|
|
repeated OperatingArea |
All operating areas. |
|
optional string |
A token, which can be sent as |
OperatingArea#
An operating area defines a geographical area where MOIA vehicles are allowed to operate.
Field |
Type |
Description |
|---|---|---|
|
string |
Unique identifier for the operating area as UUIDv4. |
|
string |
Human readable name for display purposes. |
|
string |
Geometry as a GeoJSON MultiPolygon object. |
|
string |
Region identifier the operating area belongs to. |
UpdateOperatingAreaRequest#
Request message for UpdateOperatingArea
Field |
Type |
Description |
|---|---|---|
|
The operating area with updated information. Only |
UpdateOperatingAreaResponse#
Response message for UpdateOperatingArea
Field |
Type |
Description |
|---|---|---|
|
The updated operating area. |