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.
Implements
IMessageDocumentTypesRevision, IEquatableDocumentTypesRevision, IDeepCloneableDocumentTypesRevision, IBufferMessage, IMessageNamespace
Google.Cloud.DocumentAI.V1Assembly
Google.Cloud.DocumentAI.V1.dll
Constructors
Revision()
public Revision()
Revision(Revision)
public Revision(Document.Types.Revision other)
Parameter | |
---|---|
Name | Description |
other | DocumentTypesRevision |
Properties
Agent
public string Agent { get; set; }
If the change was made by a person specify the name or id of that person.
Property Value | |
---|---|
Type | Description |
string |
CreateTime
public Timestamp CreateTime { get; set; }
The time that the revision was created, internally generated by doc proto storage at the time of create.
Property Value | |
---|---|
Type | Description |
Timestamp |
HasAgent
public bool HasAgent { get; }
Gets whether the "agent" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasProcessor
public bool HasProcessor { get; }
Gets whether the "processor" field is set
Property Value | |
---|---|
Type | Description |
bool |
HumanReview
public Document.Types.Revision.Types.HumanReview HumanReview { get; set; }
Human Review information of this revision.
Property Value | |
---|---|
Type | Description |
DocumentTypesRevisionTypesHumanReview |
Id
public string Id { get; set; }
Id of the revision, internally generated by doc proto storage. Unique within the context of the document.
Property Value | |
---|---|
Type | Description |
string |
Parent
[Obsolete]
public RepeatedField<int> Parent { get; }
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.
Property Value | |
---|---|
Type | Description |
RepeatedFieldint |
ParentIds
public RepeatedField<string> ParentIds { get; }
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.
Property Value | |
---|---|
Type | Description |
RepeatedFieldstring |
Processor
public string Processor { get; set; }
If the annotation was made by processor identify the processor by its resource name.
Property Value | |
---|---|
Type | Description |
string |
SourceCase
public Document.Types.Revision.SourceOneofCase SourceCase { get; }
Property Value | |
---|---|
Type | Description |
DocumentTypesRevisionSourceOneofCase |