Reference documentation and code samples for the Migration Center V1 API class Google::Cloud::MigrationCenter::V1::AggregationResult::Histogram::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.
[[["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-09 UTC."],[],[],null,["# Migration Center V1 API - Class Google::Cloud::MigrationCenter::V1::AggregationResult::Histogram::Bucket (v2.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.0 (latest)](/ruby/docs/reference/google-cloud-migration_center-v1/latest/Google-Cloud-MigrationCenter-V1-AggregationResult-Histogram-Bucket)\n- [2.0.1](/ruby/docs/reference/google-cloud-migration_center-v1/2.0.1/Google-Cloud-MigrationCenter-V1-AggregationResult-Histogram-Bucket)\n- [1.2.0](/ruby/docs/reference/google-cloud-migration_center-v1/1.2.0/Google-Cloud-MigrationCenter-V1-AggregationResult-Histogram-Bucket)\n- [1.1.0](/ruby/docs/reference/google-cloud-migration_center-v1/1.1.0/Google-Cloud-MigrationCenter-V1-AggregationResult-Histogram-Bucket)\n- [1.0.1](/ruby/docs/reference/google-cloud-migration_center-v1/1.0.1/Google-Cloud-MigrationCenter-V1-AggregationResult-Histogram-Bucket)\n- [0.3.0](/ruby/docs/reference/google-cloud-migration_center-v1/0.3.0/Google-Cloud-MigrationCenter-V1-AggregationResult-Histogram-Bucket)\n- [0.2.2](/ruby/docs/reference/google-cloud-migration_center-v1/0.2.2/Google-Cloud-MigrationCenter-V1-AggregationResult-Histogram-Bucket)\n- [0.1.0](/ruby/docs/reference/google-cloud-migration_center-v1/0.1.0/Google-Cloud-MigrationCenter-V1-AggregationResult-Histogram-Bucket) \nReference documentation and code samples for the Migration Center V1 API class Google::Cloud::MigrationCenter::V1::AggregationResult::Histogram::Bucket.\n\nA histogram bucket with a lower and upper bound, and a count of items\nwith a field value between those bounds.\nThe lower bound is inclusive and the upper bound is exclusive.\nLower bound may be -infinity and upper bound may be infinity. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #count\n\n def count() -\u003e ::Integer\n\n**Returns**\n\n- (::Integer) --- Count of items in the bucket.\n\n### #count=\n\n def count=(value) -\u003e ::Integer\n\n**Parameter**\n\n- **value** (::Integer) --- Count of items in the bucket. \n**Returns**\n\n- (::Integer) --- Count of items in the bucket.\n\n### #lower_bound\n\n def lower_bound() -\u003e ::Float\n\n**Returns**\n\n- (::Float) --- Lower bound - inclusive.\n\n### #lower_bound=\n\n def lower_bound=(value) -\u003e ::Float\n\n**Parameter**\n\n- **value** (::Float) --- Lower bound - inclusive. \n**Returns**\n\n- (::Float) --- Lower bound - inclusive.\n\n### #upper_bound\n\n def upper_bound() -\u003e ::Float\n\n**Returns**\n\n- (::Float) --- Upper bound - exclusive.\n\n### #upper_bound=\n\n def upper_bound=(value) -\u003e ::Float\n\n**Parameter**\n\n- **value** (::Float) --- Upper bound - exclusive. \n**Returns**\n\n- (::Float) --- Upper bound - exclusive."]]