Google Cloud Bare Metal Solution V2 Client - Class RestoreVolumeSnapshotRequest (0.5.2)

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
NameDescription
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
TypeDescription
string

setVolumeSnapshot

Required. Name of the snapshot which will be used to restore its parent volume.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
volumeSnapshot string

Required. Name of the snapshot which will be used to restore its parent volume. Please see Google\Cloud\BareMetalSolution\V2\BareMetalSolutionClient::volumeSnapshotName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\BareMetalSolution\V2\RestoreVolumeSnapshotRequest