View Source GoogleApi.Redis.V1beta1.Model.MaintenancePolicy (google_api_redis v0.37.0)

Maintenance policy for an instance.

Attributes

  • createTime (type: DateTime.t, default: nil) - Output only. The time when the policy was created.
  • description (type: String.t, default: nil) - Optional. Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512.
  • updateTime (type: DateTime.t, default: nil) - Output only. The time when the policy was last updated.
  • weeklyMaintenanceWindow (type: list(GoogleApi.Redis.V1beta1.Model.WeeklyMaintenanceWindow.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_window is expected to be one.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Redis.V1beta1.Model.MaintenancePolicy{
  createTime: DateTime.t() | nil,
  description: String.t() | nil,
  updateTime: DateTime.t() | nil,
  weeklyMaintenanceWindow:
    [GoogleApi.Redis.V1beta1.Model.WeeklyMaintenanceWindow.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.