Class: Google::Apis::MigrationcenterV1alpha1::AggregationResultFrequency
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1alpha1::AggregationResultFrequency
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/migrationcenter_v1alpha1/classes.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb
Overview
The result of a frequency distribution aggregation.
Instance Attribute Summary collapse
-
#values ⇒ Hash<String,Fixnum>
Corresponds to the JSON property
values
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AggregationResultFrequency
constructor
A new instance of AggregationResultFrequency.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AggregationResultFrequency
Returns a new instance of AggregationResultFrequency.
287 288 289 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 287 def initialize(**args) update!(**args) end |
Instance Attribute Details
#values ⇒ Hash<String,Fixnum>
Corresponds to the JSON property values
285 286 287 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 285 def values @values end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
292 293 294 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 292 def update!(**args) @values = args[:values] if args.key?(:values) end |