# ObjVer

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Reference](https://developer.m-files.com/APIs/gRPC-API/Reference/index.md) > [Messages](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ObjVer/

Identifies one version of an object.

Most read methods need a specific version: `version.type` `OBJ_VER_VERSION_TYPE_SPECIFIC` and the
version number in `version.internal_version`. Methods that read "the latest version" have their
own switch for it and ignore `version`; see the
[IRPCObjectOperations overview](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/index.md). Versions returned by the
server are always specific.

- **Full name:** `MFiles.ObjVer`
- **Proto file:** [`mfiles/structs.proto`](https://developer.m-files.com/APIs/gRPC-API/downloads/proto/mfiles/structs.proto)

<a id="fields"></a>

## Fields

| Field | Type | Number | Description |
|---|---|---|---|
| <a id="f-obj_id"></a>`obj_id` | [`ObjID`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ObjID/index.md) | 1 | The object. |
| <a id="f-version"></a>`version` | [`ObjVerVersion`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ObjVerVersion/index.md) | 2 | The version. Usually `OBJ_VER_VERSION_TYPE_SPECIFIC` with `internal_version`. |

<a id="used-by-methods"></a>

## Used by methods

[IRPCDataExport.GetExportedObjectProperties](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCDataExport/GetExportedObjectProperties/index.md), [IRPCDataExport.SearchExportedObjects](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCDataExport/SearchExportedObjects/index.md), [IRPCElectronicSignatures.AddEmptyElectronicSignature](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCElectronicSignatures/AddEmptyElectronicSignature/index.md), [IRPCElectronicSignatures.DisconnectElectronicSignature](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCElectronicSignatures/DisconnectElectronicSignature/index.md), [IRPCObjectOperations.AddObjectFile](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/AddObjectFile/index.md), [IRPCObjectOperations.AddVersionTag](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/AddVersionTag/index.md), [IRPCObjectOperations.ChangeSecurity](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/ChangeSecurity/index.md), [IRPCObjectOperations.CheckIn](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/CheckIn/index.md), [IRPCObjectOperations.CheckInMultiple](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/CheckInMultiple/index.md), [IRPCObjectOperations.ConvertToPDF](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/ConvertToPDF/index.md), [IRPCObjectOperations.CopyConflictObjectAsNewVersionToBaseObject](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/CopyConflictObjectAsNewVersionToBaseObject/index.md), [IRPCObjectOperations.DestroyObjectVersions](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/DestroyObjectVersions/index.md), [IRPCObjectOperations.DownloadFile](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/DownloadFile/index.md), [IRPCObjectOperations.FindFileDuplicatesOfObjVer](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/FindFileDuplicatesOfObjVer/index.md), [IRPCObjectOperations.FindVaultDuplicates](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/FindVaultDuplicates/index.md), [IRPCObjectOperations.GetEffectivePermissions](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/GetEffectivePermissions/index.md), [IRPCObjectOperations.GetExternalEditingDetails](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/GetExternalEditingDetails/index.md), [IRPCObjectOperations.GetFileDownloadUrl](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/GetFileDownloadUrl/index.md), [IRPCObjectOperations.GetIdentitiesAndViewsOfMultipleUnmanagedReducedItems](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/GetIdentitiesAndViewsOfMultipleUnmanagedReducedItems/index.md), [IRPCObjectOperations.GetLatestFileVersion](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/GetLatestFileVersion/index.md), [IRPCObjectOperations.GetLatestVersionCommentOfMultipleObjects](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/GetLatestVersionCommentOfMultipleObjects/index.md), [IRPCObjectOperations.GetObjectDataOfMultipleObjects](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/GetObjectDataOfMultipleObjects/index.md), [IRPCObjectOperations.GetObjectFiles](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/GetObjectFiles/index.md), [IRPCObjectOperations.GetObjectFilesForModificationInEventHandler](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/GetObjectFilesForModificationInEventHandler/index.md), [IRPCObjectOperations.GetObjectVersionAndPropertiesOfMultipleObjects](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/GetObjectVersionAndPropertiesOfMultipleObjects/index.md), [IRPCObjectOperations.GetObjectsByExternalIds](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/GetObjectsByExternalIds/index.md), [IRPCObjectOperations.GetProperties](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/GetProperties/index.md), [IRPCObjectOperations.GetPropertiesOfMultipleObjects](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/GetPropertiesOfMultipleObjects/index.md), [IRPCObjectOperations.GetPropertyValueWithMetadata](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/GetPropertyValueWithMetadata/index.md), [IRPCObjectOperations.GetRelationshipsForObject](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/GetRelationshipsForObject/index.md), [IRPCObjectOperations.GetSecurity](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/GetSecurity/index.md), [IRPCObjectOperations.GetSecurityOfMultipleObjects](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/GetSecurityOfMultipleObjects/index.md), [IRPCObjectOperations.GetVersionCommentHistory](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/GetVersionCommentHistory/index.md), [IRPCObjectOperations.GetWorkflowStateHistory](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/GetWorkflowStateHistory/index.md), [IRPCObjectOperations.GetWorkflowStates](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/GetWorkflowStates/index.md), [IRPCObjectOperations.GetWorkflowStatesAndTransitions](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/GetWorkflowStatesAndTransitions/index.md), [IRPCObjectOperations.ModifyVersionTags](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/ModifyVersionTags/index.md), [IRPCObjectOperations.RelayMasterStorageOperations](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/RelayMasterStorageOperations/index.md), [IRPCObjectOperations.RemoveObjectFile](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/RemoveObjectFile/index.md), [IRPCObjectOperations.RemoveProperty](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/RemoveProperty/index.md), [IRPCObjectOperations.RenameObjectFile](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/RenameObjectFile/index.md), [IRPCObjectOperations.SetObjectActive](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/SetObjectActive/index.md), [IRPCObjectOperations.SetProperties](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/SetProperties/index.md), [IRPCObjectOperations.SetPropertiesWithMetadata](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/SetPropertiesWithMetadata/index.md), [IRPCObjectOperations.SetPropertiesWithMetadataAttributedTo](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/SetPropertiesWithMetadataAttributedTo/index.md), [IRPCObjectOperations.SetPropertyValueMetadata](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/SetPropertyValueMetadata/index.md), [IRPCObjectOperations.UndoCheckout](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/UndoCheckout/index.md), [IRPCObjectOperations.UndoCheckoutMultiple](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/UndoCheckoutMultiple/index.md), [IRPCObjectOperations.UpdateMetadataInFile](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/UpdateMetadataInFile/index.md), [IRPCObjectOperations.UpdateObjectModificationInfo](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/UpdateObjectModificationInfo/index.md), [IRPCObjectOperations.UpdateProperty](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/UpdateProperty/index.md), [IRPCThumbnails.GetDocumentFileThumbnail](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCThumbnails/GetDocumentFileThumbnail/index.md)

<a id="used-by-messages"></a>

## Used by messages

[`AutomaticMetadataRequest`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.AutomaticMetadataRequest/index.md), [`BasicDocVerInfo`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.BasicDocVerInfo/index.md), [`ElectronicSignatureRequest`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ElectronicSignatureRequest/index.md), [`ExtObjectInfo`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ExtObjectInfo/index.md), [`FileDownloadUrlRequestData`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.FileDownloadUrlRequestData/index.md), [`IndirectPropertyIDLevel`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.IndirectPropertyIDLevel/index.md), [`ObjOrFileVer`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ObjOrFileVer/index.md), [`ObjVerInfoForMIX`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ObjVerInfoForMIX/index.md), [`ObjVerWithProperties`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ObjVerWithProperties/index.md), [`ObjectVersionData`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ObjectVersionData/index.md), [`ObjectVersionDataResult`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ObjectVersionDataResult/index.md), [`ObjectsChangedNotification`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ObjectsChangedNotification/index.md), [`RelationshipData`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.RelationshipData/index.md), [`SetPropertiesParams`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.SetPropertiesParams/index.md), [`SharedLinkInfo`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.SharedLinkInfo/index.md), [`VersionComment`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.VersionComment/index.md), [`WOPIFileInfo`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.WOPIFileInfo/index.md), [`WOPIUserSession`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.WOPIUserSession/index.md)
