# Backup for GKE V1 API - Class Google::Cloud::GkeBackup::V1::BackupPlanBinding::BackupPlanDetails (v1.8.0)

1.8.0 (latest) 1.7.1 1.6.0 1.5.1 1.4.0 1.3.0 1.2.0 1.1.1 1.0.0 0.12.0 0.11.0 0.10.1 0.9.0 0.8.0 0.7.2 0.6.0 0.5.1 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Backup for GKE V1 API class Google::Cloud::GkeBackup::V1::BackupPlanBinding::BackupPlanDetails.

Contains metadata about the backup plan/backup.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #backup_config_details

    def backup_config_details() -> ::Google::Cloud::GkeBackup::V1::BackupPlanBinding::BackupPlanDetails::BackupConfigDetails

**Returns**

- ([::Google::Cloud::GkeBackup::V1::BackupPlanBinding::BackupPlanDetails::BackupConfigDetails](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_backup-v1/latest/Google-Cloud-GkeBackup-V1-BackupPlanBinding-BackupPlanDetails-BackupConfigDetails)) --- Output only. Contains details about the BackupConfig of Backups created via this BackupPlan.

### #last_successful_backup

    def last_successful_backup() -> ::String

**Returns**

- (::String) --- Output only. The fully qualified name of the last successful Backup created under this BackupPlan. `projects/*/locations/*/backupPlans/*/backups/*`

### #last_successful_backup_time

    def last_successful_backup_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_backup-v1/latest/Google-Protobuf-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

    def next_scheduled_backup_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_backup-v1/latest/Google-Protobuf-Timestamp)) --- Output only. Start time of next scheduled backup under this BackupPlan by either cron_schedule or rpo config. This is sourced from BackupPlan.

### #protected_pod_count

    def protected_pod_count() -> ::Integer

**Returns**

- (::Integer) --- Output only. The number of Kubernetes Pods backed up in the last successful Backup created via this BackupPlan.

### #retention_policy_details

    def retention_policy_details() -> ::Google::Cloud::GkeBackup::V1::BackupPlanBinding::BackupPlanDetails::RetentionPolicyDetails

**Returns**

- ([::Google::Cloud::GkeBackup::V1::BackupPlanBinding::BackupPlanDetails::RetentionPolicyDetails](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_backup-v1/latest/Google-Cloud-GkeBackup-V1-BackupPlanBinding-BackupPlanDetails-RetentionPolicyDetails)) --- Output only. Contains details about the RetentionPolicy of Backups created via this BackupPlan.

### #rpo_risk_level

    def rpo_risk_level() -> ::Integer

**Returns**

- (::Integer) --- 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.

### #state

    def state() -> ::Google::Cloud::GkeBackup::V1::BackupPlanBinding::BackupPlanDetails::State

**Returns**

- ([::Google::Cloud::GkeBackup::V1::BackupPlanBinding::BackupPlanDetails::State](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_backup-v1/latest/Google-Cloud-GkeBackup-V1-BackupPlanBinding-BackupPlanDetails-State)) --- Output only. State of the BackupPlan.