Reference documentation and code samples for the Google Cloud Redis V1beta1 Client class MaintenancePolicy.
Maintenance policy for an instance.
Generated from protobuf message google.cloud.redis.v1beta1.MaintenancePolicy
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ create_time
↳ update_time
↳ description
string
Optional. Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512.
↳ weekly_maintenance_window
array< Google\Cloud\Redis\V1beta1\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 last updated.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The time when the policy was last updated.
$this
getDescription
Optional. Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512.
string
setDescription
Optional. Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512.
var
string
$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