Reference documentation and code samples for the Google Cloud Bare Metal Solution V2 Client class SnapshotAutoDeleteBehavior.
The kinds of auto delete behavior to use when snapshot reserved space is full.
Protobuf type google.cloud.baremetalsolution.v2.Volume.SnapshotAutoDeleteBehavior
Namespace
Google \ Cloud \ BareMetalSolution \ V2 \ VolumeMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
SNAPSHOT_AUTO_DELETE_BEHAVIOR_UNSPECIFIED
Value: 0The unspecified behavior.
Generated from protobuf enum SNAPSHOT_AUTO_DELETE_BEHAVIOR_UNSPECIFIED = 0;
DISABLED
Value: 1Don't delete any snapshots. This disables new snapshot creation, as long as the snapshot reserved space is full.
Generated from protobuf enum DISABLED = 1;
OLDEST_FIRST
Value: 2Delete the oldest snapshots first.
Generated from protobuf enum OLDEST_FIRST = 2;
NEWEST_FIRST
Value: 3Delete the newest snapshots first.
Generated from protobuf enum NEWEST_FIRST = 3;