Class: Google::Cloud::DocumentAI::V1beta3::Document::Provenance::Parent

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/documentai/v1beta3/document.rb

Overview

The parent element the current element is based on. Used for referencing/aligning, removal and replacement operations.

Instance Attribute Summary collapse

Instance Attribute Details

#id::Integer

Returns The id of the parent provenance.

Returns:

  • (::Integer)

    The id of the parent provenance.



790
791
792
793
# File 'proto_docs/google/cloud/documentai/v1beta3/document.rb', line 790

class Parent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#index::Integer

Returns The index of the parent item in the corresponding item list (eg. list of entities, properties within entities, etc.) in the parent revision.

Returns:

  • (::Integer)

    The index of the parent item in the corresponding item list (eg. list of entities, properties within entities, etc.) in the parent revision.



790
791
792
793
# File 'proto_docs/google/cloud/documentai/v1beta3/document.rb', line 790

class Parent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#revision::Integer

Returns The index of the index into current revision's parent_ids list.

Returns:

  • (::Integer)

    The index of the index into current revision's parent_ids list.



790
791
792
793
# File 'proto_docs/google/cloud/documentai/v1beta3/document.rb', line 790

class Parent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end