v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-134680139.0 KB
projects

Revert an existing volume to a specified snapshot. Warning! This operation will permanently revert all changes made after the snapshot was created.

post/v1/{+name}:revert

Path parameters

namestring required

Required. The resource name of the volume, in the format of projects/{project_id}/locations/{location}/volumes/{volume_id}.

Request body

snapshotIdstring

Required. The snapshot resource ID, in the format 'my-snapshot', where the specified ID is the {snapshot_id} of the fully qualified name like projects/{project_id}/locations/{location_id}/volumes/{volume_id}/snapshots/{snapshot_id}

Response

Successful response