google-maps-routeoptimization 0.1.3__tar.gz → 0.1.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. {google_maps_routeoptimization-0.1.3/google_maps_routeoptimization.egg-info → google_maps_routeoptimization-0.1.4}/PKG-INFO +1 -1
  2. {google_maps_routeoptimization-0.1.3 → google_maps_routeoptimization-0.1.4}/google/maps/routeoptimization/gapic_version.py +1 -1
  3. {google_maps_routeoptimization-0.1.3 → google_maps_routeoptimization-0.1.4}/google/maps/routeoptimization_v1/gapic_version.py +1 -1
  4. {google_maps_routeoptimization-0.1.3 → google_maps_routeoptimization-0.1.4}/google/maps/routeoptimization_v1/services/route_optimization/async_client.py +11 -10
  5. {google_maps_routeoptimization-0.1.3 → google_maps_routeoptimization-0.1.4}/google/maps/routeoptimization_v1/services/route_optimization/client.py +11 -10
  6. {google_maps_routeoptimization-0.1.3 → google_maps_routeoptimization-0.1.4}/google/maps/routeoptimization_v1/services/route_optimization/transports/grpc.py +11 -10
  7. {google_maps_routeoptimization-0.1.3 → google_maps_routeoptimization-0.1.4}/google/maps/routeoptimization_v1/services/route_optimization/transports/grpc_asyncio.py +11 -10
  8. {google_maps_routeoptimization-0.1.3 → google_maps_routeoptimization-0.1.4}/google/maps/routeoptimization_v1/types/route_optimization_service.py +23 -349
  9. {google_maps_routeoptimization-0.1.3 → google_maps_routeoptimization-0.1.4/google_maps_routeoptimization.egg-info}/PKG-INFO +1 -1
  10. {google_maps_routeoptimization-0.1.3 → google_maps_routeoptimization-0.1.4}/LICENSE +0 -0
  11. {google_maps_routeoptimization-0.1.3 → google_maps_routeoptimization-0.1.4}/MANIFEST.in +0 -0
  12. {google_maps_routeoptimization-0.1.3 → google_maps_routeoptimization-0.1.4}/README.rst +0 -0
  13. {google_maps_routeoptimization-0.1.3 → google_maps_routeoptimization-0.1.4}/google/maps/routeoptimization/__init__.py +0 -0
  14. {google_maps_routeoptimization-0.1.3 → google_maps_routeoptimization-0.1.4}/google/maps/routeoptimization/py.typed +0 -0
  15. {google_maps_routeoptimization-0.1.3 → google_maps_routeoptimization-0.1.4}/google/maps/routeoptimization_v1/__init__.py +0 -0
  16. {google_maps_routeoptimization-0.1.3 → google_maps_routeoptimization-0.1.4}/google/maps/routeoptimization_v1/gapic_metadata.json +0 -0
  17. {google_maps_routeoptimization-0.1.3 → google_maps_routeoptimization-0.1.4}/google/maps/routeoptimization_v1/py.typed +0 -0
  18. {google_maps_routeoptimization-0.1.3 → google_maps_routeoptimization-0.1.4}/google/maps/routeoptimization_v1/services/__init__.py +0 -0
  19. {google_maps_routeoptimization-0.1.3 → google_maps_routeoptimization-0.1.4}/google/maps/routeoptimization_v1/services/route_optimization/__init__.py +0 -0
  20. {google_maps_routeoptimization-0.1.3 → google_maps_routeoptimization-0.1.4}/google/maps/routeoptimization_v1/services/route_optimization/transports/__init__.py +0 -0
  21. {google_maps_routeoptimization-0.1.3 → google_maps_routeoptimization-0.1.4}/google/maps/routeoptimization_v1/services/route_optimization/transports/base.py +0 -0
  22. {google_maps_routeoptimization-0.1.3 → google_maps_routeoptimization-0.1.4}/google/maps/routeoptimization_v1/services/route_optimization/transports/rest.py +0 -0
  23. {google_maps_routeoptimization-0.1.3 → google_maps_routeoptimization-0.1.4}/google/maps/routeoptimization_v1/types/__init__.py +0 -0
  24. {google_maps_routeoptimization-0.1.3 → google_maps_routeoptimization-0.1.4}/google_maps_routeoptimization.egg-info/SOURCES.txt +0 -0
  25. {google_maps_routeoptimization-0.1.3 → google_maps_routeoptimization-0.1.4}/google_maps_routeoptimization.egg-info/dependency_links.txt +0 -0
  26. {google_maps_routeoptimization-0.1.3 → google_maps_routeoptimization-0.1.4}/google_maps_routeoptimization.egg-info/not-zip-safe +0 -0
  27. {google_maps_routeoptimization-0.1.3 → google_maps_routeoptimization-0.1.4}/google_maps_routeoptimization.egg-info/requires.txt +0 -0
  28. {google_maps_routeoptimization-0.1.3 → google_maps_routeoptimization-0.1.4}/google_maps_routeoptimization.egg-info/top_level.txt +0 -0
  29. {google_maps_routeoptimization-0.1.3 → google_maps_routeoptimization-0.1.4}/setup.cfg +0 -0
  30. {google_maps_routeoptimization-0.1.3 → google_maps_routeoptimization-0.1.4}/setup.py +0 -0
  31. {google_maps_routeoptimization-0.1.3 → google_maps_routeoptimization-0.1.4}/tests/__init__.py +0 -0
  32. {google_maps_routeoptimization-0.1.3 → google_maps_routeoptimization-0.1.4}/tests/unit/__init__.py +0 -0
  33. {google_maps_routeoptimization-0.1.3 → google_maps_routeoptimization-0.1.4}/tests/unit/gapic/__init__.py +0 -0
  34. {google_maps_routeoptimization-0.1.3 → google_maps_routeoptimization-0.1.4}/tests/unit/gapic/routeoptimization_v1/__init__.py +0 -0
  35. {google_maps_routeoptimization-0.1.3 → google_maps_routeoptimization-0.1.4}/tests/unit/gapic/routeoptimization_v1/test_route_optimization.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: google-maps-routeoptimization
