Class: Google::Apis::ToolresultsV1beta3::PerfMetricsSummary

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

A summary of perf metrics collected and performance environment info

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) ⇒ PerfMetricsSummary

Returns a new instance of PerfMetricsSummary



939
940
941
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 939

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

Instance Attribute Details

#execution_idString

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

Returns:

  • (String)


912
913
914
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 912

def execution_id
  @execution_id
end

#history_idString

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

Returns:

  • (String)


917
918
919
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 917

def history_id
  @history_id
end

#perf_environmentGoogle::Apis::ToolresultsV1beta3::PerfEnvironment

Encapsulates performance environment info Corresponds to the JSON property perfEnvironment



922
923
924
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 922

def perf_environment
  @perf_environment
end

#perf_metricsArray<String>

Set of resource collected Corresponds to the JSON property perfMetrics

Returns:

  • (Array<String>)


927
928
929
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 927

def perf_metrics
  @perf_metrics
end

#project_idString

The cloud project Corresponds to the JSON property projectId

Returns:

  • (String)


932
933
934
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 932

def project_id
  @project_id
end

#step_idString

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

Returns:

  • (String)


937
938
939
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 937

def step_id
  @step_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



944
945
946
947
948
949
950
951
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 944

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