Migration Center V1 API - Class Google::Cloud::MigrationCenter::V1::Aggregation (v0.2.2)

Reference documentation and code samples for the Migration Center V1 API class Google::Cloud::MigrationCenter::V1::Aggregation.

Message describing an aggregation. The message includes the aggregation type, parameters, and the field on which to perform the aggregation.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#count

def count() -> ::Google::Cloud::MigrationCenter::V1::Aggregation::Count
Returns

#count=

def count=(value) -> ::Google::Cloud::MigrationCenter::V1::Aggregation::Count
Parameter
Returns

#field

def field() -> ::String
Returns
  • (::String) — The name of the field on which to aggregate.

#field=

def field=(value) -> ::String
Parameter
  • value (::String) — The name of the field on which to aggregate.
Returns
  • (::String) — The name of the field on which to aggregate.

#frequency

def frequency() -> ::Google::Cloud::MigrationCenter::V1::Aggregation::Frequency
Returns

#frequency=

def frequency=(value) -> ::Google::Cloud::MigrationCenter::V1::Aggregation::Frequency
Parameter
Returns

#histogram

def histogram() -> ::Google::Cloud::MigrationCenter::V1::Aggregation::Histogram
Returns

#histogram=

def histogram=(value) -> ::Google::Cloud::MigrationCenter::V1::Aggregation::Histogram
Parameter
Returns

#sum

def sum() -> ::Google::Cloud::MigrationCenter::V1::Aggregation::Sum
Returns

#sum=

def sum=(value) -> ::Google::Cloud::MigrationCenter::V1::Aggregation::Sum
Parameter
Returns