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

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
Name
Description
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
Type
Description

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
Name
Description
var
float[]
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: