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 \u003ccode\u003eTrace\u003c/code\u003e class in the Google Cloud Trace v1 API represents an application's operation time, consisting of a set of spans.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the API is 3.4.0, while the current document is for version 3.3.0, and prior versions listed go as far back as version 2.2.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTrace\u003c/code\u003e class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable<Trace>\u003c/code\u003e, \u003ccode\u003eIDeepCloneable<Trace>\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eTrace\u003c/code\u003e class include \u003ccode\u003eProjectId\u003c/code\u003e, which stores the Cloud project ID, \u003ccode\u003eSpans\u003c/code\u003e, a collection of trace spans, and \u003ccode\u003eTraceId\u003c/code\u003e, the globally unique identifier for the trace.\u003c/p\u003e\n"]]],[],null,[]]