Class: Google::Apis::ToolresultsV1beta3::PerfMetricsSummary
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::ToolresultsV1beta3::PerfMetricsSummary
 
 
- 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
A summary of perf metrics collected and performance environment info
Instance Attribute Summary collapse
- 
  
    
      #app_start_time  ⇒ Google::Apis::ToolresultsV1beta3::AppStartTime 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Corresponds to the JSON property
appStartTime. - 
  
    
      #execution_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A tool results execution ID.
 - 
  
    
      #graphics_stats  ⇒ Google::Apis::ToolresultsV1beta3::GraphicsStats 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Graphics statistics for the App.
 - 
  
    
      #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 @OutputOnly 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.
 
Constructor Details
#initialize(**args) ⇒ PerfMetricsSummary
Returns a new instance of PerfMetricsSummary.
      2184 2185 2186  | 
    
      # File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 2184 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#app_start_time ⇒ Google::Apis::ToolresultsV1beta3::AppStartTime
Corresponds to the JSON property appStartTime
      2145 2146 2147  | 
    
      # File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 2145 def app_start_time @app_start_time end  | 
  
#execution_id ⇒ String
A tool results execution ID. @OutputOnly
Corresponds to the JSON property executionId
      2150 2151 2152  | 
    
      # File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 2150 def execution_id @execution_id end  | 
  
#graphics_stats ⇒ Google::Apis::ToolresultsV1beta3::GraphicsStats
Graphics statistics for the App. The information is collected from 'adb shell
dumpsys graphicsstats'. For more info see: https://developer.android.com/
training/testing/performance.html Statistics will only be present for API 23+.
Corresponds to the JSON property graphicsStats
      2157 2158 2159  | 
    
      # File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 2157 def graphics_stats @graphics_stats end  | 
  
#history_id ⇒ String
A tool results history ID. @OutputOnly
Corresponds to the JSON property historyId
      2162 2163 2164  | 
    
      # File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 2162 def history_id @history_id end  | 
  
#perf_environment ⇒ Google::Apis::ToolresultsV1beta3::PerfEnvironment
Encapsulates performance environment info
Corresponds to the JSON property perfEnvironment
      2167 2168 2169  | 
    
      # File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 2167 def perf_environment @perf_environment end  | 
  
#perf_metrics ⇒ Array<String>
Set of resource collected
Corresponds to the JSON property perfMetrics
      2172 2173 2174  | 
    
      # File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 2172 def perf_metrics @perf_metrics end  | 
  
#project_id ⇒ String
The cloud project @OutputOnly
Corresponds to the JSON property projectId
      2177 2178 2179  | 
    
      # File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 2177 def project_id @project_id end  | 
  
#step_id ⇒ String
A tool results step ID. @OutputOnly
Corresponds to the JSON property stepId
      2182 2183 2184  | 
    
      # File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 2182 def step_id @step_id end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      2189 2190 2191 2192 2193 2194 2195 2196 2197 2198  | 
    
      # File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 2189 def update!(**args) @app_start_time = args[:app_start_time] if args.key?(:app_start_time) @execution_id = args[:execution_id] if args.key?(:execution_id) @graphics_stats = args[:graphics_stats] if args.key?(:graphics_stats) @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  |