[[["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,["# Stackdriver Trace Client - Class Attributes (1.8.10)\n\nVersion latestkeyboard_arrow_down\n\n- [1.8.10 (latest)](/php/docs/reference/cloud-trace/latest/Attributes)\n- [1.8.9](/php/docs/reference/cloud-trace/1.8.9/Attributes)\n- [1.7.0](/php/docs/reference/cloud-trace/1.7.0/Attributes)\n- [1.6.5](/php/docs/reference/cloud-trace/1.6.5/Attributes)\n- [1.5.3](/php/docs/reference/cloud-trace/1.5.3/Attributes)\n- [1.4.11](/php/docs/reference/cloud-trace/1.4.11/Attributes) \nReference documentation and code samples for the Stackdriver Trace Client class Attributes.\n\nThis plain PHP class represents a Link resource. A set of attributes, each in\nthe format \\[KEY\\]:\\[VALUE\\].\n\nThis class implements PHP's [ArrayAccess](http://php.net/arrayaccess),\nallowing access via the array syntax (example below).\n\nAttributes are available to\n[Annotation](/php/docs/reference/cloud-trace/latest/Annotation),\n[Link](/php/docs/reference/cloud-trace/latest/Link), and\n[Span](/php/docs/reference/cloud-trace/latest/Span).\n\nExample: \n\n $attributes['foo'] = 'bar';\n echo $attributes['foo'];\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Trace\n\nMethods\n-------\n\n### offsetSet\n\nCallback for \\\\ArrayAccess \\[\\]= setter.\n\n### offsetExists\n\nCallback for \\\\ArrayAccess isset.\n\n### offsetUnset\n\nCallback for \\\\ArrayAccess unset.\n\n### offsetGet\n\nCallback for \\\\ArrayAccess \\[$key\\] getter.\n\n### info\n\nReturns a serializable array representing this Link."]]