Method: projects.locations.volumes.snapshots.get

Returns the specified snapshot resource. Returns INVALID_ARGUMENT if called for a non-boot volume.

HTTP request

GET https://baremetalsolution.googleapis.com/v2/{name=projects/*/locations/*/volumes/*/snapshots/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the snapshot.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of VolumeSnapshot.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.