class Google::Apis::VmmigrationV1alpha1::VmUtilizationMetrics

Utilization metrics values for a single VM.

Attributes

cpu_average[RW]

Average CPU usage, percent. Corresponds to the JSON property ‘cpuAverage` @return [Fixnum]

cpu_average_percent[RW]

Average CPU usage, percent. Corresponds to the JSON property ‘cpuAveragePercent` @return [Fixnum]

cpu_max[RW]

Max CPU usage, percent. Corresponds to the JSON property ‘cpuMax` @return [Fixnum]

cpu_max_percent[RW]

Max CPU usage, percent. Corresponds to the JSON property ‘cpuMaxPercent` @return [Fixnum]

disk_io_rate_average[RW]

Average disk IO rate, in kilobytes per second. Corresponds to the JSON property ‘diskIoRateAverage` @return [Fixnum]

disk_io_rate_average_kbps[RW]

Average disk IO rate, in kilobytes per second. Corresponds to the JSON property ‘diskIoRateAverageKbps` @return [Fixnum]

disk_io_rate_max[RW]

Max disk IO rate, in kilobytes per second. Corresponds to the JSON property ‘diskIoRateMax` @return [Fixnum]

disk_io_rate_max_kbps[RW]

Max disk IO rate, in kilobytes per second. Corresponds to the JSON property ‘diskIoRateMaxKbps` @return [Fixnum]

memory_average[RW]

Average memory usage, percent. Corresponds to the JSON property ‘memoryAverage` @return [Fixnum]

memory_average_percent[RW]

Average memory usage, percent. Corresponds to the JSON property ‘memoryAveragePercent` @return [Fixnum]

memory_max[RW]

Max memory usage, percent. Corresponds to the JSON property ‘memoryMax` @return [Fixnum]

memory_max_percent[RW]

Max memory usage, percent. Corresponds to the JSON property ‘memoryMaxPercent` @return [Fixnum]

network_throughput_average[RW]

Average network throughput (combined transmit-rates and receive-rates), in kilobytes per second. Corresponds to the JSON property ‘networkThroughputAverage` @return [Fixnum]

network_throughput_average_kbps[RW]

Average network throughput (combined transmit-rates and receive-rates), in kilobytes per second. Corresponds to the JSON property ‘networkThroughputAverageKbps` @return [Fixnum]

network_throughput_max[RW]

Max network throughput (combined transmit-rates and receive-rates), in kilobytes per second. Corresponds to the JSON property ‘networkThroughputMax` @return [Fixnum]

network_throughput_max_kbps[RW]

Max network throughput (combined transmit-rates and receive-rates), in kilobytes per second. Corresponds to the JSON property ‘networkThroughputMaxKbps` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/vmmigration_v1alpha1/classes.rb, line 2491
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/vmmigration_v1alpha1/classes.rb, line 2496
def update!(**args)
  @cpu_average = args[:cpu_average] if args.key?(:cpu_average)
  @cpu_average_percent = args[:cpu_average_percent] if args.key?(:cpu_average_percent)
  @cpu_max = args[:cpu_max] if args.key?(:cpu_max)
  @cpu_max_percent = args[:cpu_max_percent] if args.key?(:cpu_max_percent)
  @disk_io_rate_average = args[:disk_io_rate_average] if args.key?(:disk_io_rate_average)
  @disk_io_rate_average_kbps = args[:disk_io_rate_average_kbps] if args.key?(:disk_io_rate_average_kbps)
  @disk_io_rate_max = args[:disk_io_rate_max] if args.key?(:disk_io_rate_max)
  @disk_io_rate_max_kbps = args[:disk_io_rate_max_kbps] if args.key?(:disk_io_rate_max_kbps)
  @memory_average = args[:memory_average] if args.key?(:memory_average)
  @memory_average_percent = args[:memory_average_percent] if args.key?(:memory_average_percent)
  @memory_max = args[:memory_max] if args.key?(:memory_max)
  @memory_max_percent = args[:memory_max_percent] if args.key?(:memory_max_percent)
  @network_throughput_average = args[:network_throughput_average] if args.key?(:network_throughput_average)
  @network_throughput_average_kbps = args[:network_throughput_average_kbps] if args.key?(:network_throughput_average_kbps)
  @network_throughput_max = args[:network_throughput_max] if args.key?(:network_throughput_max)
  @network_throughput_max_kbps = args[:network_throughput_max_kbps] if args.key?(:network_throughput_max_kbps)
end