Enum ResourcePolicySnapshotSchedulePolicyRetentionPolicy.OnSourceDiskDelete (1.63.0)

public enum ResourcePolicySnapshotSchedulePolicyRetentionPolicy.OnSourceDiskDelete extends Enum<ResourcePolicySnapshotSchedulePolicyRetentionPolicy.OnSourceDiskDelete> implements ProtocolMessageEnum

Specifies the behavior to apply to scheduled snapshots when the source disk is deleted.

Protobuf enum google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicyRetentionPolicy.OnSourceDiskDelete

Implements

ProtocolMessageEnum

Static Fields

Name Description
APPLY_RETENTION_POLICY

APPLY_RETENTION_POLICY = 535071332;

APPLY_RETENTION_POLICY_VALUE

APPLY_RETENTION_POLICY = 535071332;

KEEP_AUTO_SNAPSHOTS

KEEP_AUTO_SNAPSHOTS = 258925689;

KEEP_AUTO_SNAPSHOTS_VALUE

KEEP_AUTO_SNAPSHOTS = 258925689;

UNDEFINED_ON_SOURCE_DISK_DELETE

A value indicating that the enum field is not set.

UNDEFINED_ON_SOURCE_DISK_DELETE = 0;

UNDEFINED_ON_SOURCE_DISK_DELETE_VALUE

A value indicating that the enum field is not set.

UNDEFINED_ON_SOURCE_DISK_DELETE = 0;

UNRECOGNIZED
UNSPECIFIED_ON_SOURCE_DISK_DELETE

UNSPECIFIED_ON_SOURCE_DISK_DELETE = 239140769;

UNSPECIFIED_ON_SOURCE_DISK_DELETE_VALUE

UNSPECIFIED_ON_SOURCE_DISK_DELETE = 239140769;

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()