Reference documentation and code samples for the Compute V1 Client class OnSourceDiskDelete.
Specifies the behavior to apply to scheduled snapshots when the source disk is deleted.
Protobuf type google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicyRetentionPolicy.OnSourceDiskDelete
Namespace
Google \ Cloud \ Compute \ V1 \ ResourcePolicySnapshotSchedulePolicyRetentionPolicyMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
UNDEFINED_ON_SOURCE_DISK_DELETE
Value: 0A value indicating that the enum field is not set.
Generated from protobuf enum UNDEFINED_ON_SOURCE_DISK_DELETE = 0;
APPLY_RETENTION_POLICY
Value: 535071332Generated from protobuf enum APPLY_RETENTION_POLICY = 535071332;
KEEP_AUTO_SNAPSHOTS
Value: 258925689Generated from protobuf enum KEEP_AUTO_SNAPSHOTS = 258925689;
UNSPECIFIED_ON_SOURCE_DISK_DELETE
Value: 239140769Generated from protobuf enum UNSPECIFIED_ON_SOURCE_DISK_DELETE = 239140769;