View Source GoogleApi.Memcache.V1.Model.GoogleCloudMemcacheV1MaintenancePolicy (google_api_memcache v0.21.1)

Maintenance policy per instance.

Attributes

  • createTime (type: DateTime.t, default: nil) - Output only. The time when the policy was created.
  • description (type: String.t, default: nil) - 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 updated.
  • weeklyMaintenanceWindow (type: list(GoogleApi.Memcache.V1.Model.WeeklyMaintenanceWindow.t), default: nil) - 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

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

Unwrap a decoded JSON object into its complex fields.