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



3223
3224
3225
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3223

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

Instance Attribute Details

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

CPU utilization samples. Corresponds to the JSON property cpuTime



3221
3222
3223
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3221

def cpu_time
  @cpu_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3228
3229
3230
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3228

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