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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Migration Center V1 Client - Class Histogram (1.1.2)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.2 (latest)](/php/docs/reference/cloud-migrationcenter/latest/V1.Aggregation.Histogram)\n- [1.1.1](/php/docs/reference/cloud-migrationcenter/1.1.1/V1.Aggregation.Histogram)\n- [1.0.3](/php/docs/reference/cloud-migrationcenter/1.0.3/V1.Aggregation.Histogram)\n- [0.4.5](/php/docs/reference/cloud-migrationcenter/0.4.5/V1.Aggregation.Histogram)\n- [0.3.1](/php/docs/reference/cloud-migrationcenter/0.3.1/V1.Aggregation.Histogram)\n- [0.2.0](/php/docs/reference/cloud-migrationcenter/0.2.0/V1.Aggregation.Histogram)\n- [0.1.0](/php/docs/reference/cloud-migrationcenter/0.1.0/V1.Aggregation.Histogram) \nReference documentation and code samples for the Google Cloud Migration Center V1 Client class Histogram.\n\nHistogram of bucketed assets counts by field value.\n\nGenerated from protobuf message `google.cloud.migrationcenter.v1.Aggregation.Histogram`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ MigrationCenter \\\\ V1 \\\\ Aggregation\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getLowerBounds\n\nLower bounds of buckets.\n\nThe response will contain `n+1` buckets for `n` bounds.\nThe first bucket will count all assets for which the field value is\nsmaller than the first bound.\nSubsequent buckets will count assets for which the field value is\ngreater or equal to a lower bound and smaller than the next one.\nThe last bucket will count assets for which the field value is greater or\nequal to the final lower bound.\nYou can define up to 20 lower bounds.\n\n### setLowerBounds\n\nLower bounds of buckets.\n\nThe response will contain `n+1` buckets for `n` bounds.\nThe first bucket will count all assets for which the field value is\nsmaller than the first bound.\nSubsequent buckets will count assets for which the field value is\ngreater or equal to a lower bound and smaller than the next one.\nThe last bucket will count assets for which the field value is greater or\nequal to the final lower bound.\nYou can define up to 20 lower bounds."]]