class Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentProvenanceParent
Structure for referencing parent provenances. When an element replaces one of more other elements parent references identify the elements that are replaced.
Attributes
id[RW]
The id of the parent provenance. Corresponds to the JSON property `id` @return [Fixnum]
index[RW]
The index of the parent item in the corresponding item list (eg. list of entities, properties within entities, etc.) on parent revision. Corresponds to the JSON property `index` @return [Fixnum]
revision[RW]
The index of the [Document.revisions] identifying the parent revision. Corresponds to the JSON property `revision` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/documentai_v1/classes.rb, line 2065 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/documentai_v1/classes.rb, line 2070 def update!(**args) @id = args[:id] if args.key?(:id) @index = args[:index] if args.key?(:index) @revision = args[:revision] if args.key?(:revision) end