View Source GoogleApi.GKEBackup.V1.Model.BackupPlan (google_api_gke_backup v0.6.1)

Defines the configuration and scheduling for a "line" of Backups.

Attributes

  • backupConfig (type: GoogleApi.GKEBackup.V1.Model.BackupConfig.t, default: nil) - Optional. Defines the configuration of Backups created via this BackupPlan.
  • backupSchedule (type: GoogleApi.GKEBackup.V1.Model.Schedule.t, default: nil) - Optional. Defines a schedule for automatic Backup creation via this BackupPlan.
  • cluster (type: String.t, default: nil) - Required. Immutable. The source cluster from which Backups will be created via this BackupPlan. Valid formats: - projects/*/locations/*/clusters/* - projects/*/zones/*/clusters/*
  • createTime (type: DateTime.t, default: nil) - Output only. The timestamp when this BackupPlan resource was created.
  • deactivated (type: boolean(), default: nil) - Optional. This flag indicates whether this BackupPlan has been deactivated. Setting this field to True locks the BackupPlan such that no further updates will be allowed (except deletes), including the deactivated field itself. It also prevents any new Backups from being created via this BackupPlan (including scheduled Backups). Default: False
  • description (type: String.t, default: nil) - Optional. User specified descriptive string for this BackupPlan.
  • etag (type: String.t, default: nil) - Output only. etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a backup plan from overwriting each other. It is strongly suggested that systems make use of the 'etag' in the read-modify-write cycle to perform BackupPlan updates in order to avoid race conditions: An etag is returned in the response to GetBackupPlan, and systems are expected to put that etag in the request to UpdateBackupPlan or DeleteBackupPlan to ensure that their change will be applied to the same version of the resource.
  • labels (type: map(), default: nil) - Optional. A set of custom labels supplied by user.
  • name (type: String.t, default: nil) - Output only. The full name of the BackupPlan resource. Format: projects/*/locations/*/backupPlans/*
  • protectedPodCount (type: integer(), default: nil) - Output only. The number of Kubernetes Pods backed up in the last successful Backup created via this BackupPlan.
  • retentionPolicy (type: GoogleApi.GKEBackup.V1.Model.RetentionPolicy.t, default: nil) - Optional. RetentionPolicy governs lifecycle of Backups created under this plan.
  • rpoRiskLevel (type: integer(), default: nil) - Output only. A number that represents the current risk level of this BackupPlan from RPO perspective with 1 being no risk and 5 being highest risk.
  • rpoRiskReason (type: String.t, default: nil) - Output only. Human-readable description of why the BackupPlan is in the current rpo_risk_level and action items if any.
  • state (type: String.t, default: nil) - Output only. State of the BackupPlan. This State field reflects the various stages a BackupPlan can be in during the Create operation. It will be set to "DEACTIVATED" if the BackupPlan is deactivated on an Update
  • stateReason (type: String.t, default: nil) - Output only. Human-readable description of why BackupPlan is in the current state
  • uid (type: String.t, default: nil) - Output only. Server generated global unique identifier of UUID format.
  • updateTime (type: DateTime.t, default: nil) - Output only. The timestamp when this BackupPlan resource was last updated.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.GKEBackup.V1.Model.BackupPlan{
  backupConfig: GoogleApi.GKEBackup.V1.Model.BackupConfig.t() | nil,
  backupSchedule: GoogleApi.GKEBackup.V1.Model.Schedule.t() | nil,
  cluster: String.t() | nil,
  createTime: DateTime.t() | nil,
  deactivated: boolean() | nil,
  description: String.t() | nil,
  etag: String.t() | nil,
  labels: map() | nil,
  name: String.t() | nil,
  protectedPodCount: integer() | nil,
  retentionPolicy: GoogleApi.GKEBackup.V1.Model.RetentionPolicy.t() | nil,
  rpoRiskLevel: integer() | nil,
  rpoRiskReason: String.t() | nil,
  state: String.t() | nil,
  stateReason: String.t() | nil,
  uid: String.t() | nil,
  updateTime: DateTime.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.