Google Cloud Memorystore V1 Client - Class MaintenancePolicy (0.4.1)

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 \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ create_time
Google\Protobuf\Timestamp

Output only. The time when the policy was created.

↳ update_time
Google\Protobuf\Timestamp

Output only. The time when the policy was updated.

↳ 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.

Returns
Type
Description

hasCreateTime

clearCreateTime

setCreateTime

Output only. The time when the policy was created.

Parameter
Name
Description
Returns
Type
Description
$this

getUpdateTime

Output only. The time when the policy was updated.

Returns
Type
Description

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. The time when the policy was updated.

Parameter
Name
Description
Returns
Type
Description
$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.

Returns
Type
Description

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.

Parameter
Name
Description
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: