Google Cloud Net App V1 Client - Class DeleteBackupRequest (1.1.0)

Reference documentation and code samples for the Google Cloud Net App V1 Client class DeleteBackupRequest.

DeleteBackupRequest deletes a backup.

Generated from protobuf message google.cloud.netapp.v1.DeleteBackupRequest

Namespace

Google \ Cloud \ NetApp \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The backup resource name, in the format projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id}

getName

Required. The backup resource name, in the format projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id}

Returns
Type Description
string

setName

Required. The backup resource name, in the format projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id}

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The backup resource name, in the format projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id} Please see Google\Cloud\NetApp\V1\NetAppClient::backupName() for help formatting this field.

Returns
Type Description
Google\Cloud\NetApp\V1\DeleteBackupRequest