Class: Google::Apis::TracingV1::Trace
- Inherits:
-
Object
- Object
- Google::Apis::TracingV1::Trace
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/tracing_v1/classes.rb,
generated/google/apis/tracing_v1/representations.rb,
generated/google/apis/tracing_v1/representations.rb
Overview
A trace describes how long it takes for an application to perform some operations. It consists of a set of spans, each representing an operation and including time information and operation details.
Instance Attribute Summary collapse
-
#name ⇒ String
A globally unique identifier for the trace in the format
projects/PROJECT_NUMBER/traces/TRACE_ID
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Trace
constructor
A new instance of Trace.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Trace
Returns a new instance of Trace
304 305 306 |
# File 'generated/google/apis/tracing_v1/classes.rb', line 304 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
A globally unique identifier for the trace in the format
projects/PROJECT_NUMBER/traces/TRACE_ID
. TRACE_ID
is a base16-encoded
string of a 128-bit number and is required to be 32 char long.
Corresponds to the JSON property name
302 303 304 |
# File 'generated/google/apis/tracing_v1/classes.rb', line 302 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
309 310 311 |
# File 'generated/google/apis/tracing_v1/classes.rb', line 309 def update!(**args) @name = args[:name] if args.key?(:name) end |