3
- Version: 0.1.3
3
+ Version: 0.1.4
4
4
  Summary: Google Maps Routeoptimization API client library
5
5
  Home-page: https://github.com/googleapis/google-cloud-python/tree/main/packages/google-maps-routeoptimization
6
6
  Author: Google LLC
@@ -13,4 +13,4 @@
13
13
  # See the License for the specific language governing permissions and
14
14
  # limitations under the License.
15
15
  #
16
- __version__ = "0.1.3" # {x-release-please-version}
16
+ __version__ = "0.1.4" # {x-release-please-version}
@@ -13,4 +13,4 @@
13
13
  # See the License for the specific language governing permissions and
14
14
  # limitations under the License.
15
15
  #
16
- __version__ = "0.1.3" # {x-release-please-version}
16
+ __version__ = "0.1.4" # {x-release-please-version}
@@ -403,25 +403,26 @@ class RouteOptimizationAsyncClient:
403
403
 
404
404
  This method is a Long Running Operation (LRO). The inputs for
405
405
  optimization (``OptimizeToursRequest`` messages) and outputs
406
- (``OptimizeToursResponse`` messages) are read/written from/to
407
- Cloud Storage in user-specified format. Like the
406
+ (``OptimizeToursResponse`` messages) are read from and written
407
+ to Cloud Storage in user-specified format. Like the
408
408
  ``OptimizeTours`` method, each ``OptimizeToursRequest`` contains
409
409
  a ``ShipmentModel`` and returns an ``OptimizeToursResponse``
410
- containing ``ShipmentRoute``\ s, which are a set of routes to be
411
- performed by vehicles minimizing the overall cost.
410
+ containing ``ShipmentRoute`` fields, which are a set of routes
411
+ to be performed by vehicles minimizing the overall cost.
412
412
 
413
413
  The user can poll ``operations.get`` to check the status of the
414
414
  LRO:
415
415
 
416
- If the LRO's ``done`` field is false, then at least one request
417
- is still being processed. Other requests may have completed
418
- successfully and their results are available in GCS.
416
+ If the LRO ``done`` field is false, then at least one request is
417
+ still being processed. Other requests may have completed
418
+ successfully and their results are available in Cloud Storage.
419
419
 
420
420
  If the LRO's ``done`` field is true, then all requests have been
421
421
  processed. Any successfully processed requests will have their
422
- results available in GCS. Any requests that failed will not have
423
- their results available in GCS. If the LRO's ``error`` field is
424
- set, then it contains the error from one of the failed requests.
422
+ results available in Cloud Storage. Any requests that failed
423
+ will not have their results available in Cloud Storage. If the
424
+ LRO's ``error`` field is set, then it contains the error from
425
+ one of the failed requests.
425
426
 
426
427
  .. code-block:: python
427
428
 
@@ -805,25 +805,26 @@ class RouteOptimizationClient(metaclass=RouteOptimizationClientMeta):
805
805
 
806
806
  This method is a Long Running Operation (LRO). The inputs for
807
807
  optimization (``OptimizeToursRequest`` messages) and outputs
808
- (``OptimizeToursResponse`` messages) are read/written from/to
809
- Cloud Storage in user-specified format. Like the
808
+ (``OptimizeToursResponse`` messages) are read from and written
809
+ to Cloud Storage in user-specified format. Like the
810
810
  ``OptimizeTours`` method, each ``OptimizeToursRequest`` contains
811
811
  a ``ShipmentModel`` and returns an ``OptimizeToursResponse``
812
- containing ``ShipmentRoute``\ s, which are a set of routes to be
813
- performed by vehicles minimizing the overall cost.
812
+ containing ``ShipmentRoute`` fields, which are a set of routes
813
+ to be performed by vehicles minimizing the overall cost.
814
814
 
815
815
  The user can poll ``operations.get`` to check the status of the
816
816
  LRO:
817
817
 
818
- If the LRO's ``done`` field is false, then at least one request
819
- is still being processed. Other requests may have completed
820
- successfully and their results are available in GCS.
818
+ If the LRO ``done`` field is false, then at least one request is
819
+ still being processed. Other requests may have completed
820
+ successfully and their results are available in Cloud Storage.
821
821
 
822
822
  If the LRO's ``done`` field is true, then all requests have been
823
823
  processed. Any successfully processed requests will have their
824
- results available in GCS. Any requests that failed will not have
825
- their results available in GCS. If the LRO's ``error`` field is
826
- set, then it contains the error from one of the failed requests.
824
+ results available in Cloud Storage. Any requests that failed
825
+ will not have their results available in Cloud Storage. If the
826
+ LRO's ``error`` field is set, then it contains the error from
827
+ one of the failed requests.
827
828
 
828
829
  .. code-block:: python
829
830
 
@@ -329,25 +329,26 @@ class RouteOptimizationGrpcTransport(RouteOptimizationTransport):
329
329
 
330
330
  This method is a Long Running Operation (LRO). The inputs for
331
331
  optimization (``OptimizeToursRequest`` messages) and outputs
