google-maps-fleet_engine-v1 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -20,7 +20,7 @@ require 'google/protobuf/wrappers_pb'
20
20
  require 'google/type/latlng_pb'
21
21
 
22
22
 
23
- descriptor_data = "\n,google/maps/fleetengine/v1/vehicle_api.proto\x12\x13maps.fleetengine.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/v1/fleetengine.proto\x1a\'google/maps/fleetengine/v1/header.proto\x1a)google/maps/fleetengine/v1/vehicles.proto\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x18google/type/latlng.proto\"\xac\x01\n\x14\x43reateVehicleRequest\x12\x32\n\x06header\x18\x01 \x01(\x0b\x32\".maps.fleetengine.v1.RequestHeader\x12\x13\n\x06parent\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\nvehicle_id\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x32\n\x07vehicle\x18\x05 \x01(\x0b\x32\x1c.maps.fleetengine.v1.VehicleB\x03\xe0\x41\x02\"\xfb\x01\n\x11GetVehicleRequest\x12\x32\n\x06header\x18\x01 \x01(\x0b\x32\".maps.fleetengine.v1.RequestHeader\x12\x38\n\x04name\x18\x03 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"fleetengine.googleapis.com/Vehicle\x12\x41\n\x1d\x63urrent_route_segment_version\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11waypoints_version\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xc7\x01\n\x14UpdateVehicleRequest\x12\x32\n\x06header\x18\x01 \x01(\x0b\x32\".maps.fleetengine.v1.RequestHeader\x12\x11\n\x04name\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x32\n\x07vehicle\x18\x04 \x01(\x0b\x32\x1c.maps.fleetengine.v1.VehicleB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"\xe8\x01\n\x1cUpdateVehicleLocationRequest\x12\x32\n\x06header\x18\x01 \x01(\x0b\x32\".maps.fleetengine.v1.RequestHeader\x12\x11\n\x04name\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x43\n\x10\x63urrent_location\x18\x04 \x01(\x0b\x32$.maps.fleetengine.v1.VehicleLocationB\x03\xe0\x41\x02\x12\x38\n\rcurrent_state\x18\x05 \x01(\x0e\x32!.maps.fleetengine.v1.VehicleState:\x02\x18\x01\"\xa7\x01\n\x1eUpdateVehicleAttributesRequest\x12\x32\n\x06header\x18\x01 \x01(\x0b\x32\".maps.fleetengine.v1.RequestHeader\x12\x11\n\x04name\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12>\n\nattributes\x18\x04 \x03(\x0b\x32%.maps.fleetengine.v1.VehicleAttributeB\x03\xe0\x41\x02\"a\n\x1fUpdateVehicleAttributesResponse\x12>\n\nattributes\x18\x01 \x03(\x0b\x32%.maps.fleetengine.v1.VehicleAttributeB\x03\xe0\x41\x02\"\xc6\t\n\x15SearchVehiclesRequest\x12\x32\n\x06header\x18\x01 \x01(\x0b\x32\".maps.fleetengine.v1.RequestHeader\x12\x13\n\x06parent\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12@\n\x0cpickup_point\x18\x04 \x01(\x0b\x32%.maps.fleetengine.v1.TerminalLocationB\x03\xe0\x41\x02\x12<\n\rdropoff_point\x18\x05 \x01(\x0b\x32%.maps.fleetengine.v1.TerminalLocation\x12!\n\x14pickup_radius_meters\x18\x06 \x01(\x05\x42\x03\xe0\x41\x02\x12\x12\n\x05\x63ount\x18\x07 \x01(\x05\x42\x03\xe0\x41\x02\x12\x1d\n\x10minimum_capacity\x18\x08 \x01(\x05\x42\x03\xe0\x41\x02\x12\x36\n\ntrip_types\x18\t \x03(\x0e\x32\x1d.maps.fleetengine.v1.TripTypeB\x03\xe0\x41\x02\x12\x34\n\x11maximum_staleness\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x44\n\rvehicle_types\x18\x0e \x03(\x0b\x32(.maps.fleetengine.v1.Vehicle.VehicleTypeB\x03\xe0\x41\x02\x12\x42\n\x13required_attributes\x18\x0c \x03(\x0b\x32%.maps.fleetengine.v1.VehicleAttribute\x12M\n\x1arequired_one_of_attributes\x18\x0f \x03(\x0b\x32).maps.fleetengine.v1.VehicleAttributeList\x12Q\n\x1erequired_one_of_attribute_sets\x18\x14 \x03(\x0b\x32).maps.fleetengine.v1.VehicleAttributeList\x12S\n\x08order_by\x18\r \x01(\x0e\x32<.maps.fleetengine.v1.SearchVehiclesRequest.VehicleMatchOrderB\x03\xe0\x41\x02\x12\x1c\n\x14include_back_to_back\x18\x12 \x01(\x08\x12\x0f\n\x07trip_id\x18\x13 \x01(\t\x12]\n\x15\x63urrent_trips_present\x18\x15 \x01(\x0e\x32>.maps.fleetengine.v1.SearchVehiclesRequest.CurrentTripsPresent\x12\x13\n\x06\x66ilter\x18\x16 \x01(\tB\x03\xe0\x41\x01\"\xaa\x01\n\x11VehicleMatchOrder\x12\x1f\n\x1bUNKNOWN_VEHICLE_MATCH_ORDER\x10\x00\x12\x14\n\x10PICKUP_POINT_ETA\x10\x01\x12\x19\n\x15PICKUP_POINT_DISTANCE\x10\x02\x12\x15\n\x11\x44ROPOFF_POINT_ETA\x10\x03\x12\"\n\x1ePICKUP_POINT_STRAIGHT_DISTANCE\x10\x04\x12\x08\n\x04\x43OST\x10\x05\"O\n\x13\x43urrentTripsPresent\x12%\n!CURRENT_TRIPS_PRESENT_UNSPECIFIED\x10\x00\x12\x08\n\x04NONE\x10\x01\x12\x07\n\x03\x41NY\x10\x02\"L\n\x16SearchVehiclesResponse\x12\x32\n\x07matches\x18\x01 \x03(\x0b\x32!.maps.fleetengine.v1.VehicleMatch\"\xfe\x04\n\x13ListVehiclesRequest\x12\x32\n\x06header\x18\x0c \x01(\x0b\x32\".maps.fleetengine.v1.RequestHeader\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\x12\x35\n\x10minimum_capacity\x18\x06 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12\x31\n\ntrip_types\x18\x07 \x03(\x0e\x32\x1d.maps.fleetengine.v1.TripType\x12\x34\n\x11maximum_staleness\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12W\n\x17vehicle_type_categories\x18\t \x03(\x0e\x32\x31.maps.fleetengine.v1.Vehicle.VehicleType.CategoryB\x03\xe0\x41\x02\x12\x1b\n\x13required_attributes\x18\n \x03(\t\x12\"\n\x1arequired_one_of_attributes\x18\r \x03(\t\x12&\n\x1erequired_one_of_attribute_sets\x18\x0f \x03(\t\x12\x38\n\rvehicle_state\x18\x0b \x01(\x0e\x32!.maps.fleetengine.v1.VehicleState\x12\x14\n\x0con_trip_only\x18\x0e \x01(\x08\x12\x13\n\x06\x66ilter\x18\x10 \x01(\tB\x03\xe0\x41\x01\x12\x30\n\x08viewport\x18\x11 \x01(\x0b\x32\x19.google.geo.type.ViewportB\x03\xe0\x41\x01\"x\n\x14ListVehiclesResponse\x12.\n\x08vehicles\x18\x01 \x03(\x0b\x32\x1c.maps.fleetengine.v1.Vehicle\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x17\n\ntotal_size\x18\x03 \x01(\x03\x42\x03\xe0\x41\x02\"Y\n\x08Waypoint\x12$\n\x07lat_lng\x18\x01 \x01(\x0b\x32\x13.google.type.LatLng\x12\'\n\x03\x65ta\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xfe\x06\n\x0cVehicleMatch\x12\x32\n\x07vehicle\x18\x01 \x01(\x0b\x32\x1c.maps.fleetengine.v1.VehicleB\x03\xe0\x41\x02\x12\x36\n\x12vehicle_pickup_eta\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x43\n\x1evehicle_pickup_distance_meters\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12V\n,vehicle_pickup_straight_line_distance_meters\x18\x0b \x01(\x0b\x32\x1b.google.protobuf.Int32ValueB\x03\xe0\x41\x02\x12\x37\n\x13vehicle_dropoff_eta\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12N\n)vehicle_pickup_to_dropoff_distance_meters\x18\x05 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12\x35\n\ttrip_type\x18\x06 \x01(\x0e\x32\x1d.maps.fleetengine.v1.TripTypeB\x03\xe0\x41\x02\x12>\n\x17vehicle_trips_waypoints\x18\x07 \x03(\x0b\x32\x1d.maps.fleetengine.v1.Waypoint\x12N\n\x12vehicle_match_type\x18\x08 \x01(\x0e\x32\x32.maps.fleetengine.v1.VehicleMatch.VehicleMatchType\x12Z\n\x14requested_ordered_by\x18\t \x01(\x0e\x32<.maps.fleetengine.v1.SearchVehiclesRequest.VehicleMatchOrder\x12P\n\nordered_by\x18\n \x01(\x0e\x32<.maps.fleetengine.v1.SearchVehiclesRequest.VehicleMatchOrder\"g\n\x10VehicleMatchType\x12\x0b\n\x07UNKNOWN\x10\x00\x12\r\n\tEXCLUSIVE\x10\x01\x12\x10\n\x0c\x42\x41\x43K_TO_BACK\x10\x02\x12\x0b\n\x07\x43\x41RPOOL\x10\x03\x12\x18\n\x14\x43\x41RPOOL_BACK_TO_BACK\x10\x04\"Q\n\x14VehicleAttributeList\x12\x39\n\nattributes\x18\x01 \x03(\x0b\x32%.maps.fleetengine.v1.VehicleAttribute2\xa9\r\n\x0eVehicleService\x12\xb7\x01\n\rCreateVehicle\x12).maps.fleetengine.v1.CreateVehicleRequest\x1a\x1c.maps.fleetengine.v1.Vehicle\"]\x82\xd3\xe4\x93\x02,\"!/v1/{parent=providers/*}/vehicles:\x07vehicle\x8a\xd3\xe4\x93\x02%\x12#\n\x06parent\x12\x19{provider_id=providers/*}\x12\xa6\x01\n\nGetVehicle\x12&.maps.fleetengine.v1.GetVehicleRequest\x1a\x1c.maps.fleetengine.v1.Vehicle\"R\x82\xd3\xe4\x93\x02#\x12!/v1/{name=providers/*/vehicles/*}\x8a\xd3\xe4\x93\x02#\x12!\n\x04name\x12\x19{provider_id=providers/*}\x12\xb5\x01\n\rUpdateVehicle\x12).maps.fleetengine.v1.UpdateVehicleRequest\x1a\x1c.maps.fleetengine.v1.Vehicle\"[\x82\xd3\xe4\x93\x02,\x1a!/v1/{name=providers/*/vehicles/*}:\x07vehicle\x8a\xd3\xe4\x93\x02#\x12!\n\x04name\x12\x19{provider_id=providers/*}\x12\xd9\x01\n\x15UpdateVehicleLocation\x12\x31.maps.fleetengine.v1.UpdateVehicleLocationRequest\x1a$.maps.fleetengine.v1.VehicleLocation\"g\x88\x02\x01\x82\xd3\xe4\x93\x02\x35\x1a\x30/v1/{name=providers/*/vehicles/*}:updateLocation:\x01*\x8a\xd3\xe4\x93\x02#\x12!\n\x04name\x12\x19{provider_id=providers/*}\x12\xec\x01\n\x17UpdateVehicleAttributes\x12\x33.maps.fleetengine.v1.UpdateVehicleAttributesRequest\x1a\x34.maps.fleetengine.v1.UpdateVehicleAttributesResponse\"f\x82\xd3\xe4\x93\x02\x37\"2/v1/{name=providers/*/vehicles/*}:updateAttributes:\x01*\x8a\xd3\xe4\x93\x02#\x12!\n\x04name\x12\x19{provider_id=providers/*}\x12\xb9\x01\n\x0cListVehicles\x12(.maps.fleetengine.v1.ListVehiclesRequest\x1a).maps.fleetengine.v1.ListVehiclesResponse\"T\x82\xd3\xe4\x93\x02#\x12!/v1/{parent=providers/*}/vehicles\x8a\xd3\xe4\x93\x02%\x12#\n\x06parent\x12\x19{provider_id=providers/*}\x12\xc9\x01\n\x0eSearchVehicles\x12*.maps.fleetengine.v1.SearchVehiclesRequest\x1a+.maps.fleetengine.v1.SearchVehiclesResponse\"^\x82\xd3\xe4\x93\x02-\"(/v1/{parent=providers/*}/vehicles:search:\x01*\x8a\xd3\xe4\x93\x02%\x12#\n\x06parent\x12\x19{provider_id=providers/*}\x12\xd8\x01\n\x14SearchFuzzedVehicles\x12*.maps.fleetengine.v1.SearchVehiclesRequest\x1a+.maps.fleetengine.v1.SearchVehiclesResponse\"g\x88\x02\x01\x82\xd3\xe4\x93\x02\x33\"./v1/{parent=providers/*}/vehicles:searchFuzzed:\x01*\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\xb5\x01\n\x1agoogle.maps.fleetengine.v1B\nVehicleApiP\x01ZFcloud.google.com/go/maps/fleetengine/apiv1/fleetenginepb;fleetenginepb\xa2\x02\x03\x43\x46\x45\xaa\x02\x1aGoogle.Maps.FleetEngine.V1\xea\x02\x1dGoogle::Maps::FleetEngine::V1b\x06proto3"
23
+ descriptor_data = "\n,google/maps/fleetengine/v1/vehicle_api.proto\x12\x13maps.fleetengine.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/v1/fleetengine.proto\x1a\'google/maps/fleetengine/v1/header.proto\x1a)google/maps/fleetengine/v1/vehicles.proto\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x18google/type/latlng.proto\"\xac\x01\n\x14\x43reateVehicleRequest\x12\x32\n\x06header\x18\x01 \x01(\x0b\x32\".maps.fleetengine.v1.RequestHeader\x12\x13\n\x06parent\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\nvehicle_id\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x32\n\x07vehicle\x18\x05 \x01(\x0b\x32\x1c.maps.fleetengine.v1.VehicleB\x03\xe0\x41\x02\"\xfb\x01\n\x11GetVehicleRequest\x12\x32\n\x06header\x18\x01 \x01(\x0b\x32\".maps.fleetengine.v1.RequestHeader\x12\x38\n\x04name\x18\x03 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"fleetengine.googleapis.com/Vehicle\x12\x41\n\x1d\x63urrent_route_segment_version\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11waypoints_version\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xc7\x01\n\x14UpdateVehicleRequest\x12\x32\n\x06header\x18\x01 \x01(\x0b\x32\".maps.fleetengine.v1.RequestHeader\x12\x11\n\x04name\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x32\n\x07vehicle\x18\x04 \x01(\x0b\x32\x1c.maps.fleetengine.v1.VehicleB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"\xa7\x01\n\x1eUpdateVehicleAttributesRequest\x12\x32\n\x06header\x18\x01 \x01(\x0b\x32\".maps.fleetengine.v1.RequestHeader\x12\x11\n\x04name\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12>\n\nattributes\x18\x04 \x03(\x0b\x32%.maps.fleetengine.v1.VehicleAttributeB\x03\xe0\x41\x02\"a\n\x1fUpdateVehicleAttributesResponse\x12>\n\nattributes\x18\x01 \x03(\x0b\x32%.maps.fleetengine.v1.VehicleAttributeB\x03\xe0\x41\x02\"\xc6\t\n\x15SearchVehiclesRequest\x12\x32\n\x06header\x18\x01 \x01(\x0b\x32\".maps.fleetengine.v1.RequestHeader\x12\x13\n\x06parent\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12@\n\x0cpickup_point\x18\x04 \x01(\x0b\x32%.maps.fleetengine.v1.TerminalLocationB\x03\xe0\x41\x02\x12<\n\rdropoff_point\x18\x05 \x01(\x0b\x32%.maps.fleetengine.v1.TerminalLocation\x12!\n\x14pickup_radius_meters\x18\x06 \x01(\x05\x42\x03\xe0\x41\x02\x12\x12\n\x05\x63ount\x18\x07 \x01(\x05\x42\x03\xe0\x41\x02\x12\x1d\n\x10minimum_capacity\x18\x08 \x01(\x05\x42\x03\xe0\x41\x02\x12\x36\n\ntrip_types\x18\t \x03(\x0e\x32\x1d.maps.fleetengine.v1.TripTypeB\x03\xe0\x41\x02\x12\x34\n\x11maximum_staleness\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x44\n\rvehicle_types\x18\x0e \x03(\x0b\x32(.maps.fleetengine.v1.Vehicle.VehicleTypeB\x03\xe0\x41\x02\x12\x42\n\x13required_attributes\x18\x0c \x03(\x0b\x32%.maps.fleetengine.v1.VehicleAttribute\x12M\n\x1arequired_one_of_attributes\x18\x0f \x03(\x0b\x32).maps.fleetengine.v1.VehicleAttributeList\x12Q\n\x1erequired_one_of_attribute_sets\x18\x14 \x03(\x0b\x32).maps.fleetengine.v1.VehicleAttributeList\x12S\n\x08order_by\x18\r \x01(\x0e\x32<.maps.fleetengine.v1.SearchVehiclesRequest.VehicleMatchOrderB\x03\xe0\x41\x02\x12\x1c\n\x14include_back_to_back\x18\x12 \x01(\x08\x12\x0f\n\x07trip_id\x18\x13 \x01(\t\x12]\n\x15\x63urrent_trips_present\x18\x15 \x01(\x0e\x32>.maps.fleetengine.v1.SearchVehiclesRequest.CurrentTripsPresent\x12\x13\n\x06\x66ilter\x18\x16 \x01(\tB\x03\xe0\x41\x01\"\xaa\x01\n\x11VehicleMatchOrder\x12\x1f\n\x1bUNKNOWN_VEHICLE_MATCH_ORDER\x10\x00\x12\x14\n\x10PICKUP_POINT_ETA\x10\x01\x12\x19\n\x15PICKUP_POINT_DISTANCE\x10\x02\x12\x15\n\x11\x44ROPOFF_POINT_ETA\x10\x03\x12\"\n\x1ePICKUP_POINT_STRAIGHT_DISTANCE\x10\x04\x12\x08\n\x04\x43OST\x10\x05\"O\n\x13\x43urrentTripsPresent\x12%\n!CURRENT_TRIPS_PRESENT_UNSPECIFIED\x10\x00\x12\x08\n\x04NONE\x10\x01\x12\x07\n\x03\x41NY\x10\x02\"L\n\x16SearchVehiclesResponse\x12\x32\n\x07matches\x18\x01 \x03(\x0b\x32!.maps.fleetengine.v1.VehicleMatch\"\xfe\x04\n\x13ListVehiclesRequest\x12\x32\n\x06header\x18\x0c \x01(\x0b\x32\".maps.fleetengine.v1.RequestHeader\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\x12\x35\n\x10minimum_capacity\x18\x06 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12\x31\n\ntrip_types\x18\x07 \x03(\x0e\x32\x1d.maps.fleetengine.v1.TripType\x12\x34\n\x11maximum_staleness\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12W\n\x17vehicle_type_categories\x18\t \x03(\x0e\x32\x31.maps.fleetengine.v1.Vehicle.VehicleType.CategoryB\x03\xe0\x41\x02\x12\x1b\n\x13required_attributes\x18\n \x03(\t\x12\"\n\x1arequired_one_of_attributes\x18\r \x03(\t\x12&\n\x1erequired_one_of_attribute_sets\x18\x0f \x03(\t\x12\x38\n\rvehicle_state\x18\x0b \x01(\x0e\x32!.maps.fleetengine.v1.VehicleState\x12\x14\n\x0con_trip_only\x18\x0e \x01(\x08\x12\x13\n\x06\x66ilter\x18\x10 \x01(\tB\x03\xe0\x41\x01\x12\x30\n\x08viewport\x18\x11 \x01(\x0b\x32\x19.google.geo.type.ViewportB\x03\xe0\x41\x01\"x\n\x14ListVehiclesResponse\x12.\n\x08vehicles\x18\x01 \x03(\x0b\x32\x1c.maps.fleetengine.v1.Vehicle\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x17\n\ntotal_size\x18\x03 \x01(\x03\x42\x03\xe0\x41\x02\"Y\n\x08Waypoint\x12$\n\x07lat_lng\x18\x01 \x01(\x0b\x32\x13.google.type.LatLng\x12\'\n\x03\x65ta\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xfe\x06\n\x0cVehicleMatch\x12\x32\n\x07vehicle\x18\x01 \x01(\x0b\x32\x1c.maps.fleetengine.v1.VehicleB\x03\xe0\x41\x02\x12\x36\n\x12vehicle_pickup_eta\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x43\n\x1evehicle_pickup_distance_meters\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12V\n,vehicle_pickup_straight_line_distance_meters\x18\x0b \x01(\x0b\x32\x1b.google.protobuf.Int32ValueB\x03\xe0\x41\x02\x12\x37\n\x13vehicle_dropoff_eta\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12N\n)vehicle_pickup_to_dropoff_distance_meters\x18\x05 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12\x35\n\ttrip_type\x18\x06 \x01(\x0e\x32\x1d.maps.fleetengine.v1.TripTypeB\x03\xe0\x41\x02\x12>\n\x17vehicle_trips_waypoints\x18\x07 \x03(\x0b\x32\x1d.maps.fleetengine.v1.Waypoint\x12N\n\x12vehicle_match_type\x18\x08 \x01(\x0e\x32\x32.maps.fleetengine.v1.VehicleMatch.VehicleMatchType\x12Z\n\x14requested_ordered_by\x18\t \x01(\x0e\x32<.maps.fleetengine.v1.SearchVehiclesRequest.VehicleMatchOrder\x12P\n\nordered_by\x18\n \x01(\x0e\x32<.maps.fleetengine.v1.SearchVehiclesRequest.VehicleMatchOrder\"g\n\x10VehicleMatchType\x12\x0b\n\x07UNKNOWN\x10\x00\x12\r\n\tEXCLUSIVE\x10\x01\x12\x10\n\x0c\x42\x41\x43K_TO_BACK\x10\x02\x12\x0b\n\x07\x43\x41RPOOL\x10\x03\x12\x18\n\x14\x43\x41RPOOL_BACK_TO_BACK\x10\x04\"Q\n\x14VehicleAttributeList\x12\x39\n\nattributes\x18\x01 \x03(\x0b\x32%.maps.fleetengine.v1.VehicleAttribute2\xf2\t\n\x0eVehicleService\x12\xb7\x01\n\rCreateVehicle\x12).maps.fleetengine.v1.CreateVehicleRequest\x1a\x1c.maps.fleetengine.v1.Vehicle\"]\x82\xd3\xe4\x93\x02,\"!/v1/{parent=providers/*}/vehicles:\x07vehicle\x8a\xd3\xe4\x93\x02%\x12#\n\x06parent\x12\x19{provider_id=providers/*}\x12\xa6\x01\n\nGetVehicle\x12&.maps.fleetengine.v1.GetVehicleRequest\x1a\x1c.maps.fleetengine.v1.Vehicle\"R\x82\xd3\xe4\x93\x02#\x12!/v1/{name=providers/*/vehicles/*}\x8a\xd3\xe4\x93\x02#\x12!\n\x04name\x12\x19{provider_id=providers/*}\x12\xb5\x01\n\rUpdateVehicle\x12).maps.fleetengine.v1.UpdateVehicleRequest\x1a\x1c.maps.fleetengine.v1.Vehicle\"[\x82\xd3\xe4\x93\x02,\x1a!/v1/{name=providers/*/vehicles/*}:\x07vehicle\x8a\xd3\xe4\x93\x02#\x12!\n\x04name\x12\x19{provider_id=providers/*}\x12\xec\x01\n\x17UpdateVehicleAttributes\x12\x33.maps.fleetengine.v1.UpdateVehicleAttributesRequest\x1a\x34.maps.fleetengine.v1.UpdateVehicleAttributesResponse\"f\x82\xd3\xe4\x93\x02\x37\"2/v1/{name=providers/*/vehicles/*}:updateAttributes:\x01*\x8a\xd3\xe4\x93\x02#\x12!\n\x04name\x12\x19{provider_id=providers/*}\x12\xb9\x01\n\x0cListVehicles\x12(.maps.fleetengine.v1.ListVehiclesRequest\x1a).maps.fleetengine.v1.ListVehiclesResponse\"T\x82\xd3\xe4\x93\x02#\x12!/v1/{parent=providers/*}/vehicles\x8a\xd3\xe4\x93\x02%\x12#\n\x06parent\x12\x19{provider_id=providers/*}\x12\xc9\x01\n\x0eSearchVehicles\x12*.maps.fleetengine.v1.SearchVehiclesRequest\x1a+.maps.fleetengine.v1.SearchVehiclesResponse\"^\x82\xd3\xe4\x93\x02-\"(/v1/{parent=providers/*}/vehicles:search:\x01*\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\xb5\x01\n\x1agoogle.maps.fleetengine.v1B\nVehicleApiP\x01ZFcloud.google.com/go/maps/fleetengine/apiv1/fleetenginepb;fleetenginepb\xa2\x02\x03\x43\x46\x45\xaa\x02\x1aGoogle.Maps.FleetEngine.V1\xea\x02\x1dGoogle::Maps::FleetEngine::V1b\x06proto3"
24
24
 
25
25
  pool = Google::Protobuf::DescriptorPool.generated_pool
26
26
 
@@ -39,7 +39,7 @@ rescue TypeError
39
39
  ["maps.fleetengine.v1.Vehicle", "google/maps/fleetengine/v1/vehicles.proto"],
40
40
  ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
41
41
  ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
42
- ["maps.fleetengine.v1.VehicleLocation", "google/maps/fleetengine/v1/fleetengine.proto"],
42
+ ["maps.fleetengine.v1.VehicleAttribute", "google/maps/fleetengine/v1/fleetengine.proto"],
43
43
  ["google.protobuf.Duration", "google/protobuf/duration.proto"],
44
44
  ["google.protobuf.Int32Value", "google/protobuf/wrappers.proto"],
45
45
  ["google.geo.type.Viewport", "google/geo/type/viewport.proto"],
@@ -62,7 +62,6 @@ module Google
62
62
  CreateVehicleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("maps.fleetengine.v1.CreateVehicleRequest").msgclass
63
63
  GetVehicleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("maps.fleetengine.v1.GetVehicleRequest").msgclass
64
64
  UpdateVehicleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("maps.fleetengine.v1.UpdateVehicleRequest").msgclass
65
- UpdateVehicleLocationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("maps.fleetengine.v1.UpdateVehicleLocationRequest").msgclass
66
65
  UpdateVehicleAttributesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("maps.fleetengine.v1.UpdateVehicleAttributesRequest").msgclass
67
66
  UpdateVehicleAttributesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("maps.fleetengine.v1.UpdateVehicleAttributesResponse").msgclass
68
67
  SearchVehiclesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("maps.fleetengine.v1.SearchVehiclesRequest").msgclass
@@ -82,9 +82,6 @@ module Google
82
82
  # the `waypoints` field can be updated, but must contain all the waypoints
83
83
  # currently on the vehicle, and no other waypoints.
84
84
  rpc :UpdateVehicle, ::Google::Maps::FleetEngine::V1::UpdateVehicleRequest, ::Google::Maps::FleetEngine::V1::Vehicle
85
- # Deprecated: Use the `UpdateVehicle` method instead.
86
- # UpdateVehicleLocation updates the location of the vehicle.
87
- rpc :UpdateVehicleLocation, ::Google::Maps::FleetEngine::V1::UpdateVehicleLocationRequest, ::Google::Maps::FleetEngine::V1::VehicleLocation
88
85
  # Partially updates a vehicle's attributes.
89
86
  # Only the attributes mentioned in the request will be updated, other
90
87
  # attributes will NOT be altered. Note: this is different in `UpdateVehicle`,
@@ -96,8 +93,6 @@ module Google
96
93
  rpc :ListVehicles, ::Google::Maps::FleetEngine::V1::ListVehiclesRequest, ::Google::Maps::FleetEngine::V1::ListVehiclesResponse
97
94
  # Returns a list of vehicles that match the request options.
98
95
  rpc :SearchVehicles, ::Google::Maps::FleetEngine::V1::SearchVehiclesRequest, ::Google::Maps::FleetEngine::V1::SearchVehiclesResponse
99
- # Deprecated: Use `SearchVehicles` instead.
100
- rpc :SearchFuzzedVehicles, ::Google::Maps::FleetEngine::V1::SearchVehiclesRequest, ::Google::Maps::FleetEngine::V1::SearchVehiclesResponse
101
96
  end
102
97
 
103
98
  Stub = Service.rpc_stub_class
@@ -142,31 +142,6 @@ module Google
142
142
  extend ::Google::Protobuf::MessageExts::ClassMethods
143
143
  end
144
144
 
145
- # `UpdateVehicleLocation` request message.
146
- # @deprecated This message is deprecated and may be removed in the next major version update.
147
- # @!attribute [rw] header
148
- # @return [::Google::Maps::FleetEngine::V1::RequestHeader]
149
- # The standard Fleet Engine request header.
150
- # @!attribute [rw] name
151
- # @return [::String]
152
- # Required. Must be in the format
153
- # `providers/{provider}/vehicles/{vehicle}`.
154
- # The \\{provider} must be the Project ID (for example, `sample-cloud-project`)
155
- # of the Google Cloud Project of which the service account making
156
- # this call is a member.
157
- # @!attribute [rw] current_location
158
- # @return [::Google::Maps::FleetEngine::V1::VehicleLocation]
159
- # Required. The vehicle's most recent location. The `location` and
160
- # `update_time` subfields are required.
161
- # @!attribute [rw] current_state
162
- # @return [::Google::Maps::FleetEngine::V1::VehicleState]
163
- # Set the vehicle's state to either `ONLINE` or `OFFLINE`.
164
- # If set to `UNKNOWN_VEHICLE_STATE`, the vehicle's state will not be altered.
165
- class UpdateVehicleLocationRequest
166
- include ::Google::Protobuf::MessageExts
167
- extend ::Google::Protobuf::MessageExts::ClassMethods
168
- end
169
-
170
145
  # `UpdateVehicleAttributes` request message.
171
146
  # @!attribute [rw] header
172
147
  # @return [::Google::Maps::FleetEngine::V1::RequestHeader]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-maps-fleet_engine-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
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-05-03 00:00:00.000000000 Z
11
+ date: 2024-05-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common