Reference documentation and code samples for the Google Cloud Gke Backup V1 Client class DeleteBackupRequest.
Request message for DeleteBackup.
Generated from protobuf message google.cloud.gkebackup.v1.DeleteBackupRequest
Namespace
Google \ Cloud \ GkeBackup \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. Name of the Backup resource. Format: projects/*/locations/*/backupPlans/*/backups/*
↳ etag
string
Optional. If provided, this value must match the current value of the target Backup's etag field or the request is rejected.
↳ force
bool
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.
getName
Required. Name of the Backup resource.
Format: projects/*/locations/*/backupPlans/*/backups/*
string
setName
Required. Name of the Backup resource.
Format: projects/*/locations/*/backupPlans/*/backups/*
var
string
$this
getEtag
Optional. If provided, this value must match the current value of the target Backup's etag field or the request is rejected.
string
setEtag
Optional. If provided, this value must match the current value of the target Backup's etag field or the request is rejected.
var
string
$this
getForce
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.
bool
setForce
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.
var
bool
$this
static::build
name
string
Required. Name of the Backup resource.
Format: projects/*/locations/*/backupPlans/*/backups/*
Please see BackupForGKEClient::backupName()
for help formatting this field.