Method: projects.locations.volumes.snapshots.restoreVolumeSnapshot

Uses the specified snapshot to restore its parent volume. Returns INVALID_ARGUMENT if called for a non-boot volume.

HTTP request

POST https://baremetalsolution.googleapis.com/v2/{volumeSnapshot=projects/*/locations/*/volumes/*/snapshots/*}:restoreVolumeSnapshot

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
volumeSnapshot

string

Required. Name of the snapshot which will be used to restore its parent volume.

Request body

The request body must be empty.

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.