Reference documentation and code samples for the Migration Center V1 API class Google::Cloud::MigrationCenter::V1::PerformanceSample.
Performance data sample.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#cpu
def cpu() -> ::Google::Cloud::MigrationCenter::V1::CpuUsageSample
Returns
- (::Google::Cloud::MigrationCenter::V1::CpuUsageSample) — CPU usage sample.
#cpu=
def cpu=(value) -> ::Google::Cloud::MigrationCenter::V1::CpuUsageSample
Parameter
- value (::Google::Cloud::MigrationCenter::V1::CpuUsageSample) — CPU usage sample.
Returns
- (::Google::Cloud::MigrationCenter::V1::CpuUsageSample) — CPU usage sample.
#disk
def disk() -> ::Google::Cloud::MigrationCenter::V1::DiskUsageSample
Returns
- (::Google::Cloud::MigrationCenter::V1::DiskUsageSample) — Disk usage sample.
#disk=
def disk=(value) -> ::Google::Cloud::MigrationCenter::V1::DiskUsageSample
Parameter
- value (::Google::Cloud::MigrationCenter::V1::DiskUsageSample) — Disk usage sample.
Returns
- (::Google::Cloud::MigrationCenter::V1::DiskUsageSample) — Disk usage sample.
#memory
def memory() -> ::Google::Cloud::MigrationCenter::V1::MemoryUsageSample
Returns
- (::Google::Cloud::MigrationCenter::V1::MemoryUsageSample) — Memory usage sample.
#memory=
def memory=(value) -> ::Google::Cloud::MigrationCenter::V1::MemoryUsageSample
Parameter
- value (::Google::Cloud::MigrationCenter::V1::MemoryUsageSample) — Memory usage sample.
Returns
- (::Google::Cloud::MigrationCenter::V1::MemoryUsageSample) — Memory usage sample.
#network
def network() -> ::Google::Cloud::MigrationCenter::V1::NetworkUsageSample
Returns
- (::Google::Cloud::MigrationCenter::V1::NetworkUsageSample) — Network usage sample.
#network=
def network=(value) -> ::Google::Cloud::MigrationCenter::V1::NetworkUsageSample
Parameter
- value (::Google::Cloud::MigrationCenter::V1::NetworkUsageSample) — Network usage sample.
Returns
- (::Google::Cloud::MigrationCenter::V1::NetworkUsageSample) — Network usage sample.
#sample_time
def sample_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Time the sample was collected. If omitted, the frame report time will be used.
#sample_time=
def sample_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — Time the sample was collected. If omitted, the frame report time will be used.
Returns
- (::Google::Protobuf::Timestamp) — Time the sample was collected. If omitted, the frame report time will be used.