Class: Google::Apis::DataflowV1b3::ResourceUtilizationReport
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::ResourceUtilizationReport
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataflow_v1b3/classes.rb,
lib/google/apis/dataflow_v1b3/representations.rb,
lib/google/apis/dataflow_v1b3/representations.rb
Overview
Worker metrics exported from workers. This contains resource utilization metrics accumulated from a variety of sources. For more information, see go/df- resource-signals.
Instance Attribute Summary collapse
-
#containers ⇒ Hash<String,Google::Apis::DataflowV1b3::ResourceUtilizationReport>
Per container information.
-
#cpu_time ⇒ Array<Google::Apis::DataflowV1b3::CpuTime>
CPU utilization samples.
-
#gpu_usage ⇒ Array<Google::Apis::DataflowV1b3::GpuUsage>
Optional.
-
#memory_info ⇒ Array<Google::Apis::DataflowV1b3::MemInfo>
Memory utilization samples.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ResourceUtilizationReport
constructor
A new instance of ResourceUtilizationReport.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ResourceUtilizationReport
Returns a new instance of ResourceUtilizationReport.
4643 4644 4645 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 4643 def initialize(**args) update!(**args) end |
Instance Attribute Details
#containers ⇒ Hash<String,Google::Apis::DataflowV1b3::ResourceUtilizationReport>
Per container information. Key: container name.
Corresponds to the JSON property containers
4626 4627 4628 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 4626 def containers @containers end |
#cpu_time ⇒ Array<Google::Apis::DataflowV1b3::CpuTime>
CPU utilization samples.
Corresponds to the JSON property cpuTime
4631 4632 4633 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 4631 def cpu_time @cpu_time end |
#gpu_usage ⇒ Array<Google::Apis::DataflowV1b3::GpuUsage>
Optional. GPU usage samples.
Corresponds to the JSON property gpuUsage
4636 4637 4638 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 4636 def gpu_usage @gpu_usage end |
#memory_info ⇒ Array<Google::Apis::DataflowV1b3::MemInfo>
Memory utilization samples.
Corresponds to the JSON property memoryInfo
4641 4642 4643 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 4641 def memory_info @memory_info end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4648 4649 4650 4651 4652 4653 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 4648 def update!(**args) @containers = args[:containers] if args.key?(:containers) @cpu_time = args[:cpu_time] if args.key?(:cpu_time) @gpu_usage = args[:gpu_usage] if args.key?(:gpu_usage) @memory_info = args[:memory_info] if args.key?(:memory_info) end |