Enum Snapshot.SnapshotType (1.113.0)

public enum Snapshot.SnapshotType extends Enum<Snapshot.SnapshotType> implements ProtocolMessageEnum

Indicates the type of the snapshot. Valid values are ARCHIVE or STANDARD. The default is STANDARD.

Protobuf enum google.cloud.compute.v1.Snapshot.SnapshotType

Implements

ProtocolMessageEnum

Static Fields

Name Description
ARCHIVE

Indicates an archive snapshot, which is recommended for long-term retention and compliance.

ARCHIVE = 506752162;

ARCHIVE_VALUE

Indicates an archive snapshot, which is recommended for long-term retention and compliance.

ARCHIVE = 506752162;

STANDARD

Indicates a standard snapshot, which is recommended for frequent restores.

STANDARD = 484642493;

STANDARD_VALUE

Indicates a standard snapshot, which is recommended for frequent restores.

STANDARD = 484642493;

UNDEFINED_SNAPSHOT_TYPE

A value indicating that the enum field is not set.

UNDEFINED_SNAPSHOT_TYPE = 0;

UNDEFINED_SNAPSHOT_TYPE_VALUE

A value indicating that the enum field is not set.

UNDEFINED_SNAPSHOT_TYPE = 0;

UNRECOGNIZED

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()