Optional. Maintenance window that is applied to resources covered by this policy. Minimum 1. For the current version, the maximum number of weekly_maintenance_window is expected to be one.
getCreateTime
Output only. The time when the policy was created i.e. Maintenance Window
or Deny Period was assigned.
Optional. Maintenance window that is applied to resources covered by this
policy. Minimum 1. For the current version, the maximum number of
weekly_maintenance_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_maintenance_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 Redis Cluster V1 Client - Class ClusterMaintenancePolicy (0.5.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.5.1 (latest)](/php/docs/reference/cloud-redis-cluster/latest/V1.ClusterMaintenancePolicy)\n- [0.5.0](/php/docs/reference/cloud-redis-cluster/0.5.0/V1.ClusterMaintenancePolicy)\n- [0.4.1](/php/docs/reference/cloud-redis-cluster/0.4.1/V1.ClusterMaintenancePolicy)\n- [0.3.2](/php/docs/reference/cloud-redis-cluster/0.3.2/V1.ClusterMaintenancePolicy)\n- [0.2.5](/php/docs/reference/cloud-redis-cluster/0.2.5/V1.ClusterMaintenancePolicy)\n- [0.1.0](/php/docs/reference/cloud-redis-cluster/0.1.0/V1.ClusterMaintenancePolicy) \nReference documentation and code samples for the Google Cloud Redis Cluster V1 Client class ClusterMaintenancePolicy.\n\nMaintenance policy per cluster.\n\nGenerated from protobuf message `google.cloud.redis.cluster.v1.ClusterMaintenancePolicy`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Redis \\\\ Cluster \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getCreateTime\n\nOutput only. The time when the policy was created i.e. Maintenance Window\nor Deny Period was assigned.\n\n### hasCreateTime\n\n### clearCreateTime\n\n### setCreateTime\n\nOutput only. The time when the policy was created i.e. Maintenance Window\nor Deny Period was assigned.\n\n### getUpdateTime\n\nOutput only. The time when the policy was updated i.e. Maintenance Window\nor Deny Period was updated.\n\n### hasUpdateTime\n\n### clearUpdateTime\n\n### setUpdateTime\n\nOutput only. The time when the policy was updated i.e. Maintenance Window\nor Deny Period 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_maintenance_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_maintenance_window is expected to be one."]]