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.
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
getAttributes
Required. The vehicle attributes to update. Unmentioned attributes are not
altered or removed.
[[["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 UpdateVehicleAttributesRequest (0.4.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.4.1 (latest)](/php/docs/reference/maps-fleetengine/latest/V1.UpdateVehicleAttributesRequest)\n- [0.4.0](/php/docs/reference/maps-fleetengine/0.4.0/V1.UpdateVehicleAttributesRequest)\n- [0.3.1](/php/docs/reference/maps-fleetengine/0.3.1/V1.UpdateVehicleAttributesRequest)\n- [0.2.0](/php/docs/reference/maps-fleetengine/0.2.0/V1.UpdateVehicleAttributesRequest)\n- [0.1.6](/php/docs/reference/maps-fleetengine/0.1.6/V1.UpdateVehicleAttributesRequest) \nReference documentation and code samples for the Google Maps FleetEngine V1 Client class UpdateVehicleAttributesRequest.\n\n`UpdateVehicleAttributes` request message.\n\nGenerated from protobuf message `maps.fleetengine.v1.UpdateVehicleAttributesRequest`\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 `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 `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### getAttributes\n\nRequired. The vehicle attributes to update. Unmentioned attributes are not\naltered or removed.\n\n### setAttributes\n\nRequired. The vehicle attributes to update. Unmentioned attributes are not\naltered or removed."]]