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



2945
2946
2947
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2945

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

Instance Attribute Details

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

CPU utilization samples. Corresponds to the JSON property cpuTime



2943
2944
2945
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2943

def cpu_time
  @cpu_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2950
2951
2952
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2950

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