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

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

Statistical aggregation of samples for a single resource usage.

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

Namespace

Google \ Cloud \ MigrationCenter \ V1 \ DailyResourceUsageAggregation

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ average float

Average usage value.

↳ median float

Median usage value.

↳ nintey_fifth_percentile float

95th percentile usage value.

↳ peak float

Peak usage value.

getAverage

Average usage value.

Returns
TypeDescription
float

setAverage

Average usage value.

Parameter
NameDescription
var float
Returns
TypeDescription
$this

getMedian

Median usage value.

Returns
TypeDescription
float

setMedian

Median usage value.

Parameter
NameDescription
var float
Returns
TypeDescription
$this

getNinteyFifthPercentile

95th percentile usage value.

Returns
TypeDescription
float

setNinteyFifthPercentile

95th percentile usage value.

Parameter
NameDescription
var float
Returns
TypeDescription
$this

getPeak

Peak usage value.

Returns
TypeDescription
float

setPeak

Peak usage value.

Parameter
NameDescription
var float
Returns
TypeDescription
$this