Class DocumentLink (0.7.11)

DocumentLink(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A document-link between source and target document.

Attributes

Name Description
name str
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}.
source_document_reference google.cloud.contentwarehouse_v1.types.DocumentReference
Document references of the source document.
target_document_reference google.cloud.contentwarehouse_v1.types.DocumentReference
Document references of the target document.
description str
Description of this document-link.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time when the documentLink is last updated.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time when the documentLink is created.
state google.cloud.contentwarehouse_v1.types.DocumentLink.State
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.

Classes

State(value)

The state of a document-link.