1.0.0-beta19 (latest) 1.0.0-beta18

    public sealed class MaintenanceUpdatePolicy.Types.DenyMaintenancePeriod : IMessage<MaintenanceUpdatePolicy.Types.DenyMaintenancePeriod>, IEquatable<MaintenanceUpdatePolicy.Types.DenyMaintenancePeriod>, IDeepCloneable<MaintenanceUpdatePolicy.Types.DenyMaintenancePeriod>, IBufferMessage, IMessage

Reference documentation and code samples for the AlloyDB v1beta API class MaintenanceUpdatePolicy.Types.DenyMaintenancePeriod.

DenyMaintenancePeriod definition. Excepting emergencies, maintenance
will not be scheduled to start within this deny period. The start_date must
be less than the end_date.

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.AlloyDb.V1Beta.dll

## Constructors

### DenyMaintenancePeriod()

    public DenyMaintenancePeriod()

### DenyMaintenancePeriod(DenyMaintenancePeriod)

    public DenyMaintenancePeriod(MaintenanceUpdatePolicy.Types.DenyMaintenancePeriod other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.MaintenanceUpdatePolicyhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.MaintenanceUpdatePolicy.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.MaintenanceUpdatePolicy.Types.DenyMaintenancePeriod` |

## Properties

### EndDate

    public Date EndDate { get; set; }

Deny period end date.
This can be:

- A full date, with non-zero year, month and day values OR
- A month and day value, with a zero year for recurring

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

### StartDate

    public Date StartDate { get; set; }

Deny period start date.
This can be:

- A full date, with non-zero year, month and day values OR
- A month and day value, with a zero year for recurring

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

### Time

    public TimeOfDay Time { get; set; }

Time in UTC when the deny period starts on start_date and ends on
end_date. This can be:

- Full time OR
- All zeros for 00:00:00 UTC

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