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
-
(::String) — If the change was made by a person specify the name or id of that
person.
Note: The following fields are mutually exclusive:
agent
,processor
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#agent=
def agent=(value) -> ::String
-
value (::String) — If the change was made by a person specify the name or id of that
person.
Note: The following fields are mutually exclusive:
agent
,processor
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::String) — If the change was made by a person specify the name or id of that
person.
Note: The following fields are mutually exclusive:
agent
,processor
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — The time that the revision was created, internally generated by doc proto storage at the time of create.
#create_time=
def create_time=(value) -> ::Google::Protobuf::Timestamp
- value (::Google::Protobuf::Timestamp) — The time that the revision was created, internally generated by doc proto storage at the time of create.
- (::Google::Protobuf::Timestamp) — The time that the revision was created, internally generated by doc proto storage at the time of create.
#human_review
def human_review() -> ::Google::Cloud::DocumentAI::V1::Document::Revision::HumanReview
- (::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
- value (::Google::Cloud::DocumentAI::V1::Document::Revision::HumanReview) — Human Review information of this revision.
- (::Google::Cloud::DocumentAI::V1::Document::Revision::HumanReview) — Human Review information of this revision.
#id
def id() -> ::String
- (::String) — Id of the revision, internally generated by doc proto storage. Unique within the context of the document.
#id=
def id=(value) -> ::String
- value (::String) — Id of the revision, internally generated by doc proto storage. Unique within the context of the document.
- (::String) — Id of the revision, internally generated by doc proto storage. Unique within the context of the document.
#parent
def parent() -> ::Array<::Integer>
-
(::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>
-
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.
-
(::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>
-
(::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>
-
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.
-
(::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
-
(::String) — If the annotation was made by processor identify the processor by its
resource name.
Note: The following fields are mutually exclusive:
processor
,agent
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#processor=
def processor=(value) -> ::String
-
value (::String) — If the annotation was made by processor identify the processor by its
resource name.
Note: The following fields are mutually exclusive:
processor
,agent
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::String) — If the annotation was made by processor identify the processor by its
resource name.
Note: The following fields are mutually exclusive:
processor
,agent
. If a field in that set is populated, all other fields in the set will automatically be cleared.