332
- (``OptimizeToursResponse`` messages) are read/written from/to
333
- Cloud Storage in user-specified format. Like the
332
+ (``OptimizeToursResponse`` messages) are read from and written
333
+ to Cloud Storage in user-specified format. Like the
334
334
  ``OptimizeTours`` method, each ``OptimizeToursRequest`` contains
335
335
  a ``ShipmentModel`` and returns an ``OptimizeToursResponse``
336
- containing ``ShipmentRoute``\ s, which are a set of routes to be
337
- performed by vehicles minimizing the overall cost.
336
+ containing ``ShipmentRoute`` fields, which are a set of routes
337
+ to be performed by vehicles minimizing the overall cost.
338
338
 
339
339
  The user can poll ``operations.get`` to check the status of the
340
340
  LRO:
341
341
 
342
- If the LRO's ``done`` field is false, then at least one request
343
- is still being processed. Other requests may have completed
344
- successfully and their results are available in GCS.
342
+ If the LRO ``done`` field is false, then at least one request is
343
+ still being processed. Other requests may have completed
344
+ successfully and their results are available in Cloud Storage.
345
345
 
346
346
  If the LRO's ``done`` field is true, then all requests have been
347
347
  processed. Any successfully processed requests will have their
348
- results available in GCS. Any requests that failed will not have
349
- their results available in GCS. If the LRO's ``error`` field is
350
- set, then it contains the error from one of the failed requests.
348
+ results available in Cloud Storage. Any requests that failed
349
+ will not have their results available in Cloud Storage. If the
350
+ LRO's ``error`` field is set, then it contains the error from
351
+ one of the failed requests.
351
352
 
352
353
  Returns:
