Reference documentation and code samples for the Google Cloud Memorystore for Memcached V1 API class Google::Cloud::Memcache::V1::WeeklyMaintenanceWindow.
Time window specified for weekly operations.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#day
defday()->::Google::Type::DayOfWeek
Returns
(::Google::Type::DayOfWeek) — Required. Allows to define schedule that runs specified day of the week.
#day=
defday=(value)->::Google::Type::DayOfWeek
Parameter
value (::Google::Type::DayOfWeek) — Required. Allows to define schedule that runs specified day of the week.
Returns
(::Google::Type::DayOfWeek) — Required. Allows to define schedule that runs specified day of the week.
[[["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-08-28 UTC."],[],[],null,["# Google Cloud Memorystore for Memcached V1 API - Class Google::Cloud::Memcache::V1::WeeklyMaintenanceWindow (v2.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.0 (latest)](/ruby/docs/reference/google-cloud-memcache-v1/latest/Google-Cloud-Memcache-V1-WeeklyMaintenanceWindow)\n- [2.0.1](/ruby/docs/reference/google-cloud-memcache-v1/2.0.1/Google-Cloud-Memcache-V1-WeeklyMaintenanceWindow)\n- [1.2.0](/ruby/docs/reference/google-cloud-memcache-v1/1.2.0/Google-Cloud-Memcache-V1-WeeklyMaintenanceWindow)\n- [1.1.0](/ruby/docs/reference/google-cloud-memcache-v1/1.1.0/Google-Cloud-Memcache-V1-WeeklyMaintenanceWindow)\n- [1.0.2](/ruby/docs/reference/google-cloud-memcache-v1/1.0.2/Google-Cloud-Memcache-V1-WeeklyMaintenanceWindow)\n- [0.9.0](/ruby/docs/reference/google-cloud-memcache-v1/0.9.0/Google-Cloud-Memcache-V1-WeeklyMaintenanceWindow)\n- [0.8.2](/ruby/docs/reference/google-cloud-memcache-v1/0.8.2/Google-Cloud-Memcache-V1-WeeklyMaintenanceWindow)\n- [0.7.0](/ruby/docs/reference/google-cloud-memcache-v1/0.7.0/Google-Cloud-Memcache-V1-WeeklyMaintenanceWindow)\n- [0.6.1](/ruby/docs/reference/google-cloud-memcache-v1/0.6.1/Google-Cloud-Memcache-V1-WeeklyMaintenanceWindow)\n- [0.5.0](/ruby/docs/reference/google-cloud-memcache-v1/0.5.0/Google-Cloud-Memcache-V1-WeeklyMaintenanceWindow)\n- [0.4.0](/ruby/docs/reference/google-cloud-memcache-v1/0.4.0/Google-Cloud-Memcache-V1-WeeklyMaintenanceWindow)\n- [0.3.0](/ruby/docs/reference/google-cloud-memcache-v1/0.3.0/Google-Cloud-Memcache-V1-WeeklyMaintenanceWindow)\n- [0.2.5](/ruby/docs/reference/google-cloud-memcache-v1/0.2.5/Google-Cloud-Memcache-V1-WeeklyMaintenanceWindow) \nReference documentation and code samples for the Google Cloud Memorystore for Memcached V1 API class Google::Cloud::Memcache::V1::WeeklyMaintenanceWindow.\n\nTime window specified for weekly operations. \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)) --- Required. Allows to define schedule that runs specified day of the week.\n\n### #day=\n\n def day=(value) -\u003e ::Google::Type::DayOfWeek\n\n**Parameter**\n\n- **value** ([::Google::Type::DayOfWeek](./Google-Type-DayOfWeek)) --- Required. Allows to define schedule that runs specified day of the week. \n**Returns**\n\n- ([::Google::Type::DayOfWeek](./Google-Type-DayOfWeek)) --- Required. Allows to define schedule that runs specified day of the week.\n\n### #duration\n\n def duration() -\u003e ::Google::Protobuf::Duration\n\n**Returns**\n\n- ([::Google::Protobuf::Duration](./Google-Protobuf-Duration)) --- Required. Duration of the time window.\n\n### #duration=\n\n def duration=(value) -\u003e ::Google::Protobuf::Duration\n\n**Parameter**\n\n- **value** ([::Google::Protobuf::Duration](./Google-Protobuf-Duration)) --- Required. Duration of the time window. \n**Returns**\n\n- ([::Google::Protobuf::Duration](./Google-Protobuf-Duration)) --- Required. Duration of the time window.\n\n### #start_time\n\n def start_time() -\u003e ::Google::Type::TimeOfDay\n\n**Returns**\n\n- ([::Google::Type::TimeOfDay](./Google-Type-TimeOfDay)) --- Required. Start time of the window in UTC.\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)) --- Required. Start time of the window in UTC. \n**Returns**\n\n- ([::Google::Type::TimeOfDay](./Google-Type-TimeOfDay)) --- Required. Start time of the window in UTC."]]