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

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
Name Description
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
Type Description
Google\Cloud\MigrationCenter\V1\DailyResourceUsageAggregation\Stats|null

hasUtilizationPercentage

clearUtilizationPercentage

setUtilizationPercentage

CPU utilization percentage.

Parameter
Name Description
var Google\Cloud\MigrationCenter\V1\DailyResourceUsageAggregation\Stats
Returns
Type Description
$this