Method: projects.locations.workspaces.vehicles.get

Gets a vehicle.

HTTP request

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

Path parameters

Parameters
name

string

Required. The name of the vehicle to retrieve. Format: "projects/{project}/locations/{location}/workspaces/{workspace}/vehicles/{vehicle}"

Request body

The request body must be empty.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.