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