GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta1DocumentProvenance (google_api_document_ai v0.21.0) View Source

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.V1beta3.Model.GoogleCloudDocumentaiV1beta1DocumentProvenanceParent.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.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() ::
  %GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta1DocumentProvenance{
    id: integer() | nil,
    parents:
      [
        GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta1DocumentProvenanceParent.t()
      ]
      | nil,
    revision: integer() | nil,
    type: String.t() | nil
  }

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.