Class VolumeSnapshot (1.7.3)

VolumeSnapshot(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A snapshot of a volume. Only boot volumes can have snapshots.

Attributes

NameDescription
name str
The name of the snapshot.
id str
Output only. An identifier for the snapshot, generated by the backend.
description str
The description of the snapshot.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. The creation time of the snapshot.
storage_volume str
Output only. The name of the volume which this snapshot belongs to.
type_ google.cloud.bare_metal_solution_v2.types.VolumeSnapshot.SnapshotType
Output only. The type of the snapshot which indicates whether it was scheduled or manual/ad-hoc.

Classes

SnapshotType

SnapshotType(value)

Represents the type of a snapshot.

Values: SNAPSHOT_TYPE_UNSPECIFIED (0): Type is not specified. AD_HOC (1): Snapshot was taken manually by user. SCHEDULED (2): Snapshot was taken automatically as a part of a snapshot schedule.