From 39f31b86d7dcd5cd38876f442ad613d15ebceff7 Mon Sep 17 00:00:00 2001 From: Google APIs Date: Thu, 13 Jul 2023 07:46:56 -0700 Subject: [PATCH] docs: update the public protos PiperOrigin-RevId: 547798830 --- google/maps/fleetengine/v1/vehicle_api.proto | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/google/maps/fleetengine/v1/vehicle_api.proto b/google/maps/fleetengine/v1/vehicle_api.proto index ab3206ac49..37838c3d5e 100644 --- a/google/maps/fleetengine/v1/vehicle_api.proto +++ b/google/maps/fleetengine/v1/vehicle_api.proto @@ -457,7 +457,7 @@ message SearchVehiclesRequest { // // `EXCLUSIVE` and `SHARED` may not be included together. // `SHARED` is not supported when `current_trips_present` is - // `CURRENT_TRIPS_PRESENT_UNSPECIFIED`. + // `CURRENT_TRIPS_PRESENT_UNSPECIFIED`. `UNKNOWN_TRIP_TYPE` is not allowed. repeated TripType trip_types = 9 [(google.api.field_behavior) = REQUIRED]; // Restricts the search to only those vehicles that have updated their @@ -466,7 +466,8 @@ message SearchVehiclesRequest { google.protobuf.Duration maximum_staleness = 10; // Required. Restricts the search to vehicles with one of the specified types. - // At least one vehicle type must be specified. + // At least one vehicle type must be specified. VehicleTypes with a category + // of `UNKNOWN` are not allowed. repeated Vehicle.VehicleType vehicle_types = 14 [(google.api.field_behavior) = REQUIRED]; @@ -620,7 +621,7 @@ message ListVehiclesRequest { google.protobuf.Duration maximum_staleness = 8; // Required. Restricts the response to vehicles with one of the specified type - // categories. + // categories. `UNKNOWN` is not allowed. repeated Vehicle.VehicleType.Category vehicle_type_categories = 9 [(google.api.field_behavior) = REQUIRED];