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

Constructor Details

#initialize(**args) ⇒ ResourceUtilizationReport

Returns a new instance of ResourceUtilizationReport.



3930
3931
3932
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3930

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

Instance Attribute Details

#containersHash<String,Google::Apis::DataflowV1b3::ResourceUtilizationReport>

Per container information. Key: container name. Corresponds to the JSON property containers



3918
3919
3920
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3918

def containers
  @containers
end

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

CPU utilization samples. Corresponds to the JSON property cpuTime



3923
3924
3925
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3923

def cpu_time
  @cpu_time
end

#memory_infoArray<Google::Apis::DataflowV1b3::MemInfo>

Memory utilization samples. Corresponds to the JSON property memoryInfo



3928
3929
3930
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3928

def memory_info
  @memory_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3935
3936
3937
3938
3939
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3935

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