Takes a snapshot of a boot volume. Returns INVALID_ARGUMENT if called for a non-boot volume.
HTTP request
POST https://baremetalsolution.googleapis.com/v2/{parent=projects/*/locations/*/volumes/*}/snapshots
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The volume to snapshot. |
Request body
The request body contains an instance of VolumeSnapshot
.
Response body
If successful, the response body contains a newly created instance of VolumeSnapshot
.
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.