# Class BackupPlanDetails (0.8.1)

0.8.1 (latest) 0.8.0 0.7.0 0.6.0 0.5.19 0.4.4 0.3.0 0.2.2 0.1.1

    BackupPlanDetails(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Contains metadata about the backup plan/backup.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `protected_pod_count` | `int` Output only. The number of Kubernetes Pods backed up in the last successful Backup created via this BackupPlan. |
| `state` | `https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.BackupPlanBinding.BackupPlanDetails.State` Output only. State of the BackupPlan. |
| `last_successful_backup_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. Completion time of the last successful Backup. This is sourced from a successful Backup's complete_time field. |
| `next_scheduled_backup_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. Start time of next scheduled backup under this BackupPlan by either cron_schedule or rpo config. This is sourced from BackupPlan. |
| `rpo_risk_level` | `int` 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. |
| `last_successful_backup` | `str` Output only. The fully qualified name of the last successful Backup created under this BackupPlan. `projects/*/locations/*/backupPlans/*/backups/*` |
| `backup_config_details` | `https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.BackupPlanBinding.BackupPlanDetails.BackupConfigDetails` Output only. Contains details about the BackupConfig of Backups created via this BackupPlan. |
| `retention_policy_details` | `https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.BackupPlanBinding.BackupPlanDetails.RetentionPolicyDetails` Output only. Contains details about the RetentionPolicy of Backups created via this BackupPlan. |

## Classes

### BackupConfigDetails

    BackupConfigDetails(mapping=None, *, ignore_unknown_fields=False, **kwargs)

BackupConfigDetails defines the configuration of Backups
created via this BackupPlan.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### RetentionPolicyDetails

    RetentionPolicyDetails(mapping=None, *, ignore_unknown_fields=False, **kwargs)

RetentionPolicyDetails defines a Backup retention policy for
a BackupPlan.

### State

    State(value)