class Google::Apis::RemotebuildexecutionV1alpha::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::RemotebuildexecutionV1alpha::GoogleDevtoolsRemotebuildbotResourceUsageStat]

memory_usage[RW]

Corresponds to the JSON property `memoryUsage` @return [Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemotebuildbotResourceUsageStat]

total_disk_io_stats[RW]

Corresponds to the JSON property `totalDiskIoStats` @return [Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemotebuildbotResourceUsageIoStats]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/remotebuildexecution_v1alpha/classes.rb, line 1683
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_v1alpha/classes.rb, line 1688
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