Class Google::Cloud::DocumentAI::V1::Document::Provenance::Parent (v0.2.4)

Structure for referencing parent provenances. When an element replaces one of more other elements parent references identify the elements that are replaced.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#id

def id() -> ::Integer
Returns
  • (::Integer) — The id of the parent provenance.

#id=

def id=(value) -> ::Integer
Parameter
  • value (::Integer) — The id of the parent provenance.
Returns
  • (::Integer) — The id of the parent provenance.

#index

def index() -> ::Integer
Returns
  • (::Integer) — The index of the parent revisions corresponding collection of items (eg. list of entities, properties within entities, etc.)

#index=

def index=(value) -> ::Integer
Parameter
  • value (::Integer) — The index of the parent revisions corresponding collection of items (eg. list of entities, properties within entities, etc.)
Returns
  • (::Integer) — The index of the parent revisions corresponding collection of items (eg. list of entities, properties within entities, etc.)

#revision

def revision() -> ::Integer
Returns
  • (::Integer) — The index of the [Document.revisions] identifying the parent revision.

#revision=

def revision=(value) -> ::Integer
Parameter
  • value (::Integer) — The index of the [Document.revisions] identifying the parent revision.
Returns
  • (::Integer) — The index of the [Document.revisions] identifying the parent revision.