View Source GoogleApi.Redis.V1.Model.ClusterMaintenancePolicy (google_api_redis v0.48.0)

Maintenance policy per cluster.

Attributes

  • createTime (type: DateTime.t, default: nil) - Output only. The time when the policy was created i.e. Maintenance Window or Deny Period was assigned.
  • updateTime (type: DateTime.t, default: nil) - Output only. The time when the policy was updated i.e. Maintenance Window or Deny Period was updated.
  • weeklyMaintenanceWindow (type: list(GoogleApi.Redis.V1.Model.ClusterWeeklyMaintenanceWindow.t), default: nil) - Optional. Maintenance window that is applied to resources covered by this policy. Minimum 1. For the current version, the maximum number of weekly_maintenance_window is expected to be one.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Redis.V1.Model.ClusterMaintenancePolicy{
  createTime: DateTime.t() | nil,
  updateTime: DateTime.t() | nil,
  weeklyMaintenanceWindow:
    [GoogleApi.Redis.V1.Model.ClusterWeeklyMaintenanceWindow.t()] | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.