Reference documentation and code samples for the Google Cloud Memorystore V1 Client class MaintenancePolicy.
Maintenance policy per instance.
Generated from protobuf message google.cloud.memorystore.v1.MaintenancePolicy
Namespace
Google \ Cloud \ Memorystore \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ create_time
↳ update_time
↳ weekly_maintenance_window
array< WeeklyMaintenanceWindow
>
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.
hasCreateTime
clearCreateTime
setCreateTime
Output only. The time when the policy was created.
$this
getUpdateTime
Output only. The time when the policy was updated.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The time when the policy was updated.
$this
getWeeklyMaintenanceWindow
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.
setWeeklyMaintenanceWindow
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.
$this