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

Contains past or forward revisions of this document.

Attributes

  • agent (type: String.t, default: nil) - If the change was made by a person specify the name or id of that person.
  • createTime (type: DateTime.t, default: nil) - The time that the revision was created, internally generated by doc proto storage at the time of create.
  • humanReview (type: GoogleApi.DocumentAI.V1.Model.GoogleCloudDocumentaiV1DocumentRevisionHumanReview.t, default: nil) - Human Review information of this revision.
  • id (type: String.t, default: nil) - Id of the revision, internally generated by doc proto storage. Unique within the context of the document.
  • parent (type: list(integer()), default: nil) - The revisions that this revision is based on. This can include one or more parent (when documents are merged.) This field represents the index into the revisions field.
  • parentIds (type: list(String.t), default: nil) - The revisions that this revision is based on. Must include all the ids that have anything to do with this revision - eg. there are provenance.parent.revision fields that index into this field.
  • processor (type: String.t, default: nil) - If the annotation was made by processor identify the processor by its resource name.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.DocumentAI.V1.Model.GoogleCloudDocumentaiV1DocumentRevision{
  agent: String.t() | nil,
  createTime: DateTime.t() | nil,
  humanReview:
    GoogleApi.DocumentAI.V1.Model.GoogleCloudDocumentaiV1DocumentRevisionHumanReview.t()
    | nil,
  id: String.t() | nil,
  parent: [integer()] | nil,
  parentIds: [String.t()] | nil,
  processor: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.