Optional. If provided, this value must match the current value of the target RestorePlan's etag field or the request is rejected.
↳ force
bool
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.
getName
Required. Fully qualified RestorePlan name.
Format: projects/*/locations/*/restorePlans/*
Returns
Type
Description
string
setName
Required. Fully qualified RestorePlan name.
Format: projects/*/locations/*/restorePlans/*
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getEtag
Optional. If provided, this value must match the current value of the
target RestorePlan's etag
field or the request is rejected.
Returns
Type
Description
string
setEtag
Optional. If provided, this value must match the current value of the
target RestorePlan's etag
field or the request is rejected.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getForce
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
Type
Description
bool
setForce
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.
Parameter
Name
Description
var
bool
Returns
Type
Description
$this
static::build
Parameter
Name
Description
name
string
Required. Fully qualified RestorePlan name.
Format: projects/*/locations/*/restorePlans/*
Please see BackupForGKEClient::restorePlanName() for help formatting this field.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Gke Backup V1 Client - Class DeleteRestorePlanRequest (1.2.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.1 (latest)](/php/docs/reference/cloud-gke-backup/latest/V1.DeleteRestorePlanRequest)\n- [1.2.0](/php/docs/reference/cloud-gke-backup/1.2.0/V1.DeleteRestorePlanRequest)\n- [1.0.3](/php/docs/reference/cloud-gke-backup/1.0.3/V1.DeleteRestorePlanRequest)\n- [0.8.1](/php/docs/reference/cloud-gke-backup/0.8.1/V1.DeleteRestorePlanRequest)\n- [0.7.2](/php/docs/reference/cloud-gke-backup/0.7.2/V1.DeleteRestorePlanRequest)\n- [0.6.0](/php/docs/reference/cloud-gke-backup/0.6.0/V1.DeleteRestorePlanRequest)\n- [0.5.3](/php/docs/reference/cloud-gke-backup/0.5.3/V1.DeleteRestorePlanRequest)\n- [0.4.0](/php/docs/reference/cloud-gke-backup/0.4.0/V1.DeleteRestorePlanRequest)\n- [0.3.1](/php/docs/reference/cloud-gke-backup/0.3.1/V1.DeleteRestorePlanRequest)\n- [0.2.0](/php/docs/reference/cloud-gke-backup/0.2.0/V1.DeleteRestorePlanRequest)\n- [0.1.7](/php/docs/reference/cloud-gke-backup/0.1.7/V1.DeleteRestorePlanRequest) \nReference documentation and code samples for the Google Cloud Gke Backup V1 Client class DeleteRestorePlanRequest.\n\nRequest message for DeleteRestorePlan.\n\nGenerated from protobuf message `google.cloud.gkebackup.v1.DeleteRestorePlanRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ GkeBackup \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nRequired. Fully qualified RestorePlan name.\n\nFormat: `projects/*/locations/*/restorePlans/*`\n\n### setName\n\nRequired. Fully qualified RestorePlan name.\n\nFormat: `projects/*/locations/*/restorePlans/*`\n\n### getEtag\n\nOptional. If provided, this value must match the current value of the\ntarget RestorePlan's [etag](/php/docs/reference/cloud-gke-backup/latest/V1.RestorePlan#_Google_Cloud_GkeBackup_V1_RestorePlan__getEtag__)\nfield or the request is rejected.\n\n### setEtag\n\nOptional. If provided, this value must match the current value of the\ntarget RestorePlan's [etag](/php/docs/reference/cloud-gke-backup/latest/V1.RestorePlan#_Google_Cloud_GkeBackup_V1_RestorePlan__getEtag__)\nfield or the request is rejected.\n\n### getForce\n\nOptional. If set to true, any Restores below this RestorePlan will also be\ndeleted. Otherwise, the request will only succeed if the RestorePlan has no\nRestores.\n\n### setForce\n\nOptional. If set to true, any Restores below this RestorePlan will also be\ndeleted. Otherwise, the request will only succeed if the RestorePlan has no\nRestores.\n\n### static::build"]]