Google Cloud Migration Center V1 Client - Class CPU (0.1.0)

Reference documentation and code samples for the Google Cloud Migration Center V1 Client class CPU.

Statistical aggregation of CPU usage.

Generated from protobuf message google.cloud.migrationcenter.v1.DailyResourceUsageAggregation.CPU

Namespace

Google \ Cloud \ MigrationCenter \ V1 \ DailyResourceUsageAggregation

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ utilization_percentage Google\Cloud\MigrationCenter\V1\DailyResourceUsageAggregation\Stats

CPU utilization percentage.

getUtilizationPercentage

CPU utilization percentage.

Returns
TypeDescription
Google\Cloud\MigrationCenter\V1\DailyResourceUsageAggregation\Stats|null

hasUtilizationPercentage

clearUtilizationPercentage

setUtilizationPercentage

CPU utilization percentage.

Parameter
NameDescription
var Google\Cloud\MigrationCenter\V1\DailyResourceUsageAggregation\Stats
Returns
TypeDescription
$this