# Google Cloud Database Center V1beta Client - Class ResourceMaintenanceDenySchedule (0.7.0)

0.7.0 (latest) 0.6.0 0.5.0 0.4.1 0.3.1 0.2.0 0.1.0

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

Reference documentation and code samples for the Google Cloud Database Center V1beta Client class ResourceMaintenanceDenySchedule.

Deny maintenance period for the database resource. It specifies the time
range during which the maintenance cannot start. This is configured by the
customer.

Generated from protobuf message `google.cloud.databasecenter.v1beta.ResourceMaintenanceDenySchedule`

## Namespace

Google \\ Cloud \\ DatabaseCenter \\ V1beta

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ start_date` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Date.html` Optional. The start date of the deny maintenance period. |
| `↳ end_date` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Date.html` Optional. Deny period end date. |
| `↳ time` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.TimeOfDay.html` Optional. Time in UTC when the deny period starts on start_date and ends on end_date. |

### getStartDate

Optional. The start date of the deny maintenance period.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Date.html|null` |   |

### hasStartDate

### clearStartDate

### setStartDate

Optional. The start date of the deny maintenance period.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Date.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getEndDate

Optional. Deny period end date.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Date.html|null` |   |

### hasEndDate

### clearEndDate

### setEndDate

Optional. Deny period end date.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Date.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getTime

Optional. Time in UTC when the deny period starts on start_date and ends on
end_date.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.TimeOfDay.html|null` |   |

### hasTime

### clearTime

### setTime

Optional. Time in UTC when the deny period starts on start_date and ends on
end_date.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.TimeOfDay.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |