# Cloud Memorystore for Memcached v1 API - Class WeeklyMaintenanceWindow (2.6.0)

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

- [2.6.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Memcache.V1/latest/Google.Cloud.Memcache.V1.WeeklyMaintenanceWindow)
- [2.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Memcache.V1/2.5.0/Google.Cloud.Memcache.V1.WeeklyMaintenanceWindow)
- [2.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Memcache.V1/2.4.0/Google.Cloud.Memcache.V1.WeeklyMaintenanceWindow)
- [2.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Memcache.V1/2.3.0/Google.Cloud.Memcache.V1.WeeklyMaintenanceWindow)
- [2.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Memcache.V1/2.2.0/Google.Cloud.Memcache.V1.WeeklyMaintenanceWindow)
- [2.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Memcache.V1/2.1.0/Google.Cloud.Memcache.V1.WeeklyMaintenanceWindow)
- [2.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Memcache.V1/2.0.0/Google.Cloud.Memcache.V1.WeeklyMaintenanceWindow)
- [1.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Memcache.V1/1.2.0/Google.Cloud.Memcache.V1.WeeklyMaintenanceWindow)
- [1.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Memcache.V1/1.1.0/Google.Cloud.Memcache.V1.WeeklyMaintenanceWindow)
- [1.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Memcache.V1/1.0.0/Google.Cloud.Memcache.V1.WeeklyMaintenanceWindow)

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

Reference documentation and code samples for the Cloud Memorystore for Memcached v1 API class WeeklyMaintenanceWindow.

Time window specified for weekly operations.

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[WeeklyMaintenanceWindow](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Memcache.V1/latest/Google.Cloud.Memcache.V1.WeeklyMaintenanceWindow), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[WeeklyMaintenanceWindow](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Memcache.V1/latest/Google.Cloud.Memcache.V1.WeeklyMaintenanceWindow), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[WeeklyMaintenanceWindow](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Memcache.V1/latest/Google.Cloud.Memcache.V1.WeeklyMaintenanceWindow), [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.Memcache.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Memcache.V1/latest/Google.Cloud.Memcache.V1)

## Assembly

Google.Cloud.Memcache.V1.dll

## Constructors

### WeeklyMaintenanceWindow()

    public WeeklyMaintenanceWindow()

### WeeklyMaintenanceWindow(WeeklyMaintenanceWindow)

    public WeeklyMaintenanceWindow(WeeklyMaintenanceWindow other)

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

## Properties

### Day

    public DayOfWeek Day { get; set; }

Required. Allows to define schedule that runs specified day of the week.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Type.DayOfWeek.html` |   |

### Duration

    public Duration Duration { get; set; }

Required. Duration of the time window.

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

### StartTime

    public TimeOfDay StartTime { get; set; }

Required. Start time of the window in UTC.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Type.TimeOfDay.html` |   |