[[["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 TripAttribute (0.4.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.4.1 (latest)](/php/docs/reference/maps-fleetengine/latest/V1.TripAttribute)\n- [0.4.0](/php/docs/reference/maps-fleetengine/0.4.0/V1.TripAttribute)\n- [0.3.1](/php/docs/reference/maps-fleetengine/0.3.1/V1.TripAttribute)\n- [0.2.0](/php/docs/reference/maps-fleetengine/0.2.0/V1.TripAttribute)\n- [0.1.6](/php/docs/reference/maps-fleetengine/0.1.6/V1.TripAttribute) \nReference documentation and code samples for the Google Maps FleetEngine V1 Client class TripAttribute.\n\nDescribes a trip attribute as a key-value pair. The \"key:value\" string length\ncannot exceed 256 characters.\n\nGenerated from protobuf message `maps.fleetengine.v1.TripAttribute`\n\nNamespace\n---------\n\nGoogle \\\\ Maps \\\\ FleetEngine \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getKey\n\nThe attribute's key. Keys may not contain the colon character (:).\n\n### setKey\n\nThe attribute's key. Keys may not contain the colon character (:).\n\n### getStringValue\n\nString typed attribute value.\n\n### hasStringValue\n\n### setStringValue\n\nString typed attribute value.\n\n### getBoolValue\n\nBoolean typed attribute value.\n\n### hasBoolValue\n\n### setBoolValue\n\nBoolean typed attribute value.\n\n### getNumberValue\n\nDouble typed attribute value.\n\n### hasNumberValue\n\n### setNumberValue\n\nDouble typed attribute value.\n\n### getTripAttributeValue"]]