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 Google Cloud Trace v1 API's \u003ccode\u003eTrace\u003c/code\u003e class, version 3.2.0, is used to represent how long an application takes to perform an operation, and this is done by storing a collection of \u003ccode\u003eTraceSpan\u003c/code\u003e objects.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTrace\u003c/code\u003e class has properties for \u003ccode\u003eProjectId\u003c/code\u003e, which indicates the project where the trace data is stored, \u003ccode\u003eSpans\u003c/code\u003e, a collection of the individual \u003ccode\u003eTraceSpan\u003c/code\u003e objects, and \u003ccode\u003eTraceId\u003c/code\u003e, which is a globally unique identifier for the trace.\u003c/p\u003e\n"],["\u003cp\u003eThis \u003ccode\u003eTrace\u003c/code\u003e class can be constructed with either no parameters or with another \u003ccode\u003eTrace\u003c/code\u003e object, and implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this class is 3.4.0 and previous versions as far back as 2.2.0 are documented and accessible.\u003c/p\u003e\n"]]],[],null,[]]