# Backup for GKE V1 API - Class Google::Cloud::GkeBackup::V1::DeleteBackupRequest (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::DeleteBackupRequest.

Request message for DeleteBackup.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #etag

    def etag() -> ::String

**Returns**

- (::String) --- Optional. If provided, this value must match the current value of the target Backup's [etag](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_backup-v1/latest/Google-Cloud-GkeBackup-V1-Backup#Google__Cloud__GkeBackup__V1__Backup_etag_instance_ "Google::Cloud::GkeBackup::V1::Backup#etag (method)") field or the request is rejected.

### #etag=

    def etag=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. If provided, this value must match the current value of the target Backup's [etag](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_backup-v1/latest/Google-Cloud-GkeBackup-V1-Backup#Google__Cloud__GkeBackup__V1__Backup_etag_instance_ "Google::Cloud::GkeBackup::V1::Backup#etag (method)") field or the request is rejected.
**Returns**

- (::String) --- Optional. If provided, this value must match the current value of the target Backup's [etag](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_backup-v1/latest/Google-Cloud-GkeBackup-V1-Backup#Google__Cloud__GkeBackup__V1__Backup_etag_instance_ "Google::Cloud::GkeBackup::V1::Backup#etag (method)") field or the request is rejected.

### #force

    def force() -> ::Boolean

**Returns**

- (::Boolean) --- Optional. If set to true, any VolumeBackups below this Backup will also be deleted. Otherwise, the request will only succeed if the Backup has no VolumeBackups.

### #force=

    def force=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Optional. If set to true, any VolumeBackups below this Backup will also be deleted. Otherwise, the request will only succeed if the Backup has no VolumeBackups.
**Returns**

- (::Boolean) --- Optional. If set to true, any VolumeBackups below this Backup will also be deleted. Otherwise, the request will only succeed if the Backup has no VolumeBackups.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Required. Name of the Backup resource. Format: `projects/*/locations/*/backupPlans/*/backups/*`

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Name of the Backup resource. Format: `projects/*/locations/*/backupPlans/*/backups/*`
**Returns**

- (::String) --- Required. Name of the Backup resource. Format: `projects/*/locations/*/backupPlans/*/backups/*`