Method: networks.lines.get

  • Retrieves detailed information about a specific Line within a network using a GET request.

  • Requires specifying the network and Line names in the URL path following a specific format.

  • Uses gRPC Transcoding for the request URL syntax.

  • Returns a Line object containing the requested details upon successful execution.

  • The request body should be empty.

Gets the details of a Line.

HTTP request

GET https://middlemileoptimization.googleapis.com/v1/{name=networks/*/lines/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the network to retrieve. Format: "networks/{network}/lines/{line}"

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Line.