public sealed class Trace : IMessage<Trace>, IEquatable<Trace>, IDeepCloneable<Trace>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Trace v1 API class Trace.
A trace describes how long it takes for an application to perform an
operation. It consists of a set of spans, each of which represent a single
timed event within the operation.
Globally unique identifier for the trace. This identifier is a 128-bit
numeric value formatted as a 32-byte hex string. For example,
382d4f4c6b7bb2f4a972559d9085001d.
[[["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\u003eThe latest version of the Google Cloud Trace v1 API class Trace is 3.4.0, and there are several previous versions available, including 3.3.0, 3.2.0, 3.1.0, 3.0.0, 2.3.0, and 2.2.0.\u003c/p\u003e\n"],["\u003cp\u003eThe Trace class is a part of the Google.Cloud.Trace.V1 namespace and describes the time it takes for an application to perform an operation through a set of spans.\u003c/p\u003e\n"],["\u003cp\u003eThe Trace class has properties for \u003ccode\u003eProjectId\u003c/code\u003e, which is the ID where the data is stored, \u003ccode\u003eSpans\u003c/code\u003e, which represents the collection of spans, and \u003ccode\u003eTraceId\u003c/code\u003e, a unique 128-bit identifier.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing a number of methods such as \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, and \u003ccode\u003eToString()\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]