Reference documentation and code samples for the Memorystore for Memcached V1beta2 Client class MaintenancePolicy.
Maintenance policy per instance.
Generated from protobuf message google.cloud.memcache.v1beta2.MaintenancePolicy
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ create_time
↳ update_time
↳ description
string
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\Memcache\V1beta2\WeeklyMaintenanceWindow
>
Required. Maintenance window that is applied to resources covered by this policy. Minimum 1. For the current version, the maximum number of weekly_maintenance_windows 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
getDescription
Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512.
string
setDescription
Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512.
var
string
$this
getWeeklyMaintenanceWindow
Required. Maintenance window that is applied to resources covered by this policy. Minimum 1. For the current version, the maximum number of weekly_maintenance_windows is expected to be one.
setWeeklyMaintenanceWindow
Required. Maintenance window that is applied to resources covered by this policy. Minimum 1. For the current version, the maximum number of weekly_maintenance_windows is expected to be one.
$this