Class: Google::Apis::MigrationcenterV1::AggregationResultCount
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1::AggregationResultCount
- 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 count aggregation.
Instance Attribute Summary collapse
-
#value ⇒ Fixnum
Corresponds to the JSON property
value
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AggregationResultCount
constructor
A new instance of AggregationResultCount.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AggregationResultCount
Returns a new instance of AggregationResultCount.
260 261 262 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 260 def initialize(**args) update!(**args) end |
Instance Attribute Details
#value ⇒ Fixnum
Corresponds to the JSON property value
258 259 260 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 258 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
265 266 267 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 265 def update!(**args) @value = args[:value] if args.key?(:value) end |