Class: Google::Apis::DataflowV1b3::ResourceUtilizationReport

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dataflow_v1b3/classes.rb,
generated/google/apis/dataflow_v1b3/representations.rb,
generated/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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ResourceUtilizationReport

Returns a new instance of ResourceUtilizationReport.



3425
3426
3427
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3425

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

Instance Attribute Details

#cpu_timeArray<Google::Apis::DataflowV1b3::CpuTime>

CPU utilization samples. Corresponds to the JSON property cpuTime



3423
3424
3425
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3423

def cpu_time
  @cpu_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3430
3431
3432
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3430

def update!(**args)
  @cpu_time = args[:cpu_time] if args.key?(:cpu_time)
end