Class: Google::Apis::ToolresultsV1beta3::PerfEnvironment
- Inherits:
-
Object
- Object
- Google::Apis::ToolresultsV1beta3::PerfEnvironment
- 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
Encapsulates performance environment info
Instance Attribute Summary collapse
-
#cpu_info ⇒ Google::Apis::ToolresultsV1beta3::CpuInfo
CPU related environment info Corresponds to the JSON property
cpuInfo
. -
#memory_info ⇒ Google::Apis::ToolresultsV1beta3::MemoryInfo
Memory related environment info Corresponds to the JSON property
memoryInfo
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PerfEnvironment
constructor
A new instance of PerfEnvironment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ PerfEnvironment
Returns a new instance of PerfEnvironment
1324 1325 1326 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1324 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cpu_info ⇒ Google::Apis::ToolresultsV1beta3::CpuInfo
CPU related environment info
Corresponds to the JSON property cpuInfo
1317 1318 1319 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1317 def cpu_info @cpu_info end |
#memory_info ⇒ Google::Apis::ToolresultsV1beta3::MemoryInfo
Memory related environment info
Corresponds to the JSON property memoryInfo
1322 1323 1324 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1322 def memory_info @memory_info end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1329 1330 1331 1332 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1329 def update!(**args) @cpu_info = args[:cpu_info] if args.key?(:cpu_info) @memory_info = args[:memory_info] if args.key?(:memory_info) end |