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 \ DailyResourceUsageAggregationMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
float |
setAverage
Average usage value.
Parameter | |
---|---|
Name | Description |
var |
float
|
Returns | |
---|---|
Type | Description |
$this |
getMedian
Median usage value.
Returns | |
---|---|
Type | Description |
float |
setMedian
Median usage value.
Parameter | |
---|---|
Name | Description |
var |
float
|
Returns | |
---|---|
Type | Description |
$this |
getNinteyFifthPercentile
95th percentile usage value.
Returns | |
---|---|
Type | Description |
float |
setNinteyFifthPercentile
95th percentile usage value.
Parameter | |
---|---|
Name | Description |
var |
float
|
Returns | |
---|---|
Type | Description |
$this |
getPeak
Peak usage value.
Returns | |
---|---|
Type | Description |
float |
setPeak
Peak usage value.
Parameter | |
---|---|
Name | Description |
var |
float
|
Returns | |
---|---|
Type | Description |
$this |