View Source GoogleApi.DocumentAI.V1.Model.GoogleCloudDocumentaiV1DocumentProvenance (google_api_document_ai v0.38.0)

Structure to identify provenance relationships between annotations in different revisions.

Attributes

  • id (type: integer(), default: nil) - The Id of this operation. Needs to be unique within the scope of the revision.
  • parents (type: list(GoogleApi.DocumentAI.V1.Model.GoogleCloudDocumentaiV1DocumentProvenanceParent.t), default: nil) - References to the original elements that are replaced.
  • revision (type: integer(), default: nil) - The index of the revision that produced this element.
  • type (type: String.t, default: nil) - The type of provenance operation.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.DocumentAI.V1.Model.GoogleCloudDocumentaiV1DocumentProvenance{
  id: integer() | nil,
  parents:
    [
      GoogleApi.DocumentAI.V1.Model.GoogleCloudDocumentaiV1DocumentProvenanceParent.t()
    ]
    | nil,
  revision: integer() | nil,
  type: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.