Reference documentation and code samples for the Google Cloud Migration Center V1 Client class PerformanceSample.
Performance data sample.
Generated from protobuf message google.cloud.migrationcenter.v1.PerformanceSample
Namespace
Google \ Cloud \ MigrationCenter \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ sample_time
Google\Protobuf\Timestamp
Time the sample was collected. If omitted, the frame report time will be used.
↳ memory
↳ cpu
↳ network
↳ disk
getSampleTime
Time the sample was collected.
If omitted, the frame report time will be used.
hasSampleTime
clearSampleTime
setSampleTime
Time the sample was collected.
If omitted, the frame report time will be used.
$this
getMemory
Memory usage sample.
hasMemory
clearMemory
setMemory
Memory usage sample.
$this
getCpu
CPU usage sample.
hasCpu
clearCpu
setCpu
CPU usage sample.
$this
getNetwork
Network usage sample.
hasNetwork
clearNetwork
setNetwork
Network usage sample.
$this
getDisk
Disk usage sample.
hasDisk
clearDisk
setDisk
Disk usage sample.
$this