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

Request message for DeleteRestore.

## 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 Restore's [etag](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_backup-v1/latest/Google-Cloud-GkeBackup-V1-Restore#Google__Cloud__GkeBackup__V1__Restore_etag_instance_ "Google::Cloud::GkeBackup::V1::Restore#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 Restore's [etag](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_backup-v1/latest/Google-Cloud-GkeBackup-V1-Restore#Google__Cloud__GkeBackup__V1__Restore_etag_instance_ "Google::Cloud::GkeBackup::V1::Restore#etag (method)") field or the request is rejected.
**Returns**

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

### #force

    def force() -> ::Boolean

**Returns**

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

### #force=

    def force=(value) -> ::Boolean

**Parameter**

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

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

### #name

    def name() -> ::String

**Returns**

- (::String) --- Required. Full name of the Restore Format: `projects/*/locations/*/restorePlans/*/restores/*`

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Full name of the Restore Format: `projects/*/locations/*/restorePlans/*/restores/*`
**Returns**

- (::String) --- Required. Full name of the Restore Format: `projects/*/locations/*/restorePlans/*/restores/*`