# Class Trace (1.20.0)

1.20.0 (latest) 1.19.0 1.18.0 1.17.0 1.16.2 1.15.0 1.14.1 1.13.5 1.12.0 1.11.3 1.10.0 1.9.1 1.8.0 1.7.3 1.6.2 1.5.1 1.4.0 1.3.4 1.2.0 1.1.0 1.0.0 0.24.2 0.23.0 0.22.1

    Trace(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `project_id` | `str` Project ID of the Cloud project where the trace data is stored. |
| `trace_id` | `str` Globally unique identifier for the trace. This identifier is a 128-bit numeric value formatted as a 32-byte hex string. For example, `382d4f4c6b7bb2f4a972559d9085001d`. |
| `spans` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/cloudtrace/latest/google.cloud.trace_v1.types.TraceSpan]` Collection of spans in the trace. |