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

Request message for DeleteRestorePlan.

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

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

### #force

    def force() -> ::Boolean

**Returns**

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

### #force=

    def force=(value) -> ::Boolean

**Parameter**

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

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

### #name

    def name() -> ::String

**Returns**

- (::String) --- Required. Fully qualified RestorePlan name. Format: `projects/*/locations/*/restorePlans/*`

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Fully qualified RestorePlan name. Format: `projects/*/locations/*/restorePlans/*`
**Returns**

- (::String) --- Required. Fully qualified RestorePlan name. Format: `projects/*/locations/*/restorePlans/*`