- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
Restore files from a backup to a volume.
HTTP request
POST https://netapp.googleapis.com/v1beta1/{name=projects/*/locations/*/volumes/*}:restore
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. The volume resource name, in the format |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "backup": string, "fileList": [ string ], "restoreDestinationPath": string } |
Fields | |
---|---|
backup |
Required. The backup resource name, in the format |
fileList[] |
Required. List of files to be restored in the form of their absolute path as in source volume. |
restoreDestinationPath |
Required. Absolute directory path in the destination volume. |
Response body
If successful, the response body contains an instance of Operation
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the name
resource:
netapp.volumes.restore
For more information, see the IAM documentation.