Google Cloud Bare Metal Solution V2 Client - Class GetVolumeSnapshotRequest (1.0.2)

Reference documentation and code samples for the Google Cloud Bare Metal Solution V2 Client class GetVolumeSnapshotRequest.

Message for requesting volume snapshot information.

Generated from protobuf message google.cloud.baremetalsolution.v2.GetVolumeSnapshotRequest

Namespace

Google \ Cloud \ BareMetalSolution \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the snapshot.

getName

Required. The name of the snapshot.

Returns
Type Description
string

setName

Required. The name of the snapshot.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The name of the snapshot. Please see BareMetalSolutionClient::volumeSnapshotName() for help formatting this field.

Returns
Type Description
GetVolumeSnapshotRequest