[[["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-09 UTC."],[],[],null,["# Cloud Trace V2 API - Class Google::Cloud::Trace::V2::Span::Links (v1.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.3.0 (latest)](/ruby/docs/reference/google-cloud-trace-v2/latest/Google-Cloud-Trace-V2-Span-Links)\n- [1.2.1](/ruby/docs/reference/google-cloud-trace-v2/1.2.1/Google-Cloud-Trace-V2-Span-Links)\n- [1.1.0](/ruby/docs/reference/google-cloud-trace-v2/1.1.0/Google-Cloud-Trace-V2-Span-Links)\n- [1.0.1](/ruby/docs/reference/google-cloud-trace-v2/1.0.1/Google-Cloud-Trace-V2-Span-Links)\n- [0.9.0](/ruby/docs/reference/google-cloud-trace-v2/0.9.0/Google-Cloud-Trace-V2-Span-Links)\n- [0.8.2](/ruby/docs/reference/google-cloud-trace-v2/0.8.2/Google-Cloud-Trace-V2-Span-Links)\n- [0.7.0](/ruby/docs/reference/google-cloud-trace-v2/0.7.0/Google-Cloud-Trace-V2-Span-Links)\n- [0.6.1](/ruby/docs/reference/google-cloud-trace-v2/0.6.1/Google-Cloud-Trace-V2-Span-Links)\n- [0.5.0](/ruby/docs/reference/google-cloud-trace-v2/0.5.0/Google-Cloud-Trace-V2-Span-Links)\n- [0.4.1](/ruby/docs/reference/google-cloud-trace-v2/0.4.1/Google-Cloud-Trace-V2-Span-Links)\n- [0.3.5](/ruby/docs/reference/google-cloud-trace-v2/0.3.5/Google-Cloud-Trace-V2-Span-Links) \nReference documentation and code samples for the Cloud Trace V2 API class Google::Cloud::Trace::V2::Span::Links.\n\nA collection of links, which are references from this span to a span\nin the same or different trace. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #dropped_links_count\n\n def dropped_links_count() -\u003e ::Integer\n\n**Returns**\n\n- (::Integer) --- The number of dropped links after the maximum size was enforced. If this value is 0, then no links were dropped.\n\n### #dropped_links_count=\n\n def dropped_links_count=(value) -\u003e ::Integer\n\n**Parameter**\n\n- **value** (::Integer) --- The number of dropped links after the maximum size was enforced. If this value is 0, then no links were dropped. \n**Returns**\n\n- (::Integer) --- The number of dropped links after the maximum size was enforced. If this value is 0, then no links were dropped.\n\n### #link\n\n def link() -\u003e ::Array\u003c::Google::Cloud::Trace::V2::Span::Link\u003e\n\n**Returns**\n\n- (::Array\\\u003c[::Google::Cloud::Trace::V2::Span::Link](./Google-Cloud-Trace-V2-Span-Link)\\\u003e) --- A collection of links.\n\n### #link=\n\n def link=(value) -\u003e ::Array\u003c::Google::Cloud::Trace::V2::Span::Link\u003e\n\n**Parameter**\n\n- **value** (::Array\\\u003c[::Google::Cloud::Trace::V2::Span::Link](./Google-Cloud-Trace-V2-Span-Link)\\\u003e) --- A collection of links. \n**Returns**\n\n- (::Array\\\u003c[::Google::Cloud::Trace::V2::Span::Link](./Google-Cloud-Trace-V2-Span-Link)\\\u003e) --- A collection of links."]]