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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/toolresults_v1beta3/classes.rb,
generated/google/apis/toolresults_v1beta3/representations.rb,
generated/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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ PerfSampleSeries

Returns a new instance of PerfSampleSeries



1377
1378
1379
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1377

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



1350
1351
1352
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1350

def basic_perf_sample_series
  @basic_perf_sample_series
end

#execution_idString

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

Returns:

  • (String)


1355
1356
1357
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1355

def execution_id
  @execution_id
end

#history_idString

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

Returns:

  • (String)


1360
1361
1362
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1360

def history_id
  @history_id
end

#project_idString

The cloud project Corresponds to the JSON property projectId

Returns:

  • (String)


1365
1366
1367
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1365

def project_id
  @project_id
end

#sample_series_idString

A sample series id Corresponds to the JSON property sampleSeriesId

Returns:

  • (String)


1370
1371
1372
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1370

def sample_series_id
  @sample_series_id
end

#step_idString

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

Returns:

  • (String)


1375
1376
1377
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1375

def step_id
  @step_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1382
1383
1384
1385
1386
1387
1388
1389
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1382

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