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

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
NameDescription
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
TypeDescription
int|string

setUsed

Aggregate value which falls into the "Used" bucket.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getFree

Aggregate value which falls into the "Free" bucket.

Returns
TypeDescription
int|string

setFree

Aggregate value which falls into the "Free" bucket.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this