Google Cloud Migration Center V1 Client - Class PerformanceSample (0.4.5)

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 \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
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
↳ network

getSampleTime

Time the sample was collected.

If omitted, the frame report time will be used.

Returns
Type
Description

hasSampleTime

clearSampleTime

setSampleTime

Time the sample was collected.

If omitted, the frame report time will be used.

Parameter
Name
Description
Returns
Type
Description
$this

getMemory

Memory usage sample.

Returns
Type
Description

hasMemory

clearMemory

setMemory

Memory usage sample.

Parameter
Name
Description
Returns
Type
Description
$this

getCpu

CPU usage sample.

Returns
Type
Description

hasCpu

clearCpu

setCpu

CPU usage sample.

Parameter
Name
Description
Returns
Type
Description
$this

getNetwork

Network usage sample.

hasNetwork

clearNetwork

setNetwork

Network usage sample.

Returns
Type
Description
$this

getDisk

Disk usage sample.

Returns
Type
Description

hasDisk

clearDisk

setDisk

Disk usage sample.

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: