Required. Must be in the format providers/{provider}/vehicles/{vehicle}. The provider must be the Project ID (for example, sample-cloud-project) of the Google Cloud Project of which the service account making this call is a member.
Indicates the minimum timestamp (exclusive) for which Vehicle.current_route_segment is retrieved. If the route is unchanged since this timestamp, the current_route_segment field is not set in the response. If a minimum is unspecified, the current_route_segment is always retrieved.
Indicates the minimum timestamp (exclusive) for which Vehicle.waypoints data is retrieved. If the waypoints are unchanged since this timestamp, the vehicle.waypoints data is not set in the response. If this field is unspecified, vehicle.waypoints is always retrieved.
Required. Must be in the format
providers/{provider}/vehicles/{vehicle}.
The provider must be the Project ID (for example, sample-cloud-project)
of the Google Cloud Project of which the service account making
this call is a member.
Returns
Type
Description
string
setName
Required. Must be in the format
providers/{provider}/vehicles/{vehicle}.
The provider must be the Project ID (for example, sample-cloud-project)
of the Google Cloud Project of which the service account making
this call is a member.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getCurrentRouteSegmentVersion
Indicates the minimum timestamp (exclusive) for which
Vehicle.current_route_segment is retrieved.
If the route is unchanged since this timestamp, the current_route_segment
field is not set in the response. If a minimum is unspecified, the
current_route_segment is always retrieved.
Indicates the minimum timestamp (exclusive) for which
Vehicle.current_route_segment is retrieved.
If the route is unchanged since this timestamp, the current_route_segment
field is not set in the response. If a minimum is unspecified, the
current_route_segment is always retrieved.
Indicates the minimum timestamp (exclusive) for which Vehicle.waypoints
data is retrieved. If the waypoints are unchanged since this timestamp, the
vehicle.waypoints data is not set in the response. If this field is
unspecified, vehicle.waypoints is always retrieved.
Indicates the minimum timestamp (exclusive) for which Vehicle.waypoints
data is retrieved. If the waypoints are unchanged since this timestamp, the
vehicle.waypoints data is not set in the response. If this field is
unspecified, vehicle.waypoints is always retrieved.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Maps FleetEngine V1 Client - Class GetVehicleRequest (0.4.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.4.1 (latest)](/php/docs/reference/maps-fleetengine/latest/V1.GetVehicleRequest)\n- [0.4.0](/php/docs/reference/maps-fleetengine/0.4.0/V1.GetVehicleRequest)\n- [0.3.1](/php/docs/reference/maps-fleetengine/0.3.1/V1.GetVehicleRequest)\n- [0.2.0](/php/docs/reference/maps-fleetengine/0.2.0/V1.GetVehicleRequest)\n- [0.1.6](/php/docs/reference/maps-fleetengine/0.1.6/V1.GetVehicleRequest) \nReference documentation and code samples for the Google Maps FleetEngine V1 Client class GetVehicleRequest.\n\n`GetVehicle` request message.\n\nGenerated from protobuf message `maps.fleetengine.v1.GetVehicleRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Maps \\\\ FleetEngine \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getHeader\n\nThe standard Fleet Engine request header.\n\n### hasHeader\n\n### clearHeader\n\n### setHeader\n\nThe standard Fleet Engine request header.\n\n### getName\n\nRequired. Must be in the format\n`providers/{provider}/vehicles/{vehicle}`.\n\nThe provider must be the Project ID (for example, `sample-cloud-project`)\nof the Google Cloud Project of which the service account making\nthis call is a member.\n\n### setName\n\nRequired. Must be in the format\n`providers/{provider}/vehicles/{vehicle}`.\n\nThe provider must be the Project ID (for example, `sample-cloud-project`)\nof the Google Cloud Project of which the service account making\nthis call is a member.\n\n### getCurrentRouteSegmentVersion\n\nIndicates the minimum timestamp (exclusive) for which\n`Vehicle.current_route_segment` is retrieved.\n\nIf the route is unchanged since this timestamp, the `current_route_segment`\nfield is not set in the response. If a minimum is unspecified, the\n`current_route_segment` is always retrieved.\n\n### hasCurrentRouteSegmentVersion\n\n### clearCurrentRouteSegmentVersion\n\n### setCurrentRouteSegmentVersion\n\nIndicates the minimum timestamp (exclusive) for which\n`Vehicle.current_route_segment` is retrieved.\n\nIf the route is unchanged since this timestamp, the `current_route_segment`\nfield is not set in the response. If a minimum is unspecified, the\n`current_route_segment` is always retrieved.\n\n### getWaypointsVersion\n\nIndicates the minimum timestamp (exclusive) for which `Vehicle.waypoints`\ndata is retrieved. If the waypoints are unchanged since this timestamp, the\n`vehicle.waypoints` data is not set in the response. If this field is\nunspecified, `vehicle.waypoints` is always retrieved.\n\n### hasWaypointsVersion\n\n### clearWaypointsVersion\n\n### setWaypointsVersion\n\nIndicates the minimum timestamp (exclusive) for which `Vehicle.waypoints`\ndata is retrieved. If the waypoints are unchanged since this timestamp, the\n`vehicle.waypoints` data is not set in the response. If this field is\nunspecified, `vehicle.waypoints` is always retrieved."]]