# Class MaintenancePolicy (1.16.0)

1.16.0 (latest) 1.15.0 1.14.0 1.13.0 1.12.2 1.11.0 1.10.1 1.9.5 1.8.0 1.7.2 1.6.1 1.5.0 1.4.4 1.3.2 1.2.1 1.1.3 1.0.0 0.3.2 0.2.0 0.1.0

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

Maintenance policy per instance.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `create_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The time when the policy was created. |
| `update_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The time when the policy was updated. |
| `description` | `str` Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512. |
| `weekly_maintenance_window` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/memcache/latest/google.cloud.memcache_v1beta2.types.WeeklyMaintenanceWindow]` Required. Maintenance window that is applied to resources covered by this policy. Minimum 1. For the current version, the maximum number of weekly_maintenance_windows is expected to be one. |