class Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildbotResourceUsage
ResourceUsage is the system resource usage of the host machine.
Attributes
cpu_used_percent[RW]
Corresponds to the JSON property `cpuUsedPercent` @return [Float]
disk_usage[RW]
Corresponds to the JSON property `diskUsage` @return [Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildbotResourceUsageStat]
memory_usage[RW]
Corresponds to the JSON property `memoryUsage` @return [Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildbotResourceUsageStat]
total_disk_io_stats[RW]
Corresponds to the JSON property `totalDiskIoStats` @return [Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildbotResourceUsageIoStats]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/remotebuildexecution_v2/classes.rb, line 2367 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/remotebuildexecution_v2/classes.rb, line 2372 def update!(**args) @cpu_used_percent = args[:cpu_used_percent] if args.key?(:cpu_used_percent) @disk_usage = args[:disk_usage] if args.key?(:disk_usage) @memory_usage = args[:memory_usage] if args.key?(:memory_usage) @total_disk_io_stats = args[:total_disk_io_stats] if args.key?(:total_disk_io_stats) end