Class: Google::Apis::MigrationcenterV1alpha1::AggregationResultFrequency

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#valuesHash<String,Fixnum>

Corresponds to the JSON property values

Returns:

  • (Hash<String,Fixnum>)


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