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

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

Utilization Chart is a specific type of visualization which displays a metric classified into "Used" and "Free" buckets.

Generated from protobuf message google.cloud.migrationcenter.v1.ReportSummary.UtilizationChartData

Namespace

Google \ Cloud \ MigrationCenter \ V1 \ ReportSummary

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ used int|string

Aggregate value which falls into the "Used" bucket.

↳ free int|string

Aggregate value which falls into the "Free" bucket.

getUsed

Aggregate value which falls into the "Used" bucket.

Returns
Type Description
int|string

setUsed

Aggregate value which falls into the "Used" bucket.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getFree

Aggregate value which falls into the "Free" bucket.

Returns
Type Description
int|string

setFree

Aggregate value which falls into the "Free" bucket.

Parameter
Name Description
var int|string
Returns
Type Description
$this