class Google::Apis::VmmigrationV1alpha1::VmUtilizationMetrics
Utilization metrics values for a single VM.
Attributes
Average CPU usage, percent. Corresponds to the JSON property ‘cpuAverage` @return [Fixnum]
Average CPU usage, percent. Corresponds to the JSON property ‘cpuAveragePercent` @return [Fixnum]
Max CPU usage, percent. Corresponds to the JSON property ‘cpuMax` @return [Fixnum]
Max CPU usage, percent. Corresponds to the JSON property ‘cpuMaxPercent` @return [Fixnum]
Average disk IO rate, in kilobytes per second. Corresponds to the JSON property ‘diskIoRateAverage` @return [Fixnum]
Average disk IO rate, in kilobytes per second. Corresponds to the JSON property ‘diskIoRateAverageKbps` @return [Fixnum]
Max disk IO rate, in kilobytes per second. Corresponds to the JSON property ‘diskIoRateMax` @return [Fixnum]
Max disk IO rate, in kilobytes per second. Corresponds to the JSON property ‘diskIoRateMaxKbps` @return [Fixnum]
Average memory usage, percent. Corresponds to the JSON property ‘memoryAverage` @return [Fixnum]
Average memory usage, percent. Corresponds to the JSON property ‘memoryAveragePercent` @return [Fixnum]
Max memory usage, percent. Corresponds to the JSON property ‘memoryMax` @return [Fixnum]
Max memory usage, percent. Corresponds to the JSON property ‘memoryMaxPercent` @return [Fixnum]
Average network throughput (combined transmit-rates and receive-rates), in kilobytes per second. Corresponds to the JSON property ‘networkThroughputAverage` @return [Fixnum]
Average network throughput (combined transmit-rates and receive-rates), in kilobytes per second. Corresponds to the JSON property ‘networkThroughputAverageKbps` @return [Fixnum]
Max network throughput (combined transmit-rates and receive-rates), in kilobytes per second. Corresponds to the JSON property ‘networkThroughputMax` @return [Fixnum]
Max network throughput (combined transmit-rates and receive-rates), in kilobytes per second. Corresponds to the JSON property ‘networkThroughputMaxKbps` @return [Fixnum]
Public Class Methods
# File lib/google/apis/vmmigration_v1alpha1/classes.rb, line 2491 def initialize(**args) update!(**args) end
Public Instance Methods
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