ObjVerVersionType

View as Markdown

The kind of an object version reference: a specific version, or a marker such as "latest".

Send OBJ_VER_VERSION_TYPE_SPECIFIC unless a method documents that it accepts a marker. Several methods, for example GetProperties and GetObjectFiles, answer "Not found." to OBJ_VER_VERSION_TYPE_LATEST.

Full nameMFiles.ObjVerVersionType
Proto filemfiles/enums.proto

Values

NameNumberDescription
OBJ_VER_VERSION_TYPE_UNINITIALIZED0Not set. Not accepted where a version is needed.
OBJ_VER_VERSION_TYPE_LATEST1The latest version. Used in lookup values (with internal_version -1) and accepted only by methods that say so.
OBJ_VER_VERSION_TYPE_ANY2Any version. Not accepted by GetProperties.
OBJ_VER_VERSION_TYPE_ALL3All versions of the object.
OBJ_VER_VERSION_TYPE_SPECIFIC4A specific version, given in internal_version.
OBJ_VER_VERSION_TYPE_VALUE_LIST_ITEM6A value list item, which has no versions.
OBJ_VER_VERSION_TYPE_OBJECT_LEVEL_REFERENCE7The object as a whole rather than one of its versions.

Used in fields