public sealed class Document.Types.Revision : IMessage<Document.Types.Revision>, IEquatable<Document.Types.Revision>, IDeepCloneable<Document.Types.Revision>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Document AI v1 API class Document.Types.Revision.
Contains past or forward revisions of this document.
The revisions that this revision is based on. This can include one or
more parent (when documents are merged.) This field represents the
index into the revisions field.
The revisions that this revision is based on. Must include all the ids
that have anything to do with this revision - eg. there are
provenance.parent.revision fields that index into this field.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-19 UTC."],[[["\u003cp\u003eThe latest version available for \u003ccode\u003eDocument.Types.Revision\u003c/code\u003e in the Cloud Document AI v1 API is 3.19.0.\u003c/p\u003e\n"],["\u003cp\u003eThis webpage provides reference documentation and code samples for the \u003ccode\u003eDocument.Types.Revision\u003c/code\u003e class, which manages past and forward revisions of a document.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDocument.Types.Revision\u003c/code\u003e class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eDocument.Types.Revision\u003c/code\u003e include \u003ccode\u003eAgent\u003c/code\u003e, \u003ccode\u003eCreateTime\u003c/code\u003e, \u003ccode\u003eHumanReview\u003c/code\u003e, \u003ccode\u003eId\u003c/code\u003e, \u003ccode\u003eParent\u003c/code\u003e, \u003ccode\u003eParentIds\u003c/code\u003e, and \u003ccode\u003eProcessor\u003c/code\u003e, which provide information about the revision's origin, timestamp, and relationship to other revisions.\u003c/p\u003e\n"],["\u003cp\u003eThe page provides a full list of available versions for this class, ranging from 1.0.0 to the latest version of 3.19.0, all the way back to version 1.0.0.\u003c/p\u003e\n"]]],[],null,["# Cloud Document AI v1 API - Class Document.Types.Revision (3.21.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.21.0 (latest)](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/latest/Google.Cloud.DocumentAI.V1.Document.Types.Revision)\n- [3.20.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/3.20.0/Google.Cloud.DocumentAI.V1.Document.Types.Revision)\n- [3.19.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/3.19.0/Google.Cloud.DocumentAI.V1.Document.Types.Revision)\n- [3.18.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/3.18.0/Google.Cloud.DocumentAI.V1.Document.Types.Revision)\n- [3.17.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/3.17.0/Google.Cloud.DocumentAI.V1.Document.Types.Revision)\n- [3.16.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/3.16.0/Google.Cloud.DocumentAI.V1.Document.Types.Revision)\n- [3.15.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/3.15.0/Google.Cloud.DocumentAI.V1.Document.Types.Revision)\n- [3.14.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/3.14.0/Google.Cloud.DocumentAI.V1.Document.Types.Revision)\n- [3.13.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/3.13.0/Google.Cloud.DocumentAI.V1.Document.Types.Revision)\n- [3.12.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/3.12.0/Google.Cloud.DocumentAI.V1.Document.Types.Revision)\n- [3.11.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/3.11.0/Google.Cloud.DocumentAI.V1.Document.Types.Revision)\n- [3.10.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/3.10.0/Google.Cloud.DocumentAI.V1.Document.Types.Revision)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/3.9.0/Google.Cloud.DocumentAI.V1.Document.Types.Revision)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/3.8.0/Google.Cloud.DocumentAI.V1.Document.Types.Revision)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/3.7.0/Google.Cloud.DocumentAI.V1.Document.Types.Revision)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/3.6.0/Google.Cloud.DocumentAI.V1.Document.Types.Revision)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/3.5.0/Google.Cloud.DocumentAI.V1.Document.Types.Revision)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/3.4.0/Google.Cloud.DocumentAI.V1.Document.Types.Revision)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/3.3.0/Google.Cloud.DocumentAI.V1.Document.Types.Revision)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/3.2.0/Google.Cloud.DocumentAI.V1.Document.Types.Revision)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/3.1.0/Google.Cloud.DocumentAI.V1.Document.Types.Revision)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/3.0.0/Google.Cloud.DocumentAI.V1.Document.Types.Revision)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/2.0.0/Google.Cloud.DocumentAI.V1.Document.Types.Revision)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/1.5.0/Google.Cloud.DocumentAI.V1.Document.Types.Revision)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/1.4.0/Google.Cloud.DocumentAI.V1.Document.Types.Revision)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/1.3.0/Google.Cloud.DocumentAI.V1.Document.Types.Revision)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/1.2.0/Google.Cloud.DocumentAI.V1.Document.Types.Revision)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/1.1.0/Google.Cloud.DocumentAI.V1.Document.Types.Revision)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/1.0.0/Google.Cloud.DocumentAI.V1.Document.Types.Revision) \n\n public sealed class Document.Types.Revision : IMessage\u003cDocument.Types.Revision\u003e, IEquatable\u003cDocument.Types.Revision\u003e, IDeepCloneable\u003cDocument.Types.Revision\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Document AI v1 API class Document.Types.Revision.\n\nContains past or forward revisions of this document. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Document.Types.Revision \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Document](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/latest/Google.Cloud.DocumentAI.V1.Document)[Types](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/latest/Google.Cloud.DocumentAI.V1.Document.Types)[Revision](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/latest/Google.Cloud.DocumentAI.V1.Document.Types.Revision), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Document](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/latest/Google.Cloud.DocumentAI.V1.Document)[Types](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/latest/Google.Cloud.DocumentAI.V1.Document.Types)[Revision](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/latest/Google.Cloud.DocumentAI.V1.Document.Types.Revision), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Document](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/latest/Google.Cloud.DocumentAI.V1.Document)[Types](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/latest/Google.Cloud.DocumentAI.V1.Document.Types)[Revision](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/latest/Google.Cloud.DocumentAI.V1.Document.Types.Revision), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.DocumentAI.V1](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/latest/Google.Cloud.DocumentAI.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.DocumentAI.V1.dll\n\nConstructors\n------------\n\n### Revision()\n\n public Revision()\n\n### Revision(Revision)\n\n public Revision(Document.Types.Revision other)\n\nProperties\n----------\n\n### Agent\n\n public string Agent { get; set; }\n\nIf the change was made by a person specify the name or id of that\nperson.\n\n### CreateTime\n\n public Timestamp CreateTime { get; set; }\n\nThe time that the revision was created, internally generated by\ndoc proto storage at the time of create.\n\n### HasAgent\n\n public bool HasAgent { get; }\n\nGets whether the \"agent\" field is set\n\n### HasProcessor\n\n public bool HasProcessor { get; }\n\nGets whether the \"processor\" field is set\n\n### HumanReview\n\n public Document.Types.Revision.Types.HumanReview HumanReview { get; set; }\n\nHuman Review information of this revision.\n\n### Id\n\n public string Id { get; set; }\n\nId of the revision, internally generated by doc proto storage.\nUnique within the context of the document.\n\n### Parent\n\n [Obsolete]\n public RepeatedField\u003cint\u003e Parent { get; }\n\nThe revisions that this revision is based on. This can include one or\nmore parent (when documents are merged.) This field represents the\nindex into the `revisions` field.\n\n### ParentIds\n\n public RepeatedField\u003cstring\u003e ParentIds { get; }\n\nThe revisions that this revision is based on. Must include all the ids\nthat have anything to do with this revision - eg. there are\n`provenance.parent.revision` fields that index into this field.\n\n### Processor\n\n public string Processor { get; set; }\n\nIf the annotation was made by processor identify the processor by its\nresource name.\n\n### SourceCase\n\n public Document.Types.Revision.SourceOneofCase SourceCase { get; }"]]