Class: Google::Apis::ToolresultsV1beta3::BasicPerfSampleSeries
- Inherits:
-
Object
- Object
- Google::Apis::ToolresultsV1beta3::BasicPerfSampleSeries
- 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
Encapsulates the metadata for basic sample series represented by a line chart
Instance Attribute Summary collapse
-
#perf_metric_type ⇒ String
Corresponds to the JSON property
perfMetricType
. -
#perf_unit ⇒ String
Corresponds to the JSON property
perfUnit
. -
#sample_series_label ⇒ String
Corresponds to the JSON property
sampleSeriesLabel
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BasicPerfSampleSeries
constructor
A new instance of BasicPerfSampleSeries.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BasicPerfSampleSeries
Returns a new instance of BasicPerfSampleSeries.
382 383 384 |
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 382 def initialize(**args) update!(**args) end |
Instance Attribute Details
#perf_metric_type ⇒ String
Corresponds to the JSON property perfMetricType
370 371 372 |
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 370 def perf_metric_type @perf_metric_type end |
#perf_unit ⇒ String
Corresponds to the JSON property perfUnit
375 376 377 |
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 375 def perf_unit @perf_unit end |
#sample_series_label ⇒ String
Corresponds to the JSON property sampleSeriesLabel
380 381 382 |
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 380 def sample_series_label @sample_series_label end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
387 388 389 390 391 |
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 387 def update!(**args) @perf_metric_type = args[:perf_metric_type] if args.key?(:perf_metric_type) @perf_unit = args[:perf_unit] if args.key?(:perf_unit) @sample_series_label = args[:sample_series_label] if args.key?(:sample_series_label) end |