Cloud Document AI v1 API - Class Document.Types.Revision (3.12.0)

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.

Inheritance

object > Document.Types.Revision

Namespace

Google.Cloud.DocumentAI.V1

Assembly

Google.Cloud.DocumentAI.V1.dll

Constructors

Revision()

public Revision()

Revision(Revision)

public Revision(Document.Types.Revision other)
Parameter
NameDescription
otherDocumentTypesRevision

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
TypeDescription
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
TypeDescription
Timestamp

HasAgent

public bool HasAgent { get; }

Gets whether the "agent" field is set

Property Value
TypeDescription
bool

HasProcessor

public bool HasProcessor { get; }

Gets whether the "processor" field is set

Property Value
TypeDescription
bool

HumanReview

public Document.Types.Revision.Types.HumanReview HumanReview { get; set; }

Human Review information of this revision.

Property Value
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
RepeatedFieldstring

Processor

public string Processor { get; set; }

If the annotation was made by processor identify the processor by its resource name.

Property Value
TypeDescription
string

SourceCase

public Document.Types.Revision.SourceOneofCase SourceCase { get; }
Property Value
TypeDescription
DocumentTypesRevisionSourceOneofCase