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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document outlines the \u003ccode\u003eSpan.Types.Link\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Trace.V2\u003c/code\u003e namespace, which serves as a pointer between spans in the same or different traces.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLink\u003c/code\u003e class is implemented with several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the base \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors: a default constructor \u003ccode\u003eLink()\u003c/code\u003e and a copy constructor \u003ccode\u003eLink(Span.Types.Link other)\u003c/code\u003e to duplicate an existing \u003ccode\u003eLink\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eLink\u003c/code\u003e class include \u003ccode\u003eAttributes\u003c/code\u003e, \u003ccode\u003eSpanId\u003c/code\u003e, \u003ccode\u003eTraceId\u003c/code\u003e, and \u003ccode\u003eType\u003c/code\u003e, 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.\u003c/p\u003e\n"],["\u003cp\u003eThis 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.\u003c/p\u003e\n"]]],[],null,[]]