Class: Google::Apis::MigrationcenterV1alpha1::AggregationResultCount

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 count aggregation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AggregationResultCount

Returns a new instance of AggregationResultCount.



268
269
270
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 268

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

Instance Attribute Details

#valueFixnum

Corresponds to the JSON property value

Returns:

  • (Fixnum)


266
267
268
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 266

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



273
274
275
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 273

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