# Class DocumentReference (0.11.0)

0.11.0 (latest) 0.10.0 0.9.0 0.8.0 0.7.16 0.6.0 0.5.1 0.4.1 0.3.1 0.2.1 0.1.0

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

References to the documents.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `document_name` | `str` Required. Name of the referenced document. |
| `display_name` | `str` display_name of the referenced document; this name does not need to be consistent to the display_name in the Document proto, depending on the ACL constraint. |
| `snippet` | `str` Stores the subset of the referenced document's content. This is useful to allow user peek the information of the referenced document. |
| `document_is_folder` | `bool` The document type of the document being referenced. |
| `update_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The time when the document is last updated. |
| `create_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The time when the document is created. |
| `delete_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The time when the document is deleted. |
| `document_is_retention_folder` | `bool` Document is a folder with retention policy. |
| `document_is_legal_hold_folder` | `bool` Document is a folder with legal hold. |