# AlloyDB V1BETA API - Class Google::Cloud::AlloyDB::V1beta::MaintenanceUpdatePolicy::DenyMaintenancePeriod (v0.23.0)

0.23.0 (latest) 0.22.0 0.21.0 0.20.1 0.19.0 0.18.0 0.17.1 0.16.0 0.15.0 0.14.1 0.13.0 0.12.0 0.11.0 0.10.0 0.9.0 0.8.1 0.7.0 0.6.2 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the AlloyDB V1BETA API class Google::Cloud::AlloyDB::V1beta::MaintenanceUpdatePolicy::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.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #end_date

    def end_date() -> ::Google::Type::Date

**Returns**

- ([::Google::Type::Date](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-alloy_db-v1beta/latest/Google-Type-Date)) ---

  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

### #end_date=

    def end_date=(value) -> ::Google::Type::Date

**Parameter**

- **value** ([::Google::Type::Date](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-alloy_db-v1beta/latest/Google-Type-Date)) ---

  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
**Returns**

- ([::Google::Type::Date](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-alloy_db-v1beta/latest/Google-Type-Date)) ---

  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

### #start_date

    def start_date() -> ::Google::Type::Date

**Returns**

- ([::Google::Type::Date](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-alloy_db-v1beta/latest/Google-Type-Date)) ---

  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

### #start_date=

    def start_date=(value) -> ::Google::Type::Date

**Parameter**

- **value** ([::Google::Type::Date](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-alloy_db-v1beta/latest/Google-Type-Date)) ---

  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
**Returns**

- ([::Google::Type::Date](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-alloy_db-v1beta/latest/Google-Type-Date)) ---

  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

### #time

    def time() -> ::Google::Type::TimeOfDay

**Returns**

- ([::Google::Type::TimeOfDay](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-alloy_db-v1beta/latest/Google-Type-TimeOfDay)) ---

  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

### #time=

    def time=(value) -> ::Google::Type::TimeOfDay

**Parameter**

- **value** ([::Google::Type::TimeOfDay](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-alloy_db-v1beta/latest/Google-Type-TimeOfDay)) ---

  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
**Returns**

- ([::Google::Type::TimeOfDay](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-alloy_db-v1beta/latest/Google-Type-TimeOfDay)) ---

  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