Document AI V1beta3 API - Class Google::Cloud::DocumentAI::V1beta3::Document::Provenance (v0.14.0)

Reference documentation and code samples for the Document AI V1beta3 API class Google::Cloud::DocumentAI::V1beta3::Document::Provenance.

Structure to identify provenance relationships between annotations in different revisions.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#id

def id() -> ::Integer
Returns
  • (::Integer) — The Id of this operation. Needs to be unique within the scope of the revision.

#id=

def id=(value) -> ::Integer
Parameter
  • value (::Integer) — The Id of this operation. Needs to be unique within the scope of the revision.
Returns
  • (::Integer) — The Id of this operation. Needs to be unique within the scope of the revision.

#parents

def parents() -> ::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Provenance::Parent>
Returns

#parents=

def parents=(value) -> ::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Provenance::Parent>
Parameter
Returns

#revision

def revision() -> ::Integer
Returns
  • (::Integer) — The index of the revision that produced this element.

#revision=

def revision=(value) -> ::Integer
Parameter
  • value (::Integer) — The index of the revision that produced this element.
Returns
  • (::Integer) — The index of the revision that produced this element.

#type

def type() -> ::Google::Cloud::DocumentAI::V1beta3::Document::Provenance::OperationType
Returns

#type=

def type=(value) -> ::Google::Cloud::DocumentAI::V1beta3::Document::Provenance::OperationType
Parameter
Returns