public sealed class Link : IMessage<Span.Types.Link>, IEquatable<Span.Types.Link>, IDeepCloneable<Span.Types.Link>, IBufferMessage, IMessage
A pointer from the current span to another span in the same trace or in a
different trace. For example, this can be used in batching operations,
where a single batch handler processes multiple requests from different
traces or when the handler receives a request from a different project.
[[["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-06-12 UTC."],[[["This document outlines the `Span.Types.Link` class within the `Google.Cloud.Trace.V2` namespace, which serves as a pointer between spans in the same or different traces."],["The `Link` class is implemented with several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and inherits from the base `Object` class."],["The class has two constructors: a default constructor `Link()` and a copy constructor `Link(Span.Types.Link other)` to duplicate an existing `Link` object."],["Key properties of the `Link` class include `Attributes`, `SpanId`, `TraceId`, and `Type`, allowing for the association of a set of attributes, the identification of a specific span and trace, and the definition of the relationship between spans."],["This document details the versions of this API, ranging from the latest 3.6.0 to version 2.2.0, with each version leading to specific reference documentation."]]],[]]