Class: Google::Apis::CloudtraceV1::Traces
- Inherits:
-
Object
- Object
- Google::Apis::CloudtraceV1::Traces
- Defined in:
- generated/google/apis/cloudtrace_v1/classes.rb,
generated/google/apis/cloudtrace_v1/representations.rb,
generated/google/apis/cloudtrace_v1/representations.rb
Overview
List of new or updated traces.
Instance Attribute Summary collapse
-
#traces ⇒ Array<Google::Apis::CloudtraceV1::Trace>
List of traces.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Traces
constructor
A new instance of Traces.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ Traces
Returns a new instance of Traces
34 35 36 |
# File 'generated/google/apis/cloudtrace_v1/classes.rb', line 34 def initialize(**args) update!(**args) end |
Instance Attribute Details
#traces ⇒ Array<Google::Apis::CloudtraceV1::Trace>
List of traces.
Corresponds to the JSON property traces
32 33 34 |
# File 'generated/google/apis/cloudtrace_v1/classes.rb', line 32 def traces @traces end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
39 40 41 |
# File 'generated/google/apis/cloudtrace_v1/classes.rb', line 39 def update!(**args) @traces = args[:traces] if args.key?(:traces) end |