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
    
  - (::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Provenance::Parent>) — References to the original elements that are replaced.
#parents=
def parents=(value) -> ::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Provenance::Parent>
    Parameter
    
  - value (::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Provenance::Parent>) — References to the original elements that are replaced.
    Returns
    
  - (::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Provenance::Parent>) — References to the original elements that are replaced.
#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
    
  - (::Google::Cloud::DocumentAI::V1beta3::Document::Provenance::OperationType) — The type of provenance operation.
#type=
def type=(value) -> ::Google::Cloud::DocumentAI::V1beta3::Document::Provenance::OperationType
    Parameter
    
  - value (::Google::Cloud::DocumentAI::V1beta3::Document::Provenance::OperationType) — The type of provenance operation.
    Returns
    
- (::Google::Cloud::DocumentAI::V1beta3::Document::Provenance::OperationType) — The type of provenance operation.