1.0.0 (latest) 1.0.0-beta01

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

Reference documentation and code samples for the Maintenance v1 API class MaintenanceSummary.

MaintenanceSummary contains maintenance statistics calculated based on ResourceMaintenances within the scope: project and location.

## Inheritance

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

## 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.V1/latest/Google.Cloud.Maintenance.Api.V1.MaintenanceSummary), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[MaintenanceSummary](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Maintenance.Api.V1/latest/Google.Cloud.Maintenance.Api.V1.MaintenanceSummary), [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.V1/latest/Google.Cloud.Maintenance.Api.V1.MaintenanceSummary), [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.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Maintenance.Api.V1/latest/Google.Cloud.Maintenance.Api.V1)

## Assembly

Google.Cloud.Maintenance.Api.V1.dll

## Constructors

### MaintenanceSummary()

    public MaintenanceSummary()

### MaintenanceSummary(MaintenanceSummary)

    public MaintenanceSummary(MaintenanceSummary other)

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

## Properties

### Category

    public MaintenanceCategory Category { get; set; }

Output only. The category of the maintenance event.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Maintenance.Api.V1/latest/Google.Cloud.Maintenance.Api.V1.MaintenanceCategory` |   |

### Controls

    public RepeatedField<MaintenanceControl> Controls { get; }

Output only. Control available for that Maintenance (might not be available for every resource that maintenance is applied to).

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Maintenance.Api.V1/latest/Google.Cloud.Maintenance.Api.V1.MaintenanceControl` |   |

### Description

    public string Description { get; set; }

Output only. The description of the maintenance.

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

### MaintenanceEndTime

    public Timestamp MaintenanceEndTime { get; set; }

Output only. Actual date when the maintenance successfully completed. Field present only after the state changed to `SUCCEEDED`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Timestamp.html` |   |

### MaintenanceName

    public string MaintenanceName { get; set; }

Output only. The name of the maintenance.

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

### MaintenanceScheduledEndTime

    public Timestamp MaintenanceScheduledEndTime { get; set; }

Output only. An estimated (best effort, not guaranteed) end time of the scheduled maintenance.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Timestamp.html` |   |

### MaintenanceScheduledStartTime

    public Timestamp MaintenanceScheduledStartTime { get; set; }

Output only. Scheduled start time of the maintenance. The maintenance will start at `maintenanceScheduledStartTime` or later, with best effort to finish before `maintenanceScheduledEndTime`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Timestamp.html` |   |

### MaintenanceStartTime

    public Timestamp MaintenanceStartTime { get; set; }

Output only. Actual date when the maintenance started. Field present only after the state changed to `RUNNING`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Timestamp.html` |   |

### Stats

    public RepeatedField<MaintenanceSummary.Types.Stats> Stats { get; }

Output only. Stats is a field of ResourceMaintenance used to aggregate the stats.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Maintenance.Api.V1/latest/Google.Cloud.Maintenance.Api.V1.MaintenanceSummaryhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Maintenance.Api.V1/latest/Google.Cloud.Maintenance.Api.V1.MaintenanceSummary.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Maintenance.Api.V1/latest/Google.Cloud.Maintenance.Api.V1.MaintenanceSummary.Types.Stats` |   |

### Title

    public string Title { get; set; }

Output only. The title of the maintenance.

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

### UserControllable

    public bool UserControllable { get; set; }

Output only. Indicates whether the user has some control over that maintenance, either proactively before maintenance was scheduled with maintenance policy or with reactive controls after it was scheduled (see controls field).

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