# Maintenance v1beta API - Class MaintenanceSummary.Types.Aggregate (1.0.0-beta02)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [1.0.0-beta02 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Maintenance.Api.V1Beta/latest/Google.Cloud.Maintenance.Api.V1Beta.MaintenanceSummary.Types.Aggregate)
- [1.0.0-beta01](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Maintenance.Api.V1Beta/1.0.0-beta01/Google.Cloud.Maintenance.Api.V1Beta.MaintenanceSummary.Types.Aggregate)

    public sealed class MaintenanceSummary.Types.Aggregate : IMessage<MaintenanceSummary.Types.Aggregate>, IEquatable<MaintenanceSummary.Types.Aggregate>, IDeepCloneable<MaintenanceSummary.Types.Aggregate>, IBufferMessage, IMessage

Reference documentation and code samples for the Maintenance v1beta API class MaintenanceSummary.Types.Aggregate.

Aggregate is a \<group, count\> pair.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> MaintenanceSummary.Types.Aggregate

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[MaintenanceSummary](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Maintenance.Api.V1Beta/latest/Google.Cloud.Maintenance.Api.V1Beta.MaintenanceSummary)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Maintenance.Api.V1Beta/latest/Google.Cloud.Maintenance.Api.V1Beta.MaintenanceSummary.Types)[Aggregate](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Maintenance.Api.V1Beta/latest/Google.Cloud.Maintenance.Api.V1Beta.MaintenanceSummary.Types.Aggregate), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[MaintenanceSummary](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Maintenance.Api.V1Beta/latest/Google.Cloud.Maintenance.Api.V1Beta.MaintenanceSummary)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Maintenance.Api.V1Beta/latest/Google.Cloud.Maintenance.Api.V1Beta.MaintenanceSummary.Types)[Aggregate](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Maintenance.Api.V1Beta/latest/Google.Cloud.Maintenance.Api.V1Beta.MaintenanceSummary.Types.Aggregate), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[MaintenanceSummary](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Maintenance.Api.V1Beta/latest/Google.Cloud.Maintenance.Api.V1Beta.MaintenanceSummary)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Maintenance.Api.V1Beta/latest/Google.Cloud.Maintenance.Api.V1Beta.MaintenanceSummary.Types)[Aggregate](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Maintenance.Api.V1Beta/latest/Google.Cloud.Maintenance.Api.V1Beta.MaintenanceSummary.Types.Aggregate), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Maintenance.Api.V1Beta](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Maintenance.Api.V1Beta/latest/Google.Cloud.Maintenance.Api.V1Beta)

## Assembly

Google.Cloud.Maintenance.Api.V1Beta.dll

## Constructors

### Aggregate()

    public Aggregate()

### Aggregate(Aggregate)

    public Aggregate(MaintenanceSummary.Types.Aggregate other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Maintenance.Api.V1Beta/latest/Google.Cloud.Maintenance.Api.V1Beta.MaintenanceSummaryhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Maintenance.Api.V1Beta/latest/Google.Cloud.Maintenance.Api.V1Beta.MaintenanceSummary.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Maintenance.Api.V1Beta/latest/Google.Cloud.Maintenance.Api.V1Beta.MaintenanceSummary.Types.Aggregate` |

## Properties

### Count

    public long Count { get; set; }

The count of the group.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.int64` |   |

### Group

    public string Group { get; set; }

Specifies what specific value of the group_by the count represents. For
example if group_by is `"state"` its corresponding group could be
`"SCHEDULED"`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |