Optional. Maintenance window that is applied to resources covered by this policy. Minimum 1. For the current version, the maximum number of weekly_window is expected to be one.
getCreateTime
Output only. The time when the policy was created.
Optional. Maintenance window that is applied to resources covered by this
policy. Minimum 1. For the current version, the maximum number of
weekly_window is expected to be one.
Optional. Maintenance window that is applied to resources covered by this
policy. Minimum 1. For the current version, the maximum number of
weekly_window is expected to be one.
[[["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,["# Google Cloud Memorystore V1 Client - Class MaintenancePolicy (0.4.2)\n\nVersion latestkeyboard_arrow_down\n\n- [0.4.2 (latest)](/php/docs/reference/cloud-memorystore/latest/V1.MaintenancePolicy)\n- [0.4.1](/php/docs/reference/cloud-memorystore/0.4.1/V1.MaintenancePolicy)\n- [0.3.0](/php/docs/reference/cloud-memorystore/0.3.0/V1.MaintenancePolicy)\n- [0.2.0](/php/docs/reference/cloud-memorystore/0.2.0/V1.MaintenancePolicy)\n- [0.1.1](/php/docs/reference/cloud-memorystore/0.1.1/V1.MaintenancePolicy) \nReference documentation and code samples for the Google Cloud Memorystore V1 Client class MaintenancePolicy.\n\nMaintenance policy per instance.\n\nGenerated from protobuf message `google.cloud.memorystore.v1.MaintenancePolicy`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Memorystore \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getCreateTime\n\nOutput only. The time when the policy was created.\n\n### hasCreateTime\n\n### clearCreateTime\n\n### setCreateTime\n\nOutput only. The time when the policy was created.\n\n### getUpdateTime\n\nOutput only. The time when the policy was updated.\n\n### hasUpdateTime\n\n### clearUpdateTime\n\n### setUpdateTime\n\nOutput only. The time when the policy was updated.\n\n### getWeeklyMaintenanceWindow\n\nOptional. Maintenance window that is applied to resources covered by this\npolicy. Minimum 1. For the current version, the maximum number of\nweekly_window is expected to be one.\n\n### setWeeklyMaintenanceWindow\n\nOptional. Maintenance window that is applied to resources covered by this\npolicy. Minimum 1. For the current version, the maximum number of\nweekly_window is expected to be one."]]