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