Document AI V1beta3 API - Class Google::Cloud::DocumentAI::V1beta3::Document::Revision (v0.33.0)

Reference documentation and code samples for the Document AI V1beta3 API class Google::Cloud::DocumentAI::V1beta3::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
  • value (::Google::Protobuf::Timestamp) — The time that the revision was created, internally generated by doc proto storage at the time of create.
Returns

#human_review

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

#human_review=

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

#id

def id() -> ::String
Returns
  • (::String) — Id of the revision, internally generated by doc proto storage. Unique within the context of the document.

#id=

def id=(value) -> ::String
Parameter
  • value (::String) — Id of the revision, internally generated by doc proto storage. Unique within the context of the document.
Returns
  • (::String) — Id of the revision, internally generated by doc proto storage. 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.

#parent_ids

def parent_ids() -> ::Array<::String>
Returns
  • (::Array<::String>) — The revisions that this revision is based on. Must include all the ids that have anything to do with this revision - eg. there are provenance.parent.revision fields that index into this field.

#parent_ids=

def parent_ids=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — The revisions that this revision is based on. Must include all the ids that have anything to do with this revision - eg. there are provenance.parent.revision fields that index into this field.
Returns
  • (::Array<::String>) — The revisions that this revision is based on. Must include all the ids that have anything to do with this revision - eg. there are provenance.parent.revision fields that index into this 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.