View Source GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentProvenance (google_api_content_warehouse v0.3.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.ContentWarehouse.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.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentProvenance{
    id: integer() | nil,
    parents:
      [
        GoogleApi.ContentWarehouse.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.