Google Cloud Net App V1 Client - Class BackupSource (1.14.0)

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

Represents the backup source of the restore operation.

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

Namespace

Google \ Cloud \ NetApp \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ backup string

Required. The backup resource name.

↳ file_list string[]

Optional. List of files to be restored in the form of their absolute path as in source volume. If provided, only these files will be restored. If not provided, the entire backup will be restored (Full Backup Restore)

getBackup

Required. The backup resource name.

Returns
Type Description
string

setBackup

Required. The backup resource name.

Parameter
Name Description
var string
Returns
Type Description
$this

getFileList

Optional. List of files to be restored in the form of their absolute path as in source volume. If provided, only these files will be restored. If not provided, the entire backup will be restored (Full Backup Restore)

Returns
Type Description
Google\Protobuf\RepeatedField<string>

setFileList

Optional. List of files to be restored in the form of their absolute path as in source volume. If provided, only these files will be restored. If not provided, the entire backup will be restored (Full Backup Restore)

Parameter
Name Description
var string[]
Returns
Type Description
$this