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 v1beta3 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-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eDocument.Types.Revision\u003c/code\u003e class in the Cloud Document AI v1beta3 API represents a revision of a document, containing past or forward changes.\u003c/p\u003e\n"],["\u003cp\u003eThis 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, making it versatile for handling document data.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRevision\u003c/code\u003e class has properties such as \u003ccode\u003eAgent\u003c/code\u003e, \u003ccode\u003eCreateTime\u003c/code\u003e, \u003ccode\u003eProcessor\u003c/code\u003e, \u003ccode\u003eId\u003c/code\u003e, \u003ccode\u003eHumanReview\u003c/code\u003e, and \u003ccode\u003eParentIds\u003c/code\u003e to track changes and metadata about the revision.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides information on whether the revision was made by a human or a machine, such as the \u003ccode\u003eAgent\u003c/code\u003e and \u003ccode\u003eProcessor\u003c/code\u003e fields, and their presence is checked via the \u003ccode\u003eHasAgent\u003c/code\u003e and \u003ccode\u003eHasProcessor\u003c/code\u003e properties.\u003c/p\u003e\n"],["\u003cp\u003eThere are three available versions of the \u003ccode\u003eDocument.Types.Revision\u003c/code\u003e class shown, including \u003ccode\u003e2.0.0-beta23\u003c/code\u003e (latest), \u003ccode\u003e2.0.0-beta22\u003c/code\u003e, and \u003ccode\u003e1.0.0-beta04\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Cloud Document AI v1beta3 API - Class Document.Types.Revision (2.0.0-beta26)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.0-beta26 (latest)](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.Document.Types.Revision)\n- [2.0.0-beta25](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/2.0.0-beta25/Google.Cloud.DocumentAI.V1Beta3.Document.Types.Revision)\n- [1.0.0-beta04](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/1.0.0-beta04/Google.Cloud.DocumentAI.V1Beta3.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 v1beta3 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.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.Document)[Types](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.Document.Types)[Revision](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.Document.Types.Revision), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Document](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.Document)[Types](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.Document.Types)[Revision](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.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.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.Document)[Types](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.Document.Types)[Revision](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.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.V1Beta3](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3)\n\nAssembly\n--------\n\nGoogle.Cloud.DocumentAI.V1Beta3.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; }"]]