class Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentProvenance
Structure to identify provenance relationships between annotations in different revisions.
Attributes
id[RW]
The Id of this operation. Needs to be unique within the scope of the revision. Corresponds to the JSON property `id` @return [Fixnum]
parents[RW]
References to the original elements that are replaced. Corresponds to the JSON property `parents` @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentProvenanceParent>]
revision[RW]
The index of the revision that produced this element. Corresponds to the JSON property `revision` @return [Fixnum]
type[RW]
The type of provenance operation. Corresponds to the JSON property `type` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/documentai_v1/classes.rb, line 3940 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 3945 def update!(**args) @id = args[:id] if args.key?(:id) @parents = args[:parents] if args.key?(:parents) @revision = args[:revision] if args.key?(:revision) @type = args[:type] if args.key?(:type) end