# Class MaintenanceSummary (0.4.1)

0.4.1 (latest) 0.4.0 0.3.0 0.2.0 0.1.1

    MaintenanceSummary(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `maintenance_name` | `str` Output only. The name of the maintenance. |
| `title` | `str` Output only. The title of the maintenance. |
| `description` | `str` Output only. The description of the maintenance. |
| `category` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-maintenance-api/latest/google.cloud.maintenance_api_v1.types.MaintenanceCategory` Output only. The category of the maintenance event. |
| `maintenance_scheduled_start_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. Scheduled start time of the maintenance. The maintenance will start at `maintenanceScheduledStartTime` or later, with best effort to finish before `maintenanceScheduledEndTime`. |
| `maintenance_scheduled_end_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. An estimated (best effort, not guaranteed) end time of the scheduled maintenance. |
| `maintenance_start_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. Actual date when the maintenance started. Field present only after the state changed to `RUNNING`. |
| `maintenance_end_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. Actual date when the maintenance successfully completed. Field present only after the state changed to `SUCCEEDED`. |
| `user_controllable` | `bool` 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). |
| `controls` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/google-cloud-maintenance-api/latest/google.cloud.maintenance_api_v1.types.MaintenanceControl]` Output only. Control available for that Maintenance (might not be available for every resource that maintenance is applied to). |
| `stats` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/google-cloud-maintenance-api/latest/google.cloud.maintenance_api_v1.types.MaintenanceSummary.Stats]` Output only. Stats is a field of ResourceMaintenance used to aggregate the stats. |

## Classes

### Aggregate

    Aggregate(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

### Stats

    Stats(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Stats indicates the type of aggregate and the corresponding
aggregates.