v1

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

Takes a snapshot of a boot volume. Returns INVALID_ARGUMENT if called for a non-boot volume.

post/v2/{+parent}/snapshots

Path parameters

parentstring required

Required. The volume to snapshot.

Request body

descriptionstring

The description of the snapshot.

createTimestring google-datetime

Output only. The creation time of the snapshot.

type'SNAPSHOT_TYPE_UNSPECIFIED' | 'AD_HOC' | 'SCHEDULED'

Output only. The type of the snapshot which indicates whether it was scheduled or manual/ad-hoc.

namestring

The name of the snapshot.

idstring

Output only. An identifier for the snapshot, generated by the backend.

storageVolumestring

Output only. The name of the volume which this snapshot belongs to.

Response

Successful response