Optional. If provided, this value must match the current value of the target BackupChannel's etag field or the request is rejected.
↳ force
bool
Optional. If set to true, any BackupPlanAssociations below this BackupChannel will also be deleted. Otherwise, the request will only succeed if the BackupChannel has no BackupPlanAssociations.
getName
Required. Fully qualified BackupChannel name.
Format: projects/*/locations/*/backupChannels/*
Returns
Type
Description
string
setName
Required. Fully qualified BackupChannel name.
Format: projects/*/locations/*/backupChannels/*
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getEtag
Optional. If provided, this value must match the current value of the
target BackupChannel'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 BackupChannel's etag
field or the request is rejected.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getForce
Optional. If set to true, any BackupPlanAssociations below this
BackupChannel will also be deleted. Otherwise, the request will only
succeed if the BackupChannel has no BackupPlanAssociations.
Returns
Type
Description
bool
setForce
Optional. If set to true, any BackupPlanAssociations below this
BackupChannel will also be deleted. Otherwise, the request will only
succeed if the BackupChannel has no BackupPlanAssociations.
Parameter
Name
Description
var
bool
Returns
Type
Description
$this
static::build
Parameter
Name
Description
name
string
Required. Fully qualified BackupChannel name.
Format: projects/*/locations/*/backupChannels/*
Please see BackupForGKEClient::backupChannelName() 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 DeleteBackupChannelRequest (1.2.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.1 (latest)](/php/docs/reference/cloud-gke-backup/latest/V1.DeleteBackupChannelRequest)\n- [1.2.0](/php/docs/reference/cloud-gke-backup/1.2.0/V1.DeleteBackupChannelRequest)\n- [1.0.3](/php/docs/reference/cloud-gke-backup/1.0.3/V1.DeleteBackupChannelRequest)\n- [0.8.1](/php/docs/reference/cloud-gke-backup/0.8.1/V1.DeleteBackupChannelRequest)\n- [0.7.2](/php/docs/reference/cloud-gke-backup/0.7.2/V1.DeleteBackupChannelRequest)\n- [0.6.0](/php/docs/reference/cloud-gke-backup/0.6.0/V1.DeleteBackupChannelRequest)\n- [0.5.3](/php/docs/reference/cloud-gke-backup/0.5.3/V1.DeleteBackupChannelRequest)\n- [0.4.0](/php/docs/reference/cloud-gke-backup/0.4.0/V1.DeleteBackupChannelRequest)\n- [0.3.1](/php/docs/reference/cloud-gke-backup/0.3.1/V1.DeleteBackupChannelRequest)\n- [0.2.0](/php/docs/reference/cloud-gke-backup/0.2.0/V1.DeleteBackupChannelRequest)\n- [0.1.7](/php/docs/reference/cloud-gke-backup/0.1.7/V1.DeleteBackupChannelRequest) \nReference documentation and code samples for the Google Cloud Gke Backup V1 Client class DeleteBackupChannelRequest.\n\nRequest message for DeleteBackupChannel.\n\nGenerated from protobuf message `google.cloud.gkebackup.v1.DeleteBackupChannelRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ GkeBackup \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nRequired. Fully qualified BackupChannel name.\n\nFormat: `projects/*/locations/*/backupChannels/*`\n\n### setName\n\nRequired. Fully qualified BackupChannel name.\n\nFormat: `projects/*/locations/*/backupChannels/*`\n\n### getEtag\n\nOptional. If provided, this value must match the current value of the\ntarget BackupChannel's [etag](/php/docs/reference/cloud-gke-backup/latest/V1.BackupChannel#_Google_Cloud_GkeBackup_V1_BackupChannel__getEtag__)\nfield or the request is rejected.\n\n### setEtag\n\nOptional. If provided, this value must match the current value of the\ntarget BackupChannel's [etag](/php/docs/reference/cloud-gke-backup/latest/V1.BackupChannel#_Google_Cloud_GkeBackup_V1_BackupChannel__getEtag__)\nfield or the request is rejected.\n\n### getForce\n\nOptional. If set to true, any BackupPlanAssociations below this\nBackupChannel will also be deleted. Otherwise, the request will only\nsucceed if the BackupChannel has no BackupPlanAssociations.\n\n### setForce\n\nOptional. If set to true, any BackupPlanAssociations below this\nBackupChannel will also be deleted. Otherwise, the request will only\nsucceed if the BackupChannel has no BackupPlanAssociations.\n\n### static::build"]]