Class: Google::Apis::MigrationcenterV1::ReportSummaryHistogramChartData
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1::ReportSummaryHistogramChartData
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/migrationcenter_v1/classes.rb,
lib/google/apis/migrationcenter_v1/representations.rb,
lib/google/apis/migrationcenter_v1/representations.rb
Overview
A Histogram Chart shows a distribution of values into buckets, showing a count of values which fall into a bucket.
Instance Attribute Summary collapse
-
#buckets ⇒ Array<Google::Apis::MigrationcenterV1::ReportSummaryHistogramChartDataBucket>
Buckets in the histogram.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReportSummaryHistogramChartData
constructor
A new instance of ReportSummaryHistogramChartData.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ReportSummaryHistogramChartData
Returns a new instance of ReportSummaryHistogramChartData.
3976 3977 3978 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3976 def initialize(**args) update!(**args) end |
Instance Attribute Details
#buckets ⇒ Array<Google::Apis::MigrationcenterV1::ReportSummaryHistogramChartDataBucket>
Buckets in the histogram. There will be n+1 buckets matching n lower
bounds in the request. The first bucket will be from -infinity to the first
bound. Subsequent buckets will be between one bound and the next. The final
bucket will be from the final bound to infinity.
Corresponds to the JSON property buckets
3974 3975 3976 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3974 def buckets @buckets end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3981 3982 3983 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3981 def update!(**args) @buckets = args[:buckets] if args.key?(:buckets) end |