# AlloyDB V1ALPHA API - Class Google::Cloud::AlloyDB::V1alpha::MaintenanceUpdatePolicy::MaintenanceWindow (v0.22.0)

0.22.0 (latest) 0.21.0 0.20.0 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.1 0.10.0 0.9.0 0.8.0 0.7.2 0.6.0 0.5.2 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the AlloyDB V1ALPHA API class Google::Cloud::AlloyDB::V1alpha::MaintenanceUpdatePolicy::MaintenanceWindow.

MaintenanceWindow specifies a preferred day and time for maintenance.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #day

    def day() -> ::Google::Type::DayOfWeek

**Returns**

- ([::Google::Type::DayOfWeek](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-alloy_db-v1alpha/latest/Google-Type-DayOfWeek)) --- Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc.

### #day=

    def day=(value) -> ::Google::Type::DayOfWeek

**Parameter**

- **value** ([::Google::Type::DayOfWeek](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-alloy_db-v1alpha/latest/Google-Type-DayOfWeek)) --- Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc.
**Returns**

- ([::Google::Type::DayOfWeek](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-alloy_db-v1alpha/latest/Google-Type-DayOfWeek)) --- Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc.

### #start_time

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

**Returns**

- ([::Google::Type::TimeOfDay](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-alloy_db-v1alpha/latest/Google-Type-TimeOfDay)) --- Preferred time to start the maintenance operation on the specified day. Maintenance will start within 1 hour of this time.

### #start_time=

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

**Parameter**

- **value** ([::Google::Type::TimeOfDay](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-alloy_db-v1alpha/latest/Google-Type-TimeOfDay)) --- Preferred time to start the maintenance operation on the specified day. Maintenance will start within 1 hour of this time.
**Returns**

- ([::Google::Type::TimeOfDay](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-alloy_db-v1alpha/latest/Google-Type-TimeOfDay)) --- Preferred time to start the maintenance operation on the specified day. Maintenance will start within 1 hour of this time.