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.
(::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=
defstart_time=(value)->::Google::Type::TimeOfDay
Parameter
value (::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) — Preferred time to start the maintenance operation on the specified day.
Maintenance will start within 1 hour of this time.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# AlloyDB V1ALPHA API - Class Google::Cloud::AlloyDB::V1alpha::MaintenanceUpdatePolicy::MaintenanceWindow (v0.14.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.14.1 (latest)](/ruby/docs/reference/google-cloud-alloy_db-v1alpha/latest/Google-Cloud-AlloyDB-V1alpha-MaintenanceUpdatePolicy-MaintenanceWindow)\n- [0.14.0](/ruby/docs/reference/google-cloud-alloy_db-v1alpha/0.14.0/Google-Cloud-AlloyDB-V1alpha-MaintenanceUpdatePolicy-MaintenanceWindow)\n- [0.13.0](/ruby/docs/reference/google-cloud-alloy_db-v1alpha/0.13.0/Google-Cloud-AlloyDB-V1alpha-MaintenanceUpdatePolicy-MaintenanceWindow)\n- [0.12.0](/ruby/docs/reference/google-cloud-alloy_db-v1alpha/0.12.0/Google-Cloud-AlloyDB-V1alpha-MaintenanceUpdatePolicy-MaintenanceWindow)\n- [0.11.1](/ruby/docs/reference/google-cloud-alloy_db-v1alpha/0.11.1/Google-Cloud-AlloyDB-V1alpha-MaintenanceUpdatePolicy-MaintenanceWindow)\n- [0.10.0](/ruby/docs/reference/google-cloud-alloy_db-v1alpha/0.10.0/Google-Cloud-AlloyDB-V1alpha-MaintenanceUpdatePolicy-MaintenanceWindow)\n- [0.9.0](/ruby/docs/reference/google-cloud-alloy_db-v1alpha/0.9.0/Google-Cloud-AlloyDB-V1alpha-MaintenanceUpdatePolicy-MaintenanceWindow)\n- [0.8.0](/ruby/docs/reference/google-cloud-alloy_db-v1alpha/0.8.0/Google-Cloud-AlloyDB-V1alpha-MaintenanceUpdatePolicy-MaintenanceWindow)\n- [0.7.2](/ruby/docs/reference/google-cloud-alloy_db-v1alpha/0.7.2/Google-Cloud-AlloyDB-V1alpha-MaintenanceUpdatePolicy-MaintenanceWindow)\n- [0.6.0](/ruby/docs/reference/google-cloud-alloy_db-v1alpha/0.6.0/Google-Cloud-AlloyDB-V1alpha-MaintenanceUpdatePolicy-MaintenanceWindow)\n- [0.5.2](/ruby/docs/reference/google-cloud-alloy_db-v1alpha/0.5.2/Google-Cloud-AlloyDB-V1alpha-MaintenanceUpdatePolicy-MaintenanceWindow)\n- [0.4.0](/ruby/docs/reference/google-cloud-alloy_db-v1alpha/0.4.0/Google-Cloud-AlloyDB-V1alpha-MaintenanceUpdatePolicy-MaintenanceWindow)\n- [0.3.0](/ruby/docs/reference/google-cloud-alloy_db-v1alpha/0.3.0/Google-Cloud-AlloyDB-V1alpha-MaintenanceUpdatePolicy-MaintenanceWindow)\n- [0.2.0](/ruby/docs/reference/google-cloud-alloy_db-v1alpha/0.2.0/Google-Cloud-AlloyDB-V1alpha-MaintenanceUpdatePolicy-MaintenanceWindow)\n- [0.1.0](/ruby/docs/reference/google-cloud-alloy_db-v1alpha/0.1.0/Google-Cloud-AlloyDB-V1alpha-MaintenanceUpdatePolicy-MaintenanceWindow) \nReference documentation and code samples for the AlloyDB V1ALPHA API class Google::Cloud::AlloyDB::V1alpha::MaintenanceUpdatePolicy::MaintenanceWindow.\n\nMaintenanceWindow specifies a preferred day and time for maintenance. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #day\n\n def day() -\u003e ::Google::Type::DayOfWeek\n\n**Returns**\n\n- ([::Google::Type::DayOfWeek](./Google-Type-DayOfWeek)) --- Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc.\n\n### #day=\n\n def day=(value) -\u003e ::Google::Type::DayOfWeek\n\n**Parameter**\n\n- **value** ([::Google::Type::DayOfWeek](./Google-Type-DayOfWeek)) --- Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc. \n**Returns**\n\n- ([::Google::Type::DayOfWeek](./Google-Type-DayOfWeek)) --- Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc.\n\n### #start_time\n\n def start_time() -\u003e ::Google::Type::TimeOfDay\n\n**Returns**\n\n- ([::Google::Type::TimeOfDay](./Google-Type-TimeOfDay)) --- Preferred time to start the maintenance operation on the specified day. Maintenance will start within 1 hour of this time.\n\n### #start_time=\n\n def start_time=(value) -\u003e ::Google::Type::TimeOfDay\n\n**Parameter**\n\n- **value** ([::Google::Type::TimeOfDay](./Google-Type-TimeOfDay)) --- Preferred time to start the maintenance operation on the specified day. Maintenance will start within 1 hour of this time. \n**Returns**\n\n- ([::Google::Type::TimeOfDay](./Google-Type-TimeOfDay)) --- Preferred time to start the maintenance operation on the specified day. Maintenance will start within 1 hour of this time."]]