Google Cloud Migration Center V1 Client - Class HistogramChartData (1.0.0)

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

A Histogram Chart shows a distribution of values into buckets, showing a count of values which fall into a bucket.

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

Namespace

Google \ Cloud \ MigrationCenter \ V1 \ ReportSummary

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ buckets array<Google\Cloud\MigrationCenter\V1\ReportSummary\HistogramChartData\Bucket>

Buckets in the histogram. There will be n+1 buckets matching n lower bounds in the request. The first bucket will be from -infinity to the first bound. Subsequent buckets will be between one bound and the next. The final bucket will be from the final bound to infinity.

getBuckets

Buckets in the histogram.

There will be n+1 buckets matching n lower bounds in the request. The first bucket will be from -infinity to the first bound. Subsequent buckets will be between one bound and the next. The final bucket will be from the final bound to infinity.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setBuckets

Buckets in the histogram.

There will be n+1 buckets matching n lower bounds in the request. The first bucket will be from -infinity to the first bound. Subsequent buckets will be between one bound and the next. The final bucket will be from the final bound to infinity.

Parameter
Name Description
var array<Google\Cloud\MigrationCenter\V1\ReportSummary\HistogramChartData\Bucket>
Returns
Type Description
$this