Class: Google::Apis::CloudtraceV1::Traces

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
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

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Traces

Returns a new instance of Traces.



160
161
162
# File 'generated/google/apis/cloudtrace_v1/classes.rb', line 160

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#tracesArray<Google::Apis::CloudtraceV1::Trace>

List of traces. Corresponds to the JSON property traces



158
159
160
# File 'generated/google/apis/cloudtrace_v1/classes.rb', line 158

def traces
  @traces
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



165
166
167
# File 'generated/google/apis/cloudtrace_v1/classes.rb', line 165

def update!(**args)
  @traces = args[:traces] if args.key?(:traces)
end