Class: Google::Apis::ToolresultsV1beta3::PerfMetricsSummary
- Inherits:
-
Object
- Object
- Google::Apis::ToolresultsV1beta3::PerfMetricsSummary
- 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
-
#execution_id ⇒ String
A tool results execution ID.
-
#history_id ⇒ String
A tool results history ID.
-
#perf_environment ⇒ Google::Apis::ToolresultsV1beta3::PerfEnvironment
Encapsulates performance environment info Corresponds to the JSON property
perfEnvironment
. -
#perf_metrics ⇒ Array<String>
Set of resource collected Corresponds to the JSON property
perfMetrics
. -
#project_id ⇒ String
The cloud project Corresponds to the JSON property
projectId
. -
#step_id ⇒ String
A tool results step ID.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PerfMetricsSummary
constructor
A new instance of PerfMetricsSummary.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ PerfMetricsSummary
Returns a new instance of PerfMetricsSummary
942 943 944 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 942 def initialize(**args) update!(**args) end |
Instance Attribute Details
#execution_id ⇒ String
A tool results execution ID.
Corresponds to the JSON property executionId
915 916 917 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 915 def execution_id @execution_id end |
#history_id ⇒ String
A tool results history ID.
Corresponds to the JSON property historyId
920 921 922 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 920 def history_id @history_id end |
#perf_environment ⇒ Google::Apis::ToolresultsV1beta3::PerfEnvironment
Encapsulates performance environment info
Corresponds to the JSON property perfEnvironment
925 926 927 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 925 def perf_environment @perf_environment end |
#perf_metrics ⇒ Array<String>
Set of resource collected
Corresponds to the JSON property perfMetrics
930 931 932 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 930 def perf_metrics @perf_metrics end |
#project_id ⇒ String
The cloud project
Corresponds to the JSON property projectId
935 936 937 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 935 def project_id @project_id end |
#step_id ⇒ String
A tool results step ID.
Corresponds to the JSON property stepId
940 941 942 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 940 def step_id @step_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
947 948 949 950 951 952 953 954 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 947 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 |