Google Cloud Migration Center V1 Client - Class Histogram (0.3.1)

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

Histogram of bucketed assets counts by field value.

Generated from protobuf message google.cloud.migrationcenter.v1.Aggregation.Histogram

Namespace

Google \ Cloud \ MigrationCenter \ V1 \ Aggregation

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ lower_bounds array

Lower bounds of buckets. The response will contain n+1 buckets for n bounds. The first bucket will count all assets for which the field value is smaller than the first bound. Subsequent buckets will count assets for which the field value is greater or equal to a lower bound and smaller than the next one. The last bucket will count assets for which the field value is greater or equal to the final lower bound. You can define up to 20 lower bounds.

getLowerBounds

Lower bounds of buckets.

The response will contain n+1 buckets for n bounds. The first bucket will count all assets for which the field value is smaller than the first bound. Subsequent buckets will count assets for which the field value is greater or equal to a lower bound and smaller than the next one. The last bucket will count assets for which the field value is greater or equal to the final lower bound. You can define up to 20 lower bounds.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setLowerBounds

Lower bounds of buckets.

The response will contain n+1 buckets for n bounds. The first bucket will count all assets for which the field value is smaller than the first bound. Subsequent buckets will count assets for which the field value is greater or equal to a lower bound and smaller than the next one. The last bucket will count assets for which the field value is greater or equal to the final lower bound. You can define up to 20 lower bounds.

Parameter
NameDescription
var float[]
Returns
TypeDescription
$this