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

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

The RestoreParameters if volume is created from a snapshot or backup.

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

Namespace

Google \ Cloud \ NetApp \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ source_snapshot string

Full name of the snapshot resource. Format: projects/{project}/locations/{location}/volumes/{volume}/snapshots/{snapshot}

↳ source_backup string

Full name of the backup resource. Format: projects/{project}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id}

getSourceSnapshot

Full name of the snapshot resource.

Format: projects/{project}/locations/{location}/volumes/{volume}/snapshots/{snapshot}

Returns
Type Description
string

hasSourceSnapshot

setSourceSnapshot

Full name of the snapshot resource.

Format: projects/{project}/locations/{location}/volumes/{volume}/snapshots/{snapshot}

Parameter
Name Description
var string
Returns
Type Description
$this

getSourceBackup

Full name of the backup resource.

Format: projects/{project}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id}

Returns
Type Description
string

hasSourceBackup

setSourceBackup

Full name of the backup resource.

Format: projects/{project}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id}

Parameter
Name Description
var string
Returns
Type Description
$this

getSource

Returns
Type Description
string