Document AI V1 API - Class Google::Cloud::DocumentAI::V1::Document::Revision (v0.3.0)

Reference documentation and code samples for the Document AI V1 API class Google::Cloud::DocumentAI::V1::Document::Revision.

Contains past or forward revisions of this document.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#agent

def agent() -> ::String
Returns
  • (::String) — If the change was made by a person specify the name or id of that person.

#agent=

def agent=(value) -> ::String
Parameter
  • value (::String) — If the change was made by a person specify the name or id of that person.
Returns
  • (::String) — If the change was made by a person specify the name or id of that person.

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#create_time=

def create_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
Returns

#human_review

def human_review() -> ::Google::Cloud::DocumentAI::V1::Document::Revision::HumanReview
Returns

#human_review=

def human_review=(value) -> ::Google::Cloud::DocumentAI::V1::Document::Revision::HumanReview
Parameter
Returns

#id

def id() -> ::String
Returns
  • (::String) — Id of the revision. Unique within the context of the document.

#id=

def id=(value) -> ::String
Parameter
  • value (::String) — Id of the revision. Unique within the context of the document.
Returns
  • (::String) — Id of the revision. Unique within the context of the document.

#parent

def parent() -> ::Array<::Integer>
Returns
  • (::Array<::Integer>) — The revisions that this revision is based on. This can include one or more parent (when documents are merged.) This field represents the index into the revisions field.

#parent=

def parent=(value) -> ::Array<::Integer>
Parameter
  • value (::Array<::Integer>) — The revisions that this revision is based on. This can include one or more parent (when documents are merged.) This field represents the index into the revisions field.
Returns
  • (::Array<::Integer>) — The revisions that this revision is based on. This can include one or more parent (when documents are merged.) This field represents the index into the revisions field.

#processor

def processor() -> ::String
Returns
  • (::String) — If the annotation was made by processor identify the processor by its resource name.

#processor=

def processor=(value) -> ::String
Parameter
  • value (::String) — If the annotation was made by processor identify the processor by its resource name.
Returns
  • (::String) — If the annotation was made by processor identify the processor by its resource name.