Reference documentation and code samples for the Google Cloud Bare Metal Solution V2 Client class VolumeSnapshot.
A snapshot of a volume. Only boot volumes can have snapshots.
Generated from protobuf message google.cloud.baremetalsolution.v2.VolumeSnapshot
Namespace
Google \ Cloud \ BareMetalSolution \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
The name of the snapshot.
↳ id
string
Output only. An identifier for the snapshot, generated by the backend.
↳ description
string
The description of the snapshot.
↳ create_time
↳ storage_volume
string
Output only. The name of the volume which this snapshot belongs to.
↳ type
int
Output only. The type of the snapshot which indicates whether it was scheduled or manual/ad-hoc.
getName
The name of the snapshot.
string
setName
The name of the snapshot.
var
string
$this
getId
Output only. An identifier for the snapshot, generated by the backend.
string
setId
Output only. An identifier for the snapshot, generated by the backend.
var
string
$this
getDescription
The description of the snapshot.
string
setDescription
The description of the snapshot.
var
string
$this
getCreateTime
Output only. The creation time of the snapshot.
hasCreateTime
clearCreateTime
setCreateTime
Output only. The creation time of the snapshot.
$this
getStorageVolume
Output only. The name of the volume which this snapshot belongs to.
string
setStorageVolume
Output only. The name of the volume which this snapshot belongs to.
var
string
$this
getType
Output only. The type of the snapshot which indicates whether it was scheduled or manual/ad-hoc.
int
setType
Output only. The type of the snapshot which indicates whether it was scheduled or manual/ad-hoc.
var
int
$this