Class: Google::Apis::MigrationcenterV1::AggregationResultFrequency

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

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.



279
280
281
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 279

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#valuesHash<String,Fixnum>

Corresponds to the JSON property values

Returns:

  • (Hash<String,Fixnum>)


277
278
279
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 277

def values
  @values
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



284
285
286
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 284

def update!(**args)
  @values = args[:values] if args.key?(:values)
end