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

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 Stats

CPU utilization percentage.

getUtilizationPercentage

CPU utilization percentage.

Returns
Type Description
Stats|null

hasUtilizationPercentage

clearUtilizationPercentage

setUtilizationPercentage

CPU utilization percentage.

Parameter
Name Description
var Stats
Returns
Type Description
$this