Reference documentation and code samples for the Bare Metal Solution V2 API class Google::Cloud::BareMetalSolution::V2::VolumeSnapshot.
A snapshot of a volume. Only boot volumes can have snapshots.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The creation time of the snapshot.
#description
def description() -> ::String
Returns
- (::String) — The description of the snapshot.
#description=
def description=(value) -> ::String
Parameter
- value (::String) — The description of the snapshot.
Returns
- (::String) — The description of the snapshot.
#id
def id() -> ::String
Returns
- (::String) — Output only. An identifier for the snapshot, generated by the backend.
#name
def name() -> ::String
Returns
- (::String) — The name of the snapshot.
#name=
def name=(value) -> ::String
Parameter
- value (::String) — The name of the snapshot.
Returns
- (::String) — The name of the snapshot.
#storage_volume
def storage_volume() -> ::String
Returns
- (::String) — Output only. The name of the volume which this snapshot belongs to.
#type
def type() -> ::Google::Cloud::BareMetalSolution::V2::VolumeSnapshot::SnapshotType
Returns
- (::Google::Cloud::BareMetalSolution::V2::VolumeSnapshot::SnapshotType) — Output only. The type of the snapshot which indicates whether it was scheduled or manual/ad-hoc.