Method: networks.vehicles.get
Stay organized with collections
Save and categorize content based on your preferences.
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
.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-06 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-08-06 UTC."],[[["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."]]],["This describes how to retrieve vehicle details using a GET request. The URL endpoint is `https://middlemileoptimization.googleapis.com/v1/{name=networks/*/vehicles/*}`, following gRPC Transcoding syntax. A required `name` parameter specifies the vehicle's identifier in the format \"networks/{network}/vehicles/{vehicle}\". The request body is empty. A successful response returns a `Vehicle` object.\n"]]