Method: projects.locations.workspaces.solutions.retrieveInput

Retrieves the OptimizeToursRequest that corresponds to the solution.

HTTP request

GET https://cloudoptimization.googleapis.com/v1/{name}:retrieveInput

Path parameters

Parameters
name

string

Required. The name of the solution to retrieve the corresponding OptimizeToursRequest. Format: "projects/{project}/locations/{location}/workspaces/{workspace}/solutions/{solution}"

Request body

The request body must be empty.

Response body

The response message for solutions.retrieveInput method.

If successful, the response body contains data with the following structure:

JSON representation
{
  "optimizationRequest": {
    object (OptimizeToursRequest)
  }
}
Fields
optimizationRequest

object (OptimizeToursRequest)

The input, i.e. OptimizeToursRequest, used by the optimizer to generate this solution.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.