Class: Google::Apis::TracingV1::ListTracesResponse

Inherits:
Object
  • Object
show all
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

The response message for the ListTraces method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListTracesResponse

Returns a new instance of ListTracesResponse



182
183
184
# File 'generated/google/apis/tracing_v1/classes.rb', line 182

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

Instance Attribute Details

#next_page_tokenString

If defined, indicates that there are more traces that match the request and that this value should be passed to the next request to continue retrieving additional traces. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


180
181
182
# File 'generated/google/apis/tracing_v1/classes.rb', line 180

def next_page_token
  @next_page_token
end

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

List of trace records returned. Corresponds to the JSON property traces

Returns:



173
174
175
# File 'generated/google/apis/tracing_v1/classes.rb', line 173

def traces
  @traces
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



187
188
189
190
# File 'generated/google/apis/tracing_v1/classes.rb', line 187

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