Class Document.Types.Provenance (1.2.0)

public sealed class Provenance : IMessage<Document.Types.Provenance>, IEquatable<Document.Types.Provenance>, IDeepCloneable<Document.Types.Provenance>, IBufferMessage, IMessage

Structure to identify provenance relationships between annotations in different revisions.

Inheritance

Object > Document.Types.Provenance

Namespace

Google.Cloud.DocumentAI.V1

Assembly

Google.Cloud.DocumentAI.V1.dll

Constructors

Provenance()

public Provenance()

Provenance(Document.Types.Provenance)

public Provenance(Document.Types.Provenance other)
Parameter
NameDescription
otherDocument.Types.Provenance

Properties

Id

[Obsolete]
public int Id { get; set; }

The Id of this operation. Needs to be unique within the scope of the revision.

Property Value
TypeDescription
Int32

Parents

public RepeatedField<Document.Types.Provenance.Types.Parent> Parents { get; }

References to the original elements that are replaced.

Property Value
TypeDescription
RepeatedField<Document.Types.Provenance.Types.Parent>

Revision

public int Revision { get; set; }

The index of the revision that produced this element.

Property Value
TypeDescription
Int32

Type

public Document.Types.Provenance.Types.OperationType Type { get; set; }

The type of provenance operation.

Property Value
TypeDescription
Document.Types.Provenance.Types.OperationType