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



3288
3289
3290
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3288

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

Instance Attribute Details

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

CPU utilization samples. Corresponds to the JSON property cpuTime



3286
3287
3288
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3286

def cpu_time
  @cpu_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3293
3294
3295
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3293

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