2022-10-22
▼ ▲ baremetalsolution.projects.locations.volumes.snapshots.list
Path: v2/{+parent}/snapshots
HTTP Method: GET
Description: Retrieves the list of snapshots for the specified volume. Returns a response with an empty list of snapshots if called for a non-boot volume.
Scopes: https://www.googleapis.com/auth/cloud-platform
Flat Path: v2/projects/{projectsId}/locations/{locationsId}/volumes/{volumesId}/snapshots
Parameters:
pageToken
Location: query
Description: A token identifying a page of results from the server.
Type: string
parent
Type: string
Pattern: ^projects/[^/]+/locations/[^/]+/volumes/[^/]+$
Location: path
Required: Yes
Description: Required. Parent value for ListVolumesRequest.
pageSize
Type: integer
Description: Requested page size. The server might return fewer items than requested. If unspecified, server will pick an appropriate default.
Format: int32
Location: query
Parameter Order: parent
▼ ▲ baremetalsolution.projects.locations.volumes.snapshots.get
HTTP Method: GET
Flat Path: v2/projects/{projectsId}/locations/{locationsId}/volumes/{volumesId}/snapshots/{snapshotsId}
Scopes: https://www.googleapis.com/auth/cloud-platform
Path: v2/{+name}
Description: Returns the specified snapshot resource. Returns INVALID_ARGUMENT if called for a non-boot volume.
Parameter Order: name
Parameters:
name
Description: Required. The name of the snapshot.
Type: string
Pattern: ^projects/[^/]+/locations/[^/]+/volumes/[^/]+/snapshots/[^/]+$
Required: Yes
Location: path
▼ ▲ baremetalsolution.projects.locations.volumes.snapshots.delete
Scopes: https://www.googleapis.com/auth/cloud-platform
Parameters:
name
Type: string
Location: path
Pattern: ^projects/[^/]+/locations/[^/]+/volumes/[^/]+/snapshots/[^/]+$
Required: Yes
Description: Required. The name of the snapshot to delete.
Parameter Order: name
HTTP Method: DELETE
Flat Path: v2/projects/{projectsId}/locations/{locationsId}/volumes/{volumesId}/snapshots/{snapshotsId}
Path: v2/{+name}
Description: Deletes a volume snapshot. Returns INVALID_ARGUMENT if called for a non-boot volume.
▼ ▲ baremetalsolution.projects.locations.volumes.snapshots.create
Flat Path: v2/projects/{projectsId}/locations/{locationsId}/volumes/{volumesId}/snapshots
Scopes: https://www.googleapis.com/auth/cloud-platform
Parameter Order: parent
HTTP Method: POST
Path: v2/{+parent}/snapshots
Parameters:
parent
Location: path
Description: Required. The volume to snapshot.
Pattern: ^projects/[^/]+/locations/[^/]+/volumes/[^/]+$
Required: Yes
Type: string
Description: Takes a snapshot of a boot volume. Returns INVALID_ARGUMENT if called for a non-boot volume.
▼ ▲ baremetalsolution.projects.locations.volumes.snapshots.restoreVolumeSnapshot
Scopes: https://www.googleapis.com/auth/cloud-platform
Parameter Order: volumeSnapshot
Parameters:
volumeSnapshot
Location: path
Type: string
Description: Required. Name of the snapshot which will be used to restore its parent volume.
Pattern: ^projects/[^/]+/locations/[^/]+/volumes/[^/]+/snapshots/[^/]+$
Required: Yes
Path: v2/{+volumeSnapshot}:restoreVolumeSnapshot
HTTP Method: POST
Description: Uses the specified snapshot to restore its parent volume. Returns INVALID_ARGUMENT if called for a non-boot volume.
Flat Path: v2/projects/{projectsId}/locations/{locationsId}/volumes/{volumesId}/snapshots/{snapshotsId}:restoreVolumeSnapshot