Reference documentation and code samples for the Google Cloud Bare Metal Solution V2 Client class RestoreVolumeSnapshotRequest.
Message for restoring a volume snapshot.
Generated from protobuf message google.cloud.baremetalsolution.v2.RestoreVolumeSnapshotRequest
Namespace
Google \ Cloud \ BareMetalSolution \ V2
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ volume_snapshot
string
Required. Name of the snapshot which will be used to restore its parent volume.
getVolumeSnapshot
Required. Name of the snapshot which will be used to restore its parent
volume.
Returns
Type
Description
string
setVolumeSnapshot
Required. Name of the snapshot which will be used to restore its parent
volume.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
static::build
Parameter
Name
Description
volumeSnapshot
string
Required. Name of the snapshot which will be used to restore its parent
volume. Please see
BareMetalSolutionClient::volumeSnapshotName() for help formatting this field.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Bare Metal Solution V2 Client - Class RestoreVolumeSnapshotRequest (1.0.5)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.5 (latest)](/php/docs/reference/cloud-bare-metal-solution/latest/V2.RestoreVolumeSnapshotRequest)\n- [1.0.4](/php/docs/reference/cloud-bare-metal-solution/1.0.4/V2.RestoreVolumeSnapshotRequest)\n- [0.6.5](/php/docs/reference/cloud-bare-metal-solution/0.6.5/V2.RestoreVolumeSnapshotRequest)\n- [0.5.2](/php/docs/reference/cloud-bare-metal-solution/0.5.2/V2.RestoreVolumeSnapshotRequest)\n- [0.4.0](/php/docs/reference/cloud-bare-metal-solution/0.4.0/V2.RestoreVolumeSnapshotRequest)\n- [0.3.2](/php/docs/reference/cloud-bare-metal-solution/0.3.2/V2.RestoreVolumeSnapshotRequest)\n- [0.2.8](/php/docs/reference/cloud-bare-metal-solution/0.2.8/V2.RestoreVolumeSnapshotRequest) \nReference documentation and code samples for the Google Cloud Bare Metal Solution V2 Client class RestoreVolumeSnapshotRequest.\n\nMessage for restoring a volume snapshot.\n\nGenerated from protobuf message `google.cloud.baremetalsolution.v2.RestoreVolumeSnapshotRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ BareMetalSolution \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getVolumeSnapshot\n\nRequired. Name of the snapshot which will be used to restore its parent\nvolume.\n\n### setVolumeSnapshot\n\nRequired. Name of the snapshot which will be used to restore its parent\nvolume.\n\n### static::build"]]