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



1421
1422
1423
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1421

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

Instance Attribute Details

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

CPU utilization samples. Corresponds to the JSON property cpuTime



1419
1420
1421
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1419

def cpu_time
  @cpu_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1426
1427
1428
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1426

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