google-maps-fleet_engine-delivery-v1 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/maps/fleet_engine/delivery/v1/delivery_service/client.rb +3 -3
- data/lib/google/maps/fleet_engine/delivery/v1/delivery_service/rest/client.rb +3 -3
- data/lib/google/maps/fleet_engine/delivery/v1/version.rb +1 -1
- data/lib/google/maps/fleetengine/delivery/v1/common_pb.rb +1 -1
- data/lib/google/maps/fleetengine/delivery/v1/delivery_api_pb.rb +1 -1
- data/lib/google/maps/fleetengine/delivery/v1/delivery_api_services_pb.rb +3 -3
- data/lib/google/maps/fleetengine/delivery/v1/delivery_vehicles_pb.rb +1 -1
- data/lib/google/maps/fleetengine/delivery/v1/header_pb.rb +1 -1
- data/lib/google/maps/fleetengine/delivery/v1/task_tracking_info_pb.rb +1 -1
- data/lib/google/maps/fleetengine/delivery/v1/tasks_pb.rb +1 -1
- data/proto_docs/google/api/client.rb +14 -10
- data/proto_docs/google/api/resource.rb +7 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1e1f241e3dba8714a6180890509604d7060321ade0408c83c40c61ece5b234e2
|
4
|
+
data.tar.gz: 004172a7e724758581ba0a699cd6f8effa06d3faf77c77182fe17cab049ee8e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f8a84066299a7548c9472cd9c67678737cef178157c14cca96ec184c2ea367500a022539c9d75744248c7120d235454507a1e46095d3cefb63a29f82abb87ef
|
7
|
+
data.tar.gz: 36e1637acfc93b554935527a5590db198c3cd1c25670ece9d4b2fd7e31d6950de907663fa16cbf147781192d86af4b3957f1c90a8a7afa030dd198bcb909a1e8
|
@@ -418,9 +418,9 @@ module Google
|
|
418
418
|
##
|
419
419
|
# Writes updated `DeliveryVehicle` data to Fleet Engine, and assigns
|
420
420
|
# `Tasks` to the `DeliveryVehicle`. You cannot update the name of the
|
421
|
-
# `DeliveryVehicle`. You *can* update `remaining_vehicle_journey_segments
|
422
|
-
#
|
423
|
-
#
|
421
|
+
# `DeliveryVehicle`. You *can* update `remaining_vehicle_journey_segments`,
|
422
|
+
# but it must contain all of the `VehicleJourneySegment`s to be persisted on
|
423
|
+
# the `DeliveryVehicle`. The `task_id`s are retrieved from
|
424
424
|
# `remaining_vehicle_journey_segments`, and their corresponding `Tasks` are
|
425
425
|
# assigned to the `DeliveryVehicle` if they have not yet been assigned.
|
426
426
|
#
|
@@ -395,9 +395,9 @@ module Google
|
|
395
395
|
##
|
396
396
|
# Writes updated `DeliveryVehicle` data to Fleet Engine, and assigns
|
397
397
|
# `Tasks` to the `DeliveryVehicle`. You cannot update the name of the
|
398
|
-
# `DeliveryVehicle`. You *can* update `remaining_vehicle_journey_segments
|
399
|
-
#
|
400
|
-
#
|
398
|
+
# `DeliveryVehicle`. You *can* update `remaining_vehicle_journey_segments`,
|
399
|
+
# but it must contain all of the `VehicleJourneySegment`s to be persisted on
|
400
|
+
# the `DeliveryVehicle`. The `task_id`s are retrieved from
|
401
401
|
# `remaining_vehicle_journey_segments`, and their corresponding `Tasks` are
|
402
402
|
# assigned to the `DeliveryVehicle` if they have not yet been assigned.
|
403
403
|
#
|
@@ -10,7 +10,7 @@ require 'google/protobuf/wrappers_pb'
|
|
10
10
|
require 'google/type/latlng_pb'
|
11
11
|
|
12
12
|
|
13
|
-
descriptor_data = "\n0google/maps/fleetengine/delivery/v1/common.proto\x12\x1cmaps.fleetengine.delivery.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x18google/type/latlng.proto\"\xa0\x01\n\x18\x44\x65liveryVehicleAttribute\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\x12\x16\n\x0cstring_value\x18\x03 \x01(\tH\x00\x12\x14\n\nbool_value\x18\x04 \x01(\x08H\x00\x12\x16\n\x0cnumber_value\x18\x05 \x01(\x01H\x00\x42\"\n delivery_vehicle_attribute_value\"\xf4\x0c\n\x17\x44\x65liveryVehicleLocation\x12%\n\x08location\x18\x01 \x01(\x0b\x32\x13.google.type.LatLng\x12=\n\x13horizontal_accuracy\x18\x08 \x01(\x0b\x32\x1c.google.protobuf.DoubleValueB\x02\x18\x01\x12\x35\n\x0flatlng_accuracy\x18\x16 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12,\n\x07heading\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12:\n\x10\x62\x65\x61ring_accuracy\x18\n \x01(\x0b\x32\x1c.google.protobuf.DoubleValueB\x02\x18\x01\x12\x36\n\x10heading_accuracy\x18\x17 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12.\n\x08\x61ltitude\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12;\n\x11vertical_accuracy\x18\t \x01(\x0b\x32\x1c.google.protobuf.DoubleValueB\x02\x18\x01\x12\x37\n\x11\x61ltitude_accuracy\x18\x18 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x33\n\nspeed_kmph\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int32ValueB\x02\x18\x01\x12+\n\x05speed\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x34\n\x0espeed_accuracy\x18\x07 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12/\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\x0bserver_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12T\n\x0flocation_sensor\x18\x0b \x01(\x0e\x32;.maps.fleetengine.delivery.v1.DeliveryVehicleLocationSensor\x12\x33\n\x0fis_road_snapped\x18\x1b \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12>\n\x15is_gps_sensor_enabled\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.BoolValueB\x03\xe0\x41\x04\x12;\n\x11time_since_update\x18\x0e \x01(\x0b\x32\x1b.google.protobuf.Int32ValueB\x03\xe0\x41\x04\x12=\n\x11num_stale_updates\x18\x0f \x01(\x0b\x32\x1b.google.protobuf.Int32ValueB\x05\x18\x01\xe0\x41\x04\x12)\n\x0craw_location\x18\x10 \x01(\x0b\x32\x13.google.type.LatLng\x12\x35\n\x11raw_location_time\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12X\n\x13raw_location_sensor\x18\x1c \x01(\x0e\x32;.maps.fleetengine.delivery.v1.DeliveryVehicleLocationSensor\x12;\n\x15raw_location_accuracy\x18\x19 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x32\n\x15supplemental_location\x18\x12 \x01(\x0b\x32\x13.google.type.LatLng\x12>\n\x1asupplemental_location_time\x18\x13 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x61\n\x1csupplemental_location_sensor\x18\x14 \x01(\x0e\x32;.maps.fleetengine.delivery.v1.DeliveryVehicleLocationSensor\x12\x44\n\x1esupplemental_location_accuracy\x18\x15 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x18\n\x0croad_snapped\x18\x1a \x01(\x08\x42\x02\x18\x01\"t\n\nTimeWindow\x12\x33\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\"z\n\rTaskAttribute\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x16\n\x0cstring_value\x18\x02 \x01(\tH\x00\x12\x14\n\nbool_value\x18\x03 \x01(\x08H\x00\x12\x16\n\x0cnumber_value\x18\x04 \x01(\x01H\x00\x42\x16\n\x14task_attribute_value*\xe6\x01\n\x1d\x44\x65liveryVehicleLocationSensor\x12\x12\n\x0eUNKNOWN_SENSOR\x10\x00\x12\x07\n\x03GPS\x10\x01\x12\x0b\n\x07NETWORK\x10\x02\x12\x0b\n\x07PASSIVE\x10\x03\x12\"\n\x1eROAD_SNAPPED_LOCATION_PROVIDER\x10\x04\x12\x1e\n\x1a\x43USTOMER_SUPPLIED_LOCATION\x10\x05\x12\x19\n\x15\x46LEET_ENGINE_LOCATION\x10\x06\x12\x1b\n\x17\x46USED_LOCATION_PROVIDER\x10\x64\x12\x12\n\rCORE_LOCATION\x10\xc8\x01*\x98\x01\n\x1f\x44\x65liveryVehicleNavigationStatus\x12\x1d\n\x19UNKNOWN_NAVIGATION_STATUS\x10\x00\x12\x0f\n\x0bNO_GUIDANCE\x10\x01\x12\x1a\n\x16\x45NROUTE_TO_DESTINATION\x10\x02\x12\r\n\tOFF_ROUTE\x10\x03\x12\x1a\n\x16\x41RRIVED_AT_DESTINATION\x10\x04\x42\
|
13
|
+
descriptor_data = "\n0google/maps/fleetengine/delivery/v1/common.proto\x12\x1cmaps.fleetengine.delivery.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x18google/type/latlng.proto\"\xa0\x01\n\x18\x44\x65liveryVehicleAttribute\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\x12\x16\n\x0cstring_value\x18\x03 \x01(\tH\x00\x12\x14\n\nbool_value\x18\x04 \x01(\x08H\x00\x12\x16\n\x0cnumber_value\x18\x05 \x01(\x01H\x00\x42\"\n delivery_vehicle_attribute_value\"\xf4\x0c\n\x17\x44\x65liveryVehicleLocation\x12%\n\x08location\x18\x01 \x01(\x0b\x32\x13.google.type.LatLng\x12=\n\x13horizontal_accuracy\x18\x08 \x01(\x0b\x32\x1c.google.protobuf.DoubleValueB\x02\x18\x01\x12\x35\n\x0flatlng_accuracy\x18\x16 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12,\n\x07heading\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12:\n\x10\x62\x65\x61ring_accuracy\x18\n \x01(\x0b\x32\x1c.google.protobuf.DoubleValueB\x02\x18\x01\x12\x36\n\x10heading_accuracy\x18\x17 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12.\n\x08\x61ltitude\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12;\n\x11vertical_accuracy\x18\t \x01(\x0b\x32\x1c.google.protobuf.DoubleValueB\x02\x18\x01\x12\x37\n\x11\x61ltitude_accuracy\x18\x18 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x33\n\nspeed_kmph\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int32ValueB\x02\x18\x01\x12+\n\x05speed\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x34\n\x0espeed_accuracy\x18\x07 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12/\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\x0bserver_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12T\n\x0flocation_sensor\x18\x0b \x01(\x0e\x32;.maps.fleetengine.delivery.v1.DeliveryVehicleLocationSensor\x12\x33\n\x0fis_road_snapped\x18\x1b \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12>\n\x15is_gps_sensor_enabled\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.BoolValueB\x03\xe0\x41\x04\x12;\n\x11time_since_update\x18\x0e \x01(\x0b\x32\x1b.google.protobuf.Int32ValueB\x03\xe0\x41\x04\x12=\n\x11num_stale_updates\x18\x0f \x01(\x0b\x32\x1b.google.protobuf.Int32ValueB\x05\x18\x01\xe0\x41\x04\x12)\n\x0craw_location\x18\x10 \x01(\x0b\x32\x13.google.type.LatLng\x12\x35\n\x11raw_location_time\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12X\n\x13raw_location_sensor\x18\x1c \x01(\x0e\x32;.maps.fleetengine.delivery.v1.DeliveryVehicleLocationSensor\x12;\n\x15raw_location_accuracy\x18\x19 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x32\n\x15supplemental_location\x18\x12 \x01(\x0b\x32\x13.google.type.LatLng\x12>\n\x1asupplemental_location_time\x18\x13 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x61\n\x1csupplemental_location_sensor\x18\x14 \x01(\x0e\x32;.maps.fleetengine.delivery.v1.DeliveryVehicleLocationSensor\x12\x44\n\x1esupplemental_location_accuracy\x18\x15 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x18\n\x0croad_snapped\x18\x1a \x01(\x08\x42\x02\x18\x01\"t\n\nTimeWindow\x12\x33\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\"z\n\rTaskAttribute\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x16\n\x0cstring_value\x18\x02 \x01(\tH\x00\x12\x14\n\nbool_value\x18\x03 \x01(\x08H\x00\x12\x16\n\x0cnumber_value\x18\x04 \x01(\x01H\x00\x42\x16\n\x14task_attribute_value*\xe6\x01\n\x1d\x44\x65liveryVehicleLocationSensor\x12\x12\n\x0eUNKNOWN_SENSOR\x10\x00\x12\x07\n\x03GPS\x10\x01\x12\x0b\n\x07NETWORK\x10\x02\x12\x0b\n\x07PASSIVE\x10\x03\x12\"\n\x1eROAD_SNAPPED_LOCATION_PROVIDER\x10\x04\x12\x1e\n\x1a\x43USTOMER_SUPPLIED_LOCATION\x10\x05\x12\x19\n\x15\x46LEET_ENGINE_LOCATION\x10\x06\x12\x1b\n\x17\x46USED_LOCATION_PROVIDER\x10\x64\x12\x12\n\rCORE_LOCATION\x10\xc8\x01*\x98\x01\n\x1f\x44\x65liveryVehicleNavigationStatus\x12\x1d\n\x19UNKNOWN_NAVIGATION_STATUS\x10\x00\x12\x0f\n\x0bNO_GUIDANCE\x10\x01\x12\x1a\n\x16\x45NROUTE_TO_DESTINATION\x10\x02\x12\r\n\tOFF_ROUTE\x10\x03\x12\x1a\n\x16\x41RRIVED_AT_DESTINATION\x10\x04\x42\xf7\x01\n#google.maps.fleetengine.delivery.v1B\x06\x43ommonP\x01ZIcloud.google.com/go/maps/fleetengine/delivery/apiv1/deliverypb;deliverypb\xa2\x02\x04\x43\x46\x45\x44\xaa\x02#Google.Maps.FleetEngine.Delivery.V1\xca\x02#Google\\Maps\\FleetEngine\\Delivery\\V1\xea\x02\'Google::Maps::FleetEngine::Delivery::V1b\x06proto3"
|
14
14
|
|
15
15
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
16
16
|
|
@@ -17,7 +17,7 @@ require 'google/maps/fleetengine/delivery/v1/tasks_pb'
|
|
17
17
|
require 'google/protobuf/field_mask_pb'
|
18
18
|
|
19
19
|
|
20
|
-
descriptor_data = "\n6google/maps/fleetengine/delivery/v1/delivery_api.proto\x12\x1cmaps.fleetengine.delivery.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x18google/api/routing.proto\x1a\x1egoogle/geo/type/viewport.proto\x1a;google/maps/fleetengine/delivery/v1/delivery_vehicles.proto\x1a\x30google/maps/fleetengine/delivery/v1/header.proto\x1a<google/maps/fleetengine/delivery/v1/task_tracking_info.proto\x1a/google/maps/fleetengine/delivery/v1/tasks.proto\x1a google/protobuf/field_mask.proto\"\xed\x01\n\x1c\x43reateDeliveryVehicleRequest\x12H\n\x06header\x18\x01 \x01(\x0b\x32\x33.maps.fleetengine.delivery.v1.DeliveryRequestHeaderB\x03\xe0\x41\x01\x12\x13\n\x06parent\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12 \n\x13\x64\x65livery_vehicle_id\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12L\n\x10\x64\x65livery_vehicle\x18\x05 \x01(\x0b\x32-.maps.fleetengine.delivery.v1.DeliveryVehicleB\x03\xe0\x41\x02\"\xa7\x01\n\x19GetDeliveryVehicleRequest\x12H\n\x06header\x18\x01 \x01(\x0b\x32\x33.maps.fleetengine.delivery.v1.DeliveryRequestHeaderB\x03\xe0\x41\x01\x12@\n\x04name\x18\x03 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*fleetengine.googleapis.com/DeliveryVehicle\"\xa3\x02\n\x1bListDeliveryVehiclesRequest\x12H\n\x06header\x18\x01 \x01(\x0b\x32\x33.maps.fleetengine.delivery.v1.DeliveryRequestHeaderB\x03\xe0\x41\x01\x12\x42\n\x06parent\x18\x03 \x01(\tB2\xe0\x41\x02\xfa\x41,\x12*fleetengine.googleapis.com/DeliveryVehicle\x12\x16\n\tpage_size\x18\x04 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12\x30\n\x08viewport\x18\x07 \x01(\x0b\x32\x19.google.geo.type.ViewportB\x03\xe0\x41\x01\"\x95\x01\n\x1cListDeliveryVehiclesResponse\x12H\n\x11\x64\x65livery_vehicles\x18\x01 \x03(\x0b\x32-.maps.fleetengine.delivery.v1.DeliveryVehicle\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x12\n\ntotal_size\x18\x03 \x01(\x03\"\xec\x01\n\x1cUpdateDeliveryVehicleRequest\x12H\n\x06header\x18\x01 \x01(\x0b\x32\x33.maps.fleetengine.delivery.v1.DeliveryRequestHeaderB\x03\xe0\x41\x01\x12L\n\x10\x64\x65livery_vehicle\x18\x03 \x01(\x0b\x32-.maps.fleetengine.delivery.v1.DeliveryVehicleB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"\xe4\x01\n\x17\x42\x61tchCreateTasksRequest\x12H\n\x06header\x18\x01 \x01(\x0b\x32\x33.maps.fleetengine.delivery.v1.DeliveryRequestHeaderB\x03\xe0\x41\x01\x12\x37\n\x06parent\x18\x03 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x66leetengine.googleapis.com/Task\x12\x46\n\x08requests\x18\x04 \x03(\x0b\x32/.maps.fleetengine.delivery.v1.CreateTaskRequestB\x03\xe0\x41\x02\"M\n\x18\x42\x61tchCreateTasksResponse\x12\x31\n\x05tasks\x18\x01 \x03(\x0b\x32\".maps.fleetengine.delivery.v1.Task\"\xbf\x01\n\x11\x43reateTaskRequest\x12H\n\x06header\x18\x01 \x01(\x0b\x32\x33.maps.fleetengine.delivery.v1.DeliveryRequestHeaderB\x03\xe0\x41\x01\x12\x13\n\x06parent\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x07task_id\x18\x05 \x01(\tB\x03\xe0\x41\x02\x12\x35\n\x04task\x18\x04 \x01(\x0b\x32\".maps.fleetengine.delivery.v1.TaskB\x03\xe0\x41\x02\"\x91\x01\n\x0eGetTaskRequest\x12H\n\x06header\x18\x01 \x01(\x0b\x32\x33.maps.fleetengine.delivery.v1.DeliveryRequestHeaderB\x03\xe0\x41\x01\x12\x35\n\x04name\x18\x03 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x66leetengine.googleapis.com/Task\"\xca\x01\n\x11UpdateTaskRequest\x12H\n\x06header\x18\x01 \x01(\x0b\x32\x33.maps.fleetengine.delivery.v1.DeliveryRequestHeaderB\x03\xe0\x41\x01\x12\x35\n\x04task\x18\x03 \x01(\x0b\x32\".maps.fleetengine.delivery.v1.TaskB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"\xdb\x01\n\x10ListTasksRequest\x12H\n\x06header\x18\x01 \x01(\x0b\x32\x33.maps.fleetengine.delivery.v1.DeliveryRequestHeaderB\x03\xe0\x41\x01\x12\x37\n\x06parent\x18\x03 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x66leetengine.googleapis.com/Task\x12\x16\n\tpage_size\x18\x04 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x06 \x01(\tB\x03\xe0\x41\x01\"s\n\x11ListTasksResponse\x12\x31\n\x05tasks\x18\x01 \x03(\x0b\x32\".maps.fleetengine.delivery.v1.Task\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x12\n\ntotal_size\x18\x03 \x01(\x03\"\xa9\x01\n\x1aGetTaskTrackingInfoRequest\x12H\n\x06header\x18\x01 \x01(\x0b\x32\x33.maps.fleetengine.delivery.v1.DeliveryRequestHeaderB\x03\xe0\x41\x01\x12\x41\n\x04name\x18\x03 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+fleetengine.googleapis.com/TaskTrackingInfo2\x8a\x13\n\x0f\x44\x65liveryService\x12\xa1\x02\n\x15\x43reateDeliveryVehicle\x12:.maps.fleetengine.delivery.v1.CreateDeliveryVehicleRequest\x1a-.maps.fleetengine.delivery.v1.DeliveryVehicle\"\x9c\x01\xda\x41+parent,delivery_vehicle,delivery_vehicle_id\x82\xd3\xe4\x93\x02=\")/v1/{parent=providers/*}/deliveryVehicles:\x10\x64\x65livery_vehicle\x8a\xd3\xe4\x93\x02%\x12#\n\x06parent\x12\x19{provider_id=providers/*}\x12\xdf\x01\n\x12GetDeliveryVehicle\x12\x37.maps.fleetengine.delivery.v1.GetDeliveryVehicleRequest\x1a-.maps.fleetengine.delivery.v1.DeliveryVehicle\"a\xda\x41\x04name\x82\xd3\xe4\x93\x02+\x12)/v1/{name=providers/*/deliveryVehicles/*}\x8a\xd3\xe4\x93\x02#\x12!\n\x04name\x12\x19{provider_id=providers/*}\x12\xb2\x02\n\x15UpdateDeliveryVehicle\x12:.maps.fleetengine.delivery.v1.UpdateDeliveryVehicleRequest\x1a-.maps.fleetengine.delivery.v1.DeliveryVehicle\"\xad\x01\xda\x41\x1c\x64\x65livery_vehicle,update_mask\x82\xd3\xe4\x93\x02N2:/v1/{delivery_vehicle.name=providers/*/deliveryVehicles/*}:\x10\x64\x65livery_vehicle\x8a\xd3\xe4\x93\x02\x34\x12\x32\n\x15\x64\x65livery_vehicle.name\x12\x19{provider_id=providers/*}\x12\xe3\x01\n\x10\x42\x61tchCreateTasks\x12\x35.maps.fleetengine.delivery.v1.BatchCreateTasksRequest\x1a\x36.maps.fleetengine.delivery.v1.BatchCreateTasksResponse\"`\x82\xd3\xe4\x93\x02/\"*/v1/{parent=providers/*}/tasks:batchCreate:\x01*\x8a\xd3\xe4\x93\x02%\x12#\n\x06parent\x12\x19{provider_id=providers/*}\x12\xd0\x01\n\nCreateTask\x12/.maps.fleetengine.delivery.v1.CreateTaskRequest\x1a\".maps.fleetengine.delivery.v1.Task\"m\xda\x41\x13parent,task,task_id\x82\xd3\xe4\x93\x02&\"\x1e/v1/{parent=providers/*}/tasks:\x04task\x8a\xd3\xe4\x93\x02%\x12#\n\x06parent\x12\x19{provider_id=providers/*}\x12\xb3\x01\n\x07GetTask\x12,.maps.fleetengine.delivery.v1.GetTaskRequest\x1a\".maps.fleetengine.delivery.v1.Task\"V\xda\x41\x04name\x82\xd3\xe4\x93\x02 \x12\x1e/v1/{name=providers/*/tasks/*}\x8a\xd3\xe4\x93\x02#\x12!\n\x04name\x12\x19{provider_id=providers/*}\x12\xd5\x01\n\nUpdateTask\x12/.maps.fleetengine.delivery.v1.UpdateTaskRequest\x1a\".maps.fleetengine.delivery.v1.Task\"r\xda\x41\x10task,update_mask\x82\xd3\xe4\x93\x02+2#/v1/{task.name=providers/*/tasks/*}:\x04task\x8a\xd3\xe4\x93\x02(\x12&\n\ttask.name\x12\x19{provider_id=providers/*}\x12\xc8\x01\n\tListTasks\x12..maps.fleetengine.delivery.v1.ListTasksRequest\x1a/.maps.fleetengine.delivery.v1.ListTasksResponse\"Z\xda\x41\x06parent\x82\xd3\xe4\x93\x02 \x12\x1e/v1/{parent=providers/*}/tasks\x8a\xd3\xe4\x93\x02%\x12#\n\x06parent\x12\x19{provider_id=providers/*}\x12\xe2\x01\n\x13GetTaskTrackingInfo\x12\x38.maps.fleetengine.delivery.v1.GetTaskTrackingInfoRequest\x1a..maps.fleetengine.delivery.v1.TaskTrackingInfo\"a\xda\x41\x04name\x82\xd3\xe4\x93\x02+\x12)/v1/{name=providers/*/taskTrackingInfo/*}\x8a\xd3\xe4\x93\x02#\x12!\n\x04name\x12\x19{provider_id=providers/*}\x12\xf4\x01\n\x14ListDeliveryVehicles\x12\x39.maps.fleetengine.delivery.v1.ListDeliveryVehiclesRequest\x1a:.maps.fleetengine.delivery.v1.ListDeliveryVehiclesResponse\"e\xda\x41\x06parent\x82\xd3\xe4\x93\x02+\x12)/v1/{parent=providers/*}/deliveryVehicles\x8a\xd3\xe4\x93\x02%\x12#\n\x06parent\x12\x19{provider_id=providers/*}\x1aN\xca\x41\x1a\x66leetengine.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\
|
20
|
+
descriptor_data = "\n6google/maps/fleetengine/delivery/v1/delivery_api.proto\x12\x1cmaps.fleetengine.delivery.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x18google/api/routing.proto\x1a\x1egoogle/geo/type/viewport.proto\x1a;google/maps/fleetengine/delivery/v1/delivery_vehicles.proto\x1a\x30google/maps/fleetengine/delivery/v1/header.proto\x1a<google/maps/fleetengine/delivery/v1/task_tracking_info.proto\x1a/google/maps/fleetengine/delivery/v1/tasks.proto\x1a google/protobuf/field_mask.proto\"\xed\x01\n\x1c\x43reateDeliveryVehicleRequest\x12H\n\x06header\x18\x01 \x01(\x0b\x32\x33.maps.fleetengine.delivery.v1.DeliveryRequestHeaderB\x03\xe0\x41\x01\x12\x13\n\x06parent\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12 \n\x13\x64\x65livery_vehicle_id\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12L\n\x10\x64\x65livery_vehicle\x18\x05 \x01(\x0b\x32-.maps.fleetengine.delivery.v1.DeliveryVehicleB\x03\xe0\x41\x02\"\xa7\x01\n\x19GetDeliveryVehicleRequest\x12H\n\x06header\x18\x01 \x01(\x0b\x32\x33.maps.fleetengine.delivery.v1.DeliveryRequestHeaderB\x03\xe0\x41\x01\x12@\n\x04name\x18\x03 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*fleetengine.googleapis.com/DeliveryVehicle\"\xa3\x02\n\x1bListDeliveryVehiclesRequest\x12H\n\x06header\x18\x01 \x01(\x0b\x32\x33.maps.fleetengine.delivery.v1.DeliveryRequestHeaderB\x03\xe0\x41\x01\x12\x42\n\x06parent\x18\x03 \x01(\tB2\xe0\x41\x02\xfa\x41,\x12*fleetengine.googleapis.com/DeliveryVehicle\x12\x16\n\tpage_size\x18\x04 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12\x30\n\x08viewport\x18\x07 \x01(\x0b\x32\x19.google.geo.type.ViewportB\x03\xe0\x41\x01\"\x95\x01\n\x1cListDeliveryVehiclesResponse\x12H\n\x11\x64\x65livery_vehicles\x18\x01 \x03(\x0b\x32-.maps.fleetengine.delivery.v1.DeliveryVehicle\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x12\n\ntotal_size\x18\x03 \x01(\x03\"\xec\x01\n\x1cUpdateDeliveryVehicleRequest\x12H\n\x06header\x18\x01 \x01(\x0b\x32\x33.maps.fleetengine.delivery.v1.DeliveryRequestHeaderB\x03\xe0\x41\x01\x12L\n\x10\x64\x65livery_vehicle\x18\x03 \x01(\x0b\x32-.maps.fleetengine.delivery.v1.DeliveryVehicleB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"\xe4\x01\n\x17\x42\x61tchCreateTasksRequest\x12H\n\x06header\x18\x01 \x01(\x0b\x32\x33.maps.fleetengine.delivery.v1.DeliveryRequestHeaderB\x03\xe0\x41\x01\x12\x37\n\x06parent\x18\x03 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x66leetengine.googleapis.com/Task\x12\x46\n\x08requests\x18\x04 \x03(\x0b\x32/.maps.fleetengine.delivery.v1.CreateTaskRequestB\x03\xe0\x41\x02\"M\n\x18\x42\x61tchCreateTasksResponse\x12\x31\n\x05tasks\x18\x01 \x03(\x0b\x32\".maps.fleetengine.delivery.v1.Task\"\xbf\x01\n\x11\x43reateTaskRequest\x12H\n\x06header\x18\x01 \x01(\x0b\x32\x33.maps.fleetengine.delivery.v1.DeliveryRequestHeaderB\x03\xe0\x41\x01\x12\x13\n\x06parent\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x07task_id\x18\x05 \x01(\tB\x03\xe0\x41\x02\x12\x35\n\x04task\x18\x04 \x01(\x0b\x32\".maps.fleetengine.delivery.v1.TaskB\x03\xe0\x41\x02\"\x91\x01\n\x0eGetTaskRequest\x12H\n\x06header\x18\x01 \x01(\x0b\x32\x33.maps.fleetengine.delivery.v1.DeliveryRequestHeaderB\x03\xe0\x41\x01\x12\x35\n\x04name\x18\x03 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x66leetengine.googleapis.com/Task\"\xca\x01\n\x11UpdateTaskRequest\x12H\n\x06header\x18\x01 \x01(\x0b\x32\x33.maps.fleetengine.delivery.v1.DeliveryRequestHeaderB\x03\xe0\x41\x01\x12\x35\n\x04task\x18\x03 \x01(\x0b\x32\".maps.fleetengine.delivery.v1.TaskB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"\xdb\x01\n\x10ListTasksRequest\x12H\n\x06header\x18\x01 \x01(\x0b\x32\x33.maps.fleetengine.delivery.v1.DeliveryRequestHeaderB\x03\xe0\x41\x01\x12\x37\n\x06parent\x18\x03 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x66leetengine.googleapis.com/Task\x12\x16\n\tpage_size\x18\x04 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x06 \x01(\tB\x03\xe0\x41\x01\"s\n\x11ListTasksResponse\x12\x31\n\x05tasks\x18\x01 \x03(\x0b\x32\".maps.fleetengine.delivery.v1.Task\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x12\n\ntotal_size\x18\x03 \x01(\x03\"\xa9\x01\n\x1aGetTaskTrackingInfoRequest\x12H\n\x06header\x18\x01 \x01(\x0b\x32\x33.maps.fleetengine.delivery.v1.DeliveryRequestHeaderB\x03\xe0\x41\x01\x12\x41\n\x04name\x18\x03 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+fleetengine.googleapis.com/TaskTrackingInfo2\x8a\x13\n\x0f\x44\x65liveryService\x12\xa1\x02\n\x15\x43reateDeliveryVehicle\x12:.maps.fleetengine.delivery.v1.CreateDeliveryVehicleRequest\x1a-.maps.fleetengine.delivery.v1.DeliveryVehicle\"\x9c\x01\xda\x41+parent,delivery_vehicle,delivery_vehicle_id\x82\xd3\xe4\x93\x02=\")/v1/{parent=providers/*}/deliveryVehicles:\x10\x64\x65livery_vehicle\x8a\xd3\xe4\x93\x02%\x12#\n\x06parent\x12\x19{provider_id=providers/*}\x12\xdf\x01\n\x12GetDeliveryVehicle\x12\x37.maps.fleetengine.delivery.v1.GetDeliveryVehicleRequest\x1a-.maps.fleetengine.delivery.v1.DeliveryVehicle\"a\xda\x41\x04name\x82\xd3\xe4\x93\x02+\x12)/v1/{name=providers/*/deliveryVehicles/*}\x8a\xd3\xe4\x93\x02#\x12!\n\x04name\x12\x19{provider_id=providers/*}\x12\xb2\x02\n\x15UpdateDeliveryVehicle\x12:.maps.fleetengine.delivery.v1.UpdateDeliveryVehicleRequest\x1a-.maps.fleetengine.delivery.v1.DeliveryVehicle\"\xad\x01\xda\x41\x1c\x64\x65livery_vehicle,update_mask\x82\xd3\xe4\x93\x02N2:/v1/{delivery_vehicle.name=providers/*/deliveryVehicles/*}:\x10\x64\x65livery_vehicle\x8a\xd3\xe4\x93\x02\x34\x12\x32\n\x15\x64\x65livery_vehicle.name\x12\x19{provider_id=providers/*}\x12\xe3\x01\n\x10\x42\x61tchCreateTasks\x12\x35.maps.fleetengine.delivery.v1.BatchCreateTasksRequest\x1a\x36.maps.fleetengine.delivery.v1.BatchCreateTasksResponse\"`\x82\xd3\xe4\x93\x02/\"*/v1/{parent=providers/*}/tasks:batchCreate:\x01*\x8a\xd3\xe4\x93\x02%\x12#\n\x06parent\x12\x19{provider_id=providers/*}\x12\xd0\x01\n\nCreateTask\x12/.maps.fleetengine.delivery.v1.CreateTaskRequest\x1a\".maps.fleetengine.delivery.v1.Task\"m\xda\x41\x13parent,task,task_id\x82\xd3\xe4\x93\x02&\"\x1e/v1/{parent=providers/*}/tasks:\x04task\x8a\xd3\xe4\x93\x02%\x12#\n\x06parent\x12\x19{provider_id=providers/*}\x12\xb3\x01\n\x07GetTask\x12,.maps.fleetengine.delivery.v1.GetTaskRequest\x1a\".maps.fleetengine.delivery.v1.Task\"V\xda\x41\x04name\x82\xd3\xe4\x93\x02 \x12\x1e/v1/{name=providers/*/tasks/*}\x8a\xd3\xe4\x93\x02#\x12!\n\x04name\x12\x19{provider_id=providers/*}\x12\xd5\x01\n\nUpdateTask\x12/.maps.fleetengine.delivery.v1.UpdateTaskRequest\x1a\".maps.fleetengine.delivery.v1.Task\"r\xda\x41\x10task,update_mask\x82\xd3\xe4\x93\x02+2#/v1/{task.name=providers/*/tasks/*}:\x04task\x8a\xd3\xe4\x93\x02(\x12&\n\ttask.name\x12\x19{provider_id=providers/*}\x12\xc8\x01\n\tListTasks\x12..maps.fleetengine.delivery.v1.ListTasksRequest\x1a/.maps.fleetengine.delivery.v1.ListTasksResponse\"Z\xda\x41\x06parent\x82\xd3\xe4\x93\x02 \x12\x1e/v1/{parent=providers/*}/tasks\x8a\xd3\xe4\x93\x02%\x12#\n\x06parent\x12\x19{provider_id=providers/*}\x12\xe2\x01\n\x13GetTaskTrackingInfo\x12\x38.maps.fleetengine.delivery.v1.GetTaskTrackingInfoRequest\x1a..maps.fleetengine.delivery.v1.TaskTrackingInfo\"a\xda\x41\x04name\x82\xd3\xe4\x93\x02+\x12)/v1/{name=providers/*/taskTrackingInfo/*}\x8a\xd3\xe4\x93\x02#\x12!\n\x04name\x12\x19{provider_id=providers/*}\x12\xf4\x01\n\x14ListDeliveryVehicles\x12\x39.maps.fleetengine.delivery.v1.ListDeliveryVehiclesRequest\x1a:.maps.fleetengine.delivery.v1.ListDeliveryVehiclesResponse\"e\xda\x41\x06parent\x82\xd3\xe4\x93\x02+\x12)/v1/{parent=providers/*}/deliveryVehicles\x8a\xd3\xe4\x93\x02%\x12#\n\x06parent\x12\x19{provider_id=providers/*}\x1aN\xca\x41\x1a\x66leetengine.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xba\x02\n#google.maps.fleetengine.delivery.v1B\x0b\x44\x65liveryApiP\x01ZIcloud.google.com/go/maps/fleetengine/delivery/apiv1/deliverypb;deliverypb\xa2\x02\x04\x43\x46\x45\x44\xaa\x02#Google.Maps.FleetEngine.Delivery.V1\xca\x02#Google\\Maps\\FleetEngine\\Delivery\\V1\xea\x02\'Google::Maps::FleetEngine::Delivery::V1\xea\x41;\n#fleetengine.googleapis.com/Provider\x12\x14providers/{provider}b\x06proto3"
|
21
21
|
|
22
22
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
23
23
|
|
@@ -40,9 +40,9 @@ module Google
|
|
40
40
|
rpc :GetDeliveryVehicle, ::Google::Maps::FleetEngine::Delivery::V1::GetDeliveryVehicleRequest, ::Google::Maps::FleetEngine::Delivery::V1::DeliveryVehicle
|
41
41
|
# Writes updated `DeliveryVehicle` data to Fleet Engine, and assigns
|
42
42
|
# `Tasks` to the `DeliveryVehicle`. You cannot update the name of the
|
43
|
-
# `DeliveryVehicle`. You *can* update `remaining_vehicle_journey_segments
|
44
|
-
#
|
45
|
-
#
|
43
|
+
# `DeliveryVehicle`. You *can* update `remaining_vehicle_journey_segments`,
|
44
|
+
# but it must contain all of the `VehicleJourneySegment`s to be persisted on
|
45
|
+
# the `DeliveryVehicle`. The `task_id`s are retrieved from
|
46
46
|
# `remaining_vehicle_journey_segments`, and their corresponding `Tasks` are
|
47
47
|
# assigned to the `DeliveryVehicle` if they have not yet been assigned.
|
48
48
|
rpc :UpdateDeliveryVehicle, ::Google::Maps::FleetEngine::Delivery::V1::UpdateDeliveryVehicleRequest, ::Google::Maps::FleetEngine::Delivery::V1::DeliveryVehicle
|
@@ -12,7 +12,7 @@ require 'google/protobuf/wrappers_pb'
|
|
12
12
|
require 'google/type/latlng_pb'
|
13
13
|
|
14
14
|
|
15
|
-
descriptor_data = "\n;google/maps/fleetengine/delivery/v1/delivery_vehicles.proto\x12\x1cmaps.fleetengine.delivery.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x30google/maps/fleetengine/delivery/v1/common.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x18google/type/latlng.proto\"\xf1\x06\n\x0f\x44\x65liveryVehicle\x12\x0c\n\x04name\x18\x01 \x01(\t\x12L\n\rlast_location\x18\x02 \x01(\x0b\x32\x35.maps.fleetengine.delivery.v1.DeliveryVehicleLocation\x12X\n\x11navigation_status\x18\x03 \x01(\x0e\x32=.maps.fleetengine.delivery.v1.DeliveryVehicleNavigationStatus\x12\x1d\n\x15\x63urrent_route_segment\x18\x04 \x01(\x0c\x12<\n\x1f\x63urrent_route_segment_end_point\x18\x05 \x01(\x0b\x32\x13.google.type.LatLng\x12>\n\x19remaining_distance_meters\x18\x06 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12\x35\n\x12remaining_duration\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12_\n\"remaining_vehicle_journey_segments\x18\x08 \x03(\x0b\x32\x33.maps.fleetengine.delivery.v1.VehicleJourneySegment\x12J\n\nattributes\x18\t \x03(\x0b\x32\x36.maps.fleetengine.delivery.v1.DeliveryVehicleAttribute\x12O\n\x04type\x18\n \x01(\x0e\x32\x41.maps.fleetengine.delivery.v1.DeliveryVehicle.DeliveryVehicleType\"t\n\x13\x44\x65liveryVehicleType\x12%\n!DELIVERY_VEHICLE_TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04\x41UTO\x10\x01\x12\x0f\n\x0bTWO_WHEELER\x10\x02\x12\x0b\n\x07\x42ICYCLE\x10\x03\x12\x0e\n\nPEDESTRIAN\x10\x04:`\xea\x41]\n*fleetengine.googleapis.com/DeliveryVehicle\x12/providers/{provider}/deliveryVehicles/{vehicle}\"2\n\x0cLocationInfo\x12\"\n\x05point\x18\x01 \x01(\x0b\x32\x13.google.type.LatLng\"\xf5\x01\n\x15VehicleJourneySegment\x12\x37\n\x04stop\x18\x01 \x01(\x0b\x32).maps.fleetengine.delivery.v1.VehicleStop\x12\x41\n\x17\x64riving_distance_meters\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int32ValueB\x03\xe0\x41\x03\x12\x38\n\x10\x64riving_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x03\x12&\n\x04path\x18\x05 \x03(\x0b\x32\x13.google.type.LatLngB\x03\xe0\x41\x03\"\xbe\x03\n\x0bVehicleStop\x12I\n\x10planned_location\x18\x01 \x01(\x0b\x32*.maps.fleetengine.delivery.v1.LocationInfoB\x03\xe0\x41\x02\x12\x41\n\x05tasks\x18\x02 \x03(\x0b\x32\x32.maps.fleetengine.delivery.v1.VehicleStop.TaskInfo\x12>\n\x05state\x18\x03 \x01(\x0e\x32/.maps.fleetengine.delivery.v1.VehicleStop.State\x1a\x9d\x01\n\x08TaskInfo\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x35\n\rtask_duration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x03\x12I\n\x12target_time_window\x18\x03 \x01(\x0b\x32(.maps.fleetengine.delivery.v1.TimeWindowB\x03\xe0\x41\x03\"A\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x07\n\x03NEW\x10\x01\x12\x0b\n\x07\x45NROUTE\x10\x02\x12\x0b\n\x07\x41RRIVED\x10\x03\x42\
|
15
|
+
descriptor_data = "\n;google/maps/fleetengine/delivery/v1/delivery_vehicles.proto\x12\x1cmaps.fleetengine.delivery.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x30google/maps/fleetengine/delivery/v1/common.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x18google/type/latlng.proto\"\xf1\x06\n\x0f\x44\x65liveryVehicle\x12\x0c\n\x04name\x18\x01 \x01(\t\x12L\n\rlast_location\x18\x02 \x01(\x0b\x32\x35.maps.fleetengine.delivery.v1.DeliveryVehicleLocation\x12X\n\x11navigation_status\x18\x03 \x01(\x0e\x32=.maps.fleetengine.delivery.v1.DeliveryVehicleNavigationStatus\x12\x1d\n\x15\x63urrent_route_segment\x18\x04 \x01(\x0c\x12<\n\x1f\x63urrent_route_segment_end_point\x18\x05 \x01(\x0b\x32\x13.google.type.LatLng\x12>\n\x19remaining_distance_meters\x18\x06 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12\x35\n\x12remaining_duration\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12_\n\"remaining_vehicle_journey_segments\x18\x08 \x03(\x0b\x32\x33.maps.fleetengine.delivery.v1.VehicleJourneySegment\x12J\n\nattributes\x18\t \x03(\x0b\x32\x36.maps.fleetengine.delivery.v1.DeliveryVehicleAttribute\x12O\n\x04type\x18\n \x01(\x0e\x32\x41.maps.fleetengine.delivery.v1.DeliveryVehicle.DeliveryVehicleType\"t\n\x13\x44\x65liveryVehicleType\x12%\n!DELIVERY_VEHICLE_TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04\x41UTO\x10\x01\x12\x0f\n\x0bTWO_WHEELER\x10\x02\x12\x0b\n\x07\x42ICYCLE\x10\x03\x12\x0e\n\nPEDESTRIAN\x10\x04:`\xea\x41]\n*fleetengine.googleapis.com/DeliveryVehicle\x12/providers/{provider}/deliveryVehicles/{vehicle}\"2\n\x0cLocationInfo\x12\"\n\x05point\x18\x01 \x01(\x0b\x32\x13.google.type.LatLng\"\xf5\x01\n\x15VehicleJourneySegment\x12\x37\n\x04stop\x18\x01 \x01(\x0b\x32).maps.fleetengine.delivery.v1.VehicleStop\x12\x41\n\x17\x64riving_distance_meters\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int32ValueB\x03\xe0\x41\x03\x12\x38\n\x10\x64riving_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x03\x12&\n\x04path\x18\x05 \x03(\x0b\x32\x13.google.type.LatLngB\x03\xe0\x41\x03\"\xbe\x03\n\x0bVehicleStop\x12I\n\x10planned_location\x18\x01 \x01(\x0b\x32*.maps.fleetengine.delivery.v1.LocationInfoB\x03\xe0\x41\x02\x12\x41\n\x05tasks\x18\x02 \x03(\x0b\x32\x32.maps.fleetengine.delivery.v1.VehicleStop.TaskInfo\x12>\n\x05state\x18\x03 \x01(\x0e\x32/.maps.fleetengine.delivery.v1.VehicleStop.State\x1a\x9d\x01\n\x08TaskInfo\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x35\n\rtask_duration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x03\x12I\n\x12target_time_window\x18\x03 \x01(\x0b\x32(.maps.fleetengine.delivery.v1.TimeWindowB\x03\xe0\x41\x03\"A\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x07\n\x03NEW\x10\x01\x12\x0b\n\x07\x45NROUTE\x10\x02\x12\x0b\n\x07\x41RRIVED\x10\x03\x42\x81\x02\n#google.maps.fleetengine.delivery.v1B\x10\x44\x65liveryVehiclesP\x01ZIcloud.google.com/go/maps/fleetengine/delivery/apiv1/deliverypb;deliverypb\xa2\x02\x04\x43\x46\x45\x44\xaa\x02#Google.Maps.FleetEngine.Delivery.V1\xca\x02#Google\\Maps\\FleetEngine\\Delivery\\V1\xea\x02\'Google::Maps::FleetEngine::Delivery::V1b\x06proto3"
|
16
16
|
|
17
17
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
18
18
|
|
@@ -7,7 +7,7 @@ require 'google/protobuf'
|
|
7
7
|
require 'google/api/field_behavior_pb'
|
8
8
|
|
9
9
|
|
10
|
-
descriptor_data = "\n0google/maps/fleetengine/delivery/v1/header.proto\x12\x1cmaps.fleetengine.delivery.v1\x1a\x1fgoogle/api/field_behavior.proto\"\xb0\x04\n\x15\x44\x65liveryRequestHeader\x12\x15\n\rlanguage_code\x18\x01 \x01(\t\x12\x18\n\x0bregion_code\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x0bsdk_version\x18\x03 \x01(\t\x12\x12\n\nos_version\x18\x04 \x01(\t\x12\x14\n\x0c\x64\x65vice_model\x18\x05 \x01(\t\x12M\n\x08sdk_type\x18\x06 \x01(\x0e\x32;.maps.fleetengine.delivery.v1.DeliveryRequestHeader.SdkType\x12\x18\n\x10maps_sdk_version\x18\x07 \x01(\t\x12\x17\n\x0fnav_sdk_version\x18\x08 \x01(\t\x12N\n\x08platform\x18\t \x01(\x0e\x32<.maps.fleetengine.delivery.v1.DeliveryRequestHeader.Platform\x12\x14\n\x0cmanufacturer\x18\n \x01(\t\x12\x19\n\x11\x61ndroid_api_level\x18\x0b \x01(\x05\x12\x10\n\x08trace_id\x18\x0c \x01(\t\"M\n\x07SdkType\x12\x18\n\x14SDK_TYPE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43ONSUMER\x10\x01\x12\n\n\x06\x44RIVER\x10\x02\x12\x0e\n\nJAVASCRIPT\x10\x03\"C\n\x08Platform\x12\x18\n\x14PLATFORM_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x41NDROID\x10\x01\x12\x07\n\x03IOS\x10\x02\x12\x07\n\x03WEB\x10\x03\x42\
|
10
|
+
descriptor_data = "\n0google/maps/fleetengine/delivery/v1/header.proto\x12\x1cmaps.fleetengine.delivery.v1\x1a\x1fgoogle/api/field_behavior.proto\"\xb0\x04\n\x15\x44\x65liveryRequestHeader\x12\x15\n\rlanguage_code\x18\x01 \x01(\t\x12\x18\n\x0bregion_code\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x0bsdk_version\x18\x03 \x01(\t\x12\x12\n\nos_version\x18\x04 \x01(\t\x12\x14\n\x0c\x64\x65vice_model\x18\x05 \x01(\t\x12M\n\x08sdk_type\x18\x06 \x01(\x0e\x32;.maps.fleetengine.delivery.v1.DeliveryRequestHeader.SdkType\x12\x18\n\x10maps_sdk_version\x18\x07 \x01(\t\x12\x17\n\x0fnav_sdk_version\x18\x08 \x01(\t\x12N\n\x08platform\x18\t \x01(\x0e\x32<.maps.fleetengine.delivery.v1.DeliveryRequestHeader.Platform\x12\x14\n\x0cmanufacturer\x18\n \x01(\t\x12\x19\n\x11\x61ndroid_api_level\x18\x0b \x01(\x05\x12\x10\n\x08trace_id\x18\x0c \x01(\t\"M\n\x07SdkType\x12\x18\n\x14SDK_TYPE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43ONSUMER\x10\x01\x12\n\n\x06\x44RIVER\x10\x02\x12\x0e\n\nJAVASCRIPT\x10\x03\"C\n\x08Platform\x12\x18\n\x14PLATFORM_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x41NDROID\x10\x01\x12\x07\n\x03IOS\x10\x02\x12\x07\n\x03WEB\x10\x03\x42\xf8\x01\n#google.maps.fleetengine.delivery.v1B\x07HeadersP\x01ZIcloud.google.com/go/maps/fleetengine/delivery/apiv1/deliverypb;deliverypb\xa2\x02\x04\x43\x46\x45\x44\xaa\x02#Google.Maps.FleetEngine.Delivery.V1\xca\x02#Google\\Maps\\FleetEngine\\Delivery\\V1\xea\x02\'Google::Maps::FleetEngine::Delivery::V1b\x06proto3"
|
11
11
|
|
12
12
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
13
13
|
|
@@ -14,7 +14,7 @@ require 'google/protobuf/wrappers_pb'
|
|
14
14
|
require 'google/type/latlng_pb'
|
15
15
|
|
16
16
|
|
17
|
-
descriptor_data = "\n<google/maps/fleetengine/delivery/v1/task_tracking_info.proto\x12\x1cmaps.fleetengine.delivery.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x30google/maps/fleetengine/delivery/v1/common.proto\x1a;google/maps/fleetengine/delivery/v1/delivery_vehicles.proto\x1a/google/maps/fleetengine/delivery/v1/tasks.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x18google/type/latlng.proto\"\xae\x07\n\x10TaskTrackingInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x18\n\x0btracking_id\x18\x02 \x01(\tB\x03\xe0\x41\x05\x12O\n\x10vehicle_location\x18\x03 \x01(\x0b\x32\x35.maps.fleetengine.delivery.v1.DeliveryVehicleLocation\x12\x32\n\x15route_polyline_points\x18\x04 \x03(\x0b\x32\x13.google.type.LatLng\x12\x39\n\x14remaining_stop_count\x18\x05 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12\x46\n!remaining_driving_distance_meters\x18\x06 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12:\n\x16\x65stimated_arrival_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x42\n\x1e\x65stimated_task_completion_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x37\n\x05state\x18\x0b \x01(\x0e\x32(.maps.fleetengine.delivery.v1.Task.State\x12\x44\n\x0ctask_outcome\x18\t \x01(\x0e\x32..maps.fleetengine.delivery.v1.Task.TaskOutcome\x12\x35\n\x11task_outcome_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12I\n\x10planned_location\x18\n \x01(\x0b\x32*.maps.fleetengine.delivery.v1.LocationInfoB\x03\xe0\x41\x05\x12\x44\n\x12target_time_window\x18\r \x01(\x0b\x32(.maps.fleetengine.delivery.v1.TimeWindow\x12?\n\nattributes\x18\x0e \x03(\x0b\x32+.maps.fleetengine.delivery.v1.TaskAttribute:b\xea\x41_\n+fleetengine.googleapis.com/TaskTrackingInfo\x12\x30providers/{provider}/taskTrackingInfo/{tracking}B\
|
17
|
+
descriptor_data = "\n<google/maps/fleetengine/delivery/v1/task_tracking_info.proto\x12\x1cmaps.fleetengine.delivery.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x30google/maps/fleetengine/delivery/v1/common.proto\x1a;google/maps/fleetengine/delivery/v1/delivery_vehicles.proto\x1a/google/maps/fleetengine/delivery/v1/tasks.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x18google/type/latlng.proto\"\xae\x07\n\x10TaskTrackingInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x18\n\x0btracking_id\x18\x02 \x01(\tB\x03\xe0\x41\x05\x12O\n\x10vehicle_location\x18\x03 \x01(\x0b\x32\x35.maps.fleetengine.delivery.v1.DeliveryVehicleLocation\x12\x32\n\x15route_polyline_points\x18\x04 \x03(\x0b\x32\x13.google.type.LatLng\x12\x39\n\x14remaining_stop_count\x18\x05 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12\x46\n!remaining_driving_distance_meters\x18\x06 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12:\n\x16\x65stimated_arrival_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x42\n\x1e\x65stimated_task_completion_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x37\n\x05state\x18\x0b \x01(\x0e\x32(.maps.fleetengine.delivery.v1.Task.State\x12\x44\n\x0ctask_outcome\x18\t \x01(\x0e\x32..maps.fleetengine.delivery.v1.Task.TaskOutcome\x12\x35\n\x11task_outcome_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12I\n\x10planned_location\x18\n \x01(\x0b\x32*.maps.fleetengine.delivery.v1.LocationInfoB\x03\xe0\x41\x05\x12\x44\n\x12target_time_window\x18\r \x01(\x0b\x32(.maps.fleetengine.delivery.v1.TimeWindow\x12?\n\nattributes\x18\x0e \x03(\x0b\x32+.maps.fleetengine.delivery.v1.TaskAttribute:b\xea\x41_\n+fleetengine.googleapis.com/TaskTrackingInfo\x12\x30providers/{provider}/taskTrackingInfo/{tracking}B\x86\x02\n#google.maps.fleetengine.delivery.v1B\x15TaskTrackingInfoProtoP\x01ZIcloud.google.com/go/maps/fleetengine/delivery/apiv1/deliverypb;deliverypb\xa2\x02\x04\x43\x46\x45\x44\xaa\x02#Google.Maps.FleetEngine.Delivery.V1\xca\x02#Google\\Maps\\FleetEngine\\Delivery\\V1\xea\x02\'Google::Maps::FleetEngine::Delivery::V1b\x06proto3"
|
18
18
|
|
19
19
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
20
20
|
|
@@ -12,7 +12,7 @@ require 'google/protobuf/duration_pb'
|
|
12
12
|
require 'google/protobuf/timestamp_pb'
|
13
13
|
|
14
14
|
|
15
|
-
descriptor_data = "\n/google/maps/fleetengine/delivery/v1/tasks.proto\x12\x1cmaps.fleetengine.delivery.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x30google/maps/fleetengine/delivery/v1/common.proto\x1a;google/maps/fleetengine/delivery/v1/delivery_vehicles.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb7\x0c\n\x04Task\x12\x0c\n\x04name\x18\x01 \x01(\t\x12=\n\x04type\x18\x02 \x01(\x0e\x32\'.maps.fleetengine.delivery.v1.Task.TypeB\x06\xe0\x41\x02\xe0\x41\x05\x12<\n\x05state\x18\x03 \x01(\x0e\x32(.maps.fleetengine.delivery.v1.Task.StateB\x03\xe0\x41\x02\x12\x44\n\x0ctask_outcome\x18\t \x01(\x0e\x32..maps.fleetengine.delivery.v1.Task.TaskOutcome\x12\x35\n\x11task_outcome_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12I\n\x15task_outcome_location\x18\x0b \x01(\x0b\x32*.maps.fleetengine.delivery.v1.LocationInfo\x12\x62\n\x1ctask_outcome_location_source\x18\x0c \x01(\x0e\x32<.maps.fleetengine.delivery.v1.Task.TaskOutcomeLocationSource\x12\x18\n\x0btracking_id\x18\x04 \x01(\tB\x03\xe0\x41\x05\x12 \n\x13\x64\x65livery_vehicle_id\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12I\n\x10planned_location\x18\x06 \x01(\x0b\x32*.maps.fleetengine.delivery.v1.LocationInfoB\x03\xe0\x41\x05\x12\x38\n\rtask_duration\x18\x07 \x01(\x0b\x32\x19.google.protobuf.DurationB\x06\xe0\x41\x02\xe0\x41\x05\x12\x44\n\x12target_time_window\x18\x0e \x01(\x0b\x32(.maps.fleetengine.delivery.v1.TimeWindow\x12X\n\x14journey_sharing_info\x18\x08 \x01(\x0b\x32\x35.maps.fleetengine.delivery.v1.Task.JourneySharingInfoB\x03\xe0\x41\x03\x12W\n\x19task_tracking_view_config\x18\r \x01(\x0b\x32\x34.maps.fleetengine.delivery.v1.TaskTrackingViewConfig\x12?\n\nattributes\x18\x0f \x03(\x0b\x32+.maps.fleetengine.delivery.v1.TaskAttribute\x1a\xe4\x01\n\x12JourneySharingInfo\x12_\n\"remaining_vehicle_journey_segments\x18\x01 \x03(\x0b\x32\x33.maps.fleetengine.delivery.v1.VehicleJourneySegment\x12L\n\rlast_location\x18\x02 \x01(\x0b\x32\x35.maps.fleetengine.delivery.v1.DeliveryVehicleLocation\x12\x1f\n\x17last_location_snappable\x18\x03 \x01(\x08\"[\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06PICKUP\x10\x01\x12\x0c\n\x08\x44\x45LIVERY\x10\x02\x12\x12\n\x0eSCHEDULED_STOP\x10\x03\x12\x0f\n\x0bUNAVAILABLE\x10\x04\"4\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x08\n\x04OPEN\x10\x01\x12\n\n\x06\x43LOSED\x10\x02\"F\n\x0bTaskOutcome\x12\x1c\n\x18TASK_OUTCOME_UNSPECIFIED\x10\x00\x12\r\n\tSUCCEEDED\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\"r\n\x19TaskOutcomeLocationSource\x12,\n(TASK_OUTCOME_LOCATION_SOURCE_UNSPECIFIED\x10\x00\x12\x0c\n\x08PROVIDER\x10\x02\x12\x19\n\x15LAST_VEHICLE_LOCATION\x10\x03:G\xea\x41\x44\n\x1f\x66leetengine.googleapis.com/Task\x12!providers/{provider}/tasks/{task}\"\xcb\x07\n\x16TaskTrackingViewConfig\x12o\n route_polyline_points_visibility\x18\x01 \x01(\x0b\x32\x45.maps.fleetengine.delivery.v1.TaskTrackingViewConfig.VisibilityOption\x12p\n!estimated_arrival_time_visibility\x18\x02 \x01(\x0b\x32\x45.maps.fleetengine.delivery.v1.TaskTrackingViewConfig.VisibilityOption\x12x\n)estimated_task_completion_time_visibility\x18\x03 \x01(\x0b\x32\x45.maps.fleetengine.delivery.v1.TaskTrackingViewConfig.VisibilityOption\x12t\n%remaining_driving_distance_visibility\x18\x04 \x01(\x0b\x32\x45.maps.fleetengine.delivery.v1.TaskTrackingViewConfig.VisibilityOption\x12n\n\x1fremaining_stop_count_visibility\x18\x05 \x01(\x0b\x32\x45.maps.fleetengine.delivery.v1.TaskTrackingViewConfig.VisibilityOption\x12j\n\x1bvehicle_location_visibility\x18\x06 \x01(\x0b\x32\x45.maps.fleetengine.delivery.v1.TaskTrackingViewConfig.VisibilityOption\x1a\x81\x02\n\x10VisibilityOption\x12(\n\x1eremaining_stop_count_threshold\x18\x01 \x01(\x05H\x00\x12T\n/duration_until_estimated_arrival_time_threshold\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12\x35\n+remaining_driving_distance_meters_threshold\x18\x03 \x01(\x05H\x00\x12\x10\n\x06\x61lways\x18\x04 \x01(\x08H\x00\x12\x0f\n\x05never\x18\x05 \x01(\x08H\x00\x42\x13\n\x11visibility_optionB\
|
15
|
+
descriptor_data = "\n/google/maps/fleetengine/delivery/v1/tasks.proto\x12\x1cmaps.fleetengine.delivery.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x30google/maps/fleetengine/delivery/v1/common.proto\x1a;google/maps/fleetengine/delivery/v1/delivery_vehicles.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb7\x0c\n\x04Task\x12\x0c\n\x04name\x18\x01 \x01(\t\x12=\n\x04type\x18\x02 \x01(\x0e\x32\'.maps.fleetengine.delivery.v1.Task.TypeB\x06\xe0\x41\x02\xe0\x41\x05\x12<\n\x05state\x18\x03 \x01(\x0e\x32(.maps.fleetengine.delivery.v1.Task.StateB\x03\xe0\x41\x02\x12\x44\n\x0ctask_outcome\x18\t \x01(\x0e\x32..maps.fleetengine.delivery.v1.Task.TaskOutcome\x12\x35\n\x11task_outcome_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12I\n\x15task_outcome_location\x18\x0b \x01(\x0b\x32*.maps.fleetengine.delivery.v1.LocationInfo\x12\x62\n\x1ctask_outcome_location_source\x18\x0c \x01(\x0e\x32<.maps.fleetengine.delivery.v1.Task.TaskOutcomeLocationSource\x12\x18\n\x0btracking_id\x18\x04 \x01(\tB\x03\xe0\x41\x05\x12 \n\x13\x64\x65livery_vehicle_id\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12I\n\x10planned_location\x18\x06 \x01(\x0b\x32*.maps.fleetengine.delivery.v1.LocationInfoB\x03\xe0\x41\x05\x12\x38\n\rtask_duration\x18\x07 \x01(\x0b\x32\x19.google.protobuf.DurationB\x06\xe0\x41\x02\xe0\x41\x05\x12\x44\n\x12target_time_window\x18\x0e \x01(\x0b\x32(.maps.fleetengine.delivery.v1.TimeWindow\x12X\n\x14journey_sharing_info\x18\x08 \x01(\x0b\x32\x35.maps.fleetengine.delivery.v1.Task.JourneySharingInfoB\x03\xe0\x41\x03\x12W\n\x19task_tracking_view_config\x18\r \x01(\x0b\x32\x34.maps.fleetengine.delivery.v1.TaskTrackingViewConfig\x12?\n\nattributes\x18\x0f \x03(\x0b\x32+.maps.fleetengine.delivery.v1.TaskAttribute\x1a\xe4\x01\n\x12JourneySharingInfo\x12_\n\"remaining_vehicle_journey_segments\x18\x01 \x03(\x0b\x32\x33.maps.fleetengine.delivery.v1.VehicleJourneySegment\x12L\n\rlast_location\x18\x02 \x01(\x0b\x32\x35.maps.fleetengine.delivery.v1.DeliveryVehicleLocation\x12\x1f\n\x17last_location_snappable\x18\x03 \x01(\x08\"[\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06PICKUP\x10\x01\x12\x0c\n\x08\x44\x45LIVERY\x10\x02\x12\x12\n\x0eSCHEDULED_STOP\x10\x03\x12\x0f\n\x0bUNAVAILABLE\x10\x04\"4\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x08\n\x04OPEN\x10\x01\x12\n\n\x06\x43LOSED\x10\x02\"F\n\x0bTaskOutcome\x12\x1c\n\x18TASK_OUTCOME_UNSPECIFIED\x10\x00\x12\r\n\tSUCCEEDED\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\"r\n\x19TaskOutcomeLocationSource\x12,\n(TASK_OUTCOME_LOCATION_SOURCE_UNSPECIFIED\x10\x00\x12\x0c\n\x08PROVIDER\x10\x02\x12\x19\n\x15LAST_VEHICLE_LOCATION\x10\x03:G\xea\x41\x44\n\x1f\x66leetengine.googleapis.com/Task\x12!providers/{provider}/tasks/{task}\"\xcb\x07\n\x16TaskTrackingViewConfig\x12o\n route_polyline_points_visibility\x18\x01 \x01(\x0b\x32\x45.maps.fleetengine.delivery.v1.TaskTrackingViewConfig.VisibilityOption\x12p\n!estimated_arrival_time_visibility\x18\x02 \x01(\x0b\x32\x45.maps.fleetengine.delivery.v1.TaskTrackingViewConfig.VisibilityOption\x12x\n)estimated_task_completion_time_visibility\x18\x03 \x01(\x0b\x32\x45.maps.fleetengine.delivery.v1.TaskTrackingViewConfig.VisibilityOption\x12t\n%remaining_driving_distance_visibility\x18\x04 \x01(\x0b\x32\x45.maps.fleetengine.delivery.v1.TaskTrackingViewConfig.VisibilityOption\x12n\n\x1fremaining_stop_count_visibility\x18\x05 \x01(\x0b\x32\x45.maps.fleetengine.delivery.v1.TaskTrackingViewConfig.VisibilityOption\x12j\n\x1bvehicle_location_visibility\x18\x06 \x01(\x0b\x32\x45.maps.fleetengine.delivery.v1.TaskTrackingViewConfig.VisibilityOption\x1a\x81\x02\n\x10VisibilityOption\x12(\n\x1eremaining_stop_count_threshold\x18\x01 \x01(\x05H\x00\x12T\n/duration_until_estimated_arrival_time_threshold\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12\x35\n+remaining_driving_distance_meters_threshold\x18\x03 \x01(\x05H\x00\x12\x10\n\x06\x61lways\x18\x04 \x01(\x08H\x00\x12\x0f\n\x05never\x18\x05 \x01(\x08H\x00\x42\x13\n\x11visibility_optionB\xf6\x01\n#google.maps.fleetengine.delivery.v1B\x05TasksP\x01ZIcloud.google.com/go/maps/fleetengine/delivery/apiv1/deliverypb;deliverypb\xa2\x02\x04\x43\x46\x45\x44\xaa\x02#Google.Maps.FleetEngine.Delivery.V1\xca\x02#Google\\Maps\\FleetEngine\\Delivery\\V1\xea\x02\'Google::Maps::FleetEngine::Delivery::V1b\x06proto3"
|
16
16
|
|
17
17
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
18
18
|
|
@@ -290,6 +290,13 @@ module Google
|
|
290
290
|
# @return [::String]
|
291
291
|
# The fully qualified name of the method, for which the options below apply.
|
292
292
|
# This is used to find the method to apply the options.
|
293
|
+
#
|
294
|
+
# Example:
|
295
|
+
#
|
296
|
+
# publishing:
|
297
|
+
# method_settings:
|
298
|
+
# - selector: google.storage.control.v2.StorageControl.CreateFolder
|
299
|
+
# # method settings for CreateFolder...
|
293
300
|
# @!attribute [rw] long_running
|
294
301
|
# @return [::Google::Api::MethodSettings::LongRunning]
|
295
302
|
# Describes settings to use for long-running operations when generating
|
@@ -298,17 +305,14 @@ module Google
|
|
298
305
|
#
|
299
306
|
# Example of a YAML configuration::
|
300
307
|
#
|
301
|
-
#
|
302
|
-
#
|
308
|
+
# publishing:
|
309
|
+
# method_settings:
|
303
310
|
# - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
304
311
|
# long_running:
|
305
|
-
# initial_poll_delay:
|
306
|
-
# seconds: 60 # 1 minute
|
312
|
+
# initial_poll_delay: 60s # 1 minute
|
307
313
|
# poll_delay_multiplier: 1.5
|
308
|
-
# max_poll_delay:
|
309
|
-
#
|
310
|
-
# total_poll_timeout:
|
311
|
-
# seconds: 54000 # 90 minutes
|
314
|
+
# max_poll_delay: 360s # 6 minutes
|
315
|
+
# total_poll_timeout: 54000s # 90 minutes
|
312
316
|
# @!attribute [rw] auto_populated_fields
|
313
317
|
# @return [::Array<::String>]
|
314
318
|
# List of top-level fields of the request message, that should be
|
@@ -317,8 +321,8 @@ module Google
|
|
317
321
|
#
|
318
322
|
# Example of a YAML configuration:
|
319
323
|
#
|
320
|
-
#
|
321
|
-
#
|
324
|
+
# publishing:
|
325
|
+
# method_settings:
|
322
326
|
# - selector: google.example.v1.ExampleService.CreateExample
|
323
327
|
# auto_populated_fields:
|
324
328
|
# - request_id
|
@@ -124,8 +124,13 @@ module Google
|
|
124
124
|
# @return [::String]
|
125
125
|
# The plural name used in the resource name and permission names, such as
|
126
126
|
# 'projects' for the resource name of 'projects/\\{project}' and the permission
|
127
|
-
# name of 'cloudresourcemanager.googleapis.com/projects.get'.
|
128
|
-
#
|
127
|
+
# name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception
|
128
|
+
# to this is for Nested Collections that have stuttering names, as defined
|
129
|
+
# in [AIP-122](https://google.aip.dev/122#nested-collections), where the
|
130
|
+
# collection ID in the resource name pattern does not necessarily directly
|
131
|
+
# match the `plural` value.
|
132
|
+
#
|
133
|
+
# It is the same concept of the `plural` field in k8s CRD spec
|
129
134
|
# https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
|
130
135
|
#
|
131
136
|
# Note: The plural form is required even for singleton resources. See
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-maps-fleet_engine-delivery-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-07-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|