lib/google/cloud/optimization/v1/fleet_routing/rest/client.rb in google-cloud-optimization-v1-0.4.1 vs lib/google/cloud/optimization/v1/fleet_routing/rest/client.rb in google-cloud-optimization-v1-0.5.0

- old
+ new

@@ -196,11 +196,11 @@ # A request object representing the call parameters. Required. To specify no # parameters, or to keep all the default parameter values, pass an empty Hash. # @param options [::Gapic::CallOptions, ::Hash] # Overrides the default settings for this call, e.g, timeout, retries etc. Optional. # - # @overload optimize_tours(parent: nil, timeout: nil, model: nil, solving_mode: nil, max_validation_errors: nil, search_mode: nil, injected_first_solution_routes: nil, injected_solution_constraint: nil, refresh_details_routes: nil, interpret_injected_solutions_using_labels: nil, consider_road_traffic: nil, populate_polylines: nil, populate_transition_polylines: nil, allow_large_deadline_despite_interruption_risk: nil, use_geodesic_distances: nil, geodesic_meters_per_second: nil, label: nil, populate_travel_step_polylines: nil) + # @overload optimize_tours(parent: nil, timeout: nil, model: nil, solving_mode: nil, search_mode: nil, injected_first_solution_routes: nil, injected_solution_constraint: nil, refresh_details_routes: nil, interpret_injected_solutions_using_labels: nil, consider_road_traffic: nil, populate_polylines: nil, populate_transition_polylines: nil, allow_large_deadline_despite_interruption_risk: nil, use_geodesic_distances: nil, geodesic_meters_per_second: nil, max_validation_errors: nil, label: nil, populate_travel_step_polylines: nil) # Pass arguments to `optimize_tours` via keyword arguments. Note that at # least one keyword argument is required. To specify no parameters, or to keep all # the default parameter values, pass an empty Hash as a request object (see above). # # @param parent [::String] @@ -218,18 +218,10 @@ # possible) before the timeout has elapsed. # @param model [::Google::Cloud::Optimization::V1::ShipmentModel, ::Hash] # Shipment model to solve. # @param solving_mode [::Google::Cloud::Optimization::V1::OptimizeToursRequest::SolvingMode] # By default, the solving mode is `DEFAULT_SOLVE` (0). - # @param max_validation_errors [::Integer] - # Truncates the number of validation errors returned. These errors are - # typically attached to an INVALID_ARGUMENT error payload as a BadRequest - # error detail (https://cloud.google.com/apis/design/errors#error_details), - # unless solving_mode=VALIDATE_ONLY: see the - # {::Google::Cloud::Optimization::V1::OptimizeToursResponse#validation_errors OptimizeToursResponse.validation_errors} - # field. - # This defaults to 100 and is capped at 10,000. # @param search_mode [::Google::Cloud::Optimization::V1::OptimizeToursRequest::SearchMode] # Search mode used to solve the request. # @param injected_first_solution_routes [::Array<::Google::Cloud::Optimization::V1::ShipmentRoute, ::Hash>] # Guide the optimization algorithm in finding a first solution that is # similar to a previous solution. @@ -380,9 +372,17 @@ # distances with a speed defined by `geodesic_meters_per_second`. # @param geodesic_meters_per_second [::Float] # When `use_geodesic_distances` is true, this field must be set and defines # the speed applied to compute travel times. Its value must be at least 1.0 # meters/seconds. + # @param max_validation_errors [::Integer] + # Truncates the number of validation errors returned. These errors are + # typically attached to an INVALID_ARGUMENT error payload as a BadRequest + # error detail (https://cloud.google.com/apis/design/errors#error_details), + # unless solving_mode=VALIDATE_ONLY: see the + # {::Google::Cloud::Optimization::V1::OptimizeToursResponse#validation_errors OptimizeToursResponse.validation_errors} + # field. + # This defaults to 100 and is capped at 10,000. # @param label [::String] # Label that may be used to identify this request, reported back in the # {::Google::Cloud::Optimization::V1::OptimizeToursResponse#request_label OptimizeToursResponse.request_label}. # @param populate_travel_step_polylines [::Boolean] # Deprecated: Use