struct

Google::Maps::RouteOptimization::OptimizeToursResponse

Inherits MessagePack::Serializable < JSON::Serializable < Google::Resource < Struct < Value < Object

Constructors

new(pull : JSON::PullParser)
new(*, __pull_for_json_serializable pull : JSON::PullParser)

Instance methods

metrics

Duration, distance and usage metrics for this solution.

request_label

Copy of the OptimizeToursRequest#label, if a label was specified in the request.

routes

Routes computed for each vehicle; the i-th route corresponds to the i-th vehicle in the model.

skipped_shipments

The list of all shipments skipped.

validation_errors

List of all the validation errors that we were able to detect independently. See the "MULTIPLE ERRORS" explanation for the OptimizeToursValidationError message. Instead of errors, this will include warnings in the case solvingMode is DEFAULT_SOLVE.