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 \ V1Methods
__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} |
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 |
getSource
Returns | |
---|---|
Type | Description |
string |