View Source GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1DocumentLink (google_api_content_warehouse v0.5.0)

A document-link between source and target document.

Attributes

  • createTime (type: DateTime.t, default: nil) - Output only. The time when the documentLink is created.
  • description (type: String.t, default: nil) - Description of this document-link.
  • name (type: String.t, default: nil) - Name of this document-link. It is required that the parent derived form the name to be consistent with the source document reference. Otherwise an exception will be thrown. Format: projects/{project_number}/locations/{location}/documents/{source_document_id}/documentLinks/{document_link_id}.
  • sourceDocumentReference (type: GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1DocumentReference.t, default: nil) - Document references of the source document.
  • state (type: String.t, default: nil) - The state of the documentlink. If target node has been deleted, the link is marked as invalid. Removing a source node will result in removal of all associated links.
  • targetDocumentReference (type: GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1DocumentReference.t, default: nil) - Document references of the target document.
  • updateTime (type: DateTime.t, default: nil) - Output only. The time when the documentLink is last updated.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1DocumentLink{
    createTime: DateTime.t() | nil,
    description: String.t() | nil,
    name: String.t() | nil,
    sourceDocumentReference:
      GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1DocumentReference.t()
      | nil,
    state: String.t() | nil,
    targetDocumentReference:
      GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1DocumentReference.t()
      | nil,
    updateTime: DateTime.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.