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

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
NameDescription
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}

getSourceSnapshot

Full name of the snapshot resource.

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

Returns
TypeDescription
string

hasSourceSnapshot

setSourceSnapshot

Full name of the snapshot resource.

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSource

Returns
TypeDescription
string