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

Deprecated.

This field is deprecated and may be removed in the next major version update.

Returns The id of the parent provenance.

Returns:

  • (::Integer)

    The id of the parent provenance.



947
948
949
950
# File 'proto_docs/google/cloud/documentai/v1beta3/document.rb', line 947

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.



947
948
949
950
# File 'proto_docs/google/cloud/documentai/v1beta3/document.rb', line 947

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.



947
948
949
950
# File 'proto_docs/google/cloud/documentai/v1beta3/document.rb', line 947

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