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

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

A histogram bucket with a lower and upper bound, and a count of items with a field value between those bounds.

The lower bound is inclusive and the upper bound is exclusive. Lower bound may be -infinity and upper bound may be infinity.

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

Namespace

Google \ Cloud \ MigrationCenter \ V1 \ ReportSummary \ HistogramChartData

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ lower_bound int|string

Lower bound - inclusive.

↳ upper_bound int|string

Upper bound - exclusive.

↳ count int|string

Count of items in the bucket.

getLowerBound

Lower bound - inclusive.

Returns
TypeDescription
int|string

setLowerBound

Lower bound - inclusive.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getUpperBound

Upper bound - exclusive.

Returns
TypeDescription
int|string

setUpperBound

Upper bound - exclusive.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getCount

Count of items in the bucket.

Returns
TypeDescription
int|string

setCount

Count of items in the bucket.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this