1.11.0 (latest) 1.10.0 1.9.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

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

Reference documentation and code samples for the Google Cloud Memorystore for Redis (cluster management) v1 API class ClusterMaintenancePolicy.

Maintenance policy per cluster.

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[ClusterMaintenancePolicy](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Redis.Cluster.V1/latest/Google.Cloud.Redis.Cluster.V1.ClusterMaintenancePolicy.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ClusterMaintenancePolicy](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Redis.Cluster.V1/latest/Google.Cloud.Redis.Cluster.V1.ClusterMaintenancePolicy.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[ClusterMaintenancePolicy](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Redis.Cluster.V1/latest/Google.Cloud.Redis.Cluster.V1.ClusterMaintenancePolicy.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## 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.Redis.Cluster.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Redis.Cluster.V1/latest/Google.Cloud.Redis.Cluster.V1.md.txt)

## Assembly

Google.Cloud.Redis.Cluster.V1.dll

## Constructors

### ClusterMaintenancePolicy()

    public ClusterMaintenancePolicy()

### ClusterMaintenancePolicy(ClusterMaintenancePolicy)

    public ClusterMaintenancePolicy(ClusterMaintenancePolicy other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `ClusterMaintenancePolicy` |

## Properties

### CreateTime

    public Timestamp CreateTime { get; set; }

Output only. The time when the policy was created i.e. Maintenance Window
or Deny Period was assigned.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `Timestamp` |   |

### UpdateTime

    public Timestamp UpdateTime { get; set; }

Output only. The time when the policy was updated i.e. Maintenance Window
or Deny Period was updated.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `Timestamp` |   |

### WeeklyMaintenanceWindow

    public RepeatedField<ClusterWeeklyMaintenanceWindow> WeeklyMaintenanceWindow { get; }

Optional. Maintenance window that is applied to resources covered by this
policy. Minimum 1. For the current version, the maximum number of
weekly_maintenance_window is expected to be one.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldClusterWeeklyMaintenanceWindow` |   |