Cloud Spanner V1 Client - Class DeleteBackupRequest (1.63.2)

Reference documentation and code samples for the Cloud Spanner V1 Client class DeleteBackupRequest.

The request for DeleteBackup.

Generated from protobuf message google.spanner.admin.database.v1.DeleteBackupRequest

Namespace

Google \ Cloud \ Spanner \ Admin \ Database \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. Name of the backup to delete. Values are of the form projects/<project>/instances/<instance>/backups/<backup>.

getName

Required. Name of the backup to delete.

Values are of the form projects/<project>/instances/<instance>/backups/<backup>.

Returns
TypeDescription
string

setName

Required. Name of the backup to delete.

Values are of the form projects/<project>/instances/<instance>/backups/<backup>.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
name string

Required. Name of the backup to delete. Values are of the form projects/<project>/instances/<instance>/backups/<backup>. Please see Google\Cloud\Spanner\Admin\Database\V1\DatabaseAdminClient::backupName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\Spanner\Admin\Database\V1\DeleteBackupRequest