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

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

Request message for RestoreVolume API.

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

Namespace

Google \ Cloud \ NetApp \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ backup_source BackupSource

The backup source of the restore operation.

↳ ontap_volume_target OntapVolumeTarget

The ONTAP volume target of the restore operation.

↳ name string

Required. The resource name of the ONTAP mode storage pool, in the format of projects/{project}/locations/{location}/storagePools/{storage_pool}

getBackupSource

The backup source of the restore operation.

Returns
Type Description
BackupSource|null

hasBackupSource

setBackupSource

The backup source of the restore operation.

Parameter
Name Description
var BackupSource
Returns
Type Description
$this

getOntapVolumeTarget

The ONTAP volume target of the restore operation.

Returns
Type Description
OntapVolumeTarget|null

hasOntapVolumeTarget

setOntapVolumeTarget

The ONTAP volume target of the restore operation.

Parameter
Name Description
var OntapVolumeTarget
Returns
Type Description
$this

getName

Required. The resource name of the ONTAP mode storage pool, in the format of projects/{project}/locations/{location}/storagePools/{storage_pool}

Returns
Type Description
string

setName

Required. The resource name of the ONTAP mode storage pool, in the format of projects/{project}/locations/{location}/storagePools/{storage_pool}

Parameter
Name Description
var string
Returns
Type Description
$this

getSource

Returns
Type Description
string

getTarget

Returns
Type Description
string

static::build

Parameters
Name Description
name string

Required. The resource name of the ONTAP mode storage pool, in the format of projects/{project}/locations/{location}/storagePools/{storage_pool} Please see NetAppClient::storagePoolName() for help formatting this field.

backupSource BackupSource

The backup source of the restore operation.

ontapVolumeTarget OntapVolumeTarget

The ONTAP volume target of the restore operation.

Returns
Type Description
RestoreVolumeRequest