Method: networks.vehicles.get

  • Retrieves detailed information about a specific vehicle within a network.

  • Uses a GET request to the specified URL with the vehicle's network and unique identifier.

  • Requires an empty request body and returns a Vehicle object containing the vehicle's details upon success.

Gets the details of a Vehicle.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

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

Request body

The request body must be empty.

Response body

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