Class: Google::Apis::ToolresultsV1beta3::PerfSampleSeries

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/toolresults_v1beta3/classes.rb,
lib/google/apis/toolresults_v1beta3/representations.rb,
lib/google/apis/toolresults_v1beta3/representations.rb

Overview

Resource representing a collection of performance samples (or data points)

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PerfSampleSeries

Returns a new instance of PerfSampleSeries.



2282
2283
2284
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 2282

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

Instance Attribute Details

#basic_perf_sample_seriesGoogle::Apis::ToolresultsV1beta3::BasicPerfSampleSeries

Encapsulates the metadata for basic sample series represented by a line chart Corresponds to the JSON property basicPerfSampleSeries



2255
2256
2257
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 2255

def basic_perf_sample_series
  @basic_perf_sample_series
end

#execution_idString

A tool results execution ID. @OutputOnly Corresponds to the JSON property executionId

Returns:

  • (String)


2260
2261
2262
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 2260

def execution_id
  @execution_id
end

#history_idString

A tool results history ID. @OutputOnly Corresponds to the JSON property historyId

Returns:

  • (String)


2265
2266
2267
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 2265

def history_id
  @history_id
end

#project_idString

The cloud project @OutputOnly Corresponds to the JSON property projectId

Returns:

  • (String)


2270
2271
2272
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 2270

def project_id
  @project_id
end

#sample_series_idString

A sample series id @OutputOnly Corresponds to the JSON property sampleSeriesId

Returns:

  • (String)


2275
2276
2277
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 2275

def sample_series_id
  @sample_series_id
end

#step_idString

A tool results step ID. @OutputOnly Corresponds to the JSON property stepId

Returns:

  • (String)


2280
2281
2282
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 2280

def step_id
  @step_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2287
2288
2289
2290
2291
2292
2293
2294
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 2287

def update!(**args)
  @basic_perf_sample_series = args[:basic_perf_sample_series] if args.key?(:basic_perf_sample_series)
  @execution_id = args[:execution_id] if args.key?(:execution_id)
  @history_id = args[:history_id] if args.key?(:history_id)
  @project_id = args[:project_id] if args.key?(:project_id)
  @sample_series_id = args[:sample_series_id] if args.key?(:sample_series_id)
  @step_id = args[:step_id] if args.key?(:step_id)
end