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
- (::Google::Protobuf::Timestamp) — The time that the revision was created.
#create_time=
def create_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — The time that the revision was created.
Returns
- (::Google::Protobuf::Timestamp) — The time that the revision was created.
#human_review
def human_review() -> ::Google::Cloud::DocumentAI::V1::Document::Revision::HumanReview
Returns
- (::Google::Cloud::DocumentAI::V1::Document::Revision::HumanReview) — Human Review information of this revision.
#human_review=
def human_review=(value) -> ::Google::Cloud::DocumentAI::V1::Document::Revision::HumanReview
Parameter
- value (::Google::Cloud::DocumentAI::V1::Document::Revision::HumanReview) — Human Review information of this revision.
Returns
- (::Google::Cloud::DocumentAI::V1::Document::Revision::HumanReview) — Human Review information of this revision.
#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.
#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.