Reference documentation and code samples for the Google Cloud Memorystore for Redis V1 API class Google::Cloud::Redis::V1::MaintenancePolicy.
Maintenance policy for an instance.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
    Returns
    
  - (::Google::Protobuf::Timestamp) — Output only. The time when the policy was created.
#description
def description() -> ::String
    Returns
    
  - (::String) — Optional. Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512.
#description=
def description=(value) -> ::String
    Parameter
    
  - value (::String) — Optional. Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512.
    Returns
    
  - (::String) — Optional. Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
    Returns
    
  - (::Google::Protobuf::Timestamp) — Output only. The time when the policy was last updated.
#weekly_maintenance_window
def weekly_maintenance_window() -> ::Array<::Google::Cloud::Redis::V1::WeeklyMaintenanceWindow>
    Returns
    
  - (::Array<::Google::Cloud::Redis::V1::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.
#weekly_maintenance_window=
def weekly_maintenance_window=(value) -> ::Array<::Google::Cloud::Redis::V1::WeeklyMaintenanceWindow>
    Parameter
    
  - value (::Array<::Google::Cloud::Redis::V1::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.
    Returns
    
- (::Array<::Google::Cloud::Redis::V1::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.