Migrate for Compute Engine V1 API - Class Google::Cloud::VMMigration::V1::VmUtilizationMetrics (v0.9.0)

Reference documentation and code samples for the Migrate for Compute Engine V1 API class Google::Cloud::VMMigration::V1::VmUtilizationMetrics.

Utilization metrics values for a single VM.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#cpu_average_percent

def cpu_average_percent() -> ::Integer
Returns
  • (::Integer) — Average CPU usage, percent.

#cpu_average_percent=

def cpu_average_percent=(value) -> ::Integer
Parameter
  • value (::Integer) — Average CPU usage, percent.
Returns
  • (::Integer) — Average CPU usage, percent.

#cpu_max_percent

def cpu_max_percent() -> ::Integer
Returns
  • (::Integer) — Max CPU usage, percent.

#cpu_max_percent=

def cpu_max_percent=(value) -> ::Integer
Parameter
  • value (::Integer) — Max CPU usage, percent.
Returns
  • (::Integer) — Max CPU usage, percent.

#disk_io_rate_average_kbps

def disk_io_rate_average_kbps() -> ::Integer
Returns
  • (::Integer) — Average disk IO rate, in kilobytes per second.

#disk_io_rate_average_kbps=

def disk_io_rate_average_kbps=(value) -> ::Integer
Parameter
  • value (::Integer) — Average disk IO rate, in kilobytes per second.
Returns
  • (::Integer) — Average disk IO rate, in kilobytes per second.

#disk_io_rate_max_kbps

def disk_io_rate_max_kbps() -> ::Integer
Returns
  • (::Integer) — Max disk IO rate, in kilobytes per second.

#disk_io_rate_max_kbps=

def disk_io_rate_max_kbps=(value) -> ::Integer
Parameter
  • value (::Integer) — Max disk IO rate, in kilobytes per second.
Returns
  • (::Integer) — Max disk IO rate, in kilobytes per second.

#memory_average_percent

def memory_average_percent() -> ::Integer
Returns
  • (::Integer) — Average memory usage, percent.

#memory_average_percent=

def memory_average_percent=(value) -> ::Integer
Parameter
  • value (::Integer) — Average memory usage, percent.
Returns
  • (::Integer) — Average memory usage, percent.

#memory_max_percent

def memory_max_percent() -> ::Integer
Returns
  • (::Integer) — Max memory usage, percent.

#memory_max_percent=

def memory_max_percent=(value) -> ::Integer
Parameter
  • value (::Integer) — Max memory usage, percent.
Returns
  • (::Integer) — Max memory usage, percent.

#network_throughput_average_kbps

def network_throughput_average_kbps() -> ::Integer
Returns
  • (::Integer) — Average network throughput (combined transmit-rates and receive-rates), in kilobytes per second.

#network_throughput_average_kbps=

def network_throughput_average_kbps=(value) -> ::Integer
Parameter
  • value (::Integer) — Average network throughput (combined transmit-rates and receive-rates), in kilobytes per second.
Returns
  • (::Integer) — Average network throughput (combined transmit-rates and receive-rates), in kilobytes per second.

#network_throughput_max_kbps

def network_throughput_max_kbps() -> ::Integer
Returns
  • (::Integer) — Max network throughput (combined transmit-rates and receive-rates), in kilobytes per second.

#network_throughput_max_kbps=

def network_throughput_max_kbps=(value) -> ::Integer
Parameter
  • value (::Integer) — Max network throughput (combined transmit-rates and receive-rates), in kilobytes per second.
Returns
  • (::Integer) — Max network throughput (combined transmit-rates and receive-rates), in kilobytes per second.