353
354
  Callable[[~.BatchOptimizeToursRequest],
@@ -336,25 +336,26 @@ class RouteOptimizationGrpcAsyncIOTransport(RouteOptimizationTransport):
336
336
 
337
337
  This method is a Long Running Operation (LRO). The inputs for
338
338
  optimization (``OptimizeToursRequest`` messages) and outputs
339
- (``OptimizeToursResponse`` messages) are read/written from/to
340
- Cloud Storage in user-specified format. Like the
339
+ (``OptimizeToursResponse`` messages) are read from and written
340
+ to Cloud Storage in user-specified format. Like the
341
341
  ``OptimizeTours`` method, each ``OptimizeToursRequest`` contains
342
342
  a ``ShipmentModel`` and returns an ``OptimizeToursResponse``
343
- containing ``ShipmentRoute``\ s, which are a set of routes to be
344
- performed by vehicles minimizing the overall cost.
343
+ containing ``ShipmentRoute`` fields, which are a set of routes
344
+ to be performed by vehicles minimizing the overall cost.
345
345
 
346
346
  The user can poll ``operations.get`` to check the status of the
347
347
  LRO:
348
348
 
349
- If the LRO's ``done`` field is false, then at least one request
350
- is still being processed. Other requests may have completed
351
- successfully and their results are available in GCS.
349
+ If the LRO ``done`` field is false, then at least one request is
350
+ still being processed. Other requests may have completed
351
+ successfully and their results are available in Cloud Storage.
352
352
 
353
353
  If the LRO's ``done`` field is true, then all requests have been
354
354
  processed. Any successfully processed requests will have their
355
- results available in GCS. Any requests that failed will not have
356
- their results available in GCS. If the LRO's ``error`` field is
357
- set, then it contains the error from one of the failed requests.
355
+ results available in Cloud Storage. Any requests that failed
356
+ will not have their results available in Cloud Storage. If the
357
+ LRO's ``error`` field is set, then it contains the error from
358
+ one of the failed requests.
358
359
 
359
360
  Returns:
360
361
  Callable[[~.BatchOptimizeToursRequest],
@@ -338,7 +338,8 @@ class OptimizeToursRequest(proto.Message):
338
338
  If true, polylines will be populated in response
339
339
  ``ShipmentRoute``\ s.
340
340
  populate_transition_polylines (bool):
341
- If true, polylines will be populated in response
341
+ If true, polylines and route tokens will be populated in
342
+ response
342
343
  [ShipmentRoute.transitions][google.maps.routeoptimization.v1.ShipmentRoute.transitions].
343
344
  allow_large_deadline_despite_interruption_risk (bool):
344
345
  If this is set, then the request can have a
@@ -2937,6 +2938,18 @@ class ShipmentRoute(proto.Message):
2937
2938
  [populate_transition_polylines]
2938
2939
  [google.maps.routeoptimization.v1.OptimizeToursRequest.populate_transition_polylines]
2939
2940
  is set to true.
2941
+ route_token (str):
2942
+ Output only. An opaque token that can be passed to
2943
+ `Navigation
2944
+ SDK <https://developers.google.com/maps/documentation/navigation>`__
2945
+ to reconstruct the route during navigation, and, in the
2946
+ event of rerouting, honor the original intention when the
2947
+ route was created. Treat this token as an opaque blob. Don't
2948
+ compare its value across requests as its value may change
2949
+ even if the service returns the exact same route. This field
2950
+ is only populated if [populate_transition_polylines]
2951
+ [google.maps.routeoptimization.v1.OptimizeToursRequest.populate_transition_polylines]
2952
+ is set to true.
2940
2953
  vehicle_loads (MutableMapping[str, google.maps.routeoptimization_v1.types.ShipmentRoute.VehicleLoad]):
2941
2954
  Vehicle loads during this transition, for each type that
2942
2955
  either appears in this vehicle's
@@ -2995,6 +3008,10 @@ class ShipmentRoute(proto.Message):
2995
3008
  number=9,
2996
3009
  message="ShipmentRoute.EncodedPolyline",
2997
3010
  )
3011
+ route_token: str = proto.Field(
3012
+ proto.STRING,
3013
+ number=12,
3014
+ )
2998
3015
  vehicle_loads: MutableMapping[
2999
3016
  str, "ShipmentRoute.VehicleLoad"
3000
3017
  ] = proto.MapField(
@@ -3562,7 +3579,8 @@ class OptimizeToursValidationError(proto.Message):
3562
3579
  A validation error is defined by the pair (``code``,
3563
3580
  ``display_name``) which are always present.
3564
3581
 
3565
- Other fields (below) provide more context about the error.
3582
+ The fields following this section provide more context about
3583
+ the error.
3566
3584
 
3567
3585
  *MULTIPLE ERRORS*: When there are multiple errors, the
3568
3586
  validation process tries to output several of them. Much
@@ -3570,358 +3588,14 @@ class OptimizeToursValidationError(proto.Message):
3570
3588
  validation errors will be "fatal", meaning that they stop
3571
3589
  the entire validation process. This is the case for
3572
3590
  ``display_name="UNSPECIFIED"`` errors, among others. Some
3573
- may cause the validation process to skip other errors.
3591
+ errors may cause the validation process to skip other
3592
+ errors.
3574
3593
 
3575
3594
  *STABILITY*: ``code`` and ``display_name`` should be very
3576
3595
  stable. But new codes and display names may appear over
3577
3596
  time, which may cause a given (invalid) request to yield a
3578
3597
  different (``code``, ``display_name``) pair because the new
3579
- error hid the old one (see "MULTIPLE ERRORS").
3580
-
3581
- *REFERENCE*: A list of all (code, name) pairs:
3582
-
3583
- - UNSPECIFIED = 0;
3584
-
3585
- - VALIDATION_TIMEOUT_ERROR = 10; Validation couldn't be
3586
- completed within the deadline.
3587
-
3588
- - REQUEST_OPTIONS_ERROR = 12;
3589
-
3590
- - REQUEST_OPTIONS_INVALID_SOLVING_MODE = 1201;
3591
- - REQUEST_OPTIONS_INVALID_MAX_VALIDATION_ERRORS = 1203;
3592
- - REQUEST_OPTIONS_INVALID_GEODESIC_METERS_PER_SECOND =
3593
- 1204;
3594
- - REQUEST_OPTIONS_GEODESIC_METERS_PER_SECOND_TOO_SMALL =
3595
- 1205;
3596
- - REQUEST_OPTIONS_MISSING_GEODESIC_METERS_PER_SECOND =
3597
- 1206;
3598
- - REQUEST_OPTIONS_POPULATE_PATHFINDER_TRIPS_AND_GEODESIC_DISTANCE
3599
- = 1207;
3600
- - REQUEST_OPTIONS_COST_MODEL_OPTIONS_AND_GEODESIC_DISTANCE
3601
- = 1208;
3602
- - REQUEST_OPTIONS_TRAVEL_MODE_INCOMPATIBLE_WITH_TRAFFIC
3603
- = 1211;
3604
- - REQUEST_OPTIONS_MULTIPLE_TRAFFIC_FLAVORS = 1212;
3605
- - REQUEST_OPTIONS_INVALID_TRAFFIC_FLAVOR = 1213;
3606
- - REQUEST_OPTIONS_TRAFFIC_ENABLED_WITHOUT_GLOBAL_START_TIME
3607
- = 1214;
3608
- - REQUEST_OPTIONS_TRAFFIC_ENABLED_WITH_PRECEDENCES =
3609
- 1215;
3610
- - REQUEST_OPTIONS_TRAFFIC_PREFILL_MODE_INVALID = 1216;
3611
- - REQUEST_OPTIONS_TRAFFIC_PREFILL_ENABLED_WITHOUT_TRAFFIC
3612
- = 1217;
3613
-
3614
- - INJECTED_SOLUTION_ERROR = 20;
3615
-
3616
- - INJECTED_SOLUTION_MISSING_LABEL = 2000;
3617
- - INJECTED_SOLUTION_DUPLICATE_LABEL = 2001;
3618
- - INJECTED_SOLUTION_AMBIGUOUS_INDEX = 2002;
3619
- - INJECTED_SOLUTION_INFEASIBLE_AFTER_GETTING_TRAVEL_TIMES
3620
- = 2003;
3621
- - INJECTED_SOLUTION_TRANSITION_INCONSISTENT_WITH_ACTUAL_TRAVEL
3622
- = 2004;
3623
- - INJECTED_SOLUTION_CONCURRENT_SOLUTION_TYPES = 2005;
3624
- - INJECTED_SOLUTION_MORE_THAN_ONE_PER_TYPE = 2006;
3625
- - INJECTED_SOLUTION_REFRESH_WITHOUT_POPULATE = 2008;
3626
- - INJECTED_SOLUTION_CONSTRAINED_ROUTE_PORTION_INFEASIBLE
3627
- = 2010;
3628
-
3629
- - SHIPMENT_MODEL_ERROR = 22;
3630
-
3631
- - SHIPMENT_MODEL_TOO_LARGE = 2200;
3632
- - SHIPMENT_MODEL_TOO_MANY_CAPACITY_TYPES = 2201;
3633
- - SHIPMENT_MODEL_GLOBAL_START_TIME_NEGATIVE_OR_NAN =
3634
- 2202;
3635
- - SHIPMENT_MODEL_GLOBAL_END_TIME_TOO_LARGE_OR_NAN =
3636
- 2203;
3637
- - SHIPMENT_MODEL_GLOBAL_START_TIME_AFTER_GLOBAL_END_TIME
3638
- = 2204;
3639
- - SHIPMENT_MODEL_GLOBAL_DURATION_TOO_LONG = 2205;
3640
- - SHIPMENT_MODEL_MAX_ACTIVE_VEHICLES_NOT_POSITIVE =
3641
- 2206;
3642
- - SHIPMENT_MODEL_DURATION_MATRIX_TOO_LARGE = 2207;
3643
-
3644
- - INDEX_ERROR = 24;
3645
-
3646
- - TAG_ERROR = 26;
3647
-
3648
- - TIME_WINDOW_ERROR = 28;
3649
-
3650
- - TIME_WINDOW_INVALID_START_TIME = 2800;
3651
- - TIME_WINDOW_INVALID_END_TIME = 2801;
3652
- - TIME_WINDOW_INVALID_SOFT_START_TIME = 2802;
3653
- - TIME_WINDOW_INVALID_SOFT_END_TIME = 2803;
3654
- - TIME_WINDOW_OUTSIDE_GLOBAL_TIME_WINDOW = 2804;
3655
- - TIME_WINDOW_START_TIME_AFTER_END_TIME = 2805;
3656
- - TIME_WINDOW_INVALID_COST_PER_HOUR_BEFORE_SOFT_START_TIME
3657
- = 2806;
3658
- - TIME_WINDOW_INVALID_COST_PER_HOUR_AFTER_SOFT_END_TIME
3659
- = 2807;
3660
- - TIME_WINDOW_COST_BEFORE_SOFT_START_TIME_WITHOUT_SOFT_START_TIME
3661
- = 2808;
3662
- - TIME_WINDOW_COST_AFTER_SOFT_END_TIME_WITHOUT_SOFT_END_TIME
3663
- = 2809;
3664
- - TIME_WINDOW_SOFT_START_TIME_WITHOUT_COST_BEFORE_SOFT_START_TIME
3665
- = 2810;
3666
- - TIME_WINDOW_SOFT_END_TIME_WITHOUT_COST_AFTER_SOFT_END_TIME
3667
- = 2811;
3668
- - TIME_WINDOW_OVERLAPPING_ADJACENT_OR_EARLIER_THAN_PREVIOUS
3669
- = 2812;
3670
- - TIME_WINDOW_START_TIME_AFTER_SOFT_START_TIME = 2813;
3671
- - TIME_WINDOW_SOFT_START_TIME_OUTSIDE_GLOBAL_TIME_WINDOW
3672
- = 2819;
3673
- - TIME_WINDOW_SOFT_END_TIME_OUTSIDE_GLOBAL_TIME_WINDOW =
3674
- 2820;
3675
- - TIME_WINDOW_SOFT_END_TIME_AFTER_END_TIME = 2816;
3676
- - TIME_WINDOW_COST_BEFORE_SOFT_START_TIME_SET_AND_MULTIPLE_WINDOWS
3677
- = 2817;
3678
- - TIME_WINDOW_COST_AFTER_SOFT_END_TIME_SET_AND_MULTIPLE_WINDOWS
3679
- = 2818;
3680
- - TRANSITION_ATTRIBUTES_ERROR = 30;
3681
- - TRANSITION_ATTRIBUTES_INVALID_COST = 3000;
3682
- - TRANSITION_ATTRIBUTES_INVALID_COST_PER_KILOMETER =
3683
- 3001;
3684
- - TRANSITION_ATTRIBUTES_DUPLICATE_TAG_PAIR = 3002;
3685
- - TRANSITION_ATTRIBUTES_DISTANCE_LIMIT_MAX_METERS_UNSUPPORTED
3686
- = 3003;
3687
- - TRANSITION_ATTRIBUTES_UNSPECIFIED_SOURCE_TAGS = 3004;
3688
- - TRANSITION_ATTRIBUTES_CONFLICTING_SOURCE_TAGS_FIELDS =
3689
- 3005;
3690
- - TRANSITION_ATTRIBUTES_UNSPECIFIED_DESTINATION_TAGS =
3691
- 3006;
3692
- - TRANSITION_ATTRIBUTES_CONFLICTING_DESTINATION_TAGS_FIELDS
3693
- = 3007;
3694
- - TRANSITION_ATTRIBUTES_DELAY_DURATION_NEGATIVE_OR_NAN =
3695
- 3008;
3696
- - TRANSITION_ATTRIBUTES_DELAY_DURATION_EXCEEDS_GLOBAL_DURATION
3697
- = 3009;
3698
-
3699
- - AMOUNT_ERROR = 31;
3700
-
3701
- - AMOUNT_NEGATIVE_VALUE = 3100;
3702
-
3703
- - LOAD_LIMIT_ERROR = 33;
3704
-
3705
- - LOAD_LIMIT_INVALID_COST_ABOVE_SOFT_MAX = 3303;
3706
- - LOAD_LIMIT_SOFT_MAX_WITHOUT_COST_ABOVE_SOFT_MAX =
3707
- 3304;
3708
- - LOAD_LIMIT_COST_ABOVE_SOFT_MAX_WITHOUT_SOFT_MAX =
3709
- 3305;
3710
- - LOAD_LIMIT_NEGATIVE_SOFT_MAX = 3306;
3711
- - LOAD_LIMIT_MIXED_DEMAND_TYPE = 3307;
3712
- - LOAD_LIMIT_MAX_LOAD_NEGATIVE_VALUE = 3308;
3713
- - LOAD_LIMIT_SOFT_MAX_ABOVE_MAX = 3309;
3714
-
3715
- - INTERVAL_ERROR = 34;
3716
-
3717
- - INTERVAL_MIN_EXCEEDS_MAX = 3401;
3718
- - INTERVAL_NEGATIVE_MIN = 3402;
3719
- - INTERVAL_NEGATIVE_MAX = 3403;
3720
- - INTERVAL_MIN_EXCEEDS_CAPACITY = 3404;
3721
- - INTERVAL_MAX_EXCEEDS_CAPACITY = 3405;
3722
-
3723
- - DISTANCE_LIMIT_ERROR = 36;
3724
-
3725
- - DISTANCE_LIMIT_INVALID_COST_AFTER_SOFT_MAX = 3601;
3726
- - DISTANCE_LIMIT_SOFT_MAX_WITHOUT_COST_AFTER_SOFT_MAX =
3727
- 3602;
3728
- - DISTANCE_LIMIT_COST_AFTER_SOFT_MAX_WITHOUT_SOFT_MAX =
3729
- 3603;
3730
- - DISTANCE_LIMIT_NEGATIVE_MAX = 3604;
3731
- - DISTANCE_LIMIT_NEGATIVE_SOFT_MAX = 3605;
3732
- - DISTANCE_LIMIT_SOFT_MAX_LARGER_THAN_MAX = 3606;
3733
-
3734
- - DURATION_LIMIT_ERROR = 38;
3735
-
3736
- - DURATION_LIMIT_MAX_DURATION_NEGATIVE_OR_NAN = 3800;
3737
- - DURATION_LIMIT_SOFT_MAX_DURATION_NEGATIVE_OR_NAN =
3738
- 3801;
3739
- - DURATION_LIMIT_INVALID_COST_PER_HOUR_AFTER_SOFT_MAX =
3740
- 3802;
3741
- - DURATION_LIMIT_SOFT_MAX_WITHOUT_COST_AFTER_SOFT_MAX =
3742
- 3803;
3743
- - DURATION_LIMIT_COST_AFTER_SOFT_MAX_WITHOUT_SOFT_MAX =
3744
- 3804;
3745
- - DURATION_LIMIT_QUADRATIC_SOFT_MAX_DURATION_NEGATIVE_OR_NAN
3746
- = 3805;
3747
- - DURATION_LIMIT_INVALID_COST_AFTER_QUADRATIC_SOFT_MAX =
3748
- 3806;
3749
- - DURATION_LIMIT_QUADRATIC_SOFT_MAX_WITHOUT_COST_PER_SQUARE_HOUR
3750
- = 3807;
3751
- - DURATION_LIMIT_COST_PER_SQUARE_HOUR_WITHOUT_QUADRATIC_SOFT_MAX
3752
- = 3808;
3753
- - DURATION_LIMIT_QUADRATIC_SOFT_MAX_WITHOUT_MAX = 3809;
3754
- - DURATION_LIMIT_SOFT_MAX_LARGER_THAN_MAX = 3810;
3755
- - DURATION_LIMIT_QUADRATIC_SOFT_MAX_LARGER_THAN_MAX =
3756
- 3811;
3757
- - DURATION_LIMIT_DIFF_BETWEEN_MAX_AND_QUADRATIC_SOFT_MAX_TOO_LARGE
3758
- = 3812;
3759
- - DURATION_LIMIT_MAX_DURATION_EXCEEDS_GLOBAL_DURATION =
3760
- 3813;
3761
- - DURATION_LIMIT_SOFT_MAX_DURATION_EXCEEDS_GLOBAL_DURATION
3762
- = 3814;
3763
- - DURATION_LIMIT_QUADRATIC_SOFT_MAX_DURATION_EXCEEDS_GLOBAL_DURATION
3764
- = 3815;
3765
-
3766
- - SHIPMENT_ERROR = 40;
3767
-
3768
- - SHIPMENT_PD_LIMIT_WITHOUT_PICKUP_AND_DELIVERY = 4014;
3769
- - SHIPMENT_PD_ABSOLUTE_DETOUR_LIMIT_DURATION_NEGATIVE_OR_NAN
3770
- = 4000;
3771
- - SHIPMENT_PD_ABSOLUTE_DETOUR_LIMIT_DURATION_EXCEEDS_GLOBAL_DURATION
3772
- = 4001;
3773
- - SHIPMENT_PD_RELATIVE_DETOUR_LIMIT_INVALID = 4015;
3774
- - SHIPMENT_PD_DETOUR_LIMIT_AND_EXTRA_VISIT_DURATION =
3775
- 4016;
3776
- - SHIPMENT_PD_TIME_LIMIT_DURATION_NEGATIVE_OR_NAN =
3777
- 4002;
3778
- - SHIPMENT_PD_TIME_LIMIT_DURATION_EXCEEDS_GLOBAL_DURATION
3779
- = 4003;
3780
- - SHIPMENT_EMPTY_SHIPMENT_TYPE = 4004;
3781
- - SHIPMENT_NO_PICKUP_NO_DELIVERY = 4005;
3782
- - SHIPMENT_INVALID_PENALTY_COST = 4006;
3783
- - SHIPMENT_ALLOWED_VEHICLE_INDEX_OUT_OF_BOUNDS = 4007;
3784
- - SHIPMENT_DUPLICATE_ALLOWED_VEHICLE_INDEX = 4008;
3785
- - SHIPMENT_INCONSISTENT_COST_FOR_VEHICLE_SIZE_WITHOUT_INDEX
3786
- = 4009;
3787
- - SHIPMENT_INCONSISTENT_COST_FOR_VEHICLE_SIZE_WITH_INDEX
3788
- = 4010;
3789
- - SHIPMENT_INVALID_COST_FOR_VEHICLE = 4011;
3790
- - SHIPMENT_COST_FOR_VEHICLE_INDEX_OUT_OF_BOUNDS = 4012;
3791
- - SHIPMENT_DUPLICATE_COST_FOR_VEHICLE_INDEX = 4013;
3792
-
3793
- - VEHICLE_ERROR = 42;
3794
-
3795
- - VEHICLE_EMPTY_REQUIRED_OPERATOR_TYPE = 4200;
3796
- - VEHICLE_DUPLICATE_REQUIRED_OPERATOR_TYPE = 4201;
3797
- - VEHICLE_NO_OPERATOR_WITH_REQUIRED_OPERATOR_TYPE =
3798
- 4202;
3799
- - VEHICLE_EMPTY_START_TAG = 4203;
3800
- - VEHICLE_DUPLICATE_START_TAG = 4204;
3801
- - VEHICLE_EMPTY_END_TAG = 4205;
3802
- - VEHICLE_DUPLICATE_END_TAG = 4206;
3803
- - VEHICLE_EXTRA_VISIT_DURATION_NEGATIVE_OR_NAN = 4207;
3804
- - VEHICLE_EXTRA_VISIT_DURATION_EXCEEDS_GLOBAL_DURATION =
3805
- 4208;
3806
- - VEHICLE_EXTRA_VISIT_DURATION_EMPTY_KEY = 4209;
3807
- - VEHICLE_FIRST_SHIPMENT_INDEX_OUT_OF_BOUNDS = 4210;
3808
- - VEHICLE_FIRST_SHIPMENT_IGNORED = 4211;
3809
- - VEHICLE_FIRST_SHIPMENT_NOT_BOUND = 4212;
3810
- - VEHICLE_LAST_SHIPMENT_INDEX_OUT_OF_BOUNDS = 4213;
3811
- - VEHICLE_LAST_SHIPMENT_IGNORED = 4214;
3812
- - VEHICLE_LAST_SHIPMENT_NOT_BOUND = 4215;
3813
- - VEHICLE_IGNORED_WITH_USED_IF_ROUTE_IS_EMPTY = 4216;
3814
- - VEHICLE_INVALID_COST_PER_KILOMETER = 4217;
3815
- - VEHICLE_INVALID_COST_PER_HOUR = 4218;
3816
- - VEHICLE_INVALID_COST_PER_TRAVELED_HOUR = 4219;
3817
- - VEHICLE_INVALID_FIXED_COST = 4220;
3818
- - VEHICLE_INVALID_TRAVEL_DURATION_MULTIPLE = 4221;
3819
- - VEHICLE_TRAVEL_DURATION_MULTIPLE_WITH_SHIPMENT_PD_DETOUR_LIMITS
3820
- = 4223;
3821
- - VEHICLE_MATRIX_INDEX_WITH_SHIPMENT_PD_DETOUR_LIMITS =
3822
- 4224;
3823
- - VEHICLE_MINIMUM_DURATION_LONGER_THAN_DURATION_LIMIT =
3824
- 4222;
3825
-
3826
- - VISIT_REQUEST_ERROR = 44;
3827
-
3828
- - VISIT_REQUEST_EMPTY_TAG = 4400;
3829
- - VISIT_REQUEST_DUPLICATE_TAG = 4401;
3830
- - VISIT_REQUEST_DURATION_NEGATIVE_OR_NAN = 4404;
3831
- - VISIT_REQUEST_DURATION_EXCEEDS_GLOBAL_DURATION = 4405;
3832
-
3833
- - PRECEDENCE_ERROR = 46;
3834
-
3835
- - PRECEDENCE_RULE_MISSING_FIRST_INDEX = 4600;
3836
- - PRECEDENCE_RULE_MISSING_SECOND_INDEX = 4601;
3837
- - PRECEDENCE_RULE_FIRST_INDEX_OUT_OF_BOUNDS = 4602;
3838
- - PRECEDENCE_RULE_SECOND_INDEX_OUT_OF_BOUNDS = 4603;
3839
- - PRECEDENCE_RULE_DUPLICATE_INDEX = 4604;
3840
- - PRECEDENCE_RULE_INEXISTENT_FIRST_VISIT_REQUEST = 4605;
3841
- - PRECEDENCE_RULE_INEXISTENT_SECOND_VISIT_REQUEST =
3842
- 4606;
3843
-
3844
- - BREAK_ERROR = 48;
3845
-
3846
- - BREAK_RULE_EMPTY = 4800;
3847
- - BREAK_REQUEST_UNSPECIFIED_DURATION = 4801;
3848
- - BREAK_REQUEST_UNSPECIFIED_EARLIEST_START_TIME = 4802;
3849
- - BREAK_REQUEST_UNSPECIFIED_LATEST_START_TIME = 4803;
3850
- - BREAK_REQUEST_DURATION_NEGATIVE_OR_NAN = 4804; = 4804;
3851
- - BREAK_REQUEST_LATEST_START_TIME_BEFORE_EARLIEST_START_TIME
3852
- = 4805;
3853
- - BREAK_REQUEST_EARLIEST_START_TIME_BEFORE_GLOBAL_START_TIME
3854
- = 4806;
3855
- - BREAK_REQUEST_LATEST_END_TIME_AFTER_GLOBAL_END_TIME =
3856
- 4807;
3857
- - BREAK_REQUEST_NON_SCHEDULABLE = 4808;
3858
- - BREAK_FREQUENCY_MAX_INTER_BREAK_DURATION_NEGATIVE_OR_NAN
3859
- = 4809;
3860
- - BREAK_FREQUENCY_MIN_BREAK_DURATION_NEGATIVE_OR_NAN =
3861
- 4810;
3862
- - BREAK_FREQUENCY_MIN_BREAK_DURATION_EXCEEDS_GLOBAL_DURATION
3863
- = 4811;
3864
- - BREAK_FREQUENCY_MAX_INTER_BREAK_DURATION_EXCEEDS_GLOBAL_DURATION
3865
- = 4812;
3866
- - BREAK_REQUEST_DURATION_EXCEEDS_GLOBAL_DURATION = 4813;
3867
- - BREAK_FREQUENCY_MISSING_MAX_INTER_BREAK_DURATION =
3868
- 4814;
3869
- - BREAK_FREQUENCY_MISSING_MIN_BREAK_DURATION = 4815;
3870
-
3871
- - SHIPMENT_TYPE_INCOMPATIBILITY_ERROR = 50;
3872
-
3873
- - SHIPMENT_TYPE_INCOMPATIBILITY_EMPTY_TYPE = 5001;
3874
- - SHIPMENT_TYPE_INCOMPATIBILITY_LESS_THAN_TWO_TYPES =
3875
- 5002;
3876
- - SHIPMENT_TYPE_INCOMPATIBILITY_DUPLICATE_TYPE = 5003;
3877
- - SHIPMENT_TYPE_INCOMPATIBILITY_INVALID_INCOMPATIBILITY_MODE
3878
- = 5004;
3879
- - SHIPMENT_TYPE_INCOMPATIBILITY_TOO_MANY_INCOMPATIBILITIES
3880
- = 5005;
3881
-
3882
- - SHIPMENT_TYPE_REQUIREMENT_ERROR = 52;
3883
-
3884
- - SHIPMENT_TYPE_REQUIREMENT_NO_REQUIRED_TYPE = 52001;
3885
- - SHIPMENT_TYPE_REQUIREMENT_NO_DEPENDENT_TYPE = 52002;
3886
- - SHIPMENT_TYPE_REQUIREMENT_INVALID_REQUIREMENT_MODE =
3887
- 52003;
3888
- - SHIPMENT_TYPE_REQUIREMENT_TOO_MANY_REQUIREMENTS =
3889
- 52004;
3890
- - SHIPMENT_TYPE_REQUIREMENT_EMPTY_REQUIRED_TYPE = 52005;
3891
- - SHIPMENT_TYPE_REQUIREMENT_DUPLICATE_REQUIRED_TYPE =
3892
- 52006;
3893
- - SHIPMENT_TYPE_REQUIREMENT_NO_REQUIRED_TYPE_FOUND =
3894
- 52007;
3895
- - SHIPMENT_TYPE_REQUIREMENT_EMPTY_DEPENDENT_TYPE =
3896
- 52008;
3897
- - SHIPMENT_TYPE_REQUIREMENT_DUPLICATE_DEPENDENT_TYPE =
3898
- 52009;
3899
- - SHIPMENT_TYPE_REQUIREMENT_SELF_DEPENDENT_TYPE = 52010;
3900
- - SHIPMENT_TYPE_REQUIREMENT_GRAPH_HAS_CYCLES = 52011;
3901
-
3902
- - VEHICLE_OPERATOR_ERROR = 54;
3903
-
3904
- - VEHICLE_OPERATOR_EMPTY_TYPE = 5400;
3905
- - VEHICLE_OPERATOR_MULTIPLE_START_TIME_WINDOWS = 5401;
3906
- - VEHICLE_OPERATOR_SOFT_START_TIME_WINDOW = 5402;
3907
- - VEHICLE_OPERATOR_MULTIPLE_END_TIME_WINDOWS = 5403;
3908
- - VEHICLE_OPERATOR_SOFT_END_TIME_WINDOW = 5404;
3909
-
3910
- - DURATION_SECONDS_MATRIX_ERROR = 56;
3911
-
3912
- - DURATION_SECONDS_MATRIX_DURATION_NEGATIVE_OR_NAN =
3913
- 5600;
3914
- - DURATION_SECONDS_MATRIX_DURATION_EXCEEDS_GLOBAL_DURATION
3915
- = 5601;
3916
-
3917
- - WARNING = 9;
3918
-
3919
- - WARNING_INJECTED_FIRST_SOLUTION = 90;
3920
-
3921
- - WARNING_INJECTED_FIRST_SOLUTION_INFEASIBLE_SHIPMENTS_REMOVED
3922
- = 9000;
3923
- - WARNING_INJECTED_FIRST_SOLUTION_INFEASIBLE_AFTER_GETTING_TRAVEL_TIMES
3924
- = 9001;
3598
+ error hid the old one. For example, see "MULTIPLE ERRORS".
3925
3599
  display_name (str):
3926
3600
  The error display name.
3927
3601
  fields (MutableSequence[google.maps.routeoptimization_v1.types.OptimizeToursValidationError.FieldReference]):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: google-maps-routeoptimization
3
- Version: 0.1.3
3
+ Version: 0.1.4
4
4
  Summary: Google Maps Routeoptimization API client library
5
5
  Home-page: https://github.com/googleapis/google-cloud-python/tree/main/packages/google-maps-routeoptimization
6
6
  Author: Google LLC