Class Google::Cloud::DocumentAI::V1beta3::Document::Provenance (v0.9.4)

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