# Maintenance V1BETA API - Class Google::Cloud::Maintenance::Api::V1beta::MaintenanceSummary::Stats (v0.5.0)

0.5.0 (latest) 0.4.0 0.3.0 0.2.1 0.1.0 Reference documentation and code samples for the Maintenance V1BETA API class Google::Cloud::Maintenance::Api::V1beta::MaintenanceSummary::Stats.

Stats indicates the type of aggregate and the corresponding aggregates.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #aggregates

    def aggregates() -> ::Array<::Google::Cloud::Maintenance::Api::V1beta::MaintenanceSummary::Aggregate>

**Returns**

- (::Array\<[::Google::Cloud::Maintenance::Api::V1beta::MaintenanceSummary::Aggregate](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-maintenance-api-v1beta/latest/Google-Cloud-Maintenance-Api-V1beta-MaintenanceSummary-Aggregate)\>) --- Aggregates is a list

### #aggregates=

    def aggregates=(value) -> ::Array<::Google::Cloud::Maintenance::Api::V1beta::MaintenanceSummary::Aggregate>

**Parameter**

- **value** (::Array\<[::Google::Cloud::Maintenance::Api::V1beta::MaintenanceSummary::Aggregate](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-maintenance-api-v1beta/latest/Google-Cloud-Maintenance-Api-V1beta-MaintenanceSummary-Aggregate)\>) --- Aggregates is a list
**Returns**

- (::Array\<[::Google::Cloud::Maintenance::Api::V1beta::MaintenanceSummary::Aggregate](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-maintenance-api-v1beta/latest/Google-Cloud-Maintenance-Api-V1beta-MaintenanceSummary-Aggregate)\>) --- Aggregates is a list

### #group_by

    def group_by() -> ::String

**Returns**

- (::String) --- groupBy specifies the type of aggregate. For example a group_by might be `"state"`

### #group_by=

    def group_by=(value) -> ::String

**Parameter**

- **value** (::String) --- groupBy specifies the type of aggregate. For example a group_by might be `"state"`
**Returns**

- (::String) --- groupBy specifies the type of aggregate. For example a group_by might be `"